fix: remove prepack/postpack hooks that break pnpm -r pack

Upstream-era hooks ran lint and tests inside pack (needing docker
services), deleted lib/ after packing, or invoked yarn/npm-run-all
which crashes under pnpm (commitizen config). The release pipeline
builds all packages explicitly before packing, so the hooks were
redundant and made the workspace un-packable: only 10 of 21 tarballs
survived. prepare/prepublish hooks are left untouched for now.
11 files changed
tree: 8c8e3d6586b45cad3390fb64c14dc93c78217ef5
  1. .changeset/
  2. .github/
  3. examples/
  4. packages/
  5. .asf.yaml
  6. .gitignore
  7. DISCLAIMER
  8. LICENSE
  9. NOTICE
  10. package.json
  11. pnpm-lock.yaml
  12. pnpm-workspace.yaml
  13. 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.