mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
161 lines
3.6 KiB
JSON
161 lines
3.6 KiB
JSON
{
|
|
"pluginsConfig": {
|
|
"@nx/js": {
|
|
"analyzeSourceFiles": true
|
|
}
|
|
},
|
|
"cli": {
|
|
"packageManager": "pnpm"
|
|
},
|
|
"release": {
|
|
"projects": [
|
|
"libs/plugins-styles",
|
|
"libs/plugin-types",
|
|
"libs/plugins-runtime"
|
|
]
|
|
},
|
|
"extends": "nx/presets/npm.json",
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"targetDefaults": {
|
|
"nx-release-publish": {
|
|
"options": {
|
|
"packageRoot": "dist/{projectName}"
|
|
}
|
|
},
|
|
"@nx/vite:build": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"@nx/esbuild:esbuild": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"@nx/js:tsc": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
},
|
|
"@angular-devkit/build-angular:application": {
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["default", "^default"]
|
|
}
|
|
},
|
|
"plugins": [
|
|
{
|
|
"plugin": "./tools/plugins/plugin-tasks.ts"
|
|
},
|
|
{
|
|
"plugin": "@nx/vite/plugin",
|
|
"options": {
|
|
"buildTargetName": "build",
|
|
"previewTargetName": "preview",
|
|
"serveTargetName": "serve",
|
|
"serveStaticTargetName": "serve-static"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/eslint/plugin",
|
|
"options": {
|
|
"targetName": "lint"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/vitest",
|
|
"options": {
|
|
"testTargetName": "test"
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/storybook/plugin",
|
|
"options": {
|
|
"serveStorybookTargetName": "storybook",
|
|
"buildStorybookTargetName": "build-storybook",
|
|
"testStorybookTargetName": "test-storybook",
|
|
"staticStorybookTargetName": "static-storybook",
|
|
"buildDepsTargetName": "build-deps",
|
|
"watchDepsTargetName": "watch-deps"
|
|
}
|
|
}
|
|
],
|
|
"generators": {
|
|
"@nx/web:application": {
|
|
"style": "css",
|
|
"linter": "eslint",
|
|
"unitTestRunner": "vitest",
|
|
"e2eTestRunner": "none",
|
|
"projectNameAndRootFormat": "as-provided",
|
|
"bundler": "vite"
|
|
},
|
|
"@nx/angular:application": {
|
|
"e2eTestRunner": "none",
|
|
"linter": "eslint",
|
|
"style": "css",
|
|
"unitTestRunner": "none",
|
|
"projectNameAndRootFormat": "as-provided"
|
|
},
|
|
"@nx/angular:component": {
|
|
"type": "component"
|
|
},
|
|
"@schematics/angular:component": {
|
|
"type": "component"
|
|
},
|
|
"@nx/angular:directive": {
|
|
"type": "directive"
|
|
},
|
|
"@schematics/angular:directive": {
|
|
"type": "directive"
|
|
},
|
|
"@nx/angular:service": {
|
|
"type": "service"
|
|
},
|
|
"@schematics/angular:service": {
|
|
"type": "service"
|
|
},
|
|
"@nx/angular:scam": {
|
|
"type": "component"
|
|
},
|
|
"@nx/angular:scam-directive": {
|
|
"type": "directive"
|
|
},
|
|
"@nx/angular:guard": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:guard": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@nx/angular:interceptor": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:interceptor": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@nx/angular:module": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:module": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@nx/angular:pipe": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:pipe": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@nx/angular:resolver": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@schematics/angular:resolver": {
|
|
"typeSeparator": "."
|
|
},
|
|
"@nx/react": {
|
|
"library": {
|
|
"unitTestRunner": "vitest"
|
|
}
|
|
}
|
|
},
|
|
"useLegacyCache": false
|
|
}
|