test: fix
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
schema.graphql
|
||||
../../
|
||||
dist/
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"marked": "^0.7.0",
|
||||
"shortid": "^2.2.8",
|
||||
"vue": "^2.5.16",
|
||||
"vue-apollo": "^3.0.0",
|
||||
"vue-router": "^3.0.1",
|
||||
"vuex": "^3.0.1"
|
||||
},
|
||||
@@ -29,6 +30,7 @@
|
||||
"@vue/cli-plugin-eslint": "^4.0.4",
|
||||
"@vue/cli-service": "^4.0.4",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-plugin-graphql": "^3.1.0",
|
||||
"eslint-plugin-vue": "^5.2.3",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import Vue from 'vue'
|
||||
import VueApollo from '../../../'
|
||||
import VueApollo from 'vue-apollo'
|
||||
import { createApolloClient, restartWebsockets } from 'vue-cli-plugin-apollo/graphql-client'
|
||||
import { print } from 'graphql'
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
schema.graphql
|
||||
dist/
|
||||
@@ -13,14 +13,14 @@ module.exports = {
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
'no-debugger': 'off',
|
||||
'graphql/template-strings': [
|
||||
'error',
|
||||
{
|
||||
env: 'literal',
|
||||
projectName: 'app',
|
||||
schemaJsonFilepath: 'node_modules/.temp/graphql/schema.json'
|
||||
}
|
||||
]
|
||||
// 'graphql/template-strings': [
|
||||
// 'error',
|
||||
// {
|
||||
// env: 'literal',
|
||||
// projectName: 'app',
|
||||
// schemaJsonFilepath: 'node_modules/.temp/graphql/schema.json'
|
||||
// }
|
||||
// ]
|
||||
},
|
||||
|
||||
parserOptions: {
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
"mkdirp": "^0.5.1",
|
||||
"shortid": "^2.2.8",
|
||||
"vue": "^2.6.10",
|
||||
"vue-apollo": "^3.0.0-beta.11",
|
||||
"vue-apollo": "^3.0.0",
|
||||
"vue-router": "^3.0.6",
|
||||
"vue-server-renderer": "^2.6.0"
|
||||
},
|
||||
|
||||
@@ -1,8 +1,20 @@
|
||||
/** @type {import('@vue/cli-service').ProjectOptions} */
|
||||
module.exports = {
|
||||
pluginOptions: {
|
||||
apollo: {
|
||||
enableMocks: false,
|
||||
enableEngine: false
|
||||
}
|
||||
},
|
||||
|
||||
chainWebpack (config) {
|
||||
config.resolve.symlinks(false)
|
||||
config.externals([
|
||||
'utf-8-validate',
|
||||
'bufferutil'
|
||||
])
|
||||
config.module.noParse([
|
||||
/iconv-loader/
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
node_modules/
|
||||
dist/
|
||||
tests/
|
||||
schema.graphql
|
||||
|
||||
Reference in New Issue
Block a user