mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-12 14:05:16 +03:00
107ad406f8
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9539 GitOrigin-RevId: e3812e29ff0788b60a43c6dab909be1486742066
86 lines
2.1 KiB
JSON
86 lines
2.1 KiB
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"npmScope": "hasura",
|
|
"affected": {
|
|
"defaultBase": "main"
|
|
},
|
|
"tasksRunnerOptions": {
|
|
"default": {
|
|
"runner": "@nrwl/nx-cloud",
|
|
"options": {
|
|
"cacheableOperations": [
|
|
"build",
|
|
"lint",
|
|
"test",
|
|
"e2e",
|
|
"build-storybook"
|
|
],
|
|
"accessToken": "NGNkOWJlZjgtMzI5ZS00MGRjLTg3YmEtMWFmZTBjYzkwOGY2fHJlYWQ="
|
|
}
|
|
}
|
|
},
|
|
"targetDefaults": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["production", "^production", "sharedWebpack"]
|
|
},
|
|
"serve": {
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"test": {
|
|
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
|
|
},
|
|
"e2e": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^production"]
|
|
},
|
|
"lint": {
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/.eslintrc.json",
|
|
"{workspaceRoot}/tools/eslint-rules/**/*"
|
|
]
|
|
},
|
|
"build-storybook": {
|
|
"inputs": ["default", "^production", "{workspaceRoot}/.storybook/**/*"]
|
|
}
|
|
},
|
|
"generators": {
|
|
"@nrwl/react": {
|
|
"application": {
|
|
"style": "css",
|
|
"linter": "eslint",
|
|
"babel": true,
|
|
"pascalCaseFiles": true
|
|
},
|
|
"component": {
|
|
"style": "none",
|
|
"pascalCaseFiles": true
|
|
},
|
|
"library": {
|
|
"style": "none",
|
|
"linter": "eslint",
|
|
"pascalCaseFiles": true
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "console-ce",
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"sharedGlobals": ["{workspaceRoot}/babel.config.json"],
|
|
"sharedWebpack": [
|
|
"{workspaceRoot}/custom-webpack.config.js",
|
|
"{workspaceRoot}/tools/webpack/**/*.js"
|
|
],
|
|
"production": [
|
|
"default",
|
|
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
"!{projectRoot}/tsconfig.spec.json",
|
|
"!{projectRoot}/jest.config.[jt]s",
|
|
"!{projectRoot}/.eslintrc.json",
|
|
"!{projectRoot}/.storybook/**/*",
|
|
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)"
|
|
]
|
|
}
|
|
}
|