angular / dev-infra

Angular Development Infrastructure
MIT License
65 stars 54 forks source link

build: update dependency @inquirer/prompts to v6 #2314

Closed angular-robot closed 4 weeks ago

angular-robot commented 1 month ago

This PR contains the following updates:

Package Type Update Change
@inquirer/prompts (source) devDependencies major ^5.2.0 -> ^6.0.0

[!WARNING] Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

SBoudrias/Inquirer.js (@​inquirer/prompts) ### [`v6.0.1`](https://redirect.github.com/SBoudrias/Inquirer.js/compare/@inquirer/prompts@6.0.0...@inquirer/prompts@6.0.1) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/@inquirer/prompts@6.0.0...@inquirer/prompts@6.0.1) ### [`v6.0.0`](https://redirect.github.com/SBoudrias/Inquirer.js/releases/tag/%40inquirer/prompts%406.0.0) [Compare Source](https://redirect.github.com/SBoudrias/Inquirer.js/compare/@inquirer/prompts@5.5.0...@inquirer/prompts@6.0.0) No technical breaking changes; but we changed the style of the question `prefix` once the answer is provided. Once a question is answer, the prefix becomes a tick mark (previously it was the same `?` as when the prompt is idle.) This is theme-able, and so can be overwritten to with `theme.prefix`.

Configuration

šŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Renovate Bot.

angular-robot commented 1 month ago

āš ļø Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

ā™» Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package.json
Command failed: yarn update-generated-files
Loading: 
Loading: 0 packages loaded
Analyzing: 21 targets (0 packages loaded, 0 targets configured)
Analyzing: 21 targets (266 packages loaded, 12153 targets configured)
INFO: Analyzed 21 targets (382 packages loaded, 15878 targets configured).

INFO: Found 21 targets...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
ERROR: /tmp/renovate/repos/github/angular/dev-infra/ng-dev/utils/BUILD.bazel:20:11: Compiling TypeScript (devmode) //ng-dev/utils:utils failed: (Exit 1): tsc_wrapped.sh failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/external/npm/@bazel/concatjs/bin/tsc_wrapped.sh @@bazel-out/k8-fastbuild/bin/ng-dev/utils/utils_es5_tsconfig.json
ng-dev/utils/prompt.ts:16:10 - error TS2742: The inferred type of 'confirm' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

16   static confirm = confirm;
            ~~~~~~~
ng-dev/utils/prompt.ts:17:10 - error TS2742: The inferred type of 'input' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

17   static input = input;
            ~~~~~
ng-dev/utils/prompt.ts:18:10 - error TS2742: The inferred type of 'checkbox' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

18   static checkbox = checkbox;
            ~~~~~~~~
ng-dev/utils/prompt.ts:19:10 - error TS2742: The inferred type of 'select' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

19   static select = select;
            ~~~~~~
ng-dev/utils/prompt.ts:20:10 - error TS2742: The inferred type of 'editor' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

20   static editor = editor;
            ~~~~~~

ERROR: /tmp/renovate/repos/github/angular/dev-infra/.github/local-actions/branch-manager/BUILD.bazel:3:19 Bundling Javascript .github/local-actions/branch-manager/lib/main.ts [esbuild] failed: (Exit 1): tsc_wrapped.sh failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/external/npm/@bazel/concatjs/bin/tsc_wrapped.sh @@bazel-out/k8-fastbuild/bin/ng-dev/utils/utils_es5_tsconfig.json
INFO: Elapsed time: 4.006s, Critical Path: 0.98s
INFO: 21 processes: 21 internal.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
Loading: 
Loading: 0 packages loaded
Analyzing: target //.github/local-actions/branch-manager:main.update (0 packages loaded, 0 targets configured)
INFO: Analyzed target //.github/local-actions/branch-manager:main.update (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
[0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt
ERROR: /tmp/renovate/repos/github/angular/dev-infra/ng-dev/utils/BUILD.bazel:20:11: Compiling TypeScript (devmode) //ng-dev/utils:utils failed: (Exit 1): tsc_wrapped.sh failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/external/npm/@bazel/concatjs/bin/tsc_wrapped.sh @@bazel-out/k8-fastbuild/bin/ng-dev/utils/utils_es5_tsconfig.json
ng-dev/utils/prompt.ts:16:10 - error TS2742: The inferred type of 'confirm' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

16   static confirm = confirm;
            ~~~~~~~
ng-dev/utils/prompt.ts:17:10 - error TS2742: The inferred type of 'input' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

17   static input = input;
            ~~~~~
ng-dev/utils/prompt.ts:18:10 - error TS2742: The inferred type of 'checkbox' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

18   static checkbox = checkbox;
            ~~~~~~~~
ng-dev/utils/prompt.ts:19:10 - error TS2742: The inferred type of 'select' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

19   static select = select;
            ~~~~~~
ng-dev/utils/prompt.ts:20:10 - error TS2742: The inferred type of 'editor' cannot be named without a reference to '@inquirer/core/node_modules/@inquirer/type/dist/cjs/types'. This is likely not portable. A type annotation is necessary.

20   static editor = editor;
            ~~~~~~

Target //.github/local-actions/branch-manager:main.update failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /tmp/renovate/repos/github/angular/dev-infra/.github/local-actions/branch-manager/BUILD.bazel:3:19 Bundling Javascript .github/local-actions/branch-manager/lib/main.ts [esbuild] failed: (Exit 1): tsc_wrapped.sh failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/external/npm/@bazel/concatjs/bin/tsc_wrapped.sh @@bazel-out/k8-fastbuild/bin/ng-dev/utils/utils_es5_tsconfig.json
INFO: Elapsed time: 0.900s, Critical Path: 0.58s
INFO: 2 processes: 2 internal.
FAILED: Build did NOT complete successfully
ERROR: Build failed. Not running target
FAILED: Build did NOT complete successfully
/tmp/renovate/repos/github/angular/dev-infra/tools/update-generated-files.ts:40
    throw Error(`Unexpected error while updating: ${targetName}.`);
          ^

Error: Unexpected error while updating: //.github/local-actions/branch-manager:main.update.
    at <anonymous> (/tmp/renovate/repos/github/angular/dev-infra/tools/update-generated-files.ts:40:11)
    at ModuleJob.run (node:internal/modules/esm/module_job:234:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:473:24)
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)

Node.js v20.17.0