@nx/jest 22.4.0-canary.20260115-21d1555 → 22.4.0-canary.20260119-6bb82c0

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/PLUGIN.md ADDED
@@ -0,0 +1,41 @@
1
+ # Jest
2
+
3
+ After making changes to a project, run the relevant test file to verify your changes work correctly.
4
+
5
+ ## Mode Detection
6
+
7
+ Check in order (first match wins):
8
+
9
+ | Mode | Detection |
10
+ | --------- | --------------------------------------------------- |
11
+ | Atomized | `ciTargetName` in nx.json `@nx/jest` plugin options |
12
+ | Inference | `@nx/jest/plugin` in nx.json plugins array |
13
+ | Executor | `@nx/jest:jest` executor in project.json targets |
14
+
15
+ ## Run Specific Test File
16
+
17
+ ### Atomized
18
+
19
+ ```bash
20
+ nx run <project>:<ciTargetName>--<path/to/file.spec.ts>
21
+ # Example: nx run my-lib:test-ci--src/utils.spec.ts
22
+ ```
23
+
24
+ ### Inference
25
+
26
+ ```bash
27
+ nx test <project> -- --testPathPattern=<path/to/file.spec.ts>
28
+ ```
29
+
30
+ ### Executor
31
+
32
+ ```bash
33
+ nx run <project>:test --testFile=<path/to/file.spec.ts>
34
+ ```
35
+
36
+ ## Quick Reference
37
+
38
+ | Task | Atomized | Inference | Executor |
39
+ | ----------- | ---------------------------------------- | ----------------------------------------------------- | ----------------------------------------------- |
40
+ | Run file | `nx run proj:test-ci--path/file.spec.ts` | `nx test proj -- --testPathPattern=path/file.spec.ts` | `nx run proj:test --testFile=path/file.spec.ts` |
41
+ | Run pattern | N/A | `nx test proj -- -t "pattern"` | `nx run proj:test --testNamePattern="pattern"` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/jest",
3
- "version": "22.4.0-canary.20260115-21d1555",
3
+ "version": "22.4.0-canary.20260119-6bb82c0",
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": {
@@ -37,8 +37,8 @@
37
37
  "dependencies": {
38
38
  "@jest/reporters": "^30.0.2",
39
39
  "@jest/test-result": "^30.0.2",
40
- "@nx/devkit": "22.4.0-canary.20260115-21d1555",
41
- "@nx/js": "22.4.0-canary.20260115-21d1555",
40
+ "@nx/devkit": "22.4.0-canary.20260119-6bb82c0",
41
+ "@nx/js": "22.4.0-canary.20260119-6bb82c0",
42
42
  "@phenomnomnominal/tsquery": "~6.1.4",
43
43
  "identity-obj-proxy": "3.0.0",
44
44
  "jest-config": "^30.0.2",
@@ -52,7 +52,7 @@
52
52
  "yargs-parser": "21.1.1"
53
53
  },
54
54
  "devDependencies": {
55
- "nx": "22.4.0-canary.20260115-21d1555"
55
+ "nx": "22.4.0-canary.20260119-6bb82c0"
56
56
  },
57
57
  "publishConfig": {
58
58
  "access": "public"
package/project.json CHANGED
@@ -40,6 +40,11 @@
40
40
  "glob": "**/*.d.ts",
41
41
  "output": "/"
42
42
  },
43
+ {
44
+ "input": "packages/jest",
45
+ "glob": "PLUGIN.md",
46
+ "output": "/"
47
+ },
43
48
  {
44
49
  "input": "",
45
50
  "glob": "LICENSE",