- 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