Skip to content

feat: add support for URL in "packageManager" #671

feat: add support for URL in "packageManager"

feat: add support for URL in "packageManager" #671

Triggered via pull request January 22, 2024 22:08
Status Failure
Total duration 27m 38s
Artifacts

ci.yml

on: pull_request
Testing chores
24s
Testing chores
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

19 errors
Testing chores: sources/Engine.ts#L12
'"./types"' has no exported member named 'URLDescriptor'. Did you mean 'Descriptor'?
Testing chores: sources/Engine.ts#L143
Type 'PackageManagerSpec | { url: URL; bin: {}; registry: { type: string; url: URL; fields: {}; }; }' is not assignable to type 'PackageManagerSpec'.
Testing chores: sources/commands/Base.ts#L52
Property 'commands' does not exist on type 'PackageManagerSpec | { url: URL; bin: {}; registry: { type: string; url: URL; fields: {}; }; }'.
Testing chores: sources/commands/Base.ts#L62
Argument of type '{ locator: Locator; spec: PackageManagerSpec | { url: URL; bin: {}; registry: { type: string; url: URL; fields: {}; }; }; hash: string; location: string; }' is not assignable to parameter of type '{ location: string; spec: PackageManagerSpec; }'.
Testing chores: sources/commands/Up.ts#L42
Argument of type 'string | URL' is not assignable to parameter of type 'string | SemVer'.
Testing chores: sources/corepackUtils.ts#L274
Argument of type 'string | URL' is not assignable to parameter of type 'string | SemVer'.
Testing chores: sources/main.ts#L93
Argument of type '{ locator: Locator; spec: PackageManagerSpec | { url: URL; bin: {}; registry: { type: string; url: URL; fields: {}; }; }; hash: string; location: string; }' is not assignable to parameter of type '{ location: string; spec: PackageManagerSpec; }'.
Testing chores: sources/specUtils.ts#L71
Type '{ name: string; range: string | URL; }' is not assignable to type 'Descriptor'.
Testing chores: sources/specUtils.ts#L82
Type '{ name: string; range: string | URL; }' is not assignable to type 'Descriptor'.
Testing chores: sources/specUtils.ts#L88
Type '{ name: string; range: string | URL; }' is not assignable to type 'Descriptor'.
ubuntu-latest w/ Node.js 18.x
Process completed with exit code 1.
ubuntu-latest w/ Node.js 20.x
Process completed with exit code 1.
ubuntu-latest w/ Node.js 21.x
Process completed with exit code 1.
macos-latest w/ Node.js 21.x
Process completed with exit code 1.
macos-latest w/ Node.js 20.x
Process completed with exit code 1.
macos-latest w/ Node.js 18.x
Process completed with exit code 1.
windows-latest w/ Node.js 18.x
Process completed with exit code 1.
windows-latest w/ Node.js 20.x
Process completed with exit code 1.
windows-latest w/ Node.js 21.x
Process completed with exit code 1.