@storm-software/esbuild 0.52.12 → 0.52.14
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/README.md +1 -1
- package/dist/assets.cjs +6 -6
- package/dist/assets.js +5 -5
- package/dist/build.cjs +12 -12
- package/dist/build.js +11 -11
- package/dist/{chunk-SS2NY2C2.cjs → chunk-2L54ILHX.cjs} +84 -84
- package/dist/{chunk-I6VTNFRZ.js → chunk-7ZTMQYTT.js} +4 -4
- package/dist/{chunk-BCGGARB3.js → chunk-BPHVVWJT.js} +5 -5
- package/dist/{chunk-2QXFSRAF.cjs → chunk-BVRST334.cjs} +13 -13
- package/dist/{chunk-VOPA6ZB6.js → chunk-FFZBZL47.js} +1 -1
- package/dist/{chunk-IP4RKOPW.cjs → chunk-G53N7L55.cjs} +7 -7
- package/dist/{chunk-J7I2B2MG.js → chunk-HYDELWWF.js} +3 -3
- package/dist/{chunk-DXF3SHE2.cjs → chunk-ICOKMIEE.cjs} +2 -2
- package/dist/chunk-INZHNX3U.cjs +6 -0
- package/dist/{chunk-KC5I2XWN.js → chunk-J3FCZTF5.js} +2 -2
- package/dist/{chunk-XU2VOLXQ.js → chunk-J7A2YH6N.js} +15 -15
- package/dist/{chunk-GFXF5BGV.cjs → chunk-JRSGHCES.cjs} +5 -5
- package/dist/{chunk-VM7WWYAX.cjs → chunk-OHAZ3HIK.cjs} +64 -64
- package/dist/{chunk-MWMCOQDP.js → chunk-POUQ5NZC.js} +1 -1
- package/dist/{chunk-QSJEBMWA.cjs → chunk-QBUEFQ3J.cjs} +18 -18
- package/dist/{chunk-YVLHGLIN.js → chunk-T7IVOYWH.js} +7 -7
- package/dist/{chunk-ZGOI3C2F.js → chunk-UH6JHS7B.js} +2 -2
- package/dist/{chunk-K2H2KZFG.cjs → chunk-V37ECS3F.cjs} +2 -2
- package/dist/{chunk-HYYNZI4T.js → chunk-VG46VBBH.js} +2 -2
- package/dist/{chunk-ZEVCEFMJ.cjs → chunk-VN4UVHEC.cjs} +22 -22
- package/dist/{chunk-L466AIOZ.js → chunk-VSRVATRW.js} +1 -1
- package/dist/{chunk-SUGRXG2Z.cjs → chunk-XAY7MYTA.cjs} +5 -5
- package/dist/{chunk-YVJBECUO.js → chunk-XPPNMEUW.js} +3 -3
- package/dist/{chunk-7MTBTT5Y.cjs → chunk-Y4RXLOEB.cjs} +9 -9
- package/dist/clean.cjs +4 -4
- package/dist/clean.js +3 -3
- package/dist/config.cjs +6 -6
- package/dist/config.js +5 -5
- package/dist/context.cjs +7 -7
- package/dist/context.js +6 -6
- package/dist/index.cjs +14 -14
- package/dist/index.js +12 -12
- package/dist/package-json.cjs +6 -6
- package/dist/package-json.js +5 -5
- package/dist/plugins/deps-check.cjs +6 -6
- package/dist/plugins/deps-check.js +2 -2
- package/dist/plugins/resolve-paths.cjs +11 -11
- package/dist/plugins/resolve-paths.js +2 -2
- package/dist/tsup.cjs +5 -5
- package/dist/tsup.js +4 -4
- package/dist/types.cjs +2 -2
- package/dist/types.js +2 -2
- package/dist/watch.cjs +6 -6
- package/dist/watch.js +2 -2
- package/package.json +5 -5
- package/dist/chunk-YVUW3GEH.cjs +0 -6
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkY4RXLOEBcjs = require('../chunk-Y4RXLOEB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkICOKMIEEcjs = require('../chunk-ICOKMIEE.cjs');
|
|
9
9
|
|
|
10
10
|
// src/plugins/deps-check.ts
|
|
11
|
-
|
|
11
|
+
_chunkICOKMIEEcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _module = require('module');
|
|
13
13
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
14
14
|
var unusedIgnore = [
|
|
@@ -40,7 +40,7 @@ var depsCheckPlugin = (bundle) => ({
|
|
|
40
40
|
name: "storm:deps-check",
|
|
41
41
|
setup(build) {
|
|
42
42
|
const pkgJsonPath = _path2.default.join(process.cwd(), "package.json");
|
|
43
|
-
const pkgContents =
|
|
43
|
+
const pkgContents = _chunkICOKMIEEcjs.__require.call(void 0, pkgJsonPath);
|
|
44
44
|
const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
|
|
45
45
|
const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
|
|
46
46
|
const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
|
|
@@ -75,10 +75,10 @@ var depsCheckPlugin = (bundle) => ({
|
|
|
75
75
|
const filteredMissingDeps = missingDependencies.filter((dep) => {
|
|
76
76
|
return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
|
|
77
77
|
});
|
|
78
|
-
|
|
78
|
+
_chunkY4RXLOEBcjs.writeWarning.call(void 0,
|
|
79
79
|
`Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
|
|
80
80
|
);
|
|
81
|
-
|
|
81
|
+
_chunkY4RXLOEBcjs.writeError.call(void 0,
|
|
82
82
|
`Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
|
|
83
83
|
);
|
|
84
84
|
if (filteredMissingDeps.length > 0) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeWarning
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-FFZBZL47.js";
|
|
5
5
|
import {
|
|
6
6
|
__require,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-VG46VBBH.js";
|
|
9
9
|
|
|
10
10
|
// src/plugins/deps-check.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkV37ECS3Fcjs = require('../chunk-V37ECS3F.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkICOKMIEEcjs = require('../chunk-ICOKMIEE.cjs');
|
|
9
9
|
|
|
10
10
|
// src/plugins/resolve-paths.ts
|
|
11
|
-
|
|
11
|
+
_chunkICOKMIEEcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
|
|
13
13
|
// ../config-tools/src/utilities/file-path-utils.ts
|
|
14
|
-
|
|
14
|
+
_chunkICOKMIEEcjs.init_cjs_shims.call(void 0, );
|
|
15
15
|
function findFileName(filePath, { requireExtension, withExtension } = {}) {
|
|
16
|
-
const result = _nullishCoalesce(_optionalChain([
|
|
16
|
+
const result = _nullishCoalesce(_optionalChain([_chunkV37ECS3Fcjs.normalizeWindowsPath.call(void 0, filePath), 'optionalAccess', _ => _.split, 'call', _2 => _2(_optionalChain([filePath, 'optionalAccess', _3 => _3.includes, 'call', _4 => _4("\\")]) ? "\\" : "/"), 'optionalAccess', _5 => _5.pop, 'call', _6 => _6()]), () => ( ""));
|
|
17
17
|
if (requireExtension === true && !result.includes(".")) {
|
|
18
18
|
return "";
|
|
19
19
|
}
|
|
@@ -23,7 +23,7 @@ function findFileName(filePath, { requireExtension, withExtension } = {}) {
|
|
|
23
23
|
return result;
|
|
24
24
|
}
|
|
25
25
|
function findFilePath(filePath) {
|
|
26
|
-
const normalizedPath =
|
|
26
|
+
const normalizedPath = _chunkV37ECS3Fcjs.normalizeWindowsPath.call(void 0, filePath);
|
|
27
27
|
return normalizedPath.replace(
|
|
28
28
|
findFileName(normalizedPath, { requireExtension: true }),
|
|
29
29
|
""
|
|
@@ -42,10 +42,10 @@ function resolvePathsConfig(options, cwd, projectRoot) {
|
|
|
42
42
|
}
|
|
43
43
|
if (options.extends) {
|
|
44
44
|
const extendsPath = _path2.default.resolve(
|
|
45
|
-
projectRoot ?
|
|
45
|
+
projectRoot ? _chunkV37ECS3Fcjs.joinPaths.call(void 0, cwd, projectRoot, options.extends) : _chunkV37ECS3Fcjs.joinPaths.call(void 0, cwd, options.extends)
|
|
46
46
|
);
|
|
47
47
|
const extendsDir = _path2.default.dirname(extendsPath);
|
|
48
|
-
const extendsConfig =
|
|
48
|
+
const extendsConfig = _chunkICOKMIEEcjs.__require.call(void 0, extendsPath);
|
|
49
49
|
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
50
50
|
}
|
|
51
51
|
return [];
|
|
@@ -53,13 +53,13 @@ function resolvePathsConfig(options, cwd, projectRoot) {
|
|
|
53
53
|
var resolvePathsPlugin = (context) => ({
|
|
54
54
|
name: "storm:resolve-paths",
|
|
55
55
|
setup(build) {
|
|
56
|
-
const parentTsConfig = build.initialOptions.tsconfig ?
|
|
56
|
+
const parentTsConfig = build.initialOptions.tsconfig ? _chunkICOKMIEEcjs.__require.call(void 0, _chunkV37ECS3Fcjs.joinPaths.call(void 0,
|
|
57
57
|
context.workspaceConfig.workspaceRoot,
|
|
58
58
|
build.initialOptions.tsconfig.replace(
|
|
59
59
|
context.workspaceConfig.workspaceRoot,
|
|
60
60
|
""
|
|
61
61
|
)
|
|
62
|
-
)) :
|
|
62
|
+
)) : _chunkICOKMIEEcjs.__require.call(void 0, _chunkV37ECS3Fcjs.joinPaths.call(void 0, context.workspaceConfig.workspaceRoot, "tsconfig.json"));
|
|
63
63
|
const resolvedTsPaths = resolvePathsConfig(
|
|
64
64
|
parentTsConfig,
|
|
65
65
|
context.workspaceConfig.workspaceRoot,
|
|
@@ -76,7 +76,7 @@ var resolvePathsPlugin = (context) => ({
|
|
|
76
76
|
if (resolvedPath.endsWith(".ts") || resolvedPath.endsWith(".tsx")) {
|
|
77
77
|
resolvedPath = findFilePath(resolvedPath);
|
|
78
78
|
}
|
|
79
|
-
return { path:
|
|
79
|
+
return { path: _chunkV37ECS3Fcjs.joinPaths.call(void 0, resolvedPath, "index.ts") };
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
joinPaths,
|
|
3
3
|
normalizeWindowsPath
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-POUQ5NZC.js";
|
|
5
5
|
import {
|
|
6
6
|
__require,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-VG46VBBH.js";
|
|
9
9
|
|
|
10
10
|
// src/plugins/resolve-paths.ts
|
|
11
11
|
init_esm_shims();
|
package/dist/tsup.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var _chunkOHAZ3HIKcjs = require('./chunk-OHAZ3HIK.cjs');
|
|
4
|
+
require('./chunk-V37ECS3F.cjs');
|
|
5
|
+
require('./chunk-Y4RXLOEB.cjs');
|
|
6
|
+
require('./chunk-ICOKMIEE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.executeTsup =
|
|
9
|
+
exports.executeTsup = _chunkOHAZ3HIKcjs.executeTsup;
|
package/dist/tsup.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeTsup
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-J7A2YH6N.js";
|
|
4
|
+
import "./chunk-POUQ5NZC.js";
|
|
5
|
+
import "./chunk-FFZBZL47.js";
|
|
6
|
+
import "./chunk-VG46VBBH.js";
|
|
7
7
|
export {
|
|
8
8
|
executeTsup
|
|
9
9
|
};
|
package/dist/types.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";require('./chunk-
|
|
2
|
-
require('./chunk-
|
|
1
|
+
"use strict";require('./chunk-INZHNX3U.cjs');
|
|
2
|
+
require('./chunk-ICOKMIEE.cjs');
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./chunk-
|
|
2
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-VSRVATRW.js";
|
|
2
|
+
import "./chunk-VG46VBBH.js";
|
package/dist/watch.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkY4RXLOEBcjs = require('./chunk-Y4RXLOEB.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkICOKMIEEcjs = require('./chunk-ICOKMIEE.cjs');
|
|
8
8
|
|
|
9
9
|
// src/watch.ts
|
|
10
|
-
|
|
10
|
+
_chunkICOKMIEEcjs.init_cjs_shims.call(void 0, );
|
|
11
11
|
var _chokidar = require('chokidar');
|
|
12
12
|
var _estoolkit = require('es-toolkit');
|
|
13
13
|
|
|
14
14
|
// src/utilities/helpers.ts
|
|
15
|
-
|
|
15
|
+
_chunkICOKMIEEcjs.init_cjs_shims.call(void 0, );
|
|
16
16
|
function handleSync(fn) {
|
|
17
17
|
try {
|
|
18
18
|
return fn();
|
|
@@ -92,9 +92,9 @@ var watch = (context, options) => {
|
|
|
92
92
|
return context.rebuild();
|
|
93
93
|
});
|
|
94
94
|
if (rebuildResult instanceof Error) {
|
|
95
|
-
|
|
95
|
+
_chunkY4RXLOEBcjs.writeError.call(void 0, rebuildResult.message);
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
_chunkY4RXLOEBcjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
|
|
98
98
|
}, 10);
|
|
99
99
|
changeWatcher.on("change", fastRebuild);
|
|
100
100
|
return void 0;
|
package/dist/watch.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/esbuild",
|
|
3
|
-
"version": "0.52.
|
|
3
|
+
"version": "0.52.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `esbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -186,9 +186,9 @@
|
|
|
186
186
|
"dependencies": {
|
|
187
187
|
"@nx/devkit": "^21.4.1",
|
|
188
188
|
"@nx/js": "^21.4.1",
|
|
189
|
-
"@storm-software/build-tools": "^0.157.
|
|
190
|
-
"@storm-software/config": "^1.133.
|
|
191
|
-
"@storm-software/config-tools": "^1.187.
|
|
189
|
+
"@storm-software/build-tools": "^0.157.2",
|
|
190
|
+
"@storm-software/config": "^1.133.4",
|
|
191
|
+
"@storm-software/config-tools": "^1.187.9",
|
|
192
192
|
"chokidar": "^4.0.3",
|
|
193
193
|
"commander": "^12.1.0",
|
|
194
194
|
"defu": "6.1.4",
|
|
@@ -204,5 +204,5 @@
|
|
|
204
204
|
},
|
|
205
205
|
"publishConfig": { "access": "public" },
|
|
206
206
|
"sideEffects": false,
|
|
207
|
-
"gitHead": "
|
|
207
|
+
"gitHead": "0841267dc509f78180467408b62a1b9f5abd6c43"
|
|
208
208
|
}
|