Skip to content

Commit 0cdaca4

Browse files
committed
nx17
Signed-off-by: Todd Baert <[email protected]>
1 parent a18550e commit 0cdaca4

File tree

30 files changed

+998
-1197
lines changed

30 files changed

+998
-1197
lines changed

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22

33
/dist
44
/coverage
5+
6+
/.nx/cache

libs/hooks/open-telemetry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@
1818
"@opentelemetry/api": ">=1.3.0"
1919
},
2020
"license": "Apache-2.0"
21-
}
21+
}

libs/hooks/open-telemetry/project.json

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66
"targets": {
77
"package": {
88
"executor": "@nx/rollup:rollup",
9-
"outputs": [
10-
"{options.outputPath}"
11-
],
9+
"outputs": ["{options.outputPath}"],
1210
"options": {
1311
"project": "libs/hooks/open-telemetry/package.json",
1412
"outputPath": "dist/libs/hooks/open-telemetry",
@@ -18,10 +16,7 @@
1816
"generateExportsField": true,
1917
"umdName": "OpenTelemetry",
2018
"external": "all",
21-
"format": [
22-
"cjs",
23-
"esm"
24-
],
19+
"format": ["cjs", "esm"],
2520
"assets": [
2621
{
2722
"glob": "package.json",
@@ -38,23 +33,17 @@
3833
"input": "./libs/hooks/open-telemetry",
3934
"output": "./"
4035
}
41-
],
42-
"updateBuildableProjectDepsInPackageJson": true
36+
]
4337
}
4438
},
4539
"build": {
4640
"executor": "@nx/js:tsc",
47-
"outputs": [
48-
"{options.outputPath}"
49-
],
41+
"outputs": ["{options.outputPath}"],
5042
"options": {
5143
"outputPath": "dist/libs/hooks/open-telemetry",
5244
"main": "libs/hooks/open-telemetry/src/index.ts",
5345
"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"]
5847
}
5948
},
6049
"publish": {
@@ -70,24 +59,14 @@
7059
]
7160
},
7261
"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}"]
8264
},
8365
"test": {
8466
"executor": "@nx/jest:jest",
85-
"outputs": [
86-
"{workspaceRoot}/coverage/libs/hooks/open-telemetry"
87-
],
67+
"outputs": ["{workspaceRoot}/coverage/libs/hooks/open-telemetry"],
8868
"options": {
8969
"jestConfig": "libs/hooks/open-telemetry/jest.config.ts",
90-
"passWithNoTests": true,
9170
"codeCoverage": true,
9271
"coverageDirectory": "coverage/libs/hooks/open-telemetry"
9372
}

libs/providers/config-cat-web/project.json

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,19 @@
1717
]
1818
},
1919
"lint": {
20-
"executor": "@nx/linter:eslint",
21-
"outputs": [
22-
"{options.outputFile}"
23-
],
24-
"options": {
25-
"lintFilePatterns": [
26-
"libs/providers/config-cat-web/**/*.ts"
27-
]
28-
}
20+
"executor": "@nx/eslint:lint",
21+
"outputs": ["{options.outputFile}"]
2922
},
3023
"test": {
3124
"executor": "@nx/jest:jest",
32-
"outputs": [
33-
"{workspaceRoot}/coverage/{projectRoot}"
34-
],
25+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
3526
"options": {
36-
"jestConfig": "libs/providers/config-cat-web/jest.config.ts",
37-
"passWithNoTests": true
38-
},
39-
"configurations": {
40-
"ci": {
41-
"ci": true,
42-
"codeCoverage": true
43-
}
27+
"jestConfig": "libs/providers/config-cat-web/jest.config.ts"
4428
}
4529
},
4630
"package": {
4731
"executor": "@nx/rollup:rollup",
48-
"outputs": [
49-
"{options.outputPath}"
50-
],
32+
"outputs": ["{options.outputPath}"],
5133
"options": {
5234
"project": "libs/providers/config-cat-web/package.json",
5335
"outputPath": "dist/libs/providers/config-cat-web",
@@ -57,10 +39,7 @@
5739
"generateExportsField": true,
5840
"umdName": "config-cat",
5941
"external": "all",
60-
"format": [
61-
"cjs",
62-
"esm"
63-
],
42+
"format": ["cjs", "esm"],
6443
"assets": [
6544
{
6645
"glob": "package.json",
@@ -77,9 +56,7 @@
7756
"input": "./libs/providers/config-cat-web",
7857
"output": "./"
7958
}
80-
],
81-
"buildableProjectDepsInPackageJsonType": "dependencies",
82-
"updateBuildableProjectDepsInPackageJson": true
59+
]
8360
}
8461
}
8562
},

