|
6 | 6 | "targets": { |
7 | 7 | "package": { |
8 | 8 | "executor": "@nx/rollup:rollup", |
9 | | - "outputs": [ |
10 | | - "{options.outputPath}" |
11 | | - ], |
| 9 | + "outputs": ["{options.outputPath}"], |
12 | 10 | "options": { |
13 | 11 | "project": "libs/hooks/open-telemetry/package.json", |
14 | 12 | "outputPath": "dist/libs/hooks/open-telemetry", |
|
18 | 16 | "generateExportsField": true, |
19 | 17 | "umdName": "OpenTelemetry", |
20 | 18 | "external": "all", |
21 | | - "format": [ |
22 | | - "cjs", |
23 | | - "esm" |
24 | | - ], |
| 19 | + "format": ["cjs", "esm"], |
25 | 20 | "assets": [ |
26 | 21 | { |
27 | 22 | "glob": "package.json", |
|
38 | 33 | "input": "./libs/hooks/open-telemetry", |
39 | 34 | "output": "./" |
40 | 35 | } |
41 | | - ], |
42 | | - "updateBuildableProjectDepsInPackageJson": true |
| 36 | + ] |
43 | 37 | } |
44 | 38 | }, |
45 | 39 | "build": { |
46 | 40 | "executor": "@nx/js:tsc", |
47 | | - "outputs": [ |
48 | | - "{options.outputPath}" |
49 | | - ], |
| 41 | + "outputs": ["{options.outputPath}"], |
50 | 42 | "options": { |
51 | 43 | "outputPath": "dist/libs/hooks/open-telemetry", |
52 | 44 | "main": "libs/hooks/open-telemetry/src/index.ts", |
53 | 45 | "tsConfig": "libs/hooks/open-telemetry/tsconfig.lib.json", |
54 | | - "assets": [ |
55 | | - "libs/hooks/open-telemetry/*.md" |
56 | | - ], |
57 | | - "updateBuildableProjectDepsInPackageJson": true |
| 46 | + "assets": ["libs/hooks/open-telemetry/*.md"] |
58 | 47 | } |
59 | 48 | }, |
60 | 49 | "publish": { |
|
70 | 59 | ] |
71 | 60 | }, |
72 | 61 | "lint": { |
73 | | - "executor": "@nx/linter:eslint", |
74 | | - "outputs": [ |
75 | | - "{options.outputFile}" |
76 | | - ], |
77 | | - "options": { |
78 | | - "lintFilePatterns": [ |
79 | | - "libs/hooks/open-telemetry/**/*.ts" |
80 | | - ] |
81 | | - } |
| 62 | + "executor": "@nx/eslint:lint", |
| 63 | + "outputs": ["{options.outputFile}"] |
82 | 64 | }, |
83 | 65 | "test": { |
84 | 66 | "executor": "@nx/jest:jest", |
85 | | - "outputs": [ |
86 | | - "{workspaceRoot}/coverage/libs/hooks/open-telemetry" |
87 | | - ], |
| 67 | + "outputs": ["{workspaceRoot}/coverage/libs/hooks/open-telemetry"], |
88 | 68 | "options": { |
89 | 69 | "jestConfig": "libs/hooks/open-telemetry/jest.config.ts", |
90 | | - "passWithNoTests": true, |
91 | 70 | "codeCoverage": true, |
92 | 71 | "coverageDirectory": "coverage/libs/hooks/open-telemetry" |
93 | 72 | } |
|
0 commit comments