feat: add support for URL in "packageManager"
#671
ci.yml
on: pull_request
Testing chores
24s
Matrix: build-and-test
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.
|