chore: headers on remaining dotfiles; lock files out of the source archive

The examples' .browserslistrc and .editorconfig and the mongoose
adapter's .editorconfig accept '#' comments like their packages
counterparts but were outside the earlier sweep's scope. yarn.lock
and pnpm-lock.yaml join the export-ignore list - generated files do
not belong in the source release and ATR's RAT check cannot classify
them.
4 files changed
tree: 43ebd41039cec5121758a36471da3f3a461a2457
  1. .changeset/
  2. .github/
  3. examples/
  4. packages/
  5. scripts/
  6. .asf.yaml
  7. .gitattributes
  8. .gitignore
  9. .licenserc.yaml
  10. DISCLAIMER
  11. LICENSE
  12. NOTICE
  13. package.json
  14. pnpm-lock.yaml
  15. pnpm-workspace.yaml
  16. README.md
README.md

Apache Casbin Node Extensions

Monorepo for the Apache Casbin Node.js extensions: storage adapters, watchers, framework middlewares, and utilities. Each package keeps its own npm package name and semantic version.

Layout

packages/
├── adapters/       # storage adapters (file, redis, sequelize, typeorm, ...)
├── watchers/       # multi-instance policy synchronization
├── middlewares/    # framework integrations (express, koa, egg, nest, hapi)
├── role-managers/  # role managers (session-based)
└── utils/          # shared utilities
examples/           # runnable examples (not published to npm)

Development

Requires pnpm.

pnpm install
pnpm -r build
pnpm -r test

Import history

Packages were imported from their original repositories with full git history preserved (authors, dates, tags) via git filter-repo --to-subdirectory-filter, with tags renamed to <package>-<version>.

License

Apache License 2.0. See LICENSE and NOTICE.