Introspects the merged authz catalog, emits app/authz/permissions.gen.ts type unions, and scaffolds the assignment-table migration. init validates --dialect explicitly (unrecognised values reject rather than silently falling back to sqlite) and joins authzMigrationSql's up/down statement lists with terminators instead of interpolating the arrays. Test scaffolding for dynamically-imported app/authz declarations must live inside the repo tree (not os.tmpdir()) for the "@wrnexus/*" bare specifier to resolve via tsconfig paths; .gitignore excludes the scratch dirs this produces.
27 lines
534 B
Plaintext
27 lines
534 B
Plaintext
node_modules/
|
|
dist/
|
|
.wrnexus/
|
|
*.log
|
|
*.db
|
|
*.db-shm
|
|
*.db-wal
|
|
.DS_Store
|
|
bun.lockb
|
|
|
|
.publish/
|
|
|
|
# Environment files may contain secrets. Commit only templates.
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
!.env.*.example
|
|
|
|
# Local focused typecheck helpers must never enter the repository.
|
|
focus-shims.d.ts
|
|
tsconfig.focus.json
|
|
|
|
# Scratch dirs for tests that must dynamically import scaffolded files using
|
|
# "@wrnexus/*" bare specifiers (resolved via the root tsconfig.json `paths`,
|
|
# which requires the scaffold to live inside the repo tree).
|
|
**/test/.tmp-*/
|