Skip to content

Further unpkg for jsdelivr #1381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 7, 2025
Merged

Further unpkg for jsdelivr #1381

merged 5 commits into from
Apr 7, 2025

Conversation

brothhammer
Copy link
Collaborator

@brothhammer brothhammer commented Apr 4, 2025

Brief Description

unpkg has been unreliable. This PR switches this repo to jsdelivr

JIRA Link

https://rocketcom.atlassian.net/browse/AP-400?linkSource=email

Related Issue

This is the second PR for this change. The first was done to change the customer facing instructions.
#1378

General Notes

  • removed all commented out instances of unpkg
  • included screen shots of the script tags loading correctly

Motivation and Context

We want to be consistent and only rely on one package for ease of maintenance and reliability.

Issues and Limitations

Types of changes

  • Maintenance

Checklist

  • This PR adds or removes a Storybook story.
  • I have added tests to cover my changes.
  • Regressions are passing and/or failures are documented
  • Changes have been checked in evergreen browsers

Copy link

changeset-bot bot commented Apr 4, 2025

⚠️ No Changeset found

Latest commit: c7e3a7a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

netlify bot commented Apr 4, 2025

Deploy Preview for astro-preview ready!

Name Link
🔨 Latest commit 47151ca
🔍 Latest deploy log https://app.netlify.com/sites/astro-preview/deploys/67f3ea518fe7e8000854a04a
😎 Deploy Preview https://deploy-preview-1381--astro-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Apr 4, 2025

Deploy Preview for astro-stencil ready!

Name Link
🔨 Latest commit 47151ca
🔍 Latest deploy log https://app.netlify.com/sites/astro-stencil/deploys/67f3ea51abedf40008fc71b0
😎 Deploy Preview https://deploy-preview-1381--astro-stencil.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -1,5 +1,5 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changeset command still works as expected. However VS code is mad about the URL. I tried clearing the VS code casche and restarting. Any other ideas?

@@ -26,7 +26,7 @@

<script
type="module"
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
src="https://cdn.jsdelivr.net/npm/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
></script>
</head>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

/>
<script
type="module"
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
></script>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@@ -12,11 +12,11 @@
/>
<link
rel="stylesheet"
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
/>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@@ -12,7 +12,7 @@
/>
<link
rel="stylesheet"
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
/>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

/>
<script
type="module"
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
></script>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

/>
<script
type="module"
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
></script>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

/>
<script
type="module"
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
></script>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@@ -20,11 +20,11 @@ Add the following inside your head tag
/>
<link
rel="stylesheet"
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
/>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

/>
<script
type="module"
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
></script>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@brothhammer brothhammer marked this pull request as ready for review April 7, 2025 15:44
@brothhammer brothhammer merged commit 26e9a71 into main Apr 7, 2025
10 checks passed
@brothhammer brothhammer deleted the further-unpkg-for-jsdelivr branch April 7, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants