Manual (AIK)
This template uses a manual release script and ships with Astro Integration Kit. Copy it locally by running the following command:
Prerequisites
Make sure you have the GitHub CLI installed, and you’re logged in (gh auth login
)
Setup
-
Search for
TODO:
and update them -
Update all occurences of
package-name
with your package name -
Add a
LICENSE
at the root (if you do it through GitHub interface, you’ll be able to see all licenses and pick the best one for your project) -
Pick the right NPM tags, see official docs
-
Setup your GitHub repository
Good practises
- Start working on your integration logic
- Write some docs, either in the README or as a standalone docs website (not included in the template)
- Write good JSDoc annotations
- Format and lint with
pnpm lint:fix
Releasing
-
Add a changeset and add a meaningful message:
You can write several changesets if applicable.
-
Commit and push
-
Release (accepts a
--otp
flag)