-
-
Notifications
You must be signed in to change notification settings - Fork 23
chore: add deno to the providers in defaultProviders comment #369
Conversation
|
As per jspm/jspm#2618, If we do want to support it, let's open a new feature request for that. |
|
The i think it should be changed to |
|
updated it to |
| * The provider to use for top-level (i.e. root package) installs if there's no context in the inputMap. This can be used to set the provider for a new import map. To use a specific provider for an install, rather than relying on context, register an override using the 'providers' option. | ||
| * | ||
| * Supports: 'jspm.io' | 'jspm.io#system' | 'nodemodules' | 'skypack' | 'jsdelivr' | 'unpkg' | 'esm.sh'; | ||
| * Supports: 'jspm.io' | 'denoland' | 'nodemodules' | 'skypack' | 'jsdelivr' | 'unpkg' | 'esm.sh'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be defaultRegistry: 'denoland'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed it for defaultProvider not the registry 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this works actually, since denoland is not the provider. The provider is deno and the registry is either deno or denoland. I think the mistake in the discussion was mixing up the registry and provider terms, I meant to say that it's the denoland registry not the denoland provider that should be used.
I believe the denoland provider is an error, since it is not registered here - https://github.com/jspm/generator/blob/main/src/providers/index.ts#L55.
|
I've started some further work on |
Just a small comment change, mis-leading in editor suggestions.