mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
9667164942
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9063 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> GitOrigin-RevId: 1f5918b1e56452967a93739ffc21b4cfafbd84e4
68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"name": "console-legacy-ce",
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "libs/console/legacy-ce/src",
|
|
"projectType": "library",
|
|
"tags": ["scope:console", "type:feature", "meta:legacy"],
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/console/legacy-ce/**/*.{ts,tsx,js,jsx,json}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["{workspaceRoot}/coverage/libs/console/legacy-ce"],
|
|
"options": {
|
|
"jestConfig": "libs/console/legacy-ce/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"storybook": {
|
|
"executor": "@nrwl/storybook:storybook",
|
|
"options": {
|
|
"uiFramework": "@storybook/react",
|
|
"port": 4400,
|
|
"configDir": "libs/console/legacy-ce/.storybook"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"executor": "@nrwl/storybook:build",
|
|
"outputs": ["{options.outputDir}"],
|
|
"options": {
|
|
"uiFramework": "@storybook/react",
|
|
"configDir": "libs/console/legacy-ce/.storybook",
|
|
"outputDir": "dist/storybook/console/legacy-ce"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"quiet": true
|
|
}
|
|
}
|
|
},
|
|
"chromatic": {
|
|
"executor": "@hasura/internal-plugin:chromatic",
|
|
"dependsOn": ["build-storybook"],
|
|
"inputs": ["{workspaceRoot}/dist/storybook/console/legacy-ce"]
|
|
},
|
|
"test-storybook": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"command": "test-storybook -c libs/console/legacy-ce/.storybook --url=http://localhost:4400"
|
|
},
|
|
"configurations": {
|
|
"ci": {
|
|
"command": "start-server-and-test 'nx run console-legacy-ce:storybook' 4400 'nx run console-legacy-ce:test-storybook'"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|