@nx/js 22.7.0-beta.4 → 22.7.0-beta.5

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": "22.7.0-beta.4",
3
+ "version": "22.7.0-beta.5",
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": {
@@ -39,8 +39,8 @@
39
39
  "@babel/preset-env": "^7.23.2",
40
40
  "@babel/preset-typescript": "^7.22.5",
41
41
  "@babel/runtime": "^7.22.6",
42
- "@nx/devkit": "22.7.0-beta.4",
43
- "@nx/workspace": "22.7.0-beta.4",
42
+ "@nx/devkit": "22.7.0-beta.5",
43
+ "@nx/workspace": "22.7.0-beta.5",
44
44
  "@zkochan/js-yaml": "0.0.7",
45
45
  "babel-plugin-const-enum": "^1.0.1",
46
46
  "babel-plugin-macros": "^3.1.0",
@@ -60,7 +60,7 @@
60
60
  "tslib": "^2.3.0"
61
61
  },
62
62
  "devDependencies": {
63
- "nx": "22.7.0-beta.4"
63
+ "nx": "22.7.0-beta.5"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "verdaccio": "^6.0.5"
@@ -460,11 +460,15 @@ function getInputs(namedInputs, config, tsConfig, internalProjectReferences, wor
460
460
  // the source files of dependencies. This correctly tracks build outputs from
461
461
  // both external project references and same-project task dependencies (e.g.
462
462
  // build-native producing .d.ts files that may be excluded from file watching
463
- // via .nxignore).
463
+ // via .nxignore. "*.d.ts" are also read from the deps projects sources.
464
464
  inputs.push({
465
465
  dependentTasksOutputFiles: '**/*.{d.ts,tsbuildinfo}',
466
466
  transitive: true,
467
467
  });
468
+ inputs.push({
469
+ fileset: '**/*.d.ts',
470
+ dependencies: true,
471
+ });
468
472
  const externalRefPatterns = getExternalProjectReferenceTsconfigPatterns(tsConfig, internalProjectReferences, workspaceRoot, config.project, cache);
469
473
  inputs.push(...externalRefPatterns);
470
474
  // inputs.push({ externalDependencies });