@nx/esbuild 23.2.0-beta.3 → 23.2.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.
|
@@ -114,7 +114,7 @@ function buildEsbuildOptions(format, options, context) {
|
|
|
114
114
|
* @param context ExecutorContext
|
|
115
115
|
*/
|
|
116
116
|
function createPathsFromTsConfigReferences(context) {
|
|
117
|
-
const { findAllProjectNodeDependencies
|
|
117
|
+
const { findAllProjectNodeDependencies } = require('@nx/devkit/internal');
|
|
118
118
|
const { isValidPackageJsonBuildConfig, findRuntimeTsConfigName, } = require('@nx/js/internal');
|
|
119
119
|
const { readTsConfig } = require('@nx/js');
|
|
120
120
|
const deps = findAllProjectNodeDependencies(context.projectName, context.projectGraph);
|
|
@@ -6,7 +6,6 @@ const devkit_1 = require("@nx/devkit");
|
|
|
6
6
|
const js_1 = require("@nx/js");
|
|
7
7
|
const internal_2 = require("@nx/js/internal");
|
|
8
8
|
const posix_1 = require("node:path/posix");
|
|
9
|
-
const devkit_internals_1 = require("nx/src/devkit-internals");
|
|
10
9
|
const build_esbuild_options_1 = require("../../executors/esbuild/lib/build-esbuild-options");
|
|
11
10
|
const assert_supported_esbuild_version_1 = require("../../utils/assert-supported-esbuild-version");
|
|
12
11
|
const init_1 = require("../init/init");
|
|
@@ -110,7 +109,7 @@ function updatePackageJson(tree, options, isTsSolutionSetup) {
|
|
|
110
109
|
if (isTsSolutionSetup) {
|
|
111
110
|
const nxJson = (0, devkit_1.readNxJson)(tree);
|
|
112
111
|
const projectTarget = project.targets[options.buildTarget];
|
|
113
|
-
const mergedTarget = (0,
|
|
112
|
+
const mergedTarget = (0, internal_1.mergeTargetConfigurations)(projectTarget, (0, internal_1.readTargetDefaultsForTarget)(options.buildTarget, nxJson.targetDefaults, projectTarget.executor));
|
|
114
113
|
const { declarationRootDir = '.', main, outputPath, outputFileName,
|
|
115
114
|
// the executor option defaults to [esm]
|
|
116
115
|
format = ['esm'], esbuildOptions, } = mergedTarget.options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/esbuild",
|
|
3
|
-
"version": "23.2.0-beta.
|
|
3
|
+
"version": "23.2.0-beta.5",
|
|
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.2.0-beta.
|
|
48
|
-
"@nx/js": "23.2.0-beta.
|
|
47
|
+
"@nx/devkit": "23.2.0-beta.5",
|
|
48
|
+
"@nx/js": "23.2.0-beta.5"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"nx": "23.2.0-beta.
|
|
51
|
+
"nx": "23.2.0-beta.5"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"esbuild": ">=0.19.2 <1.0.0"
|