This is a repo where HeroDevs develop and test our public packages.
To see the source for each public npm package, head into the
projects folder and see each project.
To add a new package to be published, do the following:
- Use the CLI to add the new package.
- Modify the
tsconfig.jsonto account for the new package and it's mock-npm status in this repo. See thepathsection intsconfig.json. - Add a build and package step into the
package.jsonso that it can be built. - Add a way in the main app for package to be tested and used.
- Build and package your project into the
distdirectory. - The first time you publish it, you will need to cd into the dist folder and run
npm publish --access public. After the first time, you can simply runnpm publishfrom thedist/<package>folder.
If you have any access errors when publishing, request to be added to the HeroDevs team on npm.