mirror of
https://github.com/spartan-ng/spartan.git
synced 2026-09-22 16:41:38 +08:00
334dd18ebe
Scaffolds real nx (monorepo + standalone) and angular-cli workspaces from the locally published CLI, runs the generators, runs healthcheck, consumes a generated component, and builds - covering library/entrypoint x buildable/non-buildable plus an all-components cell. Runs each cell on its own runner via a dedicated workflow with a required result check, and stays cheap on unrelated PRs via a git-diff gate and an in-runner affected check. Adds a `pnpm smoke` convenience script.
25 lines
582 B
JSON
25 lines
582 B
JSON
{
|
|
"name": "spartan",
|
|
"$schema": "node_modules/nx/schemas/project-schema.json",
|
|
"targets": {
|
|
"local-registry": {
|
|
"executor": "@nx/js:verdaccio",
|
|
"options": {
|
|
"port": 4873,
|
|
"config": ".verdaccio/config.yml",
|
|
"storage": "tmp/local-registry/storage"
|
|
}
|
|
},
|
|
"ui-api-definition": {
|
|
"executor": "@spartan-ng/tools:generate-ui-docs",
|
|
"options": {
|
|
"outputDir": "apps/app/src/public/data",
|
|
"outputFile": "ui-api.json",
|
|
"brainDir": "libs/brain",
|
|
"helmDir": "libs/helm"
|
|
},
|
|
"outputs": ["{options.outputDir}/{options.outputFile}"]
|
|
}
|
|
}
|
|
}
|