docs: deprecate jspm and use importMaps #5398
Draft
+151
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates our documentation and code to address the deprecation of jspm.dev service. We're transitioning to recommend using import maps with ga.jspm.io, which provides superior caching of modules. The changes ensure Spectrum components at latest are properly supported via the JSPM generator with import maps.
Related issue(s)
Motivation and context
The jspm.dev service has been officially deprecated as detailed at https://jspm.org/jspm-dev-deprecation. This change is required to ensure our users have access to stable and maintained module loading infrastructure. The transition to import maps with ga.jspm.io provides better caching performance and long-term stability.
How has this been tested?
Testing included verifying that all Spectrum components at latest version load correctly using the new import maps approach with ga.jspm.io. Tests were conducted across multiple browsers and environments to ensure compatibility and performance.
Test case 1
Test case 2
Did it pass in Desktop?
Did it pass in Mobile?
Did it pass in iPad?
Screenshots (if appropriate)
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.