|
3 | 3 | "$schema": "../../node_modules/nx/schemas/project-schema.json", |
4 | 4 | "projectType": "application", |
5 | 5 | "sourceRoot": "packages/cli/src", |
6 | | - "targets": {}, |
7 | | - "implicitDependencies": ["nx"] |
| 6 | + "targets": { |
| 7 | + "clean": { |
| 8 | + "executor": "@shell-shock/nx:clean" |
| 9 | + }, |
| 10 | + "prepare": { |
| 11 | + "cache": true, |
| 12 | + "inputs": ["typescript", "^production"], |
| 13 | + "outputs": ["{projectRoot}/.shell-shock"], |
| 14 | + "dependsOn": ["^build"], |
| 15 | + "executor": "@shell-shock/nx:prepare", |
| 16 | + "defaultConfiguration": "production", |
| 17 | + "options": { |
| 18 | + "mode": "production" |
| 19 | + }, |
| 20 | + "configurations": { |
| 21 | + "development": { |
| 22 | + "mode": "development" |
| 23 | + }, |
| 24 | + "staging": { |
| 25 | + "mode": "staging" |
| 26 | + }, |
| 27 | + "production": { |
| 28 | + "mode": "production" |
| 29 | + } |
| 30 | + } |
| 31 | + }, |
| 32 | + "build-base": { |
| 33 | + "cache": true, |
| 34 | + "inputs": ["typescript", "^production"], |
| 35 | + "outputs": ["{options.outputPath}"], |
| 36 | + "dependsOn": ["^build"], |
| 37 | + "executor": "@shell-shock/nx:build", |
| 38 | + "defaultConfiguration": "production", |
| 39 | + "options": { |
| 40 | + "mode": "production" |
| 41 | + }, |
| 42 | + "configurations": { |
| 43 | + "development": { |
| 44 | + "mode": "development" |
| 45 | + }, |
| 46 | + "staging": { |
| 47 | + "mode": "staging" |
| 48 | + }, |
| 49 | + "production": { |
| 50 | + "mode": "production" |
| 51 | + } |
| 52 | + } |
| 53 | + }, |
| 54 | + "build": { |
| 55 | + "dependsOn": ["build-base"], |
| 56 | + "executor": "nx:run-commands", |
| 57 | + "options": { |
| 58 | + "command": "pnpm copyfiles --up=3 \"packages/cli/dist/**/*\" dist/packages/powerlines/bin" |
| 59 | + } |
| 60 | + }, |
| 61 | + "docs": { |
| 62 | + "cache": true, |
| 63 | + "inputs": ["typescript", "^production"], |
| 64 | + "outputs": ["{projectRoot}/docs"], |
| 65 | + "dependsOn": ["build"], |
| 66 | + "executor": "@shell-shock/nx:docs", |
| 67 | + "defaultConfiguration": "production", |
| 68 | + "options": { |
| 69 | + "mode": "production" |
| 70 | + }, |
| 71 | + "configurations": { |
| 72 | + "development": { |
| 73 | + "mode": "development" |
| 74 | + }, |
| 75 | + "staging": { |
| 76 | + "mode": "staging" |
| 77 | + }, |
| 78 | + "production": { |
| 79 | + "mode": "production" |
| 80 | + } |
| 81 | + } |
| 82 | + } |
| 83 | + }, |
| 84 | + "implicitDependencies": [ |
| 85 | + "deepkit", |
| 86 | + "powerlines", |
| 87 | + "plugin-deepkit", |
| 88 | + "plugin-style-dictionary", |
| 89 | + "plugin-automd", |
| 90 | + "plugin-alloy", |
| 91 | + "plugin-tsdown", |
| 92 | + "plugin-nodejs" |
| 93 | + ] |
8 | 94 | } |
0 commit comments