Some checks failed
Docker / Docker Buildx (push) Has been cancelled
Build Debian package / Build package (release) Has been cancelled
Build and Deploy / prepare (release) Has been cancelled
Deploy release / Deploy to Cloudflare Pages (release) Has been cancelled
Build and Deploy / Trigger Pro pipeline (release) Has been cancelled
Build and Deploy / Windows arm64 (release) Has been cancelled
Build and Deploy / Windows x64 (release) Has been cancelled
Build and Deploy / macOS (release) Has been cancelled
Build and Deploy / Linux amd64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / Linux arm64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / ${{ needs.prepare.outputs.deploy == 'true' && 'Deploy' || 'Deploy (dry-run)' }} (release) Has been cancelled
Build and Deploy / Deploy builds to ESS (release) Has been cancelled
68 lines
2.3 KiB
JSON
68 lines
2.3 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "library",
|
|
"targets": {
|
|
"build": {
|
|
"cache": true,
|
|
"command": "vite build",
|
|
"inputs": ["src"],
|
|
"outputs": ["{projectRoot}/dist"],
|
|
"options": { "cwd": "packages/shared-components" },
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"start": {
|
|
"command": "vite build --watch",
|
|
"options": { "cwd": "packages/shared-components" },
|
|
"dependsOn": ["^start"],
|
|
"continuous": true
|
|
},
|
|
"typedoc": {
|
|
"cache": "true",
|
|
"command": "typedoc",
|
|
"inputs": ["src"],
|
|
"outputs": ["{projectRoot}/typedoc"],
|
|
"options": { "cwd": "packages/shared-components" },
|
|
"dependsOn": ["^build"]
|
|
},
|
|
"storybook": {
|
|
"cache": "true",
|
|
"inputs": ["src", "{projectRoot}/.storybook", "{projectRoot}/typedoc"],
|
|
"outputs": ["{projectRoot}/storybook-static"],
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": ["storybook build", "node scripts/storybook-build-i18n.ts"],
|
|
"parallel": false,
|
|
"cwd": "packages/shared-components"
|
|
},
|
|
"dependsOn": ["build", "typedoc"]
|
|
},
|
|
"test:unit": {
|
|
"command": "vitest --project=unit",
|
|
"options": { "cwd": "packages/shared-components" }
|
|
},
|
|
"test:storybook": {
|
|
"command": "vitest --project=storybook",
|
|
"options": { "cwd": "packages/shared-components" },
|
|
"dependsOn": ["typedoc", "^build:playwright"]
|
|
},
|
|
"test:storybook:update": {
|
|
"command": "playwright-screenshots nx test:storybook --run --update",
|
|
"options": {
|
|
"env": {
|
|
"CI": "1"
|
|
},
|
|
"cwd": "packages/shared-components"
|
|
},
|
|
"dependsOn": ["typedoc", "^build:playwright"]
|
|
},
|
|
"lint:types": {
|
|
"executor": "nx:run-commands",
|
|
"options": {
|
|
"commands": ["tsc --noEmit", "tsc --noEmit -p tsconfig.node.json"],
|
|
"cwd": "packages/shared-components"
|
|
},
|
|
"dependsOn": ["^build"]
|
|
}
|
|
}
|
|
}
|