@storm-software/unbuild 0.49.43 → 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 +16 -16
- package/bin/unbuild.js +16 -16
- package/dist/build.cjs +7 -7
- package/dist/build.js +6 -6
- package/dist/{chunk-DBA3KANT.cjs → chunk-3VPYTMTW.cjs} +2 -2
- package/dist/{chunk-5XOAK534.js → chunk-53SRQU7L.js} +1 -1
- package/dist/{chunk-BOURL2AF.cjs → chunk-54EG7SKF.cjs} +3 -3
- package/dist/{chunk-PN4YHJFZ.js → chunk-5XUMKFT5.js} +16 -16
- package/dist/{chunk-IZRYGG3N.js → chunk-A7SWPWEN.js} +5 -5
- package/dist/{chunk-7CTYKC3M.cjs → chunk-BZNI2S2Q.cjs} +3 -3
- package/dist/{chunk-NE22YS5A.js → chunk-H5FYDIRN.js} +1 -1
- package/dist/{chunk-SFZ4V2LD.js → chunk-IY4HAK7O.js} +1 -1
- package/dist/{chunk-HPUTMCFR.js → chunk-ODWQ5IQY.js} +1 -1
- package/dist/{chunk-5KAGDMCA.cjs → chunk-PCQ64N2Q.cjs} +2 -2
- package/dist/{chunk-7PQTY6BQ.cjs → chunk-X4VXBY3D.cjs} +105 -105
- package/dist/{chunk-FMIGI6JG.cjs → chunk-ZT6C6XEL.cjs} +16 -16
- 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 +5 -5
|
@@ -208,7 +208,6 @@ var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
|
208
208
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
209
209
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
210
210
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
211
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
212
211
|
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
213
212
|
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
214
213
|
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
@@ -292,7 +291,7 @@ var SingleThemeColorConfigSchema = z.object({
|
|
|
292
291
|
positive: PositiveColorSchema,
|
|
293
292
|
negative: NegativeColorSchema
|
|
294
293
|
});
|
|
295
|
-
var RegistryUrlConfigSchema = z.
|
|
294
|
+
var RegistryUrlConfigSchema = z.url().optional().describe("A remote registry URL used to publish distributable packages");
|
|
296
295
|
var RegistryConfigSchema = z.object({
|
|
297
296
|
github: RegistryUrlConfigSchema,
|
|
298
297
|
npm: RegistryUrlConfigSchema,
|
|
@@ -319,18 +318,18 @@ var WorkspaceBotConfigSchema = z.object({
|
|
|
319
318
|
name: z.string().trim().default("stormie-bot").describe(
|
|
320
319
|
"The workspace bot user's name (this is the bot that will be used to perform various tasks)"
|
|
321
320
|
),
|
|
322
|
-
email: z.
|
|
321
|
+
email: z.email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
|
|
323
322
|
}).describe(
|
|
324
323
|
"The workspace's bot user's config used to automated various operations tasks"
|
|
325
324
|
);
|
|
326
325
|
var WorkspaceReleaseConfigSchema = z.object({
|
|
327
|
-
banner: z.string().trim().
|
|
326
|
+
banner: z.string().trim().optional().describe(
|
|
328
327
|
"A URL to a banner image used to display the workspace's release"
|
|
329
328
|
),
|
|
330
329
|
header: z.string().trim().optional().describe(
|
|
331
330
|
"A header message appended to the start of the workspace's release notes"
|
|
332
331
|
),
|
|
333
|
-
footer: z.string().trim().
|
|
332
|
+
footer: z.string().trim().optional().describe(
|
|
334
333
|
"A footer message appended to the end of the workspace's release notes"
|
|
335
334
|
)
|
|
336
335
|
}).describe("The workspace's release config used during the release process");
|
|
@@ -362,19 +361,20 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
362
361
|
);
|
|
363
362
|
var errorConfigSchema = z.object({
|
|
364
363
|
codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
|
|
365
|
-
url: z.
|
|
364
|
+
url: z.url().optional().describe(
|
|
366
365
|
"A URL to a page that looks up the workspace's error messages given a specific error code"
|
|
367
366
|
)
|
|
368
367
|
}).describe("The workspace's error config used during the error process");
|
|
369
368
|
var organizationConfigSchema = z.object({
|
|
370
369
|
name: z.string().trim().describe("The name of the organization"),
|
|
371
370
|
description: z.string().trim().optional().describe("A description of the organization"),
|
|
372
|
-
logo: z.
|
|
373
|
-
icon: z.
|
|
374
|
-
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(
|
|
375
374
|
"A URL to a page that provides more information about the organization"
|
|
376
375
|
)
|
|
377
376
|
}).describe("The workspace's organization details");
|
|
377
|
+
var MODE_OPTIONS = ["development", "staging", "production"];
|
|
378
378
|
var stormWorkspaceConfigSchema = z.object({
|
|
379
379
|
$schema: z.string().trim().default(
|
|
380
380
|
"https://public.storm-cdn.com/schemas/storm-workspace.schema.json"
|
|
@@ -391,12 +391,12 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
391
391
|
),
|
|
392
392
|
repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
393
393
|
license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
394
|
-
homepage: z.
|
|
395
|
-
docs: z.
|
|
396
|
-
portal: z.
|
|
397
|
-
licensing: z.
|
|
398
|
-
contact: z.
|
|
399
|
-
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(
|
|
400
400
|
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
401
401
|
),
|
|
402
402
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
@@ -406,7 +406,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
406
406
|
release: WorkspaceReleaseConfigSchema,
|
|
407
407
|
socials: WorkspaceSocialsConfigSchema,
|
|
408
408
|
error: errorConfigSchema,
|
|
409
|
-
mode: z.enum(
|
|
409
|
+
mode: z.enum(MODE_OPTIONS).prefault("production").describe("The current runtime environment mode for the package"),
|
|
410
410
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
411
411
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
412
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": {
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
"typescript": { "optional": false }
|
|
148
148
|
},
|
|
149
149
|
"dependencies": {
|
|
150
|
-
"@storm-software/build-tools": "^0.151.
|
|
151
|
-
"@storm-software/config": "^1.125.
|
|
152
|
-
"@storm-software/config-tools": "^1.176.
|
|
150
|
+
"@storm-software/build-tools": "^0.151.22",
|
|
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
|
}
|