diff --git a/.changeset/four-parrots-warn.md b/.changeset/four-parrots-warn.md new file mode 100644 index 00000000000..261309e602a --- /dev/null +++ b/.changeset/four-parrots-warn.md @@ -0,0 +1,5 @@ +--- +'vscode-graphql': patch +--- + +fix esbuild + vsce issue diff --git a/.changeset/orange-turkeys-draw.md b/.changeset/orange-turkeys-draw.md new file mode 100644 index 00000000000..2f62327b8b5 --- /dev/null +++ b/.changeset/orange-turkeys-draw.md @@ -0,0 +1,5 @@ +--- +'vscode-graphql-execution': patch +--- + +fix vscode-graphql-execution release diff --git a/packages/vscode-graphql-execution/esbuild.js b/packages/vscode-graphql-execution/esbuild.js index 76c34bf58c5..dc2b3f36fbb 100644 --- a/packages/vscode-graphql-execution/esbuild.js +++ b/packages/vscode-graphql-execution/esbuild.js @@ -45,10 +45,7 @@ build({ 'dustjs-linkedin', 'atpl', 'liquor', - 'twig', - 'cosmiconfig', - 'graphql-config', - 'graphql', + 'twig' ], format: 'cjs', sourcemap: true, diff --git a/packages/vscode-graphql-execution/package.json b/packages/vscode-graphql-execution/package.json index 62e9e957732..a327b50c076 100644 --- a/packages/vscode-graphql-execution/package.json +++ b/packages/vscode-graphql-execution/package.json @@ -83,11 +83,12 @@ "homepage": "https://github.com/graphql/graphiql/blob/main/packages/vscode-graphql-execution/README.md", "scripts": { "compile": "node esbuild.js", + "build-bundles": "yarn run compile", "vsce:package": "yarn compile && vsce package --yarn", - "vsce:prepublish": "npm run vsce:package", + "vsce:prepublish": "yarn run vsce:package", "vsce:publish": "vsce publish --yarn", "open-vsx:publish": "ovsx publish --yarn -i . --pat $OVSX_PAT", - "release": "npm run vsce:publish && npm run open-vsx:publish" + "release": "yarn run compile && yarn run vsce:publish && yarn run open-vsx:publish" }, "devDependencies": { "@types/capitalize": "2.0.0", diff --git a/packages/vscode-graphql/esbuild.js b/packages/vscode-graphql/esbuild.js index 79396dfc3b6..d6515bf413d 100644 --- a/packages/vscode-graphql/esbuild.js +++ b/packages/vscode-graphql/esbuild.js @@ -49,10 +49,7 @@ build({ 'dustjs-linkedin', 'atpl', 'liquor', - 'twig', - 'cosmiconfig', - 'graphql-config', - 'graphql', + 'twig' ], }) .then(({ errors, warnings }) => { diff --git a/packages/vscode-graphql/package.json b/packages/vscode-graphql/package.json index 216984c95f3..f0186c71c1c 100644 --- a/packages/vscode-graphql/package.json +++ b/packages/vscode-graphql/package.json @@ -166,6 +166,7 @@ }, "dependencies": { "graphql-language-service-server": "^2.11.2", - "vscode-languageclient": "8.0.2" + "vscode-languageclient": "8.0.2", + "graphql": "16.6.0" } }