clients/.github
Addison Beck e8224fdbe3
feat(nx): add basic-lib generator for streamlined library creation (#14992)
* feat(nx): add basic-lib generator for streamlined library creation

This adds a new nx-plugin library with a generator for creating "common" type
Bitwarden libs. It is set up to accept a lib name, description, team, and
directory. It then
- Creates a folder in the directory (default to libs)
- Sets up complete library scaffolding:
  - README with team ownership
  - Build, lint and test task configuration
  - Test infrastructure
- Configures TypeScript path mapping
- Updates CODEOWNERS with team ownership
- Runs npm i

This will make library creation more consistent and reduce manual boilerplate setup.

The plugin design itself was generated by `npx nx g plugin`. This means we
used a plugin to generate a plugin that exports generators. To create our
generator generator, we first needed a generator.

* fix(dirt/card): correct tsconfig path in jest configuration

Fix the relative path to tsconfig.base in the dirt/card library's Jest config.
The path was incorrectly using four parent directory traversals (../../../../)
when only three (../../../) were needed to reach the project root.

* chore(codeowners): clarify some nx ownership stuff
2025-06-05 14:20:23 -04:00
..
DISCUSSION_TEMPLATE Remove duplicated copy (#14271) 2025-04-14 17:56:09 +02:00
ISSUE_TEMPLATE Update desktop.yml to include flatpak as installation method option (#15068) 2025-06-04 17:20:19 +00:00
workflows [deps]: Update anchore/scan-action action to v6 (#14928) 2025-05-30 08:54:58 -07:00
codecov.yml [PM-21147] User key transferred over ipc within desktop app without its prototype (#15047) 2025-06-03 22:12:11 +02:00
CODEOWNERS feat(nx): add basic-lib generator for streamlined library creation (#14992) 2025-06-05 14:20:23 -04:00
PULL_REQUEST_TEMPLATE.md Use latest PR template (#9360) 2024-05-24 10:47:16 -04:00
renovate.json5 feat(nx): add basic-lib generator for streamlined library creation (#14992) 2025-06-05 14:20:23 -04:00
whitelist-capital-letters.txt feat(nx): add basic-lib generator for streamlined library creation (#14992) 2025-06-05 14:20:23 -04:00