libs/providers/config-cat/project.json

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,19 @@
1717
]
1818
},
1919
"lint": {
20-
"executor": "@nx/linter:eslint",
21-
"outputs": [
22-
"{options.outputFile}"
23-
],
24-
"options": {
25-
"lintFilePatterns": [
26-
"libs/providers/config-cat/**/*.ts"
27-
]
28-
}
20+
"executor": "@nx/eslint:lint",
21+
"outputs": ["{options.outputFile}"]
2922
},
3023
"test": {
3124
"executor": "@nx/jest:jest",
32-
"outputs": [
33-
"{workspaceRoot}/coverage/{projectRoot}"
34-
],
25+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
3526
"options": {
36-
"jestConfig": "libs/providers/config-cat/jest.config.ts",
37-
"passWithNoTests": true
38-
},
39-
"configurations": {
40-
"ci": {
41-
"ci": true,
42-
"codeCoverage": true
43-
}
27+
"jestConfig": "libs/providers/config-cat/jest.config.ts"
4428
}
4529
},
4630
"package": {
4731
"executor": "@nx/rollup:rollup",
48-
"outputs": [
49-
"{options.outputPath}"
50-
],
32+
"outputs": ["{options.outputPath}"],
5133
"options": {
5234
"project": "libs/providers/config-cat/package.json",
5335
"outputPath": "dist/libs/providers/config-cat",
@@ -57,10 +39,7 @@
5739
"generateExportsField": true,
5840
"umdName": "config-cat",
5941
"external": "all",
60-
"format": [
61-
"cjs",
62-
"esm"
63-
],
42+
"format": ["cjs", "esm"],
6443
"assets": [
6544
{
6645
"glob": "package.json",
@@ -77,9 +56,7 @@
7756
"input": "./libs/providers/config-cat",
7857
"output": "./"
7958
}
80-
],
81-
"buildableProjectDepsInPackageJsonType": "dependencies",
82-
"updateBuildableProjectDepsInPackageJson": true
59+
]
8360
}
8461
}
8562
},

libs/providers/env-var/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
"peerDependencies": {
99
"@openfeature/server-sdk": "^1.13.0"
1010
}
11-
}
11+
}

