1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-06 03:33:30 +00:00
Commit Graph

2 Commits

Author SHA1 Message Date
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
Addison Beck
361f7e3447 refactor: introduce @bitwarden/state and other common libs (#15772)
* refactor: introduce @bitwarden/serialization

* refactor: introduce @bitwarden/guid

* refactor: introduce @bitwaren/client-type

* refactor: introduce @bitwarden/core-test-utils

* refactor: introduce @bitwarden/state and @bitwarden/state-test-utils

Creates initial project structure for centralized application state management. Part of modularization effort to extract state code from common.

* Added state provider documentation to README.

* Changed callouts to Github format.

* Fixed linting on file name.

* Forced git to accept rename

---------

Co-authored-by: Todd Martin <tmartin@bitwarden.com>
2025-08-04 11:01:28 -04:00