Skip to content

Commit 4860aaf

Browse files
Fix publish flow
1 parent 6a4ec6e commit 4860aaf

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"postinstall": "pnpm lint:ws",
2020
"typecheck": "turbo run typecheck",
2121
"ui-add": "turbo run ui-add",
22-
"release": "pnpm publish -r",
22+
"release": "turbo run publish",
2323
"knip": "knip"
2424
},
2525
"devDependencies": {

packages/squircle-element-react/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"clean": "rm -rf .turbo dist node_modules",
1313
"format": "prettier --check . --ignore-path ../../.gitignore",
1414
"typecheck": "tsc --noEmit --emitDeclarationOnly false",
15-
"lint": "eslint"
15+
"lint": "eslint",
16+
"publish": "changeset publish"
1617
},
1718
"prettier": "@squircle-js/prettier-config",
1819
"dependencies": {

turbo.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
},
3232
"//#clean": {
3333
"cache": false
34+
},
35+
"publish": {
36+
"dependsOn": ["^topo", "^build"],
37+
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
3438
}
3539
},
3640
"globalEnv": [

0 commit comments

Comments
 (0)