create-tnn-app
v0.0.1
Published
CLI for scaffolding Tauri, Nuxt, and Nitro Application
Maintainers
Readme
Create Tauri Nuxt Nitro App (TNN)
Releasing
Releases are cut locally and published from CI — nothing is ever published from a developer machine.
- Run
pnpm release <patch|minor|major>. This runsscripts/release.ts, which bumpspackage.json, regeneratesCHANGELOG.mdviachangelogen, commits, creates an annotatedvX.Y.Ztag, and pushes both with--follow-tags. - The tag push triggers
.github/workflows/release.yml, which re-runsvp check/vp test/vp run build, then publishes to npm with provenance using OIDC Trusted Publishing — noNPM_TOKENsecret exists or is needed. - On success, CI runs
changelogen gh releaseto create (or update) the GitHub Release for the tag, using the same categorized changelog entry already written toCHANGELOG.md.
If a publish fails for a transient reason (registry hiccup, network blip) after the tag already exists, re-run the workflow manually from the Actions tab using workflow_dispatch with the existing tag name — this retries the publish without creating a new version or tag.
One-time setup
- npm Trusted Publisher: on the package's npm settings page, under Publishing access, add a Trusted Publisher for GitHub Actions pointing at this repository, workflow file
release.yml, and environmentrelease. - GitHub environment: create a
releaseenvironment in the repo settings (optionally with required reviewers) so publishes can be gated/audited. Its name must match what's configured in the npm Trusted Publisher above.
