|
4 | 4 | "sourceRoot": "packages/cypress-ct-qwik/src", |
5 | 5 | "projectType": "library", |
6 | 6 | "targets": { |
7 | | - "build": { |
8 | | - "dependsOn": ["build-definition"], |
| 7 | + "build-mount": { |
9 | 8 | "executor": "@nrwl/js:tsc", |
10 | 9 | "outputs": ["{options.outputPath}"], |
11 | 10 | "options": { |
12 | 11 | "outputPath": "dist/packages/cypress-ct-qwik", |
13 | 12 | "main": "packages/cypress-ct-qwik/src/index.ts", |
14 | 13 | "tsConfig": "packages/cypress-ct-qwik/tsconfig.lib.json", |
| 14 | + "clean": false, |
15 | 15 |
|
16 | 16 | "assets": [ |
17 | 17 | "README.md", |
|
32 | 32 | "options": { |
33 | 33 | "outputPath": "dist/packages/cypress-ct-qwik", |
34 | 34 | "main": "packages/cypress-ct-qwik/definition.ts", |
35 | | - "tsConfig": "packages/cypress-ct-qwik/tsconfig.definition.json" |
| 35 | + "tsConfig": "packages/cypress-ct-qwik/tsconfig.definition.json", |
| 36 | + "clean": false |
| 37 | + } |
| 38 | + }, |
| 39 | + "copy": { |
| 40 | + "executor": "nx:run-commands", |
| 41 | + "options": { |
| 42 | + "command": "cp -r dist/packages/cypress-ct-qwik node_modules" |
36 | 43 | } |
37 | 44 | }, |
| 45 | + "build": { |
| 46 | + "executor": "nx:run-commands", |
| 47 | + "options": { |
| 48 | + "commands": [ |
| 49 | + "nx run cypress-ct-qwik:build-mount --skip-nx-cache && nx run cypress-ct-qwik:build-definition --skip-nx-cache" |
| 50 | + ] |
| 51 | + }, |
| 52 | + "outputPath": "node_modules/cypress-ct-qwik", |
| 53 | + "outputs": ["{options.outputPath}"] |
| 54 | + }, |
38 | 55 | "lint": { |
39 | 56 | "executor": "@nrwl/linter:eslint", |
40 | 57 | "outputs": ["{options.outputFile}"], |
|
0 commit comments