Skip to content

Commit 962062e

Browse files
authored
chore: migrate to latest nx (#1542)
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
1 parent 2161a18 commit 962062e

67 files changed

Lines changed: 21842 additions & 12971 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ yalc.lock
5151

5252
# Generated by @nx/js
5353
.verdaccio
54+
55+
.claude/worktrees

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ node_modules/
88

99
CHANGELOG.md
1010
package-lock.json
11+
12+
.nx/self-healing

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { getJestProjectsAsync } from '@nx/jest';
1+
const { getJestProjectsAsync } = require('@nx/jest');
22

3-
export default async () => ({
3+
module.exports = async () => ({
44
projects: await getJestProjectsAsync(),
55
});

libs/hooks/debounce/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export default {
1+
module.exports = {
22
displayName: 'debounce',
33
preset: '../../../jest.preset.js',
44
transform: {

libs/hooks/debounce/project.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
"projectType": "library",
66
"release": {
77
"version": {
8-
"generatorOptions": {
9-
"packageRoot": "dist/{projectRoot}",
10-
"currentVersionResolver": "git-tag"
11-
}
8+
"currentVersionResolver": "git-tag",
9+
"preserveLocalDependencyProtocols": false,
10+
"manifestRootsToUpdate": ["dist/{projectRoot}"]
1211
}
1312
},
1413
"tags": [],

libs/hooks/open-telemetry/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
export default {
2+
module.exports = {
33
displayName: 'hooks-open-telemetry',
44
preset: '../../../jest.preset.js',
55
transform: {

libs/hooks/open-telemetry/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "libs/hooks/open-telemetry/src",
55
"projectType": "library",
6+
"tags": [],
67
"targets": {
78
"package": {
89
"executor": "@nx/rollup:rollup",
@@ -71,6 +72,5 @@
7172
"coverageDirectory": "coverage/libs/hooks/open-telemetry"
7273
}
7374
}
74-
},
75-
"tags": []
75+
}
7676
}

libs/providers/aws-ssm/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
export default {
2+
module.exports = {
33
displayName: 'aws-ssm',
44
preset: '../../../jest.preset.js',
55
globals: {

libs/providers/aws-ssm/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
44
"sourceRoot": "libs/providers/aws-ssm/src",
55
"projectType": "library",
6+
"tags": [],
67
"targets": {
78
"publish": {
89
"executor": "nx:run-commands",
@@ -59,6 +60,5 @@
5960
]
6061
}
6162
}
62-
},
63-
"tags": []
63+
}
6464
}

libs/providers/config-cat-web/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable */
2-
export default {
2+
module.exports = {
33
displayName: 'providers-config-cat-web',
44
preset: '../../../jest.preset.js',
55
transform: {

0 commit comments

Comments
 (0)