graphql-engine/frontend/libs/console/legacy-ce/project.json
Nicolas Beaussart 0947e7390c ci: setup chromatic to run on new workspace
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7740
GitOrigin-RevId: 56764d7009268592e6580c13d70237af10a826eb
2023-02-02 10:04:09 +00:00

66 lines
1.7 KiB
JSON

{
"$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": ["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,
"config": {
"configFolder": "libs/console/legacy-ce/.storybook"
}
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"build-storybook": {
"executor": "@nrwl/storybook:build",
"outputs": ["{options.outputPath}"],
"options": {
"uiFramework": "@storybook/react",
"outputPath": "dist/storybook/console/legacy-ce",
"config": {
"configFolder": "libs/console/legacy-ce/.storybook"
}
},
"configurations": {
"ci": {
"quiet": true
}
}
},
"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'"
}
}
}
}
}