1.0.10 • Published 2 years ago
@evidenceai/eai-package-starter v1.0.10
EvidenceAI package starter
This tool creates a new empty typescript project that is ready to be published to npmjs.org. The new package contains build scripts, unit tests, eslint configuration, etc.
Use npx to run the tool:
npx @evidenceai/eai-package-starter -n project-name
Usage
npx @evidenceai/eai-package-starter -n projectName [-d projectDescription] [-p path] [-s silent]
Creates a new project
Options:
-h, --help Show help
-n The name of the new project
-d Project description [default: ""]
-p Path to the new project [default: "./"]
-s Use defaults and skip confirmation
eai-package-starter
Building and publishing
There is a gitlab job that does the publishing. To bump up the version (for example a patch), run:
npm version patch
Then push the tag. This will trigger the job that will build and publish the package to npmjs.