@nx/jest 23.3.0-beta.7 → 23.3.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/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](<>)
13
13
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
14
14
  [![Join us on the Official Nx Discord Server](https://img.shields.io/discord/1143497901675401286?label=discord)](https://go.nx.dev/community)
15
- [![Nx Sandboxing](https://staging.nx.app/workspaces/62d013ea0852fe0a2df74438/sandbox-badge.svg)](https://nx.dev/docs/features/ci-features/sandboxing)
15
+ [![Hours saved](https://img.shields.io/endpoint?url=https%3A%2F%2Fstaging.nx.app%2Fnx-cloud%2Fbadge%2F62d013ea0852fe0a2df74438%2Fhours-saved.json)](https://nx.dev/nx-cloud)
16
16
 
17
17
  </div>
18
18
 
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createNodesV2 = exports.createNodes = void 0;
4
+ const tslib_1 = require("tslib");
4
5
  const internal_1 = require("@nx/devkit/internal");
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const minimatch_1 = require("minimatch");
7
8
  const node_fs_1 = require("node:fs");
8
9
  const node_path_1 = require("node:path");
10
+ const posix = tslib_1.__importStar(require("node:path/posix"));
9
11
  const js_1 = require("@nx/js");
10
12
  const internal_2 = require("@nx/js/internal");
11
13
  const versions_1 = require("../utils/versions");
@@ -599,7 +601,7 @@ async function getTestPaths(projectRoot, rawConfig, rootDir, context, presetCach
599
601
  // Default copied from https://github.com/jestjs/jest/blob/d1a2ed7/packages/jest-config/src/Defaults.ts#L84
600
602
  '**/__tests__/**/*.?([mc])[jt]s?(x)',
601
603
  '**/?(*.)+(spec|test).?([mc])[jt]s?(x)',
602
- ]).map((pattern) => (0, node_path_1.join)(projectRoot, pattern)), []);
604
+ ]).map((pattern) => posix.join(projectRoot, pattern)), []);
603
605
  const testRegex = await getJestOption(rawConfig, rootDir, 'testRegex', presetCache);
604
606
  if (testRegex) {
605
607
  const testRegexes = Array.isArray(rawConfig.testRegex)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/jest",
3
- "version": "23.3.0-beta.7",
3
+ "version": "23.3.0-beta.8",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "files": [
@@ -105,8 +105,8 @@
105
105
  "dependencies": {
106
106
  "@jest/reporters": "^30.0.2",
107
107
  "@jest/test-result": "^30.0.2",
108
- "@nx/devkit": "23.3.0-beta.7",
109
- "@nx/js": "23.3.0-beta.7",
108
+ "@nx/devkit": "23.3.0-beta.8",
109
+ "@nx/js": "23.3.0-beta.8",
110
110
  "@phenomnomnominal/tsquery": "~6.2.0",
111
111
  "identity-obj-proxy": "3.0.0",
112
112
  "jest-config": "^30.0.2",
@@ -121,7 +121,7 @@
121
121
  "yargs-parser": "21.1.1"
122
122
  },
123
123
  "devDependencies": {
124
- "nx": "23.3.0-beta.7"
124
+ "nx": "23.3.0-beta.8"
125
125
  },
126
126
  "publishConfig": {
127
127
  "access": "public"