@nx/vitest 22.5.0 → 22.6.0-beta.0

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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/PLUGIN.md +8 -16
  3. package/package.json +4 -4
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  (The MIT License)
2
2
 
3
- Copyright (c) 2017-2025 Narwhal Technologies Inc.
3
+ Copyright (c) 2017-2026 Narwhal Technologies Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining
6
6
  a copy of this software and associated documentation files (the
package/PLUGIN.md CHANGED
@@ -6,21 +6,13 @@ After making changes to a project, run the relevant test file to verify your cha
6
6
 
7
7
  Check in order (first match wins):
8
8
 
9
- | Mode | Detection |
10
- | --------- | ------------------------------------------------------------------- |
11
- | Atomized | `ciTargetName` in nx.json `@nx/vitest` or `@nx/vite` plugin options |
12
- | Inference | `@nx/vitest` or `@nx/vite/plugin` in nx.json plugins array |
13
- | Executor | `@nx/vitest:test` executor in project.json targets |
9
+ | Mode | Detection |
10
+ | --------- | ---------------------------------------------------------- |
11
+ | Inference | `@nx/vitest` or `@nx/vite/plugin` in nx.json plugins array |
12
+ | Executor | `@nx/vitest:test` executor in project.json targets |
14
13
 
15
14
  ## Run Specific Test File
16
15
 
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
16
  ### Inference
25
17
 
26
18
  ```bash
@@ -35,7 +27,7 @@ nx run <project>:test --testFile=<path/to/file.spec.ts>
35
27
 
36
28
  ## Quick Reference
37
29
 
38
- | Task | Atomized | Inference | Executor |
39
- | ----------- | ---------------------------------------- | ----------------------------------- | ----------------------------------------------- |
40
- | Run file | `nx run proj:test-ci--path/file.spec.ts` | `nx test proj -- 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"` |
30
+ | Task | Inference | Executor |
31
+ | ----------- | ----------------------------------- | ----------------------------------------------- |
32
+ | Run file | `nx test proj -- path/file.spec.ts` | `nx run proj:test --testFile=path/file.spec.ts` |
33
+ | Run pattern | `nx test proj -- -t "pattern"` | `nx run proj:test --testNamePattern="pattern"` |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nx/vitest",
3
3
  "description": "The Nx Plugin for Vitest to enable fast unit testing with Vitest.",
4
- "version": "22.5.0",
4
+ "version": "22.6.0-beta.0",
5
5
  "type": "commonjs",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -52,8 +52,8 @@
52
52
  "executors": "./executors.json",
53
53
  "generators": "./generators.json",
54
54
  "dependencies": {
55
- "@nx/devkit": "22.5.0",
56
- "@nx/js": "22.5.0",
55
+ "@nx/devkit": "22.6.0-beta.0",
56
+ "@nx/js": "22.6.0-beta.0",
57
57
  "tslib": "^2.3.0",
58
58
  "semver": "^7.6.3",
59
59
  "@phenomnomnominal/tsquery": "~6.1.4"
@@ -71,7 +71,7 @@
71
71
  }
72
72
  },
73
73
  "devDependencies": {
74
- "nx": "22.5.0"
74
+ "nx": "22.6.0-beta.0"
75
75
  },
76
76
  "types": "./src/index.d.ts"
77
77
  }