@nx/jest 22.7.0-beta.7 → 22.7.0-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/executors.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
- "executors": {
3
- "jest": {
4
- "implementation": "./src/executors/jest/jest.impl",
5
- "batchImplementation": "./src/executors/jest/jest.impl#batchJest",
6
- "schema": "./src/executors/jest/schema.json",
7
- "description": "Run Jest unit tests."
2
+ "executors": {
3
+ "jest": {
4
+ "implementation": "./src/executors/jest/jest.impl",
5
+ "batchImplementation": "./src/executors/jest/jest.impl#batchJest",
6
+ "schema": "./src/executors/jest/schema.json",
7
+ "description": "Run Jest unit tests."
8
+ }
8
9
  }
9
- }
10
10
  }
package/generators.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
- "name": "Nx Jest",
3
- "version": "0.1",
4
- "generators": {
5
- "init": {
6
- "factory": "./src/generators/init/init#jestInitGeneratorInternal",
7
- "schema": "./src/generators/init/schema.json",
8
- "description": "Initialize the `@nx/jest` plugin.",
9
- "aliases": ["ng-add"],
10
- "hidden": true
11
- },
12
- "configuration": {
13
- "factory": "./src/generators/configuration/configuration#configurationGeneratorInternal",
14
- "schema": "./src/generators/configuration/schema.json",
15
- "description": "Add Jest configuration to a project.",
16
- "hidden": true
17
- },
18
- "convert-to-inferred": {
19
- "factory": "./src/generators/convert-to-inferred/convert-to-inferred",
20
- "schema": "./src/generators/convert-to-inferred/schema.json",
21
- "description": "Convert existing Jest project(s) using `@nx/jest:jest` executor to use `@nx/jest/plugin`."
2
+ "name": "Nx Jest",
3
+ "version": "0.1",
4
+ "generators": {
5
+ "init": {
6
+ "factory": "./src/generators/init/init#jestInitGeneratorInternal",
7
+ "schema": "./src/generators/init/schema.json",
8
+ "description": "Initialize the `@nx/jest` plugin.",
9
+ "aliases": ["ng-add"],
10
+ "hidden": true
11
+ },
12
+ "configuration": {
13
+ "factory": "./src/generators/configuration/configuration#configurationGeneratorInternal",
14
+ "schema": "./src/generators/configuration/schema.json",
15
+ "description": "Add Jest configuration to a project.",
16
+ "hidden": true
17
+ },
18
+ "convert-to-inferred": {
19
+ "factory": "./src/generators/convert-to-inferred/convert-to-inferred",
20
+ "schema": "./src/generators/convert-to-inferred/schema.json",
21
+ "description": "Convert existing Jest project(s) using `@nx/jest:jest` executor to use `@nx/jest/plugin`."
22
+ }
22
23
  }
23
- }
24
24
  }
