mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-26 02:51:57 +03:00
eb7d293aaa
fix(core): implement editor timeout and report error from boundary (#5105) ci: add sentry env when frontend assets build (#5131) fix(core): expose catched editor load error (#5133) fix(infra): use blocksuite api to check compatibility (#5137) fix(infra): compatibility logic follow blocksuite (#5143) fix(core): rerender error boundary when route change and improve sentry report (#5147)
50 lines
1.0 KiB
JSON
50 lines
1.0 KiB
JSON
{
|
|
"name": "@affine/storybook",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "nx:run-script",
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"default",
|
|
"^production",
|
|
"{projectRoot}/.storybook/**/*",
|
|
"{workspaceRoot}/packages/frontend/core/src/**/*",
|
|
"{workspaceRoot}/packages/common/infra/**/*",
|
|
"{workspaceRoot}/packages/common/sdk/**/*",
|
|
{
|
|
"runtime": "node -v"
|
|
},
|
|
{
|
|
"env": "BUILD_TYPE"
|
|
},
|
|
{
|
|
"env": "PERFSEE_TOKEN"
|
|
},
|
|
{
|
|
"env": "SENTRY_ORG"
|
|
},
|
|
{
|
|
"env": "SENTRY_PROJECT"
|
|
},
|
|
{
|
|
"env": "SENTRY_AUTH_TOKEN"
|
|
},
|
|
{
|
|
"env": "SENTRY_DSN"
|
|
},
|
|
{
|
|
"env": "DISTRIBUTION"
|
|
},
|
|
{
|
|
"env": "COVERAGE"
|
|
}
|
|
],
|
|
"options": {
|
|
"script": "build"
|
|
},
|
|
"outputs": ["{projectRoot}/storybook-static"]
|
|
}
|
|
}
|
|
}
|