@nx/express 23.2.0-beta.7 → 23.2.0-beta.9

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.
@@ -2,14 +2,13 @@
2
2
  // is not a dependency here, so importing it would resolve to a published
3
3
  // tarball rather than workspace source.
4
4
  import type { LinterType } from '@nx/js';
5
- import type { UnitTestRunner } from '../../utils/test-runners';
6
5
 
7
6
  export interface Schema {
8
7
  directory: string;
9
8
  name?: string;
10
9
  skipFormat: boolean;
11
10
  skipPackageJson: boolean;
12
- unitTestRunner: UnitTestRunner;
11
+ unitTestRunner: 'jest' | 'vitest' | 'none';
13
12
  tags?: string;
14
13
  linter?: LinterType;
15
14
  frontendProject?: string;
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "unitTestRunner": {
40
40
  "type": "string",
41
- "enum": ["jest", "none"],
41
+ "enum": ["jest", "vitest", "none"],
42
42
  "description": "Test runner to use for unit tests.",
43
43
  "default": "none",
44
44
  "x-prompt": "Which unit test runner would you like to use?"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/express",
3
- "version": "23.2.0-beta.7",
3
+ "version": "23.2.0-beta.9",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for Express contains executors and generators for allowing your workspace to create powerful Express Node applications and APIs.",
6
6
  "repository": {
@@ -41,9 +41,9 @@
41
41
  "dependencies": {
42
42
  "semver": "^7.6.3",
43
43
  "tslib": "^2.3.0",
44
- "@nx/devkit": "23.2.0-beta.7",
45
- "@nx/js": "23.2.0-beta.7",
46
- "@nx/node": "23.2.0-beta.7"
44
+ "@nx/devkit": "23.2.0-beta.9",
45
+ "@nx/js": "23.2.0-beta.9",
46
+ "@nx/node": "23.2.0-beta.9"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "express": ">=4.0.0 <6.0.0"