Skip to content

Commit

Permalink
chore(workspace): fix release workflow (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Oct 21, 2023
1 parent 1e32bc5 commit a559639
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- run: pnpm install --frozen-lockfile

- run: pnpm -r exec npm version ${{ needs.Version.outputs.result }} --git-tag-version=false
- run: pnpm -r exec pnpm version ${{ needs.Version.outputs.result }} --git-tag-version=false

- run: pnpm build

Expand Down
7 changes: 0 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"name": "@workspace/root",
"version": "0.0.0",
"private": true,
"workspaces": [
"./packages/*",
"./packages/contented-example/*"
],
"scripts": {
"build": "turbo run build",
"clean": "turbo run clean",
Expand All @@ -25,8 +20,6 @@
"@types/node": "^18.18.6",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@workspace/jest-preset": "workspace:*",
"@workspace/tsconfig": "workspace:*",
"esbuild": "^0.19.5",
"esbuild-jest": "^0.5.0",
"eslint": "^8.51.0",
Expand Down
5 changes: 3 additions & 2 deletions packages/contented-pipeline-md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "tsc --project tsconfig.build.json",
"clean": "rm -rf dist",
"lint": "eslint src",
"lint": "eslint .",
"test": "jest"
},
"lint-staged": {
Expand Down Expand Up @@ -72,6 +72,7 @@
"@types/js-yaml": "^4.0.8",
"@types/lodash": "^4.14.200",
"@types/mdast": "^4.0.2",
"@workspace/jest-preset": "workspace:*"
"@workspace/jest-preset": "workspace:*",
"@workspace/tsconfig": "workspace:*"
}
}
3 changes: 2 additions & 1 deletion packages/contented-pipeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
},
"devDependencies": {
"@types/unist": "^2.0.9",
"@workspace/jest-preset": "workspace:*"
"@workspace/jest-preset": "workspace:*",
"@workspace/tsconfig": "workspace:*"
}
}
5 changes: 3 additions & 2 deletions packages/contented-processor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"build": "tsc --project tsconfig.build.json",
"clean": "rm -rf dist",
"lint": "eslint src",
"lint": "eslint .",
"test": "jest"
},
"lint-staged": {
Expand Down Expand Up @@ -48,6 +48,7 @@
"@types/babel__generator": "^7.6.6",
"@types/minimatch": "^5.1.2",
"@types/node": "^18.16.16",
"@workspace/jest-preset": "workspace:*"
"@workspace/jest-preset": "workspace:*",
"@workspace/tsconfig": "workspace:*"
}
}
1 change: 1 addition & 0 deletions packages/contented/cli.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#! /usr/bin/env node
/* eslint-disable */
import './dist/cli.js';
5 changes: 3 additions & 2 deletions packages/contented/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"scripts": {
"build": "tsc --project tsconfig.build.json && node build-preview.js",
"clean": "rm -rf dist",
"lint": "eslint src"
"lint": "eslint ."
},
"lint-staged": {
"*": [
Expand All @@ -47,6 +47,7 @@
"devDependencies": {
"@types/debounce": "^1.2.2",
"@types/ignore-walk": "^4.0.1",
"@workspace/jest-preset": "workspace:*"
"@workspace/jest-preset": "workspace:*",
"@workspace/tsconfig": "workspace:*"
}
}
1 change: 0 additions & 1 deletion packages/jest-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "@workspace/jest-preset",
"version": "0.0.0",
"private": true
}
1 change: 0 additions & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "@workspace/tsconfig",
"version": "0.0.0",
"private": true
}
28 changes: 12 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a559639

Please sign in to comment.