@nx/js 19.2.0-beta.5 → 19.2.0-beta.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "19.2.0-beta.5",
3
+ "version": "19.2.0-beta.7",
4
4
  "private": false,
5
5
  "description": "The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects. ",
6
6
  "repository": {
@@ -58,9 +58,9 @@
58
58
  "semver": "^7.5.3",
59
59
  "source-map-support": "0.5.19",
60
60
  "tslib": "^2.3.0",
61
- "@nx/devkit": "19.2.0-beta.5",
62
- "@nx/workspace": "19.2.0-beta.5",
63
- "@nrwl/js": "19.2.0-beta.5"
61
+ "@nx/devkit": "19.2.0-beta.7",
62
+ "@nx/workspace": "19.2.0-beta.7",
63
+ "@nrwl/js": "19.2.0-beta.7"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "verdaccio": "^5.0.4"
@@ -31,7 +31,7 @@ exports.createDependencies = createDependencies;
31
31
  exports.PLUGIN_NAME = '@nx/js/typescript';
32
32
  exports.createNodes = [
33
33
  '**/tsconfig*.json',
34
- (configFilePath, options, context) => {
34
+ async (configFilePath, options, context) => {
35
35
  const pluginOptions = normalizePluginOptions(options);
36
36
  const projectRoot = (0, node_path_1.dirname)(configFilePath);
37
37
  const fullConfigPath = (0, devkit_1.joinPathFragments)(context.workspaceRoot, configFilePath);
@@ -46,7 +46,7 @@ exports.createNodes = [
46
46
  !siblingFiles.includes('tsconfig.json')) {
47
47
  return {};
48
48
  }
49
- const nodeHash = (0, calculate_hash_for_create_nodes_1.calculateHashForCreateNodes)(projectRoot, pluginOptions, context, [(0, lock_file_1.getLockFileName)((0, devkit_1.detectPackageManager)(context.workspaceRoot))]);
49
+ const nodeHash = await (0, calculate_hash_for_create_nodes_1.calculateHashForCreateNodes)(projectRoot, pluginOptions, context, [(0, lock_file_1.getLockFileName)((0, devkit_1.detectPackageManager)(context.workspaceRoot))]);
50
50
  // The hash is calculated at the node/project level, so we add the config file path to avoid conflicts when caching
51
51
  const cacheKey = `${nodeHash}_${configFilePath}`;
52
52
  targetsCache[cacheKey] ??= buildTscTargets(fullConfigPath, projectRoot, pluginOptions, context);