diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e7fcc75..e5c129e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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}} diff --git a/CHANGELOG.md b/CHANGELOG.md index d06a9a0..ee71ec3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index 3c56351..8f1ec56 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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" @@ -62,4 +61,4 @@ "playwright-core": "^1.39.0", "vitest": "^0.33.0" } -} +} \ No newline at end of file