Bump graphql-language-service-interface and fix build issues
This commit is contained in:
@@ -5,7 +5,11 @@ function isBabelLoader(caller) {
|
|||||||
module.exports = function (api) {
|
module.exports = function (api) {
|
||||||
if (api.env("test") && !api.caller(isBabelLoader)) {
|
if (api.env("test") && !api.caller(isBabelLoader)) {
|
||||||
return {
|
return {
|
||||||
plugins: ["@babel/plugin-proposal-class-properties"],
|
plugins: [
|
||||||
|
"@babel/plugin-proposal-class-properties",
|
||||||
|
"@babel/plugin-proposal-nullish-coalescing-operator",
|
||||||
|
"@babel/plugin-proposal-optional-chaining",
|
||||||
|
],
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"@babel/preset-env",
|
"@babel/preset-env",
|
||||||
|
|||||||
@@ -354,6 +354,20 @@ export default {
|
|||||||
include: /node_modules/,
|
include: /node_modules/,
|
||||||
type: "javascript/auto",
|
type: "javascript/auto",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
config.module.rules.push({
|
||||||
|
test: /\.js$/,
|
||||||
|
include: /(node_modules)/,
|
||||||
|
exclude: /(node_modules)\/(ace\-builds)|(@firebase)/,
|
||||||
|
loader: "babel-loader",
|
||||||
|
options: {
|
||||||
|
plugins: [
|
||||||
|
"@babel/plugin-proposal-class-properties",
|
||||||
|
"@babel/plugin-proposal-nullish-coalescing-operator",
|
||||||
|
"@babel/plugin-proposal-optional-chaining",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
parallel: true,
|
parallel: true,
|
||||||
|
|||||||
25337
package-lock.json
generated
25337
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -31,7 +31,7 @@
|
|||||||
"esprima": "^4.0.1",
|
"esprima": "^4.0.1",
|
||||||
"firebase": "^8.3.3",
|
"firebase": "^8.3.3",
|
||||||
"graphql": "^15.5.0",
|
"graphql": "^15.5.0",
|
||||||
"graphql-language-service-interface": "^2.8.2",
|
"graphql-language-service-interface": "^2.8.3",
|
||||||
"lodash": "^4.17.20",
|
"lodash": "^4.17.20",
|
||||||
"mustache": "^4.2.0",
|
"mustache": "^4.2.0",
|
||||||
"nuxt": "^2.15.4",
|
"nuxt": "^2.15.4",
|
||||||
@@ -50,6 +50,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.13.15",
|
"@babel/core": "^7.13.15",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.12.13",
|
"@babel/plugin-proposal-class-properties": "^7.12.13",
|
||||||
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
||||||
|
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
||||||
"@babel/preset-env": "^7.13.15",
|
"@babel/preset-env": "^7.13.15",
|
||||||
"@nuxt/types": "^2.15.4",
|
"@nuxt/types": "^2.15.4",
|
||||||
"@nuxt/typescript-build": "^2.1.0",
|
"@nuxt/typescript-build": "^2.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user