creativecritters-types
v1.1.1
Published
Types for Creative Critters
Readme
creativecritters-types
This package provides shared TypeScript types for the Creative Critters project.
Development
Building the Package
To compile the TypeScript code into JavaScript and generate type definition files, run the build command:
npm run buildThis will output the compiled files to the dist directory.
Publishing to NPM
To publish a new version of this package to NPM, follow these steps:
Login to NPM: If you are not already logged in, you will need to authenticate with NPM.
npm loginEnter your NPM username, password, and email address when prompted.
Update Version (Optional but Recommended): It's good practice to update the package version in
package.jsonbefore publishing. You can do this manually or usenpm version <newversion>. For example:npm version patch # or minor, majorBuild the Package: Ensure you have the latest changes built:
npm run buildPublish the Package: Once logged in and the package is built (and version updated), you can publish it:
npm publish
After these steps, the new version of your package will be available on NPM.
