I'm submitting a ...
Current behavior:
Currently, the Angular NPM package only contains the core files and not all the additional modules available in https://code.angularjs.org/1.7.9 -- these are only available by installing extra packages.
Expected / new behavior:
We're wanting to add an auto-update config for this library on cdnjs and have either the option of using a tagged git repo or a single NPM package as the source.
However, it seems this repo (though tagged) doesn't include the bundled files and I can't find an NPM package that contains all the modules at once.
It'd be great if there was a single NPM package available that contains all the Angular modules so that we can enable auto-updating on cdnjs for this library.
Minimal reproduction of the problem with instructions:
N/A
AngularJS version: 1.7.9
Browser: N/A
Anything else:
Thx for reaching out! AngularJS is currently in Long-Term Support mode, which means two things (among others):
That being said, I looked around at the cdnjs repo and here are a few things I noticed (related to AngularJS):
angular-mocks is also hosted as a separate package (at ajax/libs/angular-mocks/.angular-mocks package _has_ already been updated to 1.7.9 :grin:angular-mocks package includes a minified version, which we do not publish at https://code.angularjs.org/1.7.9/ (or on npm) 馃し鈥嶁檪@MattIPv4, wdyt about hosting* each AngularJS package separately?
*: I know "hosting" is not the right term, but not sure what is 馃槆
Yeah, that does make sense, no point making such changes on your end now.
I honestly hadn't even realised we had mocks as its own lib. No idea when/how that happened and why not all of them.
I have suggested in the auto-update PR on our end that we create new cdnjs libraries for each of the modules and use npm auto-update for all of those, including the core library.
Side notes:
No idea why we have a minified version for mocks that isn't on NPM, might be that our auto-updating bot automatically generates one if one isn't provided. I sadly don't know the internals well enough 馃槀
And hosted is the right word! We are cloning them into the repo and then hosting them directly on the global Cloudflare network for CDN access.
Closing this issue, since I don't think there is any action to be taken on our side.
(Feel free to correct me below in case I missed something.)
Thx, @MattIPv4!
Most helpful comment
Side notes:
No idea why we have a minified version for mocks that isn't on NPM, might be that our auto-updating bot automatically generates one if one isn't provided. I sadly don't know the internals well enough 馃槀
And hosted is the right word! We are cloning them into the repo and then hosting them directly on the global Cloudflare network for CDN access.