diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index f09cd60..9c27121 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -21,6 +21,10 @@ jobs: node-version: 24 registry-url: "https://registry.npmjs.org" + # Stage-only tokens require `npm stage publish` (npm >= 11.15.0). + - name: Update npm + run: npm install -g npm@^11.15.0 + - name: Install dependencies run: bun install --frozen-lockfile @@ -33,7 +37,7 @@ jobs: - name: Build run: bun run build - - name: Publish - run: npm publish --access public + - name: Stage publish + run: npm stage publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/template/.gitignore b/template/.gitignore index f58ea61..9bc34f9 100644 --- a/template/.gitignore +++ b/template/.gitignore @@ -10,3 +10,6 @@ devenv.local.yaml .pre-commit-config.yaml node_modules scripts/node_modules + +# Android emulator state +.android diff --git "a/template/apps/<@if(eq(context.project.frontend,\"svelte-kit\"))>web/src/routes/+page.svelte" "b/template/apps/<@if(eq(context.project.frontend,\"svelte-kit\"))>web/src/routes/+page.svelte" index f358f96..8323f29 100644 --- "a/template/apps/<@if(eq(context.project.frontend,\"svelte-kit\"))>web/src/routes/+page.svelte" +++ "b/template/apps/<@if(eq(context.project.frontend,\"svelte-kit\"))>web/src/routes/+page.svelte" @@ -1,5 +1,5 @@