@nx/jest 19.5.0-beta.2 → 19.5.0-beta.4
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 +1 -1
- package/package.json +4 -4
- package/src/plugins/plugin.js +2 -2
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ npx nx@latest init
|
|
|
61
61
|
- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
|
|
62
62
|
- [Intro to Nx](https://nx.dev/getting-started/intro)
|
|
63
63
|
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
64
|
-
- [Blog Posts About Nx](https://
|
|
64
|
+
- [Blog Posts About Nx](https://nx.dev/blog)
|
|
65
65
|
|
|
66
66
|
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
67
67
|
width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/jest",
|
|
3
|
-
"version": "19.5.0-beta.
|
|
3
|
+
"version": "19.5.0-beta.4",
|
|
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": "^29.4.1",
|
|
39
39
|
"@jest/test-result": "^29.4.1",
|
|
40
|
-
"@nx/devkit": "19.5.0-beta.
|
|
41
|
-
"@nx/js": "19.5.0-beta.
|
|
40
|
+
"@nx/devkit": "19.5.0-beta.4",
|
|
41
|
+
"@nx/js": "19.5.0-beta.4",
|
|
42
42
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
43
43
|
"chalk": "^4.1.0",
|
|
44
44
|
"identity-obj-proxy": "3.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"resolve.exports": "1.1.0",
|
|
50
50
|
"tslib": "^2.3.0",
|
|
51
51
|
"yargs-parser": "21.1.1",
|
|
52
|
-
"@nrwl/jest": "19.5.0-beta.
|
|
52
|
+
"@nrwl/jest": "19.5.0-beta.4"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
package/src/plugins/plugin.js
CHANGED
|
@@ -10,7 +10,7 @@ const jest_resolve_1 = require("jest-resolve");
|
|
|
10
10
|
const cache_directory_1 = require("nx/src/utils/cache-directory");
|
|
11
11
|
const calculate_hash_for_create_nodes_1 = require("@nx/devkit/src/utils/calculate-hash-for-create-nodes");
|
|
12
12
|
const config_utils_1 = require("@nx/devkit/src/utils/config-utils");
|
|
13
|
-
const
|
|
13
|
+
const package_json_1 = require("nx/src/plugins/package-json");
|
|
14
14
|
const globs_1 = require("nx/src/utils/globs");
|
|
15
15
|
const minimatch_1 = require("minimatch");
|
|
16
16
|
const devkit_internals_1 = require("nx/src/devkit-internals");
|
|
@@ -49,7 +49,7 @@ exports.createNodes = [
|
|
|
49
49
|
];
|
|
50
50
|
async function createNodesInternal(configFilePath, options, context, targetsCache) {
|
|
51
51
|
const projectRoot = (0, path_1.dirname)(configFilePath);
|
|
52
|
-
const packageManagerWorkspacesGlob = (0, globs_1.combineGlobPatterns)((0,
|
|
52
|
+
const packageManagerWorkspacesGlob = (0, globs_1.combineGlobPatterns)((0, package_json_1.getGlobPatternsFromPackageManagerWorkspaces)(context.workspaceRoot));
|
|
53
53
|
// Do not create a project if package.json and project.json isn't there.
|
|
54
54
|
const siblingFiles = (0, fs_1.readdirSync)((0, path_1.join)(context.workspaceRoot, projectRoot));
|
|
55
55
|
if (!siblingFiles.includes('package.json') &&
|