- All PRs are welcome in the
developbranch. - Please, stick to the defined Purpose of the repo and try to write your code as readable as possible.
- Yarn Workspaces + Lerna are used in this monorepo.
- We do code reviews and may ask you to change things before we merge code.
- Note that gitmoji is used in the commit messages. That's not a must but we think it's nice.
$ yarn lint- As run in your pre-commit$ yarn test- As run in your pre-push$ ./node_modules/.bin/lerna run buildbuilds all the packages in their respectivedistfolders.$ ./node_modules/.bin/lerna run test --scope=@signpdf/signpdf -- --watch --coverageruns tests in a specified package tracking coverage and watching.$ yarn workspace @signpdf/signpdf add node-forge -Dadds anode-forgeas a dev dependency of@signpdf/signpdf$ yarn workspace @signpdf/signpdf add @signpdf/some-new-subpackage@* -Dadds a@signpdf/some-new-subpackageas a dev dependency of@signpdf/signpdf. Note the@*version specifier.$ npm publish --access publicis needed the first time a package get published as our packages are scoped and that is private by default. See: https://bit.ly/47ScKPF
ESLint 9 uses the root eslint.config.mjs for all workspaces. The shared configuration
in packages/eslint-config combines ESLint recommended, Stylistic, import, and Jest
presets with a few project overrides. Examples use ESLint's recommended rules.
Run yarn lint for all packages or yarn workspace @signpdf/utils lint for one
package. Manage ESLint dependencies at the repository root and plugin dependencies
in packages/eslint-config.
The root Yarn resolution keeps typescript-estree on a patched minimatch
release for CVE-2026-118764. Review this override when updating the Jest lint plugin.