Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 883 Bytes

README_DEV.md

File metadata and controls

17 lines (16 loc) · 883 Bytes

How to add a new workspace (i.e., npm package) to Inworld AI Web SDK?

  1. Create a folder inside the packages directory, for example, sample-package.
  2. Create a package.json file in the sample-package folder with the name attribute set to @inworld/sample-package. Don't forget to add the following commands:
  • build,
  • test,
  • release:pack,
  • release:publish,
  • release:bump,
  • lint:lint,
  • lint:check,
  • prettier:check,
  • prettier:format.
  1. Create a CHANGELOG.md file following the Keep a Changelog format.
  2. Create a release-it.json file, and refer to the configuration options provided on GitHub.
  3. Create a .npmignore file and specify the list of files that should not be published to npm.
  4. Add @inworld/sample-package to GitHub Actions and templates.