@nx/js 22.7.0-beta.3 → 22.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/js",
3
- "version": "22.7.0-beta.3",
3
+ "version": "22.7.0-beta.4",
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.3",
43
- "@nx/workspace": "22.7.0-beta.3",
42
+ "@nx/devkit": "22.7.0-beta.4",
43
+ "@nx/workspace": "22.7.0-beta.4",
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.3"
63
+ "nx": "22.7.0-beta.4"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "verdaccio": "^6.0.5"
@@ -257,7 +257,7 @@ function buildTscTargets(config, options, context, configFiles, cache) {
257
257
  const targetName = options.typecheck.targetName;
258
258
  const compiler = options.compiler;
259
259
  if (!targets[targetName]) {
260
- let command = `${compiler} --build --emitDeclarationOnly${options.verboseOutput ? ' --verbose' : ''}`;
260
+ let command = `${compiler} --build ${options.typecheck.configName} --emitDeclarationOnly${options.verboseOutput ? ' --verbose' : ''}`;
261
261
  if (tsConfig.options.noEmit ||
262
262
  Object.values(internalProjectReferences).some((ref) => ref.options.noEmit) ||
263
263
  Object.values(externalProjectReferences).some((ref) => ref.options.noEmit)) {