@nx/esbuild 22.7.0-beta.1 → 22.7.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nx/esbuild",
3
- "version": "22.7.0-beta.1",
3
+ "version": "22.7.0-beta.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": {
@@ -31,15 +31,15 @@
31
31
  "migrations": "./migrations.json"
32
32
  },
33
33
  "dependencies": {
34
- "@nx/devkit": "22.7.0-beta.1",
35
- "@nx/js": "22.7.0-beta.1",
34
+ "@nx/devkit": "22.7.0-beta.2",
35
+ "@nx/js": "22.7.0-beta.2",
36
36
  "tinyglobby": "^0.2.12",
37
37
  "picocolors": "^1.1.0",
38
38
  "tsconfig-paths": "^4.1.2",
39
39
  "tslib": "^2.3.0"
40
40
  },
41
41
  "devDependencies": {
42
- "nx": "22.7.0-beta.1"
42
+ "nx": "22.7.0-beta.2"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "esbuild": ">=0.19.2 <1.0.0"
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.esbuildExecutor = esbuildExecutor;
4
- const pc = require("picocolors");
4
+ const tslib_1 = require("tslib");
5
+ const pc = tslib_1.__importStar(require("picocolors"));
5
6
  const devkit_1 = require("@nx/devkit");
6
7
  const js_1 = require("@nx/js");
7
- const esbuild = require("esbuild");
8
+ const esbuild = tslib_1.__importStar(require("esbuild"));
8
9
  const normalize_1 = require("./lib/normalize");
9
10
  const async_iterable_1 = require("@nx/devkit/src/utils/async-iterable");
10
11
  const build_esbuild_options_1 = require("./lib/build-esbuild-options");
@@ -5,7 +5,8 @@ exports.createPathsFromTsConfigReferences = createPathsFromTsConfigReferences;
5
5
  exports.getOutExtension = getOutExtension;
6
6
  exports.getOutfile = getOutfile;
7
7
  exports.getRegisterFileContent = getRegisterFileContent;
8
- const path = require("path");
8
+ const tslib_1 = require("tslib");
9
+ const path = tslib_1.__importStar(require("path"));
9
10
  const fs_1 = require("fs");
10
11
  const devkit_1 = require("@nx/devkit");
11
12
  const environment_variables_1 = require("../../../utils/environment-variables");
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeOptions = normalizeOptions;
4
+ const tslib_1 = require("tslib");
4
5
  const devkit_1 = require("@nx/devkit");
5
6
  const js_1 = require("@nx/js");
6
7
  const ts_solution_setup_1 = require("@nx/js/src/utils/typescript/ts-solution-setup");
7
- const fs = require("fs");
8
- const path = require("path");
9
- const pc = require("picocolors");
8
+ const fs = tslib_1.__importStar(require("fs"));
9
+ const path = tslib_1.__importStar(require("path"));
10
+ const pc = tslib_1.__importStar(require("picocolors"));
10
11
  function normalizeOptions(options, context) {
11
12
  const isTsSolutionSetup = (0, ts_solution_setup_1.isUsingTsSolutionSetup)();
12
13
  if (isTsSolutionSetup && options.generatePackageJson) {
package/src/utils/fs.js CHANGED
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.deleteOutputDir = deleteOutputDir;
4
- const path = require("path");
4
+ const tslib_1 = require("tslib");
5
+ const path = tslib_1.__importStar(require("path"));
5
6
  const node_fs_1 = require("node:fs");
6
7
  /**
7
8
  * Delete an output directory, but error out if it's the root of the project.
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getEntryPoints = getEntryPoints;
4
+ const tslib_1 = require("tslib");
4
5
  const devkit_1 = require("@nx/devkit");
5
- const fs = require("fs");
6
- const path = require("path");
6
+ const fs = tslib_1.__importStar(require("fs"));
7
+ const path = tslib_1.__importStar(require("path"));
7
8
  const tinyglobby_1 = require("tinyglobby");
8
9
  function getEntryPoints(projectName, context, options = {}) {
9
10
  const entryPoints = options.initialEntryPoints