Skip to content

Commit 39b5912

Browse files
committed
try to publish
1 parent 3891c06 commit 39b5912

File tree

3 files changed

+21
-16
lines changed

3 files changed

+21
-16
lines changed

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"build": "turbo build",
66
"dev": "turbo dev",
77
"lint": "turbo lint",
8-
"format": "prettier --write \"**/*.{ts,tsx,md}\""
8+
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
9+
"release": "turbo release"
910
},
1011
"devDependencies": {
1112
"@changesets/cli": "^2.27.5",

Diff for: packages/typer-diff/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"types": "dist/index.d.ts",
88
"scripts": {
99
"build": "tsup index.ts --format cjs,esm --dts --minify",
10-
"lint": "tsc"
10+
"lint": "tsc",
11+
"release": "pnpm run build && pnpm version patch && pnpm publish"
1112
},
1213
"dependencies": {
1314
"typescript": "^5.5.2"

Diff for: turbo.json

+17-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
{
2-
"$schema": "https://turbo.build/schema.json",
3-
"tasks": {
4-
"build": {
5-
"dependsOn": ["^build"],
6-
"inputs": ["$TURBO_DEFAULT$", ".env*"],
7-
"outputs": [".next/**", "!.next/cache/**"]
8-
},
9-
"lint": {
10-
"dependsOn": ["^lint"]
11-
},
12-
"dev": {
13-
"cache": false,
14-
"persistent": true
2+
"$schema": "https://turbo.build/schema.json",
3+
"tasks": {
4+
"build": {
5+
"dependsOn": ["^build"],
6+
"inputs": ["$TURBO_DEFAULT$", ".env*"],
7+
"outputs": [".next/**", "!.next/cache/**"]
8+
},
9+
"lint": {
10+
"dependsOn": ["^lint"]
11+
},
12+
"dev": {
13+
"cache": false,
14+
"persistent": true
15+
},
16+
"release": {
17+
"dependsOn": ["^release"]
18+
}
1519
}
16-
}
1720
}

0 commit comments

Comments
 (0)