Skip to content

Basketry generator for generating method validators for Typescript applications

License

Notifications You must be signed in to change notification settings

basketry/typescript-validators

Repository files navigation

main

Typscript Validators

Basketry generator for generating method validators for Typescript applications

How to:

Run this project

  1. Build the code: npm run build
  2. Run it! npm start

Note that the lint script is run prior to build. Auto-fixable linting or formatting errors may be fixed by running npm run fix.

Create and run tests

  1. Add tests by creating files with the .tests.ts suffix
  2. Run the tests: npm t
  3. Test coverage can be viewed at /coverage/lcov-report/index.html

Publish a new package version

  1. Create new version
    1. Navigate to the version workflow from the Actions tab.
    2. Manually dispatch the action with the appropriate inputs
    3. This will create a PR with the new version
  2. Publish to NPM
    1. Review and merge the PR
    2. The publish workflow will create a git tag and publish the package on NPM

Generated with generator-ts-console

About

Basketry generator for generating method validators for Typescript applications

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published