package/migrations.json CHANGED
@@ -1,176 +1,176 @@
1
1
  {
2
- "generators": {
3
- "replace-getJestProjects-with-getJestProjectsAsync": {
4
- "cli": "nx",
5
- "version": "20.0.0-beta.5",
6
- "description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.",
7
- "implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync"
8
- },
9
- "replace-getJestProjects-with-getJestProjectsAsync-v21": {
10
- "cli": "nx",
11
- "version": "21.0.0-beta.9",
12
- "description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.",
13
- "implementation": "./src/migrations/update-21-0-0/replace-getJestProjects-with-getJestProjectsAsync"
14
- },
15
- "remove-tsconfig-option-from-jest-executor": {
16
- "version": "21.0.0-beta.10",
17
- "description": "Remove the previously deprecated and unused `tsConfig` option from the `@nx/jest:jest` executor.",
18
- "implementation": "./src/migrations/update-21-0-0/remove-tsconfig-option-from-jest-executor"
19
- },
20
- "rename-test-path-pattern": {
21
- "version": "21.3.0-beta.3",
22
- "description": "Rename the CLI option `testPathPattern` to `testPathPatterns`.",
23
- "implementation": "./src/migrations/update-21-3-0/rename-test-path-pattern"
24
- },
25
- "replace-removed-matcher-aliases": {
26
- "version": "21.3.0-beta.3",
27
- "requires": {
28
- "jest": ">=30.0.0"
29
- },
30
- "description": "Replace removed matcher aliases in Jest v30 with their corresponding matcher",
31
- "implementation": "./src/migrations/update-21-3-0/replace-removed-matcher-aliases"
32
- },
33
- "convert-jest-config-to-cjs": {
34
- "version": "22.2.0-beta.2",
35
- "description": "Convert jest.config.ts files from ESM to CJS syntax (export default -> module.exports, import -> require) for projects using CommonJS resolution to ensure correct loading under Node.js type-stripping.",
36
- "implementation": "./src/migrations/update-22-2-0/convert-jest-config-to-cjs"
37
- },
38
- "replace-removed-matcher-aliases-v22-3": {
39
- "version": "22.3.2-beta.0",
40
- "requires": {
41
- "jest": ">=30.0.0"
42
- },
43
- "description": "Replace removed matcher aliases in Jest v30 with their corresponding matcher",
44
- "implementation": "./src/migrations/update-21-3-0/replace-removed-matcher-aliases"
45
- }
46
- },
47
- "packageJsonUpdates": {
48
- "21.3.0": {
49
- "version": "21.3.0-beta.3",
50
- "x-prompt": "Do you want to update the Jest version to v30?",
51
- "incompatibleWith": {
52
- "@angular-devkit/build-angular": "< 21.0.0"
53
- },
54
- "packages": {
55
- "jest": {
56
- "version": "~30.0.0",
57
- "alwaysAddToPackageJson": false
2
+ "generators": {
3
+ "replace-getJestProjects-with-getJestProjectsAsync": {
4
+ "cli": "nx",
5
+ "version": "20.0.0-beta.5",
6
+ "description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.",
7
+ "implementation": "./src/migrations/update-20-0-0/replace-getJestProjects-with-getJestProjectsAsync"
58
8
  },
59
- "@types/jest": {
60
- "version": "~30.0.0",
61
- "alwaysAddToPackageJson": false
9
+ "replace-getJestProjects-with-getJestProjectsAsync-v21": {
10
+ "cli": "nx",
11
+ "version": "21.0.0-beta.9",
12
+ "description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.",
13
+ "implementation": "./src/migrations/update-21-0-0/replace-getJestProjects-with-getJestProjectsAsync"
62
14
  },
63
- "expect": {
64
- "version": "~30.0.0",
65
- "alwaysAddToPackageJson": false
15
+ "remove-tsconfig-option-from-jest-executor": {
16
+ "version": "21.0.0-beta.10",
17
+ "description": "Remove the previously deprecated and unused `tsConfig` option from the `@nx/jest:jest` executor.",
18
+ "implementation": "./src/migrations/update-21-0-0/remove-tsconfig-option-from-jest-executor"
66
19
  },
67
- "@jest/globals": {
68
- "version": "~30.0.0",
69
- "alwaysAddToPackageJson": false
20
+ "rename-test-path-pattern": {
21
+ "version": "21.3.0-beta.3",
22
+ "description": "Rename the CLI option `testPathPattern` to `testPathPatterns`.",
23
+ "implementation": "./src/migrations/update-21-3-0/rename-test-path-pattern"
70
24
  },
71
- "jest-jasmine2": {
72
- "version": "~30.0.0",
73
- "alwaysAddToPackageJson": false
25
+ "replace-removed-matcher-aliases": {
26
+ "version": "21.3.0-beta.3",
27
+ "requires": {
28
+ "jest": ">=30.0.0"
29
+ },
30
+ "description": "Replace removed matcher aliases in Jest v30 with their corresponding matcher",
31
+ "implementation": "./src/migrations/update-21-3-0/replace-removed-matcher-aliases"
74
32
  },
75
- "jest-environment-jsdom": {
76
- "version": "~30.0.0",
77
- "alwaysAddToPackageJson": false
33
+ "convert-jest-config-to-cjs": {
34
+ "version": "22.2.0-beta.2",
35
+ "description": "Convert jest.config.ts files from ESM to CJS syntax (export default -> module.exports, import -> require) for projects using CommonJS resolution to ensure correct loading under Node.js type-stripping.",
36
+ "implementation": "./src/migrations/update-22-2-0/convert-jest-config-to-cjs"
78
37
  },
79
- "babel-jest": {
80
- "version": "~30.0.0",
81
- "alwaysAddToPackageJson": false
82
- },
83
- "@swc/jest": {
84
- "version": "~0.2.38",
85
- "alwaysAddToPackageJson": false
86
- }
87
- }
88
- },
89
- "21.3.3": {
90
- "version": "21.3.3-beta.0",
91
- "packages": {
92
- "ts-jest": {
93
- "version": "~29.4.0",
94
- "alwaysAddToPackageJson": false
95
- }
96
- }
97
- },
98
- "21.3.3-jest-util": {
99
- "version": "21.3.3-beta.3",
100
- "requires": {
101
- "jest": ">=30.0.0 <31.0.0",
102
- "ts-jest": ">=29.4.0"
103
- },
104
- "packages": {
105
- "jest-util": {
106
- "version": "~30.0.0",
107
- "addToPackageJson": "devDependencies"
38
+ "replace-removed-matcher-aliases-v22-3": {
39
+ "version": "22.3.2-beta.0",
40
+ "requires": {
41
+ "jest": ">=30.0.0"
42
+ },
43
+ "description": "Replace removed matcher aliases in Jest v30 with their corresponding matcher",
44
+ "implementation": "./src/migrations/update-21-3-0/replace-removed-matcher-aliases"
108
45
  }
109
- }
110
46
  },
111
- "22.3.0": {
112
- "version": "22.3.0-beta.3",
113
- "x-prompt": "Do you want to update the Jest version to v30?",
114
- "incompatibleWith": {
115
- "@angular-devkit/build-angular": "< 21.0.0"
116
- },
117
- "requires": {
118
- "jest": ">= 29.0.0 < 30.0.0"
119
- },
120
- "packages": {
121
- "jest": {
122
- "version": "^30.0.0",
123
- "alwaysAddToPackageJson": false
124
- },
125
- "@types/jest": {
126
- "version": "^30.0.0",
127
- "alwaysAddToPackageJson": false
128
- },
129
- "expect": {
130
- "version": "^30.0.0",
131
- "alwaysAddToPackageJson": false
47
+ "packageJsonUpdates": {
48
+ "21.3.0": {
49
+ "version": "21.3.0-beta.3",
50
+ "x-prompt": "Do you want to update the Jest version to v30?",
51
+ "incompatibleWith": {
52
+ "@angular-devkit/build-angular": "< 21.0.0"
53
+ },
54
+ "packages": {
55
+ "jest": {
56
+ "version": "~30.0.0",
57
+ "alwaysAddToPackageJson": false
58
+ },
59
+ "@types/jest": {
60
+ "version": "~30.0.0",
61
+ "alwaysAddToPackageJson": false
62
+ },
63
+ "expect": {
64
+ "version": "~30.0.0",
65
+ "alwaysAddToPackageJson": false
66
+ },
67
+ "@jest/globals": {
68
+ "version": "~30.0.0",
69
+ "alwaysAddToPackageJson": false
70
+ },
71
+ "jest-jasmine2": {
72
+ "version": "~30.0.0",
73
+ "alwaysAddToPackageJson": false
74
+ },
75
+ "jest-environment-jsdom": {
76
+ "version": "~30.0.0",
77
+ "alwaysAddToPackageJson": false
78
+ },
79
+ "babel-jest": {
80
+ "version": "~30.0.0",
81
+ "alwaysAddToPackageJson": false
82
+ },
83
+ "@swc/jest": {
84
+ "version": "~0.2.38",
85
+ "alwaysAddToPackageJson": false
86
+ }
87
+ }
132
88
  },
133
- "@jest/globals": {
134
- "version": "^30.0.0",
135
- "alwaysAddToPackageJson": false
89
+ "21.3.3": {
90
+ "version": "21.3.3-beta.0",
91
+ "packages": {
92
+ "ts-jest": {
93
+ "version": "~29.4.0",
94
+ "alwaysAddToPackageJson": false
95
+ }
96
+ }
136
97
  },
137
- "jest-jasmine2": {
138
- "version": "^30.0.0",
139
- "alwaysAddToPackageJson": false
98
+ "21.3.3-jest-util": {
99
+ "version": "21.3.3-beta.3",
100
+ "requires": {
101
+ "jest": ">=30.0.0 <31.0.0",
102
+ "ts-jest": ">=29.4.0"
103
+ },
104
+ "packages": {
105
+ "jest-util": {
106
+ "version": "~30.0.0",
107
+ "addToPackageJson": "devDependencies"
108
+ }
109
+ }
140
110
  },
141
- "jest-environment-jsdom": {
142
- "version": "^30.0.0",
143
- "alwaysAddToPackageJson": false
111
+ "22.3.0": {
112
+ "version": "22.3.0-beta.3",
113
+ "x-prompt": "Do you want to update the Jest version to v30?",
114
+ "incompatibleWith": {
115
+ "@angular-devkit/build-angular": "< 21.0.0"
116
+ },
117
+ "requires": {
118
+ "jest": ">= 29.0.0 < 30.0.0"
119
+ },
120
+ "packages": {
121
+ "jest": {
122
+ "version": "^30.0.0",
123
+ "alwaysAddToPackageJson": false
124
+ },
125
+ "@types/jest": {
126
+ "version": "^30.0.0",
127
+ "alwaysAddToPackageJson": false
128
+ },
129
+ "expect": {
130
+ "version": "^30.0.0",
131
+ "alwaysAddToPackageJson": false
132
+ },
133
+ "@jest/globals": {
134
+ "version": "^30.0.0",
135
+ "alwaysAddToPackageJson": false
136
+ },
137
+ "jest-jasmine2": {
138
+ "version": "^30.0.0",
139
+ "alwaysAddToPackageJson": false
140
+ },
141
+ "jest-environment-jsdom": {
142
+ "version": "^30.0.0",
143
+ "alwaysAddToPackageJson": false
144
+ },
145
+ "jest-util": {
146
+ "version": "^30.0.0",
147
+ "addToPackageJson": "devDependencies"
148
+ },
149
+ "babel-jest": {
150
+ "version": "^30.0.0",
151
+ "alwaysAddToPackageJson": false
152
+ },
153
+ "@swc/jest": {
154
+ "version": "~0.2.38",
155
+ "alwaysAddToPackageJson": false
156
+ }
157
+ }
144
158
  },
145
- "jest-util": {
146
- "version": "^30.0.0",
147
- "addToPackageJson": "devDependencies"
148
- },
149
- "babel-jest": {
150
- "version": "^30.0.0",
151
- "alwaysAddToPackageJson": false
152
- },
153
- "@swc/jest": {
154
- "version": "~0.2.38",
155
- "alwaysAddToPackageJson": false
156
- }
157
- }
158
- },
159
- "22.3.0-jest-preset-angular": {
160
- "version": "22.3.0-beta.3",
161
- "requires": {
162
- "@angular/compiler-cli": ">=19.0.0 <22.0.0",
163
- "@angular/core": ">=19.0.0 <22.0.0",
164
- "@angular/platform-browser": ">=19.0.0 <22.0.0",
165
- "@angular/platform-browser-dynamic": ">=19.0.0 <22.0.0",
166
- "jest": "^30.0.0"
167
- },
168
- "packages": {
169
- "jest-preset-angular": {
170
- "version": "~16.0.0",
171
- "alwaysAddToPackageJson": false
159
+ "22.3.0-jest-preset-angular": {
160
+ "version": "22.3.0-beta.3",
161
+ "requires": {
162
+ "@angular/compiler-cli": ">=19.0.0 <22.0.0",
163
+ "@angular/core": ">=19.0.0 <22.0.0",
164
+ "@angular/platform-browser": ">=19.0.0 <22.0.0",
165
+ "@angular/platform-browser-dynamic": ">=19.0.0 <22.0.0",
166
+ "jest": "^30.0.0"
167
+ },
168
+ "packages": {
169
+ "jest-preset-angular": {
170
+ "version": "~16.0.0",
171
+ "alwaysAddToPackageJson": false
172
+ }
173
+ }
172
174
  }
173
- }
174
175
  }
175
- }
176
176
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/jest",
3
- "version": "22.7.0-beta.7",
3
+ "version": "22.7.0-beta.8",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.",
6
6
  "repository": {
@@ -38,8 +38,8 @@
38
38
  "dependencies": {
39
39
  "@jest/reporters": "^30.0.2",
40
40
  "@jest/test-result": "^30.0.2",
41
- "@nx/devkit": "22.7.0-beta.7",
42
- "@nx/js": "22.7.0-beta.7",
41
+ "@nx/devkit": "22.7.0-beta.8",
42
+ "@nx/js": "22.7.0-beta.8",
43
43
  "@phenomnomnominal/tsquery": "~6.1.4",
44
44
  "identity-obj-proxy": "3.0.0",
45
45
  "jest-config": "^30.0.2",
@@ -53,7 +53,7 @@
53
53
  "yargs-parser": "21.1.1"
54
54
  },
55
55
  "devDependencies": {
56
- "nx": "22.7.0-beta.7"
56
+ "nx": "22.7.0-beta.8"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public"
@@ -1,231 +1,231 @@
1
1
  {
2
- "version": 2,
3
- "outputCapture": "direct-nodejs",
4
- "title": "Jest Builder",
5
- "description": "Jest target options for Build Facade.",
6
- "cli": "nx",
7
- "type": "object",
8
- "presets": [
9
- {
10
- "name": "Pass Without Tests",
11
- "keys": ["jestConfig", "passWithNoTests"]
12
- },
13
- {
14
- "name": "Code Coverage",
15
- "keys": ["jestConfig", "coverageReporters"]
16
- },
17
- {
18
- "name": "Stop After 'n' Failed",
19
- "keys": ["jestConfig", "bail"]
20
- }
21
- ],
22
- "properties": {
23
- "codeCoverage": {
24
- "description": "Indicates that test coverage information should be collected and reported in the output. (https://jestjs.io/docs/cli#--coverageboolean)",
25
- "type": "boolean",
26
- "aliases": ["coverage"]
27
- },
28
- "config": {
29
- "description": "The path to a Jest config file specifying how to find and execute tests. If no `rootDir` is set in the config, the directory containing the config file is assumed to be the `rootDir` for the project. This can also be a JSON-encoded value which Jest will use as configuration.",
30
- "type": "string"
31
- },
32
- "clearCache": {
33
- "description": "Deletes the Jest cache directory and then exits without running tests. Will delete Jest's default cache directory. _Note: clearing the cache will reduce performance_.",
34
- "type": "boolean"
35
- },
36
- "detectOpenHandles": {
37
- "description": "Attempt to collect and print open handles preventing Jest from exiting cleanly (https://jestjs.io/docs/cli#--detectopenhandles)",
38
- "type": "boolean"
39
- },
40
- "logHeapUsage": {
41
- "description": "Logs the heap usage after every test. Useful to debug memory leaks. Use together with --runInBand and --expose-gc in node.",
42
- "type": "boolean"
43
- },
44
- "detectLeaks": {
45
- "description": "**EXPERIMENTAL**: Detect memory leaks in tests. After executing a test, it will try to garbage collect the global object used, and fail if it was leaked",
46
- "type": "boolean"
47
- },
48
- "jestConfig": {
49
- "description": "The path of the Jest configuration. (https://jestjs.io/docs/en/configuration)",
50
- "type": "string",
51
- "x-completion-type": "file",
52
- "x-completion-glob": "jest.config@(.js|.ts)"
53
- },
54
- "testFile": {
55
- "description": "The name of the file to test.",
56
- "type": "string",
57
- "$default": {
58
- "$source": "argv",
59
- "index": 0
60
- }
61
- },
62
- "tsConfig": {
63
- "description": "The path to the TypeScript configuration file, relative to the workspace root. Note this is only metadata used by Angular migrations. This executor does not use it.",
64
- "type": "string",
65
- "x-completion-type": "file",
66
- "x-completion-glob": "tsconfig.*.json"
67
- },
68
- "setupFile": {
69
- "description": "The name of a setup file used by Jest.",
70
- "type": "string",
71
- "x-deprecated": "Use the `setupFilesAfterEnv` option in the Jest configuration file instead. See https://jestjs.io/docs/configuration#setupfilesafterenv-array. It will be removed in Nx v22."
72
- },
73
- "bail": {
74
- "alias": "b",
75
- "description": "Exit the test suite immediately after `n` number of failing tests. (https://jestjs.io/docs/cli#--bail)",
76
- "oneOf": [
2
+ "version": 2,
3
+ "outputCapture": "direct-nodejs",
4
+ "title": "Jest Builder",
5
+ "description": "Jest target options for Build Facade.",
6
+ "cli": "nx",
7
+ "type": "object",
8
+ "presets": [
77
9
  {
78
- "type": "number"
10
+ "name": "Pass Without Tests",
11
+ "keys": ["jestConfig", "passWithNoTests"]
79
12
  },
80
13
  {
81
- "type": "boolean"
82
- }
83
- ]
84
- },
85
- "ci": {
86
- "description": "Whether to run Jest in continuous integration (CI) mode. This option is on by default in most popular CI environments. It will prevent snapshots from being written unless explicitly requested. (https://jestjs.io/docs/cli#--ci)",
87
- "type": "boolean"
88
- },
89
- "color": {
90
- "alias": "colors",
91
- "description": "Forces test results output color highlighting (even if `stdout` is not a TTY). Set to false if you would like to have no colors. (https://jestjs.io/docs/cli#--colors)",
92
- "type": "boolean"
93
- },
94
- "findRelatedTests": {
95
- "description": "Find and run the tests that cover a comma separated list of source files that were passed in as arguments. (https://jestjs.io/docs/cli#--findrelatedtests-spaceseparatedlistofsourcefiles)",
96
- "type": "string"
97
- },
98
- "forceExit": {
99
- "description": "Force Jest to exit after all tests have completed running. This is useful when resources set up by test code cannot be adequately cleaned up.This feature is an escape-hatch. If Jest doesn't exit at the end of a test run, it means external resources are still being held on to or timers are still pending in your code. It is advised to tear down external resources after each test to make sure Jest can shut down cleanly. You can use --detectOpenHandles to help track it down.",
100
- "type": "boolean"
101
- },
102
- "json": {
103
- "description": "Prints the test results in `JSON`. This mode will send all other test output and user messages to `stderr`. (https://jestjs.io/docs/cli#--json)",
104
- "type": "boolean"
105
- },
106
- "maxWorkers": {
107
- "alias": "w",
108
- "description": "Specifies the maximum number of workers the worker-pool will spawn for running tests. This defaults to the number of the cores available on your machine. Useful for CI. (its usually best not to override this default) (https://jestjs.io/docs/cli#--maxworkersnumstring)",
109
- "oneOf": [
110
- {
111
- "type": "number"
14
+ "name": "Code Coverage",
15
+ "keys": ["jestConfig", "coverageReporters"]
112
16
  },
113
17
  {
114
- "type": "string"
18
+ "name": "Stop After 'n' Failed",
19
+ "keys": ["jestConfig", "bail"]
20
+ }
21
+ ],
22
+ "properties": {
23
+ "codeCoverage": {
24
+ "description": "Indicates that test coverage information should be collected and reported in the output. (https://jestjs.io/docs/cli#--coverageboolean)",
25
+ "type": "boolean",
26
+ "aliases": ["coverage"]
27
+ },
28
+ "config": {
29
+ "description": "The path to a Jest config file specifying how to find and execute tests. If no `rootDir` is set in the config, the directory containing the config file is assumed to be the `rootDir` for the project. This can also be a JSON-encoded value which Jest will use as configuration.",
30
+ "type": "string"
31
+ },
32
+ "clearCache": {
33
+ "description": "Deletes the Jest cache directory and then exits without running tests. Will delete Jest's default cache directory. _Note: clearing the cache will reduce performance_.",
34
+ "type": "boolean"
35
+ },
36
+ "detectOpenHandles": {
37
+ "description": "Attempt to collect and print open handles preventing Jest from exiting cleanly (https://jestjs.io/docs/cli#--detectopenhandles)",
38
+ "type": "boolean"
39
+ },
40
+ "logHeapUsage": {
41
+ "description": "Logs the heap usage after every test. Useful to debug memory leaks. Use together with --runInBand and --expose-gc in node.",
42
+ "type": "boolean"
43
+ },
44
+ "detectLeaks": {
45
+ "description": "**EXPERIMENTAL**: Detect memory leaks in tests. After executing a test, it will try to garbage collect the global object used, and fail if it was leaked",
46
+ "type": "boolean"
47
+ },
48
+ "jestConfig": {
49
+ "description": "The path of the Jest configuration. (https://jestjs.io/docs/en/configuration)",
50
+ "type": "string",
51
+ "x-completion-type": "file",
52
+ "x-completion-glob": "jest.config@(.js|.ts)"
53
+ },
54
+ "testFile": {
55
+ "description": "The name of the file to test.",
56
+ "type": "string",
57
+ "$default": {
58
+ "$source": "argv",
59
+ "index": 0
60
+ }
61
+ },
62
+ "tsConfig": {
63
+ "description": "The path to the TypeScript configuration file, relative to the workspace root. Note this is only metadata used by Angular migrations. This executor does not use it.",
64
+ "type": "string",
65
+ "x-completion-type": "file",
66
+ "x-completion-glob": "tsconfig.*.json"
67
+ },
68
+ "setupFile": {
69
+ "description": "The name of a setup file used by Jest.",
70
+ "type": "string",
71
+ "x-deprecated": "Use the `setupFilesAfterEnv` option in the Jest configuration file instead. See https://jestjs.io/docs/configuration#setupfilesafterenv-array. It will be removed in Nx v22."
72
+ },
73
+ "bail": {
74
+ "alias": "b",
75
+ "description": "Exit the test suite immediately after `n` number of failing tests. (https://jestjs.io/docs/cli#--bail)",
76
+ "oneOf": [
77
+ {
78
+ "type": "number"
79
+ },
80
+ {
81
+ "type": "boolean"
82
+ }
83
+ ]
84
+ },
85
+ "ci": {
86
+ "description": "Whether to run Jest in continuous integration (CI) mode. This option is on by default in most popular CI environments. It will prevent snapshots from being written unless explicitly requested. (https://jestjs.io/docs/cli#--ci)",
87
+ "type": "boolean"
88
+ },
89
+ "color": {
90
+ "alias": "colors",
91
+ "description": "Forces test results output color highlighting (even if `stdout` is not a TTY). Set to false if you would like to have no colors. (https://jestjs.io/docs/cli#--colors)",
92
+ "type": "boolean"
93
+ },
94
+ "findRelatedTests": {
95
+ "description": "Find and run the tests that cover a comma separated list of source files that were passed in as arguments. (https://jestjs.io/docs/cli#--findrelatedtests-spaceseparatedlistofsourcefiles)",
96
+ "type": "string"
97
+ },
98
+ "forceExit": {
99
+ "description": "Force Jest to exit after all tests have completed running. This is useful when resources set up by test code cannot be adequately cleaned up.This feature is an escape-hatch. If Jest doesn't exit at the end of a test run, it means external resources are still being held on to or timers are still pending in your code. It is advised to tear down external resources after each test to make sure Jest can shut down cleanly. You can use --detectOpenHandles to help track it down.",
100
+ "type": "boolean"
101
+ },
102
+ "json": {
103
+ "description": "Prints the test results in `JSON`. This mode will send all other test output and user messages to `stderr`. (https://jestjs.io/docs/cli#--json)",
104
+ "type": "boolean"
105
+ },
106
+ "maxWorkers": {
107
+ "alias": "w",
108
+ "description": "Specifies the maximum number of workers the worker-pool will spawn for running tests. This defaults to the number of the cores available on your machine. Useful for CI. (its usually best not to override this default) (https://jestjs.io/docs/cli#--maxworkersnumstring)",
109
+ "oneOf": [
110
+ {
111
+ "type": "number"
112
+ },
113
+ {
114
+ "type": "string"
115
+ }
116
+ ]
117
+ },
118
+ "onlyChanged": {
119
+ "alias": "o",
120
+ "description": "Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a `git` or `hg` repository at the moment. (https://jestjs.io/docs/cli#--onlychanged)",
121
+ "type": "boolean"
122
+ },
123
+ "changedSince": {
124
+ "description": "Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested. (https://jestjs.io/docs/cli#--changedsince)",
125
+ "type": "string"
126
+ },
127
+ "outputFile": {
128
+ "description": "Write test results to a file when the `--json` option is also specified. (https://jestjs.io/docs/cli#--outputfilefilename)",
129
+ "type": "string"
130
+ },
131
+ "passWithNoTests": {
132
+ "description": "Will not fail if no tests are found (for example while using `--testPathPatterns`.) (https://jestjs.io/docs/cli#--passwithnotests)",
133
+ "type": "boolean"
134
+ },
135
+ "randomize": {
136
+ "description": "Shuffle the order of the tests within a file. The shuffling is based on the seed. This option is only supported using the default jest-circus test runner.",
137
+ "type": "boolean"
138
+ },
139
+ "runInBand": {
140
+ "alias": "i",
141
+ "description": "Run all tests serially in the current process (rather than creating a worker pool of child processes that run tests). This is sometimes useful for debugging, but such use cases are pretty rare. Useful for CI. (https://jestjs.io/docs/cli#--runinband)",
142
+ "type": "boolean"
143
+ },
144
+ "showConfig": {
145
+ "description": "Print your Jest config and then exits. (https://jestjs.io/docs/en/cli#--showconfig)",
146
+ "type": "boolean"
147
+ },
148
+ "silent": {
149
+ "description": "Prevent tests from printing messages through the console. (https://jestjs.io/docs/cli#--silent)",
150
+ "type": "boolean"
151
+ },
152
+ "testNamePattern": {
153
+ "alias": "t",
154
+ "description": "Run only tests with a name that matches the regex pattern. (https://jestjs.io/docs/cli#--testnamepatternregex)",
155
+ "type": "string"
156
+ },
157
+ "testPathIgnorePatterns": {
158
+ "description": "An array of regexp pattern strings that is matched against all tests paths before executing the test. Only run those tests with a path that does not match with the provided regexp expressions. (https://jestjs.io/docs/cli#--testpathignorepatternsregexarray)",
159
+ "type": "array",
160
+ "items": {
161
+ "type": "string"
162
+ }
163
+ },
164
+ "testPathPatterns": {
165
+ "description": "An array of regexp pattern strings that is matched against all tests paths before executing the test. (https://jestjs.io/docs/cli#--testpathpatternsregex)",
166
+ "type": "array",
167
+ "items": {
168
+ "type": "string"
169
+ },
170
+ "default": []
171
+ },
172
+ "colors": {
173
+ "description": "Forces test results output highlighting even if stdout is not a TTY. (https://jestjs.io/docs/cli#--colors)",
174
+ "type": "boolean"
175
+ },
176
+ "reporters": {
177
+ "description": "Run tests with specified reporters. Reporter options are not available via CLI. Example with multiple reporters: `jest --reporters=\"default\" --reporters=\"jest-junit\"`. (https://jestjs.io/docs/cli#--reporters)",
178
+ "type": "array",
179
+ "items": {
180
+ "type": "string"
181
+ }
182
+ },
183
+ "verbose": {
184
+ "description": "Display individual test results with the test suite hierarchy. (https://jestjs.io/docs/cli#--verbose)",
185
+ "type": "boolean"
186
+ },
187
+ "coverageReporters": {
188
+ "description": "A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter.",
189
+ "type": "array",
190
+ "items": {
191
+ "type": "string"
192
+ }
193
+ },
194
+ "coverageDirectory": {
195
+ "description": "The directory where Jest should output its coverage files.",
196
+ "type": "string",
197
+ "x-completion-type": "directory"
198
+ },
199
+ "testResultsProcessor": {
200
+ "description": "Node module that implements a custom results processor. (https://jestjs.io/docs/en/configuration#testresultsprocessor-string)",
201
+ "type": "string"
202
+ },
203
+ "updateSnapshot": {
204
+ "alias": "u",
205
+ "description": "Use this flag to re-record snapshots. Can be used together with a test suite pattern or with `--testNamePattern` to re-record snapshot for test matching the pattern. (https://jestjs.io/docs/cli#--updatesnapshot)",
206
+ "type": "boolean"
207
+ },
208
+ "useStderr": {
209
+ "description": "Divert all output to stderr.",
210
+ "type": "boolean"
211
+ },
212
+ "watch": {
213
+ "description": "Watch files for changes and rerun tests related to changed files. If you want to re-run all tests when a file has changed, use the `--watchAll` option. (https://jestjs.io/docs/cli#--watch)",
214
+ "type": "boolean"
215
+ },
216
+ "watchAll": {
217
+ "description": "Watch files for changes and rerun all tests when something changes. If you want to re-run only the tests that depend on the changed files, use the `--watch` option. (https://jestjs.io/docs/cli#--watchall)",
218
+ "type": "boolean"
219
+ },
220
+ "testLocationInResults": {
221
+ "description": "Adds a location field to test results. Used to report location of a test in a reporter. { \"column\": 4, \"line\": 5 } (https://jestjs.io/docs/cli#--testlocationinresults)",
222
+ "type": "boolean"
223
+ },
224
+ "testTimeout": {
225
+ "description": "Default timeout of a test in milliseconds. Default value: `5000`. (https://jestjs.io/docs/cli#--testtimeoutnumber)",
226
+ "type": "number"
115
227
  }
116
- ]
117
- },
118
- "onlyChanged": {
119
- "alias": "o",
120
- "description": "Attempts to identify which tests to run based on which files have changed in the current repository. Only works if you're running tests in a `git` or `hg` repository at the moment. (https://jestjs.io/docs/cli#--onlychanged)",
121
- "type": "boolean"
122
- },
123
- "changedSince": {
124
- "description": "Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested. (https://jestjs.io/docs/cli#--changedsince)",
125
- "type": "string"
126
- },
127
- "outputFile": {
128
- "description": "Write test results to a file when the `--json` option is also specified. (https://jestjs.io/docs/cli#--outputfilefilename)",
129
- "type": "string"
130
- },
131
- "passWithNoTests": {
132
- "description": "Will not fail if no tests are found (for example while using `--testPathPatterns`.) (https://jestjs.io/docs/cli#--passwithnotests)",
133
- "type": "boolean"
134
- },
135
- "randomize": {
136
- "description": "Shuffle the order of the tests within a file. The shuffling is based on the seed. This option is only supported using the default jest-circus test runner.",
137
- "type": "boolean"
138
- },
139
- "runInBand": {
140
- "alias": "i",
141
- "description": "Run all tests serially in the current process (rather than creating a worker pool of child processes that run tests). This is sometimes useful for debugging, but such use cases are pretty rare. Useful for CI. (https://jestjs.io/docs/cli#--runinband)",
142
- "type": "boolean"
143
- },
144
- "showConfig": {
145
- "description": "Print your Jest config and then exits. (https://jestjs.io/docs/en/cli#--showconfig)",
146
- "type": "boolean"
147
- },
148
- "silent": {
149
- "description": "Prevent tests from printing messages through the console. (https://jestjs.io/docs/cli#--silent)",
150
- "type": "boolean"
151
- },
152
- "testNamePattern": {
153
- "alias": "t",
154
- "description": "Run only tests with a name that matches the regex pattern. (https://jestjs.io/docs/cli#--testnamepatternregex)",
155
- "type": "string"
156
- },
157
- "testPathIgnorePatterns": {
158
- "description": "An array of regexp pattern strings that is matched against all tests paths before executing the test. Only run those tests with a path that does not match with the provided regexp expressions. (https://jestjs.io/docs/cli#--testpathignorepatternsregexarray)",
159
- "type": "array",
160
- "items": {
161
- "type": "string"
162
- }
163
- },
164
- "testPathPatterns": {
165
- "description": "An array of regexp pattern strings that is matched against all tests paths before executing the test. (https://jestjs.io/docs/cli#--testpathpatternsregex)",
166
- "type": "array",
167
- "items": {
168
- "type": "string"
169
- },
170
- "default": []
171
- },
172
- "colors": {
173
- "description": "Forces test results output highlighting even if stdout is not a TTY. (https://jestjs.io/docs/cli#--colors)",
174
- "type": "boolean"
175
- },
176
- "reporters": {
177
- "description": "Run tests with specified reporters. Reporter options are not available via CLI. Example with multiple reporters: `jest --reporters=\"default\" --reporters=\"jest-junit\"`. (https://jestjs.io/docs/cli#--reporters)",
178
- "type": "array",
179
- "items": {
180
- "type": "string"
181
- }
182
- },
183
- "verbose": {
184
- "description": "Display individual test results with the test suite hierarchy. (https://jestjs.io/docs/cli#--verbose)",
185
- "type": "boolean"
186
- },
187
- "coverageReporters": {
188
- "description": "A list of reporter names that Jest uses when writing coverage reports. Any istanbul reporter.",
189
- "type": "array",
190
- "items": {
191
- "type": "string"
192
- }
193
- },
194
- "coverageDirectory": {
195
- "description": "The directory where Jest should output its coverage files.",
196
- "type": "string",
197
- "x-completion-type": "directory"
198
- },
199
- "testResultsProcessor": {
200
- "description": "Node module that implements a custom results processor. (https://jestjs.io/docs/en/configuration#testresultsprocessor-string)",
201
- "type": "string"
202
- },
203
- "updateSnapshot": {
204
- "alias": "u",
205
- "description": "Use this flag to re-record snapshots. Can be used together with a test suite pattern or with `--testNamePattern` to re-record snapshot for test matching the pattern. (https://jestjs.io/docs/cli#--updatesnapshot)",
206
- "type": "boolean"
207
- },
208
- "useStderr": {
209
- "description": "Divert all output to stderr.",
210
- "type": "boolean"
211
- },
212
- "watch": {
213
- "description": "Watch files for changes and rerun tests related to changed files. If you want to re-run all tests when a file has changed, use the `--watchAll` option. (https://jestjs.io/docs/cli#--watch)",
214
- "type": "boolean"
215
- },
216
- "watchAll": {
217
- "description": "Watch files for changes and rerun all tests when something changes. If you want to re-run only the tests that depend on the changed files, use the `--watch` option. (https://jestjs.io/docs/cli#--watchall)",
218
- "type": "boolean"
219
- },
220
- "testLocationInResults": {
221
- "description": "Adds a location field to test results. Used to report location of a test in a reporter. { \"column\": 4, \"line\": 5 } (https://jestjs.io/docs/cli#--testlocationinresults)",
222
- "type": "boolean"
223
228
  },
224
- "testTimeout": {
225
- "description": "Default timeout of a test in milliseconds. Default value: `5000`. (https://jestjs.io/docs/cli#--testtimeoutnumber)",
226
- "type": "number"
227
- }
228
- },
229
- "required": ["jestConfig"],
230
- "examplesFile": "../../../docs/jest-examples.md"
229
+ "required": ["jestConfig"],
230
+ "examplesFile": "../../../docs/jest-examples.md"
231
231
  }
@@ -1,90 +1,90 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxJestProject",
4
- "cli": "nx",
5
- "title": "Add Jest Configuration to a project",
6
- "description": "Add Jest Configuration to a project.",
7
- "type": "object",
8
- "properties": {
9
- "project": {
10
- "type": "string",
11
- "description": "The name of the project.",
12
- "$default": {
13
- "$source": "projectName"
14
- },
15
- "x-priority": "important"
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxJestProject",
4
+ "cli": "nx",
5
+ "title": "Add Jest Configuration to a project",
6
+ "description": "Add Jest Configuration to a project.",
7
+ "type": "object",
8
+ "properties": {
9
+ "project": {
10
+ "type": "string",
11
+ "description": "The name of the project.",
12
+ "$default": {
13
+ "$source": "projectName"
14
+ },
15
+ "x-priority": "important"
16
+ },
17
+ "skipSetupFile": {
18
+ "type": "boolean",
19
+ "description": "Skips the setup file required for angular.",
20
+ "default": false,
21
+ "x-deprecated": "Use the `setupFile` option instead. It will be removed in Nx v22."
22
+ },
23
+ "setupFile": {
24
+ "type": "string",
25
+ "enum": ["none", "angular", "web-components"],
26
+ "description": "The setup file to be generated.",
27
+ "default": "none",
28
+ "x-priority": "important"
29
+ },
30
+ "skipSerializers": {
31
+ "type": "boolean",
32
+ "description": "Skips the serializers required to snapshot angular templates.",
33
+ "default": false
34
+ },
35
+ "supportTsx": {
36
+ "type": "boolean",
37
+ "description": "Setup `tsx` support.",
38
+ "default": false,
39
+ "x-priority": "important"
40
+ },
41
+ "testEnvironment": {
42
+ "type": "string",
43
+ "enum": ["jsdom", "node", "none"],
44
+ "description": "The test environment for jest.",
45
+ "default": "jsdom",
46
+ "x-priority": "important"
47
+ },
48
+ "compiler": {
49
+ "type": "string",
50
+ "enum": ["tsc", "babel", "swc"],
51
+ "description": "The compiler to use for source and tests.",
52
+ "default": "tsc"
53
+ },
54
+ "babelJest": {
55
+ "type": "boolean",
56
+ "alias": "babel-jest",
57
+ "description": "Use `babel-jest` instead of `ts-jest`.",
58
+ "x-deprecated": "Use the `compiler` option instead. It will be removed in Nx v22.",
59
+ "default": false
60
+ },
61
+ "skipFormat": {
62
+ "description": "Skip formatting files",
63
+ "type": "boolean",
64
+ "default": false,
65
+ "x-priority": "internal"
66
+ },
67
+ "skipPackageJson": {
68
+ "type": "boolean",
69
+ "default": false,
70
+ "description": "Do not add dependencies to `package.json`.",
71
+ "x-priority": "internal"
72
+ },
73
+ "js": {
74
+ "type": "boolean",
75
+ "default": false,
76
+ "description": "Use JavaScript instead of TypeScript for config files"
77
+ },
78
+ "runtimeTsconfigFileName": {
79
+ "type": "string",
80
+ "description": "The name of the project's tsconfig file that includes the runtime source files. If not provided, it will default to `tsconfig.lib.json` for libraries and `tsconfig.app.json` for applications."
81
+ },
82
+ "keepExistingVersions": {
83
+ "type": "boolean",
84
+ "x-priority": "internal",
85
+ "description": "Keep existing dependencies versions",
86
+ "default": true
87
+ }
16
88
  },
17
- "skipSetupFile": {
18
- "type": "boolean",
19
- "description": "Skips the setup file required for angular.",
20
- "default": false,
21
- "x-deprecated": "Use the `setupFile` option instead. It will be removed in Nx v22."
22
- },
23
- "setupFile": {
24
- "type": "string",
25
- "enum": ["none", "angular", "web-components"],
26
- "description": "The setup file to be generated.",
27
- "default": "none",
28
- "x-priority": "important"
29
- },
30
- "skipSerializers": {
31
- "type": "boolean",
32
- "description": "Skips the serializers required to snapshot angular templates.",
33
- "default": false
34
- },
35
- "supportTsx": {
36
- "type": "boolean",
37
- "description": "Setup `tsx` support.",
38
- "default": false,
39
- "x-priority": "important"
40
- },
41
- "testEnvironment": {
42
- "type": "string",
43
- "enum": ["jsdom", "node", "none"],
44
- "description": "The test environment for jest.",
45
- "default": "jsdom",
46
- "x-priority": "important"
47
- },
48
- "compiler": {
49
- "type": "string",
50
- "enum": ["tsc", "babel", "swc"],
51
- "description": "The compiler to use for source and tests.",
52
- "default": "tsc"
53
- },
54
- "babelJest": {
55
- "type": "boolean",
56
- "alias": "babel-jest",
57
- "description": "Use `babel-jest` instead of `ts-jest`.",
58
- "x-deprecated": "Use the `compiler` option instead. It will be removed in Nx v22.",
59
- "default": false
60
- },
61
- "skipFormat": {
62
- "description": "Skip formatting files",
63
- "type": "boolean",
64
- "default": false,
65
- "x-priority": "internal"
66
- },
67
- "skipPackageJson": {
68
- "type": "boolean",
69
- "default": false,
70
- "description": "Do not add dependencies to `package.json`.",
71
- "x-priority": "internal"
72
- },
73
- "js": {
74
- "type": "boolean",
75
- "default": false,
76
- "description": "Use JavaScript instead of TypeScript for config files"
77
- },
78
- "runtimeTsconfigFileName": {
79
- "type": "string",
80
- "description": "The name of the project's tsconfig file that includes the runtime source files. If not provided, it will default to `tsconfig.lib.json` for libraries and `tsconfig.app.json` for applications."
81
- },
82
- "keepExistingVersions": {
83
- "type": "boolean",
84
- "x-priority": "internal",
85
- "description": "Keep existing dependencies versions",
86
- "default": true
87
- }
88
- },
89
- "required": []
89
+ "required": []
90
90
  }
@@ -1,19 +1,19 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxJestConvertToInferred",
4
- "description": "Convert existing Jest project(s) using `@nx/jest:jest` executor to use `@nx/jest/plugin`.",
5
- "title": "Convert Jest project from executor to plugin",
6
- "type": "object",
7
- "properties": {
8
- "project": {
9
- "type": "string",
10
- "description": "The project to convert from using the `@nx/jest:jest` executor to use `@nx/jest/plugin`. If not provided, all projects using the `@nx/jest:jest` executor will be converted.",
11
- "x-priority": "important"
12
- },
13
- "skipFormat": {
14
- "type": "boolean",
15
- "description": "Whether to format files.",
16
- "default": false
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxJestConvertToInferred",
4
+ "description": "Convert existing Jest project(s) using `@nx/jest:jest` executor to use `@nx/jest/plugin`.",
5
+ "title": "Convert Jest project from executor to plugin",
6
+ "type": "object",
7
+ "properties": {
8
+ "project": {
9
+ "type": "string",
10
+ "description": "The project to convert from using the `@nx/jest:jest` executor to use `@nx/jest/plugin`. If not provided, all projects using the `@nx/jest:jest` executor will be converted.",
11
+ "x-priority": "important"
12
+ },
13
+ "skipFormat": {
14
+ "type": "boolean",
15
+ "description": "Whether to format files.",
16
+ "default": false
17
+ }
17
18
  }
18
- }
19
19
  }
@@ -1,35 +1,35 @@
1
1
  {
2
- "$schema": "https://json-schema.org/schema",
3
- "$id": "NxJestInit",
4
- "cli": "nx",
5
- "title": "Jest init",
6
- "description": "Add Jest Configuration to a workspace.",
7
- "type": "object",
8
- "properties": {
9
- "skipFormat": {
10
- "description": "Skip formatting files.",
11
- "type": "boolean",
12
- "default": false,
13
- "x-priority": "internal"
2
+ "$schema": "https://json-schema.org/schema",
3
+ "$id": "NxJestInit",
4
+ "cli": "nx",
5
+ "title": "Jest init",
6
+ "description": "Add Jest Configuration to a workspace.",
7
+ "type": "object",
8
+ "properties": {
9
+ "skipFormat": {
10
+ "description": "Skip formatting files.",
11
+ "type": "boolean",
12
+ "default": false,
13
+ "x-priority": "internal"
14
+ },
15
+ "skipPackageJson": {
16
+ "type": "boolean",
17
+ "default": false,
18
+ "description": "Do not add dependencies to `package.json`.",
19
+ "x-priority": "internal"
20
+ },
21
+ "keepExistingVersions": {
22
+ "type": "boolean",
23
+ "x-priority": "internal",
24
+ "description": "Keep existing dependencies versions",
25
+ "default": false
26
+ },
27
+ "updatePackageScripts": {
28
+ "type": "boolean",
29
+ "x-priority": "internal",
30
+ "description": "Update `package.json` scripts with inferred targets",
31
+ "default": false
32
+ }
14
33
  },
15
- "skipPackageJson": {
16
- "type": "boolean",
17
- "default": false,
18
- "description": "Do not add dependencies to `package.json`.",
19
- "x-priority": "internal"
20
- },
21
- "keepExistingVersions": {
22
- "type": "boolean",
23
- "x-priority": "internal",
24
- "description": "Keep existing dependencies versions",
25
- "default": false
26
- },
27
- "updatePackageScripts": {
28
- "type": "boolean",
29
- "x-priority": "internal",
30
- "description": "Update `package.json` scripts with inferred targets",
31
- "default": false
32
- }
33
- },
34
- "required": []
34
+ "required": []
35
35
  }