mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 15:21:36 +03:00
49 lines
987 B
JSON
49 lines
987 B
JSON
{
|
|
"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"]
|
|
}
|
|
}
|
|
}
|