mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
f3951e1680
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8079 Co-authored-by: Stefano Magni <173663+NoriSte@users.noreply.github.com> GitOrigin-RevId: 46b1ed03ab225fccc9d769203d1af11a6bcdb63e
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": ["legacy"],
|
|
"targets": {
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["libs/console/legacy-ce/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"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'"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|