File tree Expand file tree Collapse file tree 13 files changed +377
-146
lines changed
graphiql-plugin-code-exporter Expand file tree Collapse file tree 13 files changed +377
-146
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @graphiql/plugin-code-exporter ' : minor
3+ ' @graphiql/plugin-explorer ' : minor
4+ ' @graphiql/react ' : minor
5+ ' graphiql ' : minor
6+ ---
7+
8+ update ` vite ` and related dependencies
Original file line number Diff line number Diff line change 4242 "@graphiql/react" : " ^0.29.0" ,
4343 "@vitejs/plugin-react" : " ^4.4.1" ,
4444 "graphql" : " ^16.9.0" ,
45- "postcss-nesting" : " ^10.1.7" ,
4645 "react" : " ^19.1.0" ,
4746 "react-dom" : " ^19.1.0" ,
4847 "typescript" : " ^4.6.3" ,
49- "vite" : " ^5.4.18 "
48+ "vite" : " ^6.3.3 "
5049 }
5150}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ const IS_UMD = process.env.UMD === 'true';
66
77export default defineConfig ( {
88 plugins : [ react ( { jsxRuntime : 'classic' } ) ] ,
9+ css : {
10+ transformer : 'lightningcss' ,
11+ } ,
912 build : {
1013 minify : IS_UMD ? 'esbuild' : false ,
1114 // avoid clean cjs/es builds
@@ -16,6 +19,7 @@ export default defineConfig({
1619 `${ filePath } .${ format === 'umd' ? 'umd.' : '' } js` ,
1720 name : 'GraphiQLPluginCodeExporter' ,
1821 formats : IS_UMD ? [ 'umd' ] : [ 'es' ] ,
22+ cssFileName : 'style' ,
1923 } ,
2024 rollupOptions : {
2125 external : [
Original file line number Diff line number Diff line change 4444 "react" : " ^19.1.0" ,
4545 "react-dom" : " ^19.1.0" ,
4646 "typescript" : " ^4.6.3" ,
47- "vite" : " ^5.4.18 " ,
48- "vite-plugin-svgr" : " ^4.2 .0"
47+ "vite" : " ^6.3.3 " ,
48+ "vite-plugin-svgr" : " ^4.3 .0"
4949 }
5050}
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ export default defineConfig({
1515 } ,
1616 } ) ,
1717 ] ,
18+ css : {
19+ transformer : 'lightningcss' ,
20+ } ,
1821 build : {
1922 minify : IS_UMD ? 'esbuild' : false ,
2023 // avoid clean cjs/es builds
@@ -25,6 +28,7 @@ export default defineConfig({
2528 `${ filePath } .${ format === 'umd' ? 'umd.' : '' } js` ,
2629 name : 'GraphiQLPluginExplorer' ,
2730 formats : IS_UMD ? [ 'umd' ] : [ 'es' ] ,
31+ cssFileName : 'style' ,
2832 } ,
2933 rollupOptions : {
3034 external : [
Original file line number Diff line number Diff line change 7474 "@types/markdown-it" : " ^14.1.2" ,
7575 "@types/get-value" : " ^3.0.5" ,
7676 "@types/set-value" : " ^4.0.1" ,
77- "@vitejs/plugin-react" : " ^4.3 .1" ,
77+ "@vitejs/plugin-react" : " ^4.4 .1" ,
7878 "graphql" : " ^16.9.0" ,
79- "postcss-nesting" : " ^10.1.7" ,
8079 "react" : " ^19.1.0" ,
8180 "react-dom" : " ^19.1.0" ,
8281 "typescript" : " ^4.6.3" ,
83- "vite" : " ^5.4.18 " ,
84- "vite-plugin-svgr" : " ^4.2 .0" ,
82+ "vite" : " ^6.3.3 " ,
83+ "vite-plugin-svgr" : " ^4.3 .0" ,
8584 "vite-plugin-dts" : " ^4.5.3"
8685 }
8786}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22import { defineConfig , PluginOption } from 'vite' ;
33import react from '@vitejs/plugin-react' ;
44import svgr from 'vite-plugin-svgr' ;
5- // @ts -expect-error -- no types
6- import postCssNestingPlugin from 'postcss-nesting' ;
75import type { PluginOptions as ReactCompilerConfig } from 'babel-plugin-react-compiler' ;
86import packageJSON from './package.json' assert { type : 'json' } ;
97import dts from 'vite-plugin-dts' ;
@@ -65,9 +63,7 @@ export const plugins: PluginOption[] = [
6563export default defineConfig ( {
6664 plugins,
6765 css : {
68- postcss : {
69- plugins : [ postCssNestingPlugin ( ) ] ,
70- } ,
66+ transformer : 'lightningcss' ,
7167 } ,
7268 build : {
7369 minify : false ,
@@ -79,6 +75,7 @@ export default defineConfig({
7975 return `${ filePath } .js` ;
8076 } ,
8177 formats : [ 'es' ] ,
78+ cssFileName : 'style' ,
8279 } ,
8380 rollupOptions : {
8481 external : [
Original file line number Diff line number Diff line change 5858 "react-dom" : " ^18 || ^19"
5959 },
6060 "devDependencies" : {
61+ "lightningcss" : " ^1.29.3" ,
6162 "babel-plugin-react-compiler" : " 19.1.0-rc.1" ,
62- "vite-plugin-dts" : " ^4.3.0" ,
63- "vite" : " ^5.3.6" ,
64- "postcss-lightningcss" : " ^1.0.1" ,
65- "@vitejs/plugin-react" : " ^4.3.1" ,
63+ "vite-plugin-dts" : " ^4.5.3" ,
64+ "vite" : " ^6.3.3" ,
65+ "@vitejs/plugin-react" : " ^4.4.1" ,
6666 "@graphiql/toolkit" : " ^0.11.2" ,
6767 "@testing-library/jest-dom" : " ^6.6.3" ,
6868 "@testing-library/react" : " ^16.1.0" ,
7272 "graphql" : " ^16.9.0" ,
7373 "graphql-http" : " ^1.22.1" ,
7474 "graphql-subscriptions" : " ^2.0.0" ,
75- "postcss" : " 8.4.31" ,
76- "postcss-import" : " 15.1.0" ,
7775 "react" : " ^19.1.0" ,
7876 "react-dom" : " ^19.1.0" ,
7977 "start-server-and-test" : " ^1.10.11" ,
You can’t perform that action at this time.
0 commit comments