mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-24 08:52:54 +03:00
ci(storybook): add production file of deps to be inputs of storybook (#4414)
This commit is contained in:
parent
9aafaf865e
commit
f395a955a2
48
apps/storybook/project.json
Normal file
48
apps/storybook/project.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "@affine/storybook",
|
||||
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||||
"targets": {
|
||||
"build": {
|
||||
"executor": "nx:run-script",
|
||||
"dependsOn": ["^build"],
|
||||
"inputs": [
|
||||
"default",
|
||||
"^production",
|
||||
"{workspaceRoot}/apps/core/src/**/*",
|
||||
"{workspaceRoot}/infra/**/*",
|
||||
"{workspaceRoot}/sdk/**/*",
|
||||
{
|
||||
"runtime": "node -v"
|
||||
},
|
||||
{
|
||||
"env": "BUILD_TYPE"
|
||||
},
|
||||
{
|
||||
"env": "PERFSEE_TOKEN"
|
||||
},
|
||||
{
|
||||
"env": "SENTRY_ORG"
|
||||
},
|
||||
{
|
||||
"env": "SENTRY_PROJECT"
|
||||
},
|
||||
{
|
||||
"env": "SENTRY_AUTH_TOKEN"
|
||||
},
|
||||
{
|
||||
"env": "NEXT_PUBLIC_SENTRY_DSN"
|
||||
},
|
||||
{
|
||||
"env": "DISTRIBUTION"
|
||||
},
|
||||
{
|
||||
"env": "COVERAGE"
|
||||
}
|
||||
],
|
||||
"options": {
|
||||
"script": "build"
|
||||
},
|
||||
"outputs": ["{projectRoot}/storybook-static"]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user