Skip to content

Commit d603fc9

Browse files
authored
Merge pull request #42 from stackbuilders/npm-publish
Fix: npm publish
2 parents c830361 + 89d7045 commit d603fc9

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
registry-url: https://registry.npmjs.org/
1717
- run: yarn install
1818
- run: yarn dev:build
19-
- run: yarn publish
19+
- run: npm run prepack
20+
- run: npm publish
2021
env:
2122
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## v0.2.5
4+
5+
[compare changes](https://github.com/stackbuilders/nuxt-utm/compare/v0.2.3...v0.2.5)
6+
7+
### 🏡 Chore
8+
9+
- **CI:** Create workflow to release to NPM ([#40](https://github.com/stackbuilders/nuxt-utm/pull/40))
10+
- **CI:** Remove yarn publish and use npm publish instead ([5b33b32](https://github.com/stackbuilders/nuxt-utm/commit/5b33b32))
11+
12+
### ❤️ Contributors
13+
14+
- Sadjow Leão ([@sadjow](http://github.com/sadjow))
15+
316
## v0.2.4
417

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

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt-utm",
3-
"version": "0.2.4",
3+
"version": "0.2.5",
44
"description": "A Nuxt 3 module for tracking UTM parameters.",
55
"keywords": [
66
"nuxt",
@@ -40,7 +40,6 @@
4040
"dev:build": "nuxi build playground",
4141
"dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground",
4242
"release": "npm run prepack && changelogen --release && git push --follow-tags",
43-
"publish": "npm run prepack && npm publish",
4443
"lint": "eslint .",
4544
"test": "vitest run",
4645
"test:watch": "vitest watch"
@@ -62,4 +61,4 @@
6261
"playwright-core": "^1.39.0",
6362
"vitest": "^0.33.0"
6463
}
65-
}
64+
}

0 commit comments

Comments
 (0)