feathers-hooks-common

v8.2.1
Useful hooks for use with Feathersjs services.
feathers feathersjs hook hooks service filters permission

compile

shx rm -rf dist/ && tsup src/index.ts --format cjs,esm --dts --treeshake

docs

vitepress dev docs

docs:build

vitepress build docs

prepublishOnly

npm run compile

publish

git push origin --tags && npm run changelog && git push origin

release:prerelease

npm version prerelease --preid pre && npm publish --tag pre

release:premajor

npm version premajor --preid pre && npm publish --tag pre

release:patch

npm version patch && npm publish

release:minor

npm version minor && npm publish

release:major

npm version major && npm publish

changelog

github_changelog_generator --max-issues 200 -u feathersjs-ecosystem -p feathers-hooks-common && git add CHANGELOG.md && git commit -am "Updating changelog"

lint

eslint src/**/*.ts test/**/*.ts --fix

update-dependencies

ncu -u -x ajv

test:unit

vitest run

coverage

vitest run --coverage

test

npm run lint && npm run coverage
npm i feathers-hooks-common

Metadata

  • MIT
  • >= 18
  • Feathers contributors
  • released 7/21/2024

Downloads