libs/providers/env-var/project.json

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -17,51 +17,29 @@
1717
]
1818
},
1919
"lint": {
20-
"executor": "@nx/linter:eslint",
21-
"outputs": [
22-
"{options.outputFile}"
23-
],
24-
"options": {
25-
"lintFilePatterns": [
26-
"libs/providers/env-var/**/*.ts"
27-
]
28-
}
20+
"executor": "@nx/eslint:lint",
21+
"outputs": ["{options.outputFile}"]
2922
},
3023
"test": {
3124
"executor": "@nx/jest:jest",
32-
"outputs": [
33-
"{workspaceRoot}/coverage/{projectRoot}"
34-
],
25+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
3526
"options": {
36-
"jestConfig": "libs/providers/env-var/jest.config.ts",
37-
"passWithNoTests": true
38-
},
39-
"configurations": {
40-
"ci": {
41-
"ci": true,
42-
"codeCoverage": true
43-
}
27+
"jestConfig": "libs/providers/env-var/jest.config.ts"
4428
}
4529
},
4630
"package": {
4731
"executor": "@nx/rollup:rollup",
48-
"outputs": [
49-
"{options.outputPath}"
50-
],
32+
"outputs": ["{options.outputPath}"],
5133
"options": {
5234
"project": "libs/providers/env-var/package.json",
5335
"outputPath": "dist/libs/providers/env-var",
5436
"entryFile": "libs/providers/env-var/src/index.ts",
5537
"tsConfig": "libs/providers/env-var/tsconfig.lib.json",
56-
"buildableProjectDepsInPackageJsonType": "dependencies",
5738
"compiler": "tsc",
5839
"generateExportsField": true,
5940
"umdName": "Env Var",
6041
"external": "all",
61-
"format": [
62-
"cjs",
63-
"esm"
64-
],
42+
"format": ["cjs", "esm"],
6543
"assets": [
6644
{
6745
"glob": "package.json",
@@ -78,8 +56,7 @@
7856
"input": "./libs/providers/env-var",
7957
"output": "./"
8058
}
81-
],
82-
"updateBuildableProjectDepsInPackageJson": true
59+
]
8360
}
8461
}
8562
},

libs/providers/flagd-web/project.json

Lines changed: 8 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,8 @@
2828
}
2929
},
3030
"lint": {
31-
"executor": "@nx/linter:eslint",
32-
"outputs": [
33-
"{options.outputFile}"
34-
],
35-
"options": {
36-
"lintFilePatterns": [
37-
"libs/providers/flagd-web/**/*.ts"
38-
]
39-
},
31+
"executor": "@nx/eslint:lint",
32+
"outputs": ["{options.outputFile}"],
4033
"dependsOn": [
4134
{
4235
"target": "generate"
@@ -45,12 +38,9 @@
4538
},
4639
"test": {
4740
"executor": "@nx/jest:jest",
48-
"outputs": [
49-
"{workspaceRoot}/coverage/libs/providers/flagd-web"
50-
],
41+
"outputs": ["{workspaceRoot}/coverage/libs/providers/flagd-web"],
5142
"options": {
52-
"jestConfig": "libs/providers/flagd-web/jest.config.ts",
53-
"passWithNoTests": true
43+
"jestConfig": "libs/providers/flagd-web/jest.config.ts"
5444
},
5545
"dependsOn": [
5646
{
@@ -61,9 +51,7 @@
6151
"e2e": {
6252
"executor": "nx:run-commands",
6353
"options": {
64-
"commands": [
65-
"npx jest"
66-
],
54+
"commands": ["npx jest"],
6755
"cwd": "libs/providers/flagd-web/src/e2e",
6856
"parallel": false
6957
},
@@ -78,23 +66,17 @@
7866
},
7967
"package": {
8068
"executor": "@nx/rollup:rollup",
81-
"outputs": [
82-
"{options.outputPath}"
83-
],
69+
"outputs": ["{options.outputPath}"],
8470
"options": {
8571
"project": "libs/providers/flagd-web/package.json",
8672
"outputPath": "dist/libs/providers/flagd-web",
8773
"entryFile": "libs/providers/flagd-web/src/index.ts",
8874
"tsConfig": "libs/providers/flagd-web/tsconfig.lib.json",
8975
"compiler": "tsc",
9076
"generateExportsField": true,
91-
"buildableProjectDepsInPackageJsonType": "dependencies",
9277
"umdName": "flagd-web",
9378
"external": "all",
94-
"format": [
95-
"cjs",
96-
"esm"
97-
],
79+
"format": ["cjs", "esm"],
9880
"assets": [
9981
{
10082
"glob": "package.json",
@@ -111,8 +93,7 @@
11193
"input": "./libs/providers/flagd-web",
11294
"output": "./"
11395
}
114-
],
115-
"updateBuildableProjectDepsInPackageJson": true
96+
]
11697
},
11798
"dependsOn": [
11899
{

0 commit comments

Comments
 (0)