Skip to content

Commit b963fca

Browse files
authored
improvement: repurpose graphql-language-service for LSP DX (#1535)
- `graphql-language-service` moves to `graphql-language-service-cli` - `graphql-languageservice` becomes `graphql-language-service` because NPM thinks the former is too alike - update packages to use new `graphql-language-service` - bump major version - update documentation to reflect these changes - add bin placeholder to `graphql-language-service` to stderr out to users the new package to install
1 parent 0ac9fa0 commit b963fca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+696
-625
lines changed

examples/graphiql-create-react-app/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
]
3232
},
3333
"devDependencies": {
34-
"eslint-config-react-app": "^5.2.1"
34+
"eslint-config-react-app": "^5.2.1",
35+
"worker-loader": "^2.0.0"
3536
}
3637
}

examples/graphiql-parcel/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"typescript": "^3.4.4"
3232
},
3333
"devDependencies": {
34-
"parcel-bundler": "^1.12.4"
34+
"parcel-bundler": "^1.12.4",
35+
"worker-loader": "^2.0.0"
3536
}
3637
}

examples/graphiql-webpack/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"style-loader": "^1.1.3",
2929
"webpack": "4.42.0",
3030
"webpack-cli": "^3.3.11",
31-
"webpack-dev-server": "^3.10.3"
31+
"webpack-dev-server": "^3.10.3",
32+
"worker-loader": "^2.0.0"
3233
}
3334
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build-ts": "yarn run tsc --force",
2727
"build-ts-cjs": "yarn run tsc resources/tsconfig.build.cjs.json",
2828
"build-ts-esm": "yarn run tsc resources/tsconfig.build.esm.json",
29-
"build-clean": "lerna run build-clean",
29+
"build-clean": "rimraf '{packages,examples}/**/{dist,esm}' && lerna run build-clean",
3030
"build-validate": "lerna run build-validate",
3131
"build-demo": "lerna run build-demo",
3232
"build-docs": "rimraf 'packages/graphiql/typedoc' && typedoc 'packages'",

0 commit comments

Comments
 (0)