1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-15 07:54:55 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
addisonbeck
51bf0baba9 Consolidate messaging-internal into messaging library
- Move SubjectMessageSender, helpers, and test files from messaging-internal to messaging
- Update imports to use relative paths instead of @bitwarden/messaging imports
- Remove messaging-internal library entirely to eliminate circular dependency
- Update external references to use @bitwarden/messaging instead of @bitwarden/messaging-internal
- Fix tsconfig.lib.json rootDir conflict by removing cross-library file includes

Resolves the first incomplete TODO in Fix Nx Library Paths memory:
'Import from messaging-internal directly in messaging'
2025-09-11 14:07:08 -04:00
addisonbeck
2503b37f2c fix: Add rootDir to all 15 library project.json configs and update package.json paths
- Add 'rootDir: libs/LIBRARY_NAME/src' to all @nx/js:tsc executor build options
- Update package.json main/types from 'dist/index.js' to 'index.js' for all libraries
- Fixes systematic bug where build output had nested src/ structure but package.json pointed to non-existent dist/ paths
- Affects all Tier 1-3 libraries: storage-core, guid, serialization, user-core, logging, client-type, messaging, messaging-internal, state, state-internal, core-test-utils, storage-test-utils, state-test-utils, assets, nx-plugin
- Resolves 'Cannot find module' TypeScript errors for library imports
- Implements Phase 2 systematic fix from rootDir configuration specification
2025-09-11 14:06:05 -04:00
Justin Baur
a563e6d910 Add messaging & messaging-internal libraries (#15711) 2025-07-22 11:47:25 -04:00