mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
35d9c059db
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9420 Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com> GitOrigin-RevId: 31d983ae8573c91ac5bf11066770f776941c3a11
83 lines
2.0 KiB
JSON
83 lines
2.0 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"]
|
|
},
|
|
"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)"
|
|
]
|
|
}
|
|
}
|