Skip to content

pin GraphiQL v4 stable version in ESM-based CDN examples #3910

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 4 commits into from
May 3, 2025
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
10 changes: 5 additions & 5 deletions examples/graphiql-cdn/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
</style>
<link
rel="stylesheet"
href="https://esm.sh/[email protected]-canary-fcd3265c.0/dist/style.css"
href="https://esm.sh/[email protected]/dist/style.css"
/>
<link
rel="stylesheet"
href="https://esm.sh/@graphiql/[email protected]-canary-fcd3265c.0/dist/style.css"
href="https://esm.sh/@graphiql/[email protected]/dist/style.css"
/>
<!-- Note: the ?standalone flag bundles the module along with all of its `dependencies`, excluding `peerDependencies`, into a single JavaScript file. -->
<script type="importmap">
Expand All @@ -47,9 +47,9 @@
"react-dom": "https://esm.sh/[email protected]",
"react-dom/client": "https://esm.sh/[email protected]/client",

"graphiql": "https://esm.sh/[email protected]-canary-fcd3265c.0?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react",
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/[email protected]-canary-fcd3265c.0?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react,graphql",
"@graphiql/react": "https://esm.sh/@graphiql/[email protected]-canary-fcd3265c.0?standalone&external=react,react/jsx-runtime,react-dom,graphql,@graphiql/toolkit",
"graphiql": "https://esm.sh/[email protected]?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react",
"@graphiql/plugin-explorer": "https://esm.sh/@graphiql/[email protected]?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react,graphql",
"@graphiql/react": "https://esm.sh/@graphiql/[email protected]?standalone&external=react,react/jsx-runtime,react-dom,graphql,@graphiql/toolkit",

"@graphiql/toolkit": "https://esm.sh/@graphiql/[email protected]?standalone&external=graphql",
"graphql": "https://esm.sh/[email protected]"
Expand Down
2 changes: 1 addition & 1 deletion examples/graphiql-parcel/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<link
rel="stylesheet"
href="https://esm.sh/[email protected]-canary-fcd3265c.0/dist/style.css"
href="https://esm.sh/[email protected]/dist/style.css"
/>
</head>

Expand Down
10 changes: 5 additions & 5 deletions packages/graphiql-plugin-code-exporter/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
</style>
<link
rel="stylesheet"
href="https://esm.sh/[email protected]-canary-fcd3265c.0/dist/style.css"
href="https://esm.sh/[email protected]/dist/style.css"
/>
<link
rel="stylesheet"
href="https://esm.sh/@graphiql/[email protected]-canary-fcd3265c.0/dist/style.css"
href="https://esm.sh/@graphiql/[email protected]/dist/style.css"
/>
<!-- Note: the ?standalone flag bundles the module along with all of its `dependencies`, excluding `peerDependencies`, into a single JavaScript file. -->
<script type="importmap">
Expand All @@ -47,9 +47,9 @@
"react-dom": "https://esm.sh/[email protected]",
"react-dom/client": "https://esm.sh/[email protected]/client",

"graphiql": "https://esm.sh/[email protected]-canary-fcd3265c.0?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react",
"@graphiql/plugin-code-exporter": "https://esm.sh/@graphiql/[email protected]-canary-fcd3265c.0?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react,graphql&[email protected]",
"@graphiql/react": "https://esm.sh/@graphiql/[email protected]-canary-fcd3265c.0?standalone&external=react,react/jsx-runtime,react-dom,graphql,@graphiql/toolkit",
"graphiql": "https://esm.sh/[email protected]?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react",
"@graphiql/plugin-code-exporter": "https://esm.sh/@graphiql/[email protected]?standalone&external=react,react/jsx-runtime,react-dom,@graphiql/react,graphql&[email protected]",
"@graphiql/react": "https://esm.sh/@graphiql/[email protected]?standalone&external=react,react/jsx-runtime,react-dom,graphql,@graphiql/toolkit",

"@graphiql/toolkit": "https://esm.sh/@graphiql/[email protected]?standalone&external=graphql",
"graphql": "https://esm.sh/[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-code-exporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "^4.6.3",
"vite": "^6.3.3",
"vite": "^6.3.4",
"vite-plugin-dts": "^4.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/graphiql-plugin-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "^4.6.3",
"vite": "^6.3.3",
"vite": "^6.3.4",
"vite-plugin-svgr": "^4.3.0",
"vite-plugin-dts": "^4.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"typescript": "^4.6.3",
"vite": "^6.3.3",
"vite": "^6.3.4",
"vite-plugin-svgr": "^4.3.0",
"vite-plugin-dts": "^4.5.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/graphiql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"lightningcss": "^1.29.3",
"babel-plugin-react-compiler": "19.1.0-rc.1",
"vite-plugin-dts": "^4.5.3",
"vite": "^6.3.3",
"vite": "^6.3.4",
"@vitejs/plugin-react": "^4.4.1",
"@graphiql/toolkit": "^0.11.2",
"@testing-library/jest-dom": "^6.6.3",
Expand Down
Loading
Loading