@nx/esbuild 23.0.1 → 23.0.2

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.
@@ -170,7 +170,10 @@ function getTypeCheckOptions(options, context) {
170
170
  };
171
171
  if (watch) {
172
172
  typeCheckOptions.incremental = true;
173
- typeCheckOptions.cacheDir = devkit_1.cacheDir;
173
+ // Scope the incremental .tsbuildinfo per project (in its own subdir, not
174
+ // alongside Nx's cache files) so concurrent serves don't collide on a
175
+ // single file.
176
+ typeCheckOptions.cacheDir = (0, path_1.join)(devkit_1.cacheDir, 'esbuild', projectRoot);
174
177
  }
175
178
  if (options.isTsSolutionSetup && options.skipTypeCheck) {
176
179
  typeCheckOptions.ignoreDiagnostics = true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/esbuild",
3
- "version": "23.0.1",
3
+ "version": "23.0.2",
4
4
  "private": false,
5
5
  "description": "The Nx Plugin for esbuild contains executors and generators that support building applications using esbuild",
6
6
  "repository": {
@@ -44,11 +44,11 @@
44
44
  "picocolors": "^1.1.0",
45
45
  "tsconfig-paths": "^4.1.2",
46
46
  "tslib": "^2.3.0",
47
- "@nx/devkit": "23.0.1",
48
- "@nx/js": "23.0.1"
47
+ "@nx/devkit": "23.0.2",
48
+ "@nx/js": "23.0.2"
49
49
  },
50
50
  "devDependencies": {
51
- "nx": "23.0.1"
51
+ "nx": "23.0.2"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "esbuild": ">=0.19.2 <1.0.0"