@storm-software/unbuild 0.49.44 → 0.49.45
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/bin/unbuild.cjs +14 -13
- package/bin/unbuild.js +14 -13
- package/dist/build.cjs +7 -7
- package/dist/build.js +6 -6
- package/dist/{chunk-SGP6BUJQ.cjs → chunk-3VPYTMTW.cjs} +2 -2
- package/dist/{chunk-TWJO45XW.js → chunk-53SRQU7L.js} +1 -1
- package/dist/{chunk-DGJFFRFH.cjs → chunk-54EG7SKF.cjs} +3 -3
- package/dist/{chunk-TPCOWOWK.js → chunk-5XUMKFT5.js} +14 -13
- package/dist/{chunk-VT6DJF6W.js → chunk-A7SWPWEN.js} +5 -5
- package/dist/{chunk-XNEAB4RQ.cjs → chunk-BZNI2S2Q.cjs} +3 -3
- package/dist/{chunk-ILCF5AV5.js → chunk-H5FYDIRN.js} +1 -1
- package/dist/{chunk-IX57XUC6.js → chunk-IY4HAK7O.js} +1 -1
- package/dist/{chunk-6ZKWJ5VK.js → chunk-ODWQ5IQY.js} +1 -1
- package/dist/{chunk-5LIOQAOY.cjs → chunk-PCQ64N2Q.cjs} +2 -2
- package/dist/{chunk-JTL64DIV.cjs → chunk-X4VXBY3D.cjs} +105 -105
- package/dist/{chunk-WLUG56XM.cjs → chunk-ZT6C6XEL.cjs} +14 -13
- package/dist/clean.cjs +3 -3
- package/dist/clean.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/dist/plugins/analyze.cjs +3 -3
- package/dist/plugins/analyze.js +2 -2
- package/dist/plugins/on-error.cjs +3 -3
- package/dist/plugins/on-error.js +2 -2
- package/dist/plugins/tsc.cjs +3 -3
- package/dist/plugins/tsc.js +2 -2
- package/package.json +4 -4
|
@@ -291,7 +291,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
291
291
|
positive: PositiveColorSchema,
|
|
292
292
|
negative: NegativeColorSchema
|
|
293
293
|
});
|
|
294
|
-
var RegistryUrlConfigSchema = z.
|
|
294
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
295
295
|
var RegistryConfigSchema = z.object({
|
|
296
296
|
github: RegistryUrlConfigSchema,
|
|
297
297
|
npm: RegistryUrlConfigSchema,
|
|
@@ -318,7 +318,7 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
318
318
|
name: z.string().trim().default("stormie-bot").describe(
|
|
319
319
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
320
320
|
),
|
|
321
|
-
email: z.
|
|
321
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
322
322
|
}).describe(
|
|
323
323
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
324
324
|
);
|
|
@@ -361,19 +361,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
361
361
|
);
|
|
362
362
|
var errorConfigSchema = z.object({
|
|
363
363
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
364
|
-
url: z.
|
|
364
|
+
url: z.url().optional().describe(
|
|
365
365
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
366
366
|
)
|
|
367
367
|
}).describe("The workspace's error config used during the error process");
|
|
368
368
|
var organizationConfigSchema = z.object({
|
|
369
369
|
name: z.string().trim().describe("The name of the organization"),
|
|
370
370
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
371
|
-
logo: z.
|
|
372
|
-
icon: z.
|
|
373
|
-
url: z.
|
|
371
|
+
logo: z.url().optional().describe("A URL to the organization's logo image"),
|
|
372
|
+
icon: z.url().optional().describe("A URL to the organization's icon image"),
|
|
373
|
+
url: z.url().optional().describe(
|
|
374
374
|
"A URL to a page that provides more information about the organization"
|
|
375
375
|
)
|
|
376
376
|
}).describe("The workspace's organization details");
|
|
377
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
377
378
|
var stormWorkspaceConfigSchema = z.object({
|
|
378
379
|
$schema: z.string().trim().default(
|
|
379
380
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -390,12 +391,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
390
391
|
),
|
|
391
392
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
392
393
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
393
|
-
homepage: z.
|
|
394
|
-
docs: z.
|
|
395
|
-
portal: z.
|
|
396
|
-
licensing: z.
|
|
397
|
-
contact: z.
|
|
398
|
-
support: z.
|
|
394
|
+
homepage: z.url().optional().describe("The homepage of the workspace"),
|
|
395
|
+
docs: z.url().optional().describe("The documentation site for the workspace"),
|
|
396
|
+
portal: z.url().optional().describe("The development portal site for the workspace"),
|
|
397
|
+
licensing: z.url().optional().describe("The licensing site for the workspace"),
|
|
398
|
+
contact: z.url().optional().describe("The contact site for the workspace"),
|
|
399
|
+
support: z.url().optional().describe(
|
|
399
400
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
400
401
|
),
|
|
401
402
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -405,7 +406,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
405
406
|
release: WorkspaceReleaseConfigSchema,
|
|
406
407
|
socials: WorkspaceSocialsConfigSchema,
|
|
407
408
|
error: errorConfigSchema,
|
|
408
|
-
mode: z.enum(
|
|
409
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
409
410
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
410
411
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
411
412
|
directories: WorkspaceDirectoryConfigSchema,
|
package/dist/clean.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk54EG7SKFcjs = require('./chunk-54EG7SKF.cjs');
|
|
5
|
+
require('./chunk-ZT6C6XEL.cjs');
|
|
6
6
|
require('./chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.clean =
|
|
10
|
+
exports.clean = _chunk54EG7SKFcjs.clean; exports.cleanDirectories = _chunk54EG7SKFcjs.cleanDirectories;
|
package/dist/clean.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkX4VXBY3Dcjs = require('./chunk-X4VXBY3D.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk54EG7SKFcjs = require('./chunk-54EG7SKF.cjs');
|
|
13
13
|
require('./chunk-SFZRYJZ2.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-PCQ64N2Q.cjs');
|
|
15
|
+
require('./chunk-BZNI2S2Q.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunk3VPYTMTWcjs = require('./chunk-3VPYTMTW.cjs');
|
|
20
|
+
require('./chunk-ZT6C6XEL.cjs');
|
|
21
21
|
require('./chunk-OBGZSXTJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.build =
|
|
33
|
+
exports.build = _chunkX4VXBY3Dcjs.build; exports.clean = _chunk54EG7SKFcjs.clean; exports.cleanDirectories = _chunk54EG7SKFcjs.cleanDirectories; exports.cleanOutputPath = _chunkX4VXBY3Dcjs.cleanOutputPath; exports.copyBuildAssets = _chunkX4VXBY3Dcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunk3VPYTMTWcjs.createTsCompilerOptions; exports.executeUnbuild = _chunkX4VXBY3Dcjs.executeUnbuild; exports.generatePackageJson = _chunkX4VXBY3Dcjs.generatePackageJson; exports.loadConfig = _chunk3VPYTMTWcjs.loadConfig; exports.resolveOptions = _chunkX4VXBY3Dcjs.resolveOptions;
|
package/dist/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
executeUnbuild,
|
|
6
6
|
generatePackageJson,
|
|
7
7
|
resolveOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-A7SWPWEN.js";
|
|
9
9
|
import {
|
|
10
10
|
clean,
|
|
11
11
|
cleanDirectories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-H5FYDIRN.js";
|
|
13
13
|
import "./chunk-GGNOJ77I.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ODWQ5IQY.js";
|
|
15
|
+
import "./chunk-IY4HAK7O.js";
|
|
16
16
|
import {
|
|
17
17
|
createTsCompilerOptions,
|
|
18
18
|
loadConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-53SRQU7L.js";
|
|
20
|
+
import "./chunk-5XUMKFT5.js";
|
|
21
21
|
import "./chunk-3RG5ZIWI.js";
|
|
22
22
|
export {
|
|
23
23
|
build,
|
package/dist/plugins/analyze.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkPCQ64N2Qcjs = require('../chunk-PCQ64N2Q.cjs');
|
|
4
|
+
require('../chunk-ZT6C6XEL.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyzePlugin =
|
|
8
|
+
exports.analyzePlugin = _chunkPCQ64N2Qcjs.analyzePlugin;
|
package/dist/plugins/analyze.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkBZNI2S2Qcjs = require('../chunk-BZNI2S2Q.cjs');
|
|
4
|
+
require('../chunk-ZT6C6XEL.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.onErrorPlugin =
|
|
8
|
+
exports.onErrorPlugin = _chunkBZNI2S2Qcjs.onErrorPlugin;
|
package/dist/plugins/on-error.js
CHANGED
package/dist/plugins/tsc.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk3VPYTMTWcjs = require('../chunk-3VPYTMTW.cjs');
|
|
4
|
+
require('../chunk-ZT6C6XEL.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tscPlugin =
|
|
8
|
+
exports.tscPlugin = _chunk3VPYTMTWcjs.tscPlugin;
|
package/dist/plugins/tsc.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/unbuild",
|
|
3
|
-
"version": "0.49.
|
|
3
|
+
"version": "0.49.45",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
},
|
|
149
149
|
"dependencies": {
|
|
150
150
|
"@storm-software/build-tools": "^0.151.22",
|
|
151
|
-
"@storm-software/config": "^1.125.
|
|
152
|
-
"@storm-software/config-tools": "^1.176.
|
|
151
|
+
"@storm-software/config": "^1.125.9",
|
|
152
|
+
"@storm-software/config-tools": "^1.176.10",
|
|
153
153
|
"commander": "^12.1.0",
|
|
154
154
|
"defu": "6.1.4",
|
|
155
155
|
"esbuild": "^0.25.0",
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
},
|
|
172
172
|
"publishConfig": { "access": "public" },
|
|
173
173
|
"sideEffects": false,
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "ceaae9b6ba69f4bca0927a4d2e3084ee5fc4e71a"
|
|
175
175
|
}
|