This repository is a monorepo for the Platform Application Capabilities Kit (PACK) TypeScript packages. These capabilities are in ALPHA state and not intended for production use.
-
Fork the repo
-
Create a branch
-
pnpm install -
Add your code
-
Run all lint rules and tests with
pnpm checkfrom root. Runpnpm turbo typecheckto quickly check any issues with your types. -
Add a changeset
📘 Note Follow semver rules here.
- Assuming you've run
pnpm install, runchangeset(orpnpm exec changeset). - The tool will split things into changed vs unchanged packages (which you may need if you decide to add changeset logs in a future PR for past features)
- Select the packages you want the changeset applied to using the arrow keys (up/down) and space-bar to "select" the package.
- Press enter to continue.
- The CLI will go through a progression of asking you which packages you previously selected need a major bump? Then a minor bump? Patch bumps assumed for remaining packages changed. Arrows and space bar to select. Enter to continue (even if you selected nothing).
- Enter a change (or press enter on empty to open your editor.)
Info Full docs on the
changesetstool can be found at the changesets/changesets github repo. - Assuming you've run
-
If you're curious what the final build output might look like you can run
pnpm buildfrom root.
- Install the GitHub CLI
gh auth loginto authenticate with github.compnpm install./scripts/createReleasePr.sh- Once your release PR has been merged, run
/scripts/tag-release.sh [COMMIT_SHA]to tag your release.
This project is made available under the Apache 2.0 License.