Skip to content

Commit

Permalink
ci: fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
under_moon committed Sep 18, 2023
1 parent 09d21d0 commit ccc1c4c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ jobs:
cache: 'pnpm'
- run: pnpm install
- run: pnpm build
- run: pnpm run publish
- run: pnpm -r publish --no-git-checks --access=public"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"type": "module",
"scripts": {
"prepare": "husky install",
"format": "prettier --write --cache \"**/*.[tj]s?(x)\"",
"test": "vitest run --coverage",
"build": "turbo run build",
"publish": "turbo run publish",
"clean": "find . \\( -name 'node_modules' -o -name 'dist' \\) -type d -exec rm -rf {} +"
},
"keywords": [],
Expand Down
5 changes: 2 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"name": "@object-shake/core",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"main": "src/index.ts",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/undermoonn/object-shake"
},
"scripts": {
"build": "unbuild",
"publish": "npm publish --access public --no-git-checks"
"build": "unbuild"
},
"files": [
"dist"
Expand Down
5 changes: 2 additions & 3 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"name": "@object-shake/vue",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"main": "src/index.ts",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/undermoonn/object-shake"
},
"scripts": {
"build": "unbuild",
"publish": "npm publish --access public --no-git-checks"
"build": "unbuild"
},
"files": [
"dist"
Expand Down
5 changes: 0 additions & 5 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
"dependsOn": ["^build"],
"cache": false,
"outputs": ["dist/**", "es/**", "types/**"]
},
"publish": {
"dependsOn": ["^build"],
"cache": false,
"outputs": []
}
}
}

0 comments on commit ccc1c4c

Please sign in to comment.