Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: npm publish #42

Merged
merged 3 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn dev:build
- run: yarn publish
- run: npm run prepack
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## v0.2.5

[compare changes](https://github.com/stackbuilders/nuxt-utm/compare/v0.2.3...v0.2.5)

### 🏡 Chore

- **CI:** Create workflow to release to NPM ([#40](https://github.com/stackbuilders/nuxt-utm/pull/40))
- **CI:** Remove yarn publish and use npm publish instead ([5b33b32](https://github.com/stackbuilders/nuxt-utm/commit/5b33b32))

### ❤️ Contributors

- Sadjow Leão ([@sadjow](http://github.com/sadjow))

## v0.2.4

[compare changes](https://github.com/stackbuilders/nuxt-utm/compare/v0.2.3...v0.2.4)
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-utm",
"version": "0.2.4",
"version": "0.2.5",
"description": "A Nuxt 3 module for tracking UTM parameters.",
"keywords": [
"nuxt",
Expand Down Expand Up @@ -40,7 +40,6 @@
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground",
"release": "npm run prepack && changelogen --release && git push --follow-tags",
"publish": "npm run prepack && npm publish",
"lint": "eslint .",
"test": "vitest run",
"test:watch": "vitest watch"
Expand All @@ -62,4 +61,4 @@
"playwright-core": "^1.39.0",
"vitest": "^0.33.0"
}
}
}