diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f087e330ef..91a8b00749 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -125,14 +125,7 @@ jobs: - run: yarn install --immutable --immutable-cache - run: yarn tsc - run: yarn workspaces focus --production - - run: | - cd packages/prompts - npm install --omit=dev --workspaces=false - cd ../packages/prompts - npm install --omit=dev --workspaces=false - cd ../packages/prompts - npm install --omit=dev --workspaces=false - cd ../.. + - run: npm install --omit=dev --ignore-scripts --no-audit - name: Extract demos to an isolated folder run: | cur_dir=$(pwd) diff --git a/integration/cjs/package.json b/integration/cjs/package.json index 55634c1806..cda8fe1444 100644 --- a/integration/cjs/package.json +++ b/integration/cjs/package.json @@ -3,10 +3,10 @@ "version": "0.0.0", "private": true, "devDependencies": { - "@inquirer/core": "workspace:*", - "@inquirer/input": "workspace:*", - "@inquirer/prompts": "workspace:*", - "inquirer": "workspace:*" + "@inquirer/core": "*", + "@inquirer/input": "*", + "@inquirer/prompts": "*", + "inquirer": "*" }, "engines": { "node": ">=18" diff --git a/integration/esm/package.json b/integration/esm/package.json index ee263f8bf8..cb67e364bc 100644 --- a/integration/esm/package.json +++ b/integration/esm/package.json @@ -4,10 +4,10 @@ "private": true, "type": "module", "devDependencies": { - "@inquirer/core": "workspace:*", - "@inquirer/input": "workspace:*", - "@inquirer/prompts": "workspace:*", - "inquirer": "workspace:*" + "@inquirer/core": "*", + "@inquirer/input": "*", + "@inquirer/prompts": "*", + "inquirer": "*" }, "engines": { "node": ">=18" diff --git a/yarn.lock b/yarn.lock index 9c0c55cd27..681ec10c19 100644 --- a/yarn.lock +++ b/yarn.lock @@ -448,10 +448,10 @@ __metadata: version: 0.0.0-use.local resolution: "@inquirer/cjs-integration-tests@workspace:integration/cjs" dependencies: - "@inquirer/core": "workspace:*" - "@inquirer/input": "workspace:*" - "@inquirer/prompts": "workspace:*" - inquirer: "workspace:*" + "@inquirer/core": "npm:*" + "@inquirer/input": "npm:*" + "@inquirer/prompts": "npm:*" + inquirer: "npm:*" languageName: unknown linkType: soft @@ -468,7 +468,7 @@ __metadata: languageName: unknown linkType: soft -"@inquirer/core@npm:^9.2.1, @inquirer/core@workspace:*, @inquirer/core@workspace:packages/core": +"@inquirer/core@npm:*, @inquirer/core@npm:^9.2.1, @inquirer/core@workspace:packages/core": version: 0.0.0-use.local resolution: "@inquirer/core@workspace:packages/core" dependencies: @@ -525,10 +525,10 @@ __metadata: version: 0.0.0-use.local resolution: "@inquirer/esm-integration-tests@workspace:integration/esm" dependencies: - "@inquirer/core": "workspace:*" - "@inquirer/input": "workspace:*" - "@inquirer/prompts": "workspace:*" - inquirer: "workspace:*" + "@inquirer/core": "npm:*" + "@inquirer/input": "npm:*" + "@inquirer/prompts": "npm:*" + inquirer: "npm:*" languageName: unknown linkType: soft @@ -556,7 +556,7 @@ __metadata: languageName: unknown linkType: soft -"@inquirer/input@npm:^3.0.1, @inquirer/input@workspace:*, @inquirer/input@workspace:packages/input": +"@inquirer/input@npm:*, @inquirer/input@npm:^3.0.1, @inquirer/input@workspace:packages/input": version: 0.0.0-use.local resolution: "@inquirer/input@workspace:packages/input" dependencies: @@ -596,7 +596,7 @@ __metadata: languageName: unknown linkType: soft -"@inquirer/prompts@npm:^6.0.1, @inquirer/prompts@workspace:*, @inquirer/prompts@workspace:packages/prompts": +"@inquirer/prompts@npm:*, @inquirer/prompts@npm:^6.0.1, @inquirer/prompts@workspace:packages/prompts": version: 0.0.0-use.local resolution: "@inquirer/prompts@workspace:packages/prompts" dependencies: @@ -4734,6 +4734,24 @@ __metadata: languageName: node linkType: hard +"inquirer@npm:*, inquirer@workspace:packages/inquirer": + version: 0.0.0-use.local + resolution: "inquirer@workspace:packages/inquirer" + dependencies: + "@arethetypeswrong/cli": "npm:^0.16.4" + "@inquirer/core": "npm:^9.2.1" + "@inquirer/prompts": "npm:^6.0.1" + "@inquirer/type": "npm:^2.0.0" + "@repo/tsconfig": "npm:*" + "@types/mute-stream": "npm:^0.0.4" + ansi-escapes: "npm:^4.3.2" + mute-stream: "npm:^2.0.0" + run-async: "npm:^3.0.0" + rxjs: "npm:^7.8.1" + tshy: "npm:^3.0.2" + languageName: unknown + linkType: soft + "inquirer@npm:^8.2.4": version: 8.2.5 resolution: "inquirer@npm:8.2.5" @@ -4757,24 +4775,6 @@ __metadata: languageName: node linkType: hard -"inquirer@workspace:*, inquirer@workspace:packages/inquirer": - version: 0.0.0-use.local - resolution: "inquirer@workspace:packages/inquirer" - dependencies: - "@arethetypeswrong/cli": "npm:^0.16.4" - "@inquirer/core": "npm:^9.2.1" - "@inquirer/prompts": "npm:^6.0.1" - "@inquirer/type": "npm:^2.0.0" - "@repo/tsconfig": "npm:*" - "@types/mute-stream": "npm:^0.0.4" - ansi-escapes: "npm:^4.3.2" - mute-stream: "npm:^2.0.0" - run-async: "npm:^3.0.0" - rxjs: "npm:^7.8.1" - tshy: "npm:^3.0.2" - languageName: unknown - linkType: soft - "ip@npm:^2.0.0": version: 2.0.1 resolution: "ip@npm:2.0.1"