@storm-software/esbuild 0.45.33 → 0.45.35
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 +4 -4
- package/dist/assets.js +3 -3
- package/dist/build.cjs +11 -11
- package/dist/build.js +10 -10
- package/dist/{chunk-GD76CWEA.js → chunk-2AWVC6X5.js} +2 -2
- package/dist/{chunk-GXQJB55J.js → chunk-4FXR6W7A.js} +1 -1
- package/dist/{chunk-XJWGSNJT.cjs → chunk-4NRTYAXV.cjs} +10 -10
- package/dist/{chunk-OFR366KG.js → chunk-743OULVJ.js} +3 -3
- package/dist/{chunk-37AHB5O4.js → chunk-BHTSZ3OC.js} +15 -14
- package/dist/{chunk-AY3HKJHF.cjs → chunk-EUNN7CTQ.cjs} +3 -3
- package/dist/{chunk-ZCPQOG5F.cjs → chunk-GEBGKMNA.cjs} +3 -3
- package/dist/{chunk-ILOWHFBJ.cjs → chunk-I25COYDM.cjs} +5 -5
- package/dist/{chunk-G4GM4MVC.js → chunk-IHYQAKT7.js} +1 -1
- package/dist/{chunk-TQSJDD34.cjs → chunk-JVGDWPWJ.cjs} +30 -30
- package/dist/{chunk-DSYWIV63.js → chunk-LGJYDWSE.js} +1 -1
- package/dist/{chunk-AG65ZUF3.cjs → chunk-MYPKJND6.cjs} +22 -22
- package/dist/{chunk-WHHFV6RT.js → chunk-NCEGAKDE.js} +1 -1
- package/dist/{chunk-A4AI2XWS.js → chunk-NNGDKSC6.js} +1 -1
- package/dist/{chunk-JI6XIWB6.cjs → chunk-PG4QLVGR.cjs} +6 -6
- package/dist/{chunk-U5CERGWL.cjs → chunk-T267QVFT.cjs} +3 -3
- package/dist/{chunk-KF7YYFOX.cjs → chunk-UUNKOIQ6.cjs} +15 -14
- package/dist/{chunk-SSJELIR6.js → chunk-WSFMEQU5.js} +7 -7
- package/dist/{chunk-XEBZEDDJ.js → chunk-ZBQJCJM4.js} +2 -2
- package/dist/{chunk-5ZQGVLPO.cjs → chunk-ZRBA3CSO.cjs} +3 -3
- package/dist/clean.cjs +3 -3
- package/dist/clean.js +2 -2
- package/dist/config.cjs +4 -4
- package/dist/config.js +3 -3
- package/dist/context.cjs +5 -5
- package/dist/context.js +4 -4
- package/dist/index.cjs +11 -11
- package/dist/index.js +10 -10
- package/dist/package-json.cjs +4 -4
- package/dist/package-json.js +3 -3
- package/dist/plugins/deps-check.cjs +3 -3
- package/dist/plugins/deps-check.js +2 -2
- package/dist/tsup.cjs +3 -3
- package/dist/tsup.js +2 -2
- package/dist/watch.cjs +3 -3
- package/dist/watch.js +1 -1
- package/package.json +5 -5
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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
|
-
var
|
|
3
|
+
var _chunkEUNN7CTQcjs = require('./chunk-EUNN7CTQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkI25COYDMcjs = require('./chunk-I25COYDM.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkGEBGKMNAcjs = require('./chunk-GEBGKMNA.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk4NRTYAXVcjs = require('./chunk-4NRTYAXV.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkPG4QLVGRcjs = require('./chunk-PG4QLVGR.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkT267QVFTcjs = require('./chunk-T267QVFT.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@ var _chunkU5CERGWLcjs = require('./chunk-U5CERGWL.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkUUNKOIQ6cjs = require('./chunk-UUNKOIQ6.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
@@ -35,17 +35,17 @@ var _globby = require('globby');
|
|
|
35
35
|
async function reportResults(context) {
|
|
36
36
|
if (_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) === 0) {
|
|
37
37
|
if (context.result.warnings.length > 0) {
|
|
38
|
-
|
|
38
|
+
_chunkUUNKOIQ6cjs.writeWarning.call(void 0,
|
|
39
39
|
` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
|
|
40
40
|
context.workspaceConfig
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
_chunkUUNKOIQ6cjs.writeSuccess.call(void 0,
|
|
44
44
|
` \u{1F4E6} The ${context.options.name} build completed successfully`,
|
|
45
45
|
context.workspaceConfig
|
|
46
46
|
);
|
|
47
47
|
} else if (_optionalChain([context, 'access', _4 => _4.result, 'optionalAccess', _5 => _5.errors]) && _optionalChain([context, 'access', _6 => _6.result, 'optionalAccess', _7 => _7.errors, 'access', _8 => _8.length]) > 0) {
|
|
48
|
-
|
|
48
|
+
_chunkUUNKOIQ6cjs.writeError.call(void 0,
|
|
49
49
|
` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
|
|
50
50
|
context.workspaceConfig
|
|
51
51
|
);
|
|
@@ -74,7 +74,7 @@ async function dependencyCheck(options) {
|
|
|
74
74
|
write: false,
|
|
75
75
|
// no need to write for analysis
|
|
76
76
|
outdir: "out",
|
|
77
|
-
plugins: [
|
|
77
|
+
plugins: [_chunkEUNN7CTQcjs.depsCheckPlugin.call(void 0, options.bundle)]
|
|
78
78
|
});
|
|
79
79
|
await buildPromise.catch(() => {
|
|
80
80
|
});
|
|
@@ -82,36 +82,36 @@ async function dependencyCheck(options) {
|
|
|
82
82
|
}
|
|
83
83
|
async function cleanOutputPath(context) {
|
|
84
84
|
if (context.clean !== false && context.outputPath) {
|
|
85
|
-
|
|
85
|
+
_chunkUUNKOIQ6cjs.writeDebug.call(void 0,
|
|
86
86
|
` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
|
|
87
87
|
context.workspaceConfig
|
|
88
88
|
);
|
|
89
|
-
const stopwatch =
|
|
90
|
-
await
|
|
89
|
+
const stopwatch = _chunkUUNKOIQ6cjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
|
|
90
|
+
await _chunkGEBGKMNAcjs.cleanDirectories.call(void 0, context.outputPath);
|
|
91
91
|
stopwatch();
|
|
92
92
|
}
|
|
93
93
|
return context;
|
|
94
94
|
}
|
|
95
95
|
async function build2(options) {
|
|
96
|
-
|
|
97
|
-
const stopwatch =
|
|
96
|
+
_chunkUUNKOIQ6cjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
|
|
97
|
+
const stopwatch = _chunkUUNKOIQ6cjs.getStopwatch.call(void 0, "ESBuild pipeline");
|
|
98
98
|
try {
|
|
99
99
|
const opts = Array.isArray(options) ? options : [options];
|
|
100
100
|
if (opts.length === 0) {
|
|
101
101
|
throw new Error("No build options were provided");
|
|
102
102
|
}
|
|
103
|
-
const context = await
|
|
103
|
+
const context = await _chunk4NRTYAXVcjs.resolveContext.call(void 0, options);
|
|
104
104
|
await cleanOutputPath(context);
|
|
105
105
|
await Promise.all([
|
|
106
106
|
dependencyCheck(context.options),
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
_chunkPG4QLVGRcjs.generatePackageJson.call(void 0, context),
|
|
108
|
+
_chunkI25COYDMcjs.copyBuildAssets.call(void 0, context),
|
|
109
|
+
_chunkT267QVFTcjs.executeTsup.call(void 0, context)
|
|
110
110
|
]);
|
|
111
111
|
await reportResults(context);
|
|
112
|
-
|
|
112
|
+
_chunkUUNKOIQ6cjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
|
|
113
113
|
} catch (error) {
|
|
114
|
-
|
|
114
|
+
_chunkUUNKOIQ6cjs.writeFatal.call(void 0,
|
|
115
115
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated."
|
|
116
116
|
);
|
|
117
117
|
throw error;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkJVGDWPWJcjs = require('./chunk-JVGDWPWJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkUUNKOIQ6cjs = require('./chunk-UUNKOIQ6.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
|
|
@@ -20,8 +20,8 @@ var _fs = require('fs');
|
|
|
20
20
|
var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(_promises);
|
|
21
21
|
async function generatePackageJson(context) {
|
|
22
22
|
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkREAX6FSOcjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
23
|
-
|
|
24
|
-
const stopwatch =
|
|
23
|
+
_chunkUUNKOIQ6cjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
24
|
+
const stopwatch = _chunkUUNKOIQ6cjs.getStopwatch.call(void 0, "Write package.json file");
|
|
25
25
|
const packageJsonPath = _chunkREAX6FSOcjs.joinPaths.call(void 0,
|
|
26
26
|
context.options.projectRoot,
|
|
27
27
|
"project.json"
|
|
@@ -41,13 +41,13 @@ async function generatePackageJson(context) {
|
|
|
41
41
|
if (!packageJson) {
|
|
42
42
|
throw new Error("Cannot find package.json configuration file");
|
|
43
43
|
}
|
|
44
|
-
packageJson = await
|
|
44
|
+
packageJson = await _chunkJVGDWPWJcjs.addPackageDependencies.call(void 0,
|
|
45
45
|
context.workspaceConfig.workspaceRoot,
|
|
46
46
|
context.options.projectRoot,
|
|
47
47
|
context.projectName,
|
|
48
48
|
packageJson
|
|
49
49
|
);
|
|
50
|
-
packageJson = await
|
|
50
|
+
packageJson = await _chunkJVGDWPWJcjs.addWorkspacePackageJsonFields.call(void 0,
|
|
51
51
|
context.workspaceConfig,
|
|
52
52
|
context.options.projectRoot,
|
|
53
53
|
context.sourceRoot,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard2(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce2(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain2(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; } var _class2;
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkUUNKOIQ6cjs = require('./chunk-UUNKOIQ6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkREAX6FSOcjs = require('./chunk-REAX6FSO.cjs');
|
|
@@ -2668,11 +2668,11 @@ module.exports = exports.default;
|
|
|
2668
2668
|
_chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
2669
2669
|
var import_tsup = _chunk4ICWACJMcjs.__toESM.call(void 0, require_dist(), 1);
|
|
2670
2670
|
async function executeTsup(context) {
|
|
2671
|
-
|
|
2671
|
+
_chunkUUNKOIQ6cjs.writeDebug.call(void 0,
|
|
2672
2672
|
` \u{1F680} Running ${context.options.name} build`,
|
|
2673
2673
|
context.workspaceConfig
|
|
2674
2674
|
);
|
|
2675
|
-
const stopwatch =
|
|
2675
|
+
const stopwatch = _chunkUUNKOIQ6cjs.getStopwatch.call(void 0, `${context.options.name} build`);
|
|
2676
2676
|
await (0, import_tsup.build)({
|
|
2677
2677
|
...context.options,
|
|
2678
2678
|
outDir: context.options.distDir ? _chunkREAX6FSOcjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
@@ -67,7 +67,7 @@ _chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
|
67
67
|
|
|
68
68
|
// ../config/src/schema.ts
|
|
69
69
|
_chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
70
|
-
var
|
|
70
|
+
var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
|
|
71
71
|
var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
72
72
|
var LightColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
73
73
|
var BrandColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
|
|
@@ -134,7 +134,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
134
134
|
positive: PositiveColorSchema,
|
|
135
135
|
negative: NegativeColorSchema
|
|
136
136
|
});
|
|
137
|
-
var RegistryUrlConfigSchema = z.
|
|
137
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
138
138
|
var RegistryConfigSchema = z.object({
|
|
139
139
|
github: RegistryUrlConfigSchema,
|
|
140
140
|
npm: RegistryUrlConfigSchema,
|
|
@@ -161,7 +161,7 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
161
161
|
name: z.string().trim().default("stormie-bot").describe(
|
|
162
162
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
163
163
|
),
|
|
164
|
-
email: z.
|
|
164
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
165
165
|
}).describe(
|
|
166
166
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
167
167
|
);
|
|
@@ -204,19 +204,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
204
204
|
);
|
|
205
205
|
var errorConfigSchema = z.object({
|
|
206
206
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
207
|
-
url: z.
|
|
207
|
+
url: z.url().optional().describe(
|
|
208
208
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
209
209
|
)
|
|
210
210
|
}).describe("The workspace's error config used during the error process");
|
|
211
211
|
var organizationConfigSchema = z.object({
|
|
212
212
|
name: z.string().trim().describe("The name of the organization"),
|
|
213
213
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
214
|
-
logo: z.
|
|
215
|
-
icon: z.
|
|
216
|
-
url: z.
|
|
214
|
+
logo: z.url().optional().describe("A URL to the organization's logo image"),
|
|
215
|
+
icon: z.url().optional().describe("A URL to the organization's icon image"),
|
|
216
|
+
url: z.url().optional().describe(
|
|
217
217
|
"A URL to a page that provides more information about the organization"
|
|
218
218
|
)
|
|
219
219
|
}).describe("The workspace's organization details");
|
|
220
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
220
221
|
var stormWorkspaceConfigSchema = z.object({
|
|
221
222
|
$schema: z.string().trim().default(
|
|
222
223
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -233,12 +234,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
233
234
|
),
|
|
234
235
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
235
236
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
236
|
-
homepage: z.
|
|
237
|
-
docs: z.
|
|
238
|
-
portal: z.
|
|
239
|
-
licensing: z.
|
|
240
|
-
contact: z.
|
|
241
|
-
support: z.
|
|
237
|
+
homepage: z.url().optional().describe("The homepage of the workspace"),
|
|
238
|
+
docs: z.url().optional().describe("The documentation site for the workspace"),
|
|
239
|
+
portal: z.url().optional().describe("The development portal site for the workspace"),
|
|
240
|
+
licensing: z.url().optional().describe("The licensing site for the workspace"),
|
|
241
|
+
contact: z.url().optional().describe("The contact site for the workspace"),
|
|
242
|
+
support: z.url().optional().describe(
|
|
242
243
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
243
244
|
),
|
|
244
245
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -248,7 +249,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
248
249
|
release: WorkspaceReleaseConfigSchema,
|
|
249
250
|
socials: WorkspaceSocialsConfigSchema,
|
|
250
251
|
error: errorConfigSchema,
|
|
251
|
-
mode: z.enum(
|
|
252
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
252
253
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
253
254
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
254
255
|
directories: WorkspaceDirectoryConfigSchema,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
depsCheckPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LGJYDWSE.js";
|
|
4
4
|
import {
|
|
5
5
|
copyBuildAssets
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2AWVC6X5.js";
|
|
7
7
|
import {
|
|
8
8
|
cleanDirectories
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4FXR6W7A.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveContext
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-743OULVJ.js";
|
|
13
13
|
import {
|
|
14
14
|
generatePackageJson
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZBQJCJM4.js";
|
|
16
16
|
import {
|
|
17
17
|
executeTsup
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NNGDKSC6.js";
|
|
19
19
|
import {
|
|
20
20
|
getStopwatch,
|
|
21
21
|
writeDebug,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
writeFatal,
|
|
24
24
|
writeSuccess,
|
|
25
25
|
writeWarning
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BHTSZ3OC.js";
|
|
27
27
|
import {
|
|
28
28
|
init_esm_shims
|
|
29
29
|
} from "./chunk-GL7N7ANS.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addPackageDependencies,
|
|
3
3
|
addWorkspacePackageJsonFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IHYQAKT7.js";
|
|
5
5
|
import {
|
|
6
6
|
getStopwatch,
|
|
7
7
|
writeDebug
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BHTSZ3OC.js";
|
|
9
9
|
import {
|
|
10
10
|
joinPaths
|
|
11
11
|
} from "./chunk-A7I6K5HC.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkJVGDWPWJcjs = require('./chunk-JVGDWPWJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
@@ -44,8 +44,8 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
44
44
|
".woff2": "file"
|
|
45
45
|
},
|
|
46
46
|
banner: {
|
|
47
|
-
js:
|
|
48
|
-
css:
|
|
47
|
+
js: _chunkJVGDWPWJcjs.DEFAULT_COMPILED_BANNER,
|
|
48
|
+
css: _chunkJVGDWPWJcjs.DEFAULT_COMPILED_BANNER
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
|
package/dist/clean.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkGEBGKMNAcjs = require('./chunk-GEBGKMNA.cjs');
|
|
5
|
+
require('./chunk-UUNKOIQ6.cjs');
|
|
6
6
|
require('./chunk-REAX6FSO.cjs');
|
|
7
7
|
require('./chunk-4ICWACJM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.clean =
|
|
11
|
+
exports.clean = _chunkGEBGKMNAcjs.clean; exports.cleanDirectories = _chunkGEBGKMNAcjs.cleanDirectories;
|
package/dist/clean.js
CHANGED
package/dist/config.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkZRBA3CSOcjs = require('./chunk-ZRBA3CSO.cjs');
|
|
4
|
+
require('./chunk-JVGDWPWJ.cjs');
|
|
5
|
+
require('./chunk-UUNKOIQ6.cjs');
|
|
6
6
|
require('./chunk-REAX6FSO.cjs');
|
|
7
7
|
require('./chunk-4ICWACJM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.DEFAULT_BUILD_OPTIONS =
|
|
10
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkZRBA3CSOcjs.DEFAULT_BUILD_OPTIONS;
|
package/dist/config.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BUILD_OPTIONS
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NCEGAKDE.js";
|
|
4
|
+
import "./chunk-IHYQAKT7.js";
|
|
5
|
+
import "./chunk-BHTSZ3OC.js";
|
|
6
6
|
import "./chunk-A7I6K5HC.js";
|
|
7
7
|
import "./chunk-GL7N7ANS.js";
|
|
8
8
|
export {
|
package/dist/context.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 _chunk4NRTYAXVcjs = require('./chunk-4NRTYAXV.cjs');
|
|
4
|
+
require('./chunk-ZRBA3CSO.cjs');
|
|
5
|
+
require('./chunk-JVGDWPWJ.cjs');
|
|
6
|
+
require('./chunk-UUNKOIQ6.cjs');
|
|
7
7
|
require('./chunk-REAX6FSO.cjs');
|
|
8
8
|
require('./chunk-4ICWACJM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.resolveContext =
|
|
11
|
+
exports.resolveContext = _chunk4NRTYAXVcjs.resolveContext;
|
package/dist/context.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-743OULVJ.js";
|
|
4
|
+
import "./chunk-NCEGAKDE.js";
|
|
5
|
+
import "./chunk-IHYQAKT7.js";
|
|
6
|
+
import "./chunk-BHTSZ3OC.js";
|
|
7
7
|
import "./chunk-A7I6K5HC.js";
|
|
8
8
|
import "./chunk-GL7N7ANS.js";
|
|
9
9
|
export {
|
package/dist/index.cjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-JCXAR46G.cjs');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
4
|
+
var _chunkMYPKJND6cjs = require('./chunk-MYPKJND6.cjs');
|
|
5
|
+
require('./chunk-EUNN7CTQ.cjs');
|
|
6
|
+
require('./chunk-I25COYDM.cjs');
|
|
7
|
+
require('./chunk-GEBGKMNA.cjs');
|
|
8
|
+
require('./chunk-4NRTYAXV.cjs');
|
|
9
|
+
require('./chunk-ZRBA3CSO.cjs');
|
|
10
|
+
require('./chunk-PG4QLVGR.cjs');
|
|
11
|
+
require('./chunk-JVGDWPWJ.cjs');
|
|
12
|
+
require('./chunk-T267QVFT.cjs');
|
|
13
|
+
require('./chunk-UUNKOIQ6.cjs');
|
|
14
14
|
require('./chunk-REAX6FSO.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -20,4 +20,4 @@ var _chunk4ICWACJMcjs = require('./chunk-4ICWACJM.cjs');
|
|
|
20
20
|
_chunk4ICWACJMcjs.init_cjs_shims.call(void 0, );
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
exports.build =
|
|
23
|
+
exports.build = _chunkMYPKJND6cjs.build;
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./chunk-45F6WZFO.js";
|
|
2
2
|
import {
|
|
3
3
|
build
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-WSFMEQU5.js";
|
|
5
|
+
import "./chunk-LGJYDWSE.js";
|
|
6
|
+
import "./chunk-2AWVC6X5.js";
|
|
7
|
+
import "./chunk-4FXR6W7A.js";
|
|
8
|
+
import "./chunk-743OULVJ.js";
|
|
9
|
+
import "./chunk-NCEGAKDE.js";
|
|
10
|
+
import "./chunk-ZBQJCJM4.js";
|
|
11
|
+
import "./chunk-IHYQAKT7.js";
|
|
12
|
+
import "./chunk-NNGDKSC6.js";
|
|
13
|
+
import "./chunk-BHTSZ3OC.js";
|
|
14
14
|
import "./chunk-A7I6K5HC.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esm_shims
|
package/dist/package-json.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var _chunkPG4QLVGRcjs = require('./chunk-PG4QLVGR.cjs');
|
|
4
|
+
require('./chunk-JVGDWPWJ.cjs');
|
|
5
|
+
require('./chunk-UUNKOIQ6.cjs');
|
|
6
6
|
require('./chunk-REAX6FSO.cjs');
|
|
7
7
|
require('./chunk-4ICWACJM.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.generatePackageJson =
|
|
10
|
+
exports.generatePackageJson = _chunkPG4QLVGRcjs.generatePackageJson;
|
package/dist/package-json.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generatePackageJson
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-ZBQJCJM4.js";
|
|
4
|
+
import "./chunk-IHYQAKT7.js";
|
|
5
|
+
import "./chunk-BHTSZ3OC.js";
|
|
6
6
|
import "./chunk-A7I6K5HC.js";
|
|
7
7
|
import "./chunk-GL7N7ANS.js";
|
|
8
8
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkEUNN7CTQcjs = require('../chunk-EUNN7CTQ.cjs');
|
|
4
|
+
require('../chunk-UUNKOIQ6.cjs');
|
|
5
5
|
require('../chunk-REAX6FSO.cjs');
|
|
6
6
|
require('../chunk-4ICWACJM.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.depsCheckPlugin =
|
|
9
|
+
exports.depsCheckPlugin = _chunkEUNN7CTQcjs.depsCheckPlugin;
|
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-
|
|
3
|
+
var _chunkT267QVFTcjs = require('./chunk-T267QVFT.cjs');
|
|
4
|
+
require('./chunk-UUNKOIQ6.cjs');
|
|
5
5
|
require('./chunk-REAX6FSO.cjs');
|
|
6
6
|
require('./chunk-4ICWACJM.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.executeTsup =
|
|
9
|
+
exports.executeTsup = _chunkT267QVFTcjs.executeTsup;
|
package/dist/tsup.js
CHANGED
package/dist/watch.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkUUNKOIQ6cjs = require('./chunk-UUNKOIQ6.cjs');
|
|
5
5
|
require('./chunk-REAX6FSO.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
@@ -93,9 +93,9 @@ var watch = (context, options) => {
|
|
|
93
93
|
return context.rebuild();
|
|
94
94
|
});
|
|
95
95
|
if (rebuildResult instanceof Error) {
|
|
96
|
-
|
|
96
|
+
_chunkUUNKOIQ6cjs.writeError.call(void 0, rebuildResult.message);
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
_chunkUUNKOIQ6cjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
|
|
99
99
|
}, 10);
|
|
100
100
|
changeWatcher.on("change", fastRebuild);
|
|
101
101
|
return void 0;
|