Skip to content

Commit

Permalink
fix: --worktree to --all (#262)
Browse files Browse the repository at this point in the history
* fix: change --worktree to --all

* fix: update semantic-release-yarn
  • Loading branch information
hongaar committed Oct 29, 2023
1 parent c2657f3 commit 5e153d5
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
"packages/*"
],
"scripts": {
"build": "yarn workspaces foreach --worktree --topological --verbose run build",
"build:watch": "yarn workspaces foreach --worktree --parallel --interlaced run build:watch",
"build:clean": "yarn workspaces foreach --worktree --topological --verbose run build:clean",
"build": "yarn workspaces foreach --all --topological --verbose run build",
"build:watch": "yarn workspaces foreach --all --parallel --interlaced run build:watch",
"build:clean": "yarn workspaces foreach --all --topological --verbose run build:clean",
"doctoc": "doctoc README.md",
"format": "prettier --write --ignore-unknown .",
"format:check": "prettier --check --ignore-unknown .",
"postinstall": "husky install",
"release": "semantic-release",
"start": "node packages/cli/moker.js",
"test": "yarn workspaces foreach --worktree --topological --verbose run test",
"test": "yarn workspaces foreach --all --topological --verbose run test",
"todos": "leasot --exit-nicely --reporter markdown --ignore \"**/node_modules\" \"**/*.ts\" > TODO.md",
"typescript": "yarn build:clean && tsc --build --force",
"typescript:watch": "tsc --build --watch"
Expand All @@ -38,7 +38,7 @@
"lint-staged": "15.0.2",
"prettier": "3.0.3",
"semantic-release": "22.0.5",
"semantic-release-yarn": "2.0.1",
"semantic-release-yarn": "3.0.2",
"typescript": "5.2.2"
},
"packageManager": "yarn@4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/src/esbuild/esbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function load({ directory }: PluginArgs) {
data: {
scripts: {
build:
"yarn workspaces foreach --worktree --topological --verbose run build",
"yarn workspaces foreach --all --topological --verbose run build",
},
},
});
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/src/jest/jest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ async function install({ directory }: PluginArgs) {
directory: monorepoDirectory,
data: {
scripts: {
test: "yarn workspaces foreach --worktree --topological --verbose run test",
test: "yarn workspaces foreach --all --topological --verbose run test",
"test:watch":
"yarn workspaces foreach --worktree --parallel --interlaced run test:watch",
"yarn workspaces foreach --all --parallel --interlaced run test:watch",
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/src/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function install({ directory }: PluginArgs) {
directory: monorepoDirectory,
data: {
scripts: {
test: "yarn workspaces foreach --worktree --topological --verbose run test",
test: "yarn workspaces foreach --all --topological --verbose run test",
},
},
});
Expand Down
6 changes: 3 additions & 3 deletions packages/plugins/src/typescript/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ async function install({ directory }: PluginArgs) {
data: {
scripts: {
build:
"yarn workspaces foreach --worktree --topological --verbose run build",
"yarn workspaces foreach --all --topological --verbose run build",
"build:watch":
"yarn workspaces foreach --worktree --parallel --interlaced run build:watch",
"yarn workspaces foreach --all --parallel --interlaced run build:watch",
"build:clean":
"yarn workspaces foreach --worktree --topological --verbose run build:clean",
"yarn workspaces foreach --all --topological --verbose run build:clean",
typescript: "yarn build:clean && tsc --build --force",
"typescript:watch": "tsc --build --watch",
},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/src/xv/xv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function install({ directory }: PluginArgs) {
directory: monorepoDirectory,
data: {
scripts: {
test: "yarn workspaces foreach --worktree --topological --verbose run test",
test: "yarn workspaces foreach --all --topological --verbose run test",
},
},
});
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ __metadata:
lint-staged: "npm:15.0.2"
prettier: "npm:3.0.3"
semantic-release: "npm:22.0.5"
semantic-release-yarn: "npm:2.0.1"
semantic-release-yarn: "npm:3.0.2"
typescript: "npm:5.2.2"
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -5473,12 +5473,12 @@ __metadata:
languageName: node
linkType: hard

"semantic-release-yarn@npm:2.0.1":
version: 2.0.1
resolution: "semantic-release-yarn@npm:2.0.1"
"semantic-release-yarn@npm:3.0.2":
version: 3.0.2
resolution: "semantic-release-yarn@npm:3.0.2"
dependencies:
"@semantic-release/error": "npm:^4.0.0"
aggregate-error: "npm:^4.0.1"
aggregate-error: "npm:^5.0.0"
cosmiconfig: "npm:^8.1.0"
execa: "npm:^8.0.1"
fs-extra: "npm:^11.1.0"
Expand All @@ -5489,7 +5489,7 @@ __metadata:
semver: "npm:^7.3.8"
peerDependencies:
semantic-release: ">=19.0.0"
checksum: d2f2a944b7fabc5b783728092b2e8b5beeff93ad53adb37979a2987d781b00cffeaed3d0883a4e7403e80eb0b22c78dbbf9c149fea2da24bd7abf058cdb83725
checksum: cffb4a64f94092193705587277ae6d475a008d523df976b01cac41201c9c4d9fb5f43266cbcbc68570e7c4a81e797635dbe0cde1dc12900716d81e5922dbe63d
languageName: node
linkType: hard

Expand Down

0 comments on commit 5e153d5

Please sign in to comment.