@nx/maven 23.0.0-beta.4 → 23.0.0-beta.6

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.
@@ -17,7 +17,7 @@ function readMavenCache(cachePath) {
17
17
  * Write the Maven targets cache to disk
18
18
  */
19
19
  function writeMavenCache(cachePath, cache) {
20
- cache.writeToDisk(cachePath);
20
+ cache.writeToDisk();
21
21
  }
22
22
  /**
23
23
  * Get the cache path for a given options hash
@@ -1 +1 @@
1
- {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/plugins/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,aAAa,EAAa,MAAM,YAAY,CAAC;AAE3E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAW9D;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,kBAAkB,CA+EzD,CAAC"}
1
+ {"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../src/plugins/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,aAAa,EAAa,MAAM,YAAY,CAAC;AAG3E,OAAO,EAAmB,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAU9D;;GAEG;AACH,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,kBAAkB,CA+EzD,CAAC"}
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.createNodes = void 0;
4
4
  const devkit_1 = require("@nx/devkit");
5
+ const internal_1 = require("@nx/devkit/internal");
5
6
  const path_1 = require("path");
6
7
  const types_1 = require("./types");
7
8
  const maven_analyzer_1 = require("./maven-analyzer");
8
9
  const maven_data_cache_1 = require("./maven-data-cache");
9
- const calculate_hash_for_create_nodes_1 = require("@nx/devkit/src/utils/calculate-hash-for-create-nodes");
10
10
  const devkit_internals_1 = require("nx/src/devkit-internals");
11
11
  /**
12
12
  * Maven plugin that analyzes Maven projects and returns configurations
@@ -34,7 +34,7 @@ exports.createNodes = [
34
34
  const mavenCache = (0, maven_data_cache_1.readMavenCache)(cachePath);
35
35
  // Calculate hashes for all pom.xml directories
36
36
  const projectRoots = configFiles.map((file) => (0, path_1.dirname)(file));
37
- const hashes = await (0, calculate_hash_for_create_nodes_1.calculateHashesForCreateNodes)(projectRoots, opts, context);
37
+ const hashes = await (0, internal_1.calculateHashesForCreateNodes)(projectRoots, opts, context);
38
38
  // Combine all hashes into a single hash for the cache key
39
39
  const hash = (0, devkit_1.hashArray)(hashes);
40
40
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/maven",
3
- "version": "23.0.0-beta.4",
3
+ "version": "23.0.0-beta.6",
4
4
  "private": false,
5
5
  "description": "Nx plugin for Maven integration",
6
6
  "repository": {
@@ -47,7 +47,7 @@
47
47
  "author": "Victor Savkin",
48
48
  "license": "MIT",
49
49
  "dependencies": {
50
- "@nx/devkit": "23.0.0-beta.4",
50
+ "@nx/devkit": "23.0.0-beta.6",
51
51
  "@xmldom/xmldom": "^0.8.10",
52
52
  "tree-kill": "^1.2.2",
53
53
  "tslib": "^2.3.0"
@@ -58,7 +58,7 @@
58
58
  "@types/xmldom": "^0.1.34",
59
59
  "jest": "^30.0.2",
60
60
  "memfs": "^4.9.2",
61
- "nx": "23.0.0-beta.4",
61
+ "nx": "23.0.0-beta.6",
62
62
  "ts-jest": "^29.4.0",
63
63
  "typescript": "~5.9.2"
64
64
  },