Skip to content
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

Fix: Replace Skypack with esm.run #1176

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion demos/deno/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ArcGIS REST JS + Deno

ArcGIS REST JS is fully compatible with Deno. You can import the packages from the [Skypack CDN](https://www.skypack.dev/search?q=%40esri%2Farcgis-rest-&p=1) for the easiest use. This demo shows importing from a local install with an import map.
ArcGIS REST JS is fully compatible with Deno. You can import the packages from the [esm.run CDN](https://www.jsdelivr.com/esm) for the easiest use. This demo shows importing from a local install with an import map.

You can run this demo with:

Expand Down
4 changes: 2 additions & 2 deletions demos/express-oauth-advanced/pages/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ <h1>The App!</h1>
</calcite-modal>

<script type="module">
import { ArcGISIdentityManager } from 'https://cdn.skypack.dev/@esri/arcgis-rest-request@^4.0.0';
import { searchItems, SearchQueryBuilder } from 'https://cdn.skypack.dev/@esri/arcgis-rest-portal@^4.0.0';
import { ArcGISIdentityManager } from 'https://esm.run/@esri/arcgis-rest-request@^4.0.0';
import { searchItems, SearchQueryBuilder } from 'https://esm.run/@esri/arcgis-rest-portal@^4.0.0';

// We need to customize the behavior of how ArcGISIdentityManager handles refreshing.
class ManagerWithCustomRefresh extends ArcGISIdentityManager {
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"precommit": "lint-staged",
"docs:build": "rimraf docs/build && unzip -d docs/build docs/v3-archive.zip && npm run typedoc",
"lint": "eslint ./packages --ext .ts",
"skypack-check": "npm exec -w ./packages package-check",
"srihash": "node scripts/generate-sri-hashes.js",
"test": "npm run lint && npm run test:compile && npm run test:node && npm run test:chrome",
"test:compile": "npm run build:esm",
Expand Down Expand Up @@ -71,7 +70,6 @@
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^8.0.0",
"@skypack/package-check": "^0.2.2",
"@types/fetch-mock": "^7.3.5",
"@types/jasmine": "^2.8.2",
"@types/node": "^12.20.4",
Expand Down
Loading