diff --git a/package.json b/package.json index d40234f9..60b46e7d 100644 --- a/package.json +++ b/package.json @@ -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" @@ -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", diff --git a/packages/plugins/src/esbuild/esbuild.ts b/packages/plugins/src/esbuild/esbuild.ts index fb327683..3b813963 100644 --- a/packages/plugins/src/esbuild/esbuild.ts +++ b/packages/plugins/src/esbuild/esbuild.ts @@ -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", }, }, }); diff --git a/packages/plugins/src/jest/jest.ts b/packages/plugins/src/jest/jest.ts index fd1d5682..2d3c285d 100644 --- a/packages/plugins/src/jest/jest.ts +++ b/packages/plugins/src/jest/jest.ts @@ -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", }, }, }); diff --git a/packages/plugins/src/test/test.ts b/packages/plugins/src/test/test.ts index dbcdc7d6..955ae88b 100644 --- a/packages/plugins/src/test/test.ts +++ b/packages/plugins/src/test/test.ts @@ -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", }, }, }); diff --git a/packages/plugins/src/typescript/typescript.ts b/packages/plugins/src/typescript/typescript.ts index 3f1c77b6..0593f5b6 100644 --- a/packages/plugins/src/typescript/typescript.ts +++ b/packages/plugins/src/typescript/typescript.ts @@ -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", }, diff --git a/packages/plugins/src/xv/xv.ts b/packages/plugins/src/xv/xv.ts index 4d1dded7..896afdb0 100644 --- a/packages/plugins/src/xv/xv.ts +++ b/packages/plugins/src/xv/xv.ts @@ -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", }, }, }); diff --git a/yarn.lock b/yarn.lock index 4687a24c..c00e66c5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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 @@ -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" @@ -5489,7 +5489,7 @@ __metadata: semver: "npm:^7.3.8" peerDependencies: semantic-release: ">=19.0.0" - checksum: d2f2a944b7fabc5b783728092b2e8b5beeff93ad53adb37979a2987d781b00cffeaed3d0883a4e7403e80eb0b22c78dbbf9c149fea2da24bd7abf058cdb83725 + checksum: cffb4a64f94092193705587277ae6d475a008d523df976b01cac41201c9c4d9fb5f43266cbcbc68570e7c4a81e797635dbe0cde1dc12900716d81e5922dbe63d languageName: node linkType: hard