Skip to content

Commit b6feb5e

Browse files
created publish task
1 parent bcf343a commit b6feb5e

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"start": "turbo run start",
2323
"test": "turbo run test",
2424
"test-format": "prettier '**/*.{ts,tsx}' --check",
25-
"deploy": "turbo deploy",
25+
"publish-package": "turbo publish-package",
2626
"prepare": "husky install",
2727
"pre-commit": "lint-staged"
2828
},

packages/notion-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"clean": "rm -rf build",
2222
"dev": "tsup --watch",
2323
"lint": "eslint '**/*.{ts,tsx}'",
24-
"deploy": "pnpm publish",
24+
"publish-package": "pnpm publish",
2525
"test": "ava"
2626
},
2727
"dependencies": {

packages/notion-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"clean": "rm -rf build",
2222
"dev": "tsup --watch",
2323
"lint": "eslint '**/*.{ts,tsx}'",
24-
"deploy": "pnpm publish",
24+
"publish-package": "pnpm publish",
2525
"test": "ava"
2626
},
2727
"dependencies": {

packages/notion-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"clean": "rm -rf build",
1717
"dev": "tsup --watch",
1818
"lint": "eslint '**/*.{ts,tsx}'",
19-
"deploy": "pnpm publish"
19+
"publish-package": "pnpm publish"
2020
},
2121
"engines": {
2222
"node": ">=12"

packages/notion-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"clean": "rm -rf build",
2828
"dev": "tsup --watch",
2929
"lint": "eslint '**/*.{ts,tsx}'",
30-
"deploy": "pnpm publish",
30+
"publish-package": "pnpm publish",
3131
"test": "ava"
3232
},
3333
"dependencies": {

packages/react-notion-x/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"clean": "rm -rf build",
2323
"dev": "tsup --watch --external react",
2424
"lint": "eslint '**/*.{ts,tsx}'",
25-
"deploy": "pnpm publish"
25+
"publish-package": "pnpm publish"
2626
},
2727
"dependencies": {
2828
"@fisch0920/medium-zoom": "^1.0.7",

turbo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"clean": {
2929
"cache": false
3030
},
31-
"deploy":{
32-
"dependsOn": ["build"]
31+
"publish-package":{
32+
"dependsOn": ["build", "test", "lint"]
3333
}
3434
}
3535
}

0 commit comments

Comments
 (0)