Skip to content

Commit 26e9a71

Browse files
authored
Merge pull request #1381 from RocketCommunicationsInc/further-unpkg-for-jsdelivr
Get rid of `unpkg` and replace with `jsdelivr`
2 parents 2c89c3c + 47151ca commit 26e9a71

File tree

40 files changed

+14
-94
lines changed

40 files changed

+14
-94
lines changed

Diff for: .changeset/config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
2+
"$schema": "https://cdn.jsdelivr.net/npm/@changesets/[email protected]/schema.json",
33
"changelog": "@changesets/cli/changelog",
44
"commit": false,
55
"linked": [],

Diff for: packages/web-components/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"types": "dist/types/components.d.ts",
1515
"collection": "dist/collection/collection-manifest.json",
1616
"collection:main": "dist/collection/index.js",
17-
"unpkg": "dist/astro-web-components/astro-web-components.esm.js",
17+
"jsdelivr": "dist/astro-web-components/astro-web-components.esm.js",
1818
"files": [
1919
"dist/",
2020
"loader/"

Diff for: packages/web-components/src/components/rux-accordion/test/holster/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
2726
</head>
2827
<body>
2928
<!-- PARTS TESTING -->

Diff for: packages/web-components/src/components/rux-breadcrumb/test/basic/index.html

-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
></script>
2020

2121
<link rel="stylesheet" href="../../../../../src/global/test.css" />
22-
23-
<!-- <script
24-
type="module"
25-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
26-
></script> -->
2722
</head>
2823

2924
<body>

Diff for: packages/web-components/src/components/rux-breadcrumb/test/holster/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script
27-
type="module"
28-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
29-
></script> -->
3026
</head>
3127
<body>
3228
<!-- PARTS TESTING -->

Diff for: packages/web-components/src/components/rux-button/test/holster/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
2726
</head>
2827

2928
<body class="dark-theme">

Diff for: packages/web-components/src/components/rux-card/test/holster/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script
27-
type="module"
28-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
29-
></script> -->
3026
</head>
3127

3228
<body style="background: var(--color-background-surface-default)">

Diff for: packages/web-components/src/components/rux-checkbox-group/test/holster/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script
27-
type="module"
28-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
29-
></script> -->
3026
</head>
3127
<body>
3228
<section>

Diff for: packages/web-components/src/components/rux-checkbox/test/holster/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!--<script
27-
type="module"
28-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
29-
></script>-->
3026
</head>
3127

3228
<body class="dark-theme">

Diff for: packages/web-components/src/components/rux-classification-marking/test/holster/index.html

-5
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
27-
<!-- <script
28-
type="module"
29-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
30-
></script> -->
3126
</head>
3227
<body>
3328
<!-- <ftl-belt file-id="xn47jC9ZYiOita8mXjmghp">

Diff for: packages/web-components/src/components/rux-clock/test/holster/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script
27-
type="module"
28-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
29-
></script> -->
3026
</head>
3127

3228
<body>

Diff for: packages/web-components/src/components/rux-container/test/index.html

-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
></script>
2020
<script nomodule src="/build/astro-web-components.js"></script>
2121

22-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
23-
2422
<!-- <link
2523
rel="stylesheet"
2624
href="../../../../../dist/astro-web-components/astro-web-components.css"

Diff for: packages/web-components/src/components/rux-dialog/test/index.html

-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
></script>
2020
<script nomodule src="/build/astro-web-components.js"></script>
2121

22-
<!-- <script
23-
type="module"
24-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
25-
></script> -->
26-
2722
<!-- <link
2823
rel="stylesheet"
2924
href="../../../../../dist/astro-web-components/astro-web-components.css"

Diff for: packages/web-components/src/components/rux-global-status-bar/test/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script
31-
type="module"
32-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
33-
></script> -->
3430
</head>
3531

3632
<body>

Diff for: packages/web-components/src/components/rux-input/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../dist/astro-web-components/astro-web-components.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
</head>
3231

3332
<body class="dark-theme">

Diff for: packages/web-components/src/components/rux-log/test/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/> -->
30-
<!-- <script
31-
type="module"
32-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
33-
></script> -->
3430
<style>
3531
#filterInput {
3632
margin: 2rem;

Diff for: packages/web-components/src/components/rux-monitoring-icon/test/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script
31-
type="module"
32-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
33-
></script> -->
3430
</head>
3531
<body>
3632
<rux-monitoring-icon

Diff for: packages/web-components/src/components/rux-notification/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
<style></style>
3231
</head>
3332

Diff for: packages/web-components/src/components/rux-pop-up/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
</head>
3231

3332
<body>

Diff for: packages/web-components/src/components/rux-progress/test/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script
31-
type="module"
32-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
33-
></script> -->
3430
</head>
3531

3632
<body>

Diff for: packages/web-components/src/components/rux-push-button/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
</head>
3231
<body class="dark-theme">
3332
<div style="padding: 10%; display: flex; justify-content: center">

Diff for: packages/web-components/src/components/rux-segmented-button/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
2726
</head>
2827

2928
<body>

Diff for: packages/web-components/src/components/rux-select/test/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!-- <script
27-
type="module"
28-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
29-
></script> -->
3026
<style>
3127
body {
3228
padding-left: 2rem;

Diff for: packages/web-components/src/components/rux-slider/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
</head>
3231

3332
<body class="dark-theme">

Diff for: packages/web-components/src/components/rux-status/test/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<script
2828
type="module"
29-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
29+
src="https://cdn.jsdelivr.net/npm/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
3030
></script>
3131
</head>
3232

Diff for: packages/web-components/src/components/rux-table/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
</head>
3231

3332
<body class="dark-theme">

Diff for: packages/web-components/src/components/rux-textarea/test/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
rel="stylesheet"
2929
href="../../../../../src/global/test-reset.css"
3030
/>
31-
<!-- <script
32-
type="module"
33-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
34-
></script>-->
3531
</head>
3632

3733
<body class="dark-theme">

Diff for: packages/web-components/src/components/rux-timeline/rux-time-region/test/holster/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
rel="stylesheet"
2424
href="../../../../../dist/astro-web-components/astro-web-components.css"
2525
/>
26-
<!--<script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script>-->
2726
</head>
2827

2928
<body>

Diff for: packages/web-components/src/components/rux-toast-stack/test/basic/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
<style>
3231
rux-card {
3332
margin: 0.5rem;

Diff for: packages/web-components/src/components/rux-toast-stack/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
<style>
3231
rux-card {
3332
margin: 0.5rem;

Diff for: packages/web-components/src/components/rux-toast/test/basic/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
<style>
3231
rux-card {
3332
margin-inline: 0.5rem;

Diff for: packages/web-components/src/components/rux-toast/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
rel="stylesheet"
2828
href="../../../../../src/global/test-reset.css"
2929
/>
30-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
3130
<style>
3231
rux-card {
3332
margin-inline: 0.5rem;

Diff for: packages/web-components/src/components/rux-tooltip/test/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
rel="stylesheet"
4242
href="../../../../../dist/astro-web-components/astro-web-components.css"
4343
/> -->
44-
<!-- <script type="module" src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"></script> -->
4544
<link rel="stylesheet" href="../../../../../src/global/test.css" />
4645
<link
4746
rel="stylesheet"

Diff for: packages/web-components/src/components/rux-tree/test/index.html

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
rel="stylesheet"
2929
href="../../../../../src/global/test-reset.css"
3030
/>
31-
<!-- <script
32-
type="module"
33-
src="https://unpkg.com/@rocketmark/figma-testing-library/dist/figma-testing-library/figma-testing-library.esm.js"
34-
></script> -->
3531
</head>
3632

3733
<body>

Diff for: packages/web-components/src/stories/astro-sandboxes/forms/html/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
/>
1313
<link
1414
rel="stylesheet"
15-
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
15+
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
1616
/>
1717
<script
1818
type="module"
19-
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
19+
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
2020
></script>
2121
<style>
2222
form > div {

Diff for: packages/web-components/src/stories/astro-sandboxes/forms/svelte/basic/public/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
/>
1313
<link
1414
rel="stylesheet"
15-
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
15+
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
1616
/>
1717
<script
1818
type="module"
19-
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
19+
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
2020
></script>
2121
</head>
2222

Diff for: packages/web-components/src/stories/astro-sandboxes/forms/svelte/validation/public/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
/>
1313
<link
1414
rel="stylesheet"
15-
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
15+
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
1616
/>
1717
<script
1818
type="module"
19-
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
19+
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
2020
></script>
2121
</head>
2222

Diff for: packages/web-components/src/stories/astro-sandboxes/sign-in/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
/>
1414
<link
1515
rel="stylesheet"
16-
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
16+
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
1717
/>
1818
<script
1919
type="module"
20-
src="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
20+
src="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.esm.js"
2121
></script>
2222
<noscript>
2323
<style type="text/css">

Diff for: packages/web-components/src/stories/astro-sandboxes/themes/ag-grid/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/>
1313
<link
1414
rel="stylesheet"
15-
href="https://unpkg.com/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
15+
href="https://cdn.jsdelivr.net/npm/@astrouxds/astro-web-components/dist/astro-web-components/astro-web-components.css"
1616
/>
1717
</head>
1818

0 commit comments

Comments
 (0)