I have one package (xlsx) which has an old version on npm (18.5) however they have newer versions only available via their own CDN.
In package.json I have the following:
{
"dependencies": {
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
}
}
It seems GeneratePackageJsonPlugin is deriving the version from the node_modules (I have useInstalledVersions enabled), however I want to ensure that any externally hosted packages have their URLs included in the generated package.json.
Current output from plugin is:
{
"dependencies": {
"xlsx": "0.20.2"
}
}
But since 0.20.2 doesn't exist on npm, there are issues when installing.
I can't make out from documentation if this is already supported. I looked at existing config options like sourcePackageFilenames but I think that's for different usage than what I need.
I have one package (
xlsx) which has an old version on npm (18.5) however they have newer versions only available via their own CDN.In package.json I have the following:
It seems
GeneratePackageJsonPluginis deriving the version from thenode_modules(I haveuseInstalledVersionsenabled), however I want to ensure that any externally hosted packages have their URLs included in the generated package.json.Current output from plugin is:
But since 0.20.2 doesn't exist on npm, there are issues when installing.
I can't make out from documentation if this is already supported. I looked at existing config options like
sourcePackageFilenamesbut I think that's for different usage than what I need.