@storm-software/unbuild 0.51.16 → 0.51.18

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 CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-0.51.14-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.51.16-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/bin/unbuild.cjs CHANGED
@@ -356,6 +356,13 @@ var workspaceDirectorySchema = z.object({
356
356
  schemaRegistry.add(workspaceDirectorySchema, {
357
357
  description: "Various directories used by the workspace to store data, cache, and configuration files"
358
358
  });
359
+ var variantSchema = z._default(
360
+ z.enum(["minimal", "monorepo"]),
361
+ "monorepo"
362
+ );
363
+ schemaRegistry.add(variantSchema, {
364
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
365
+ });
359
366
  var errorCodesFileSchema = z._default(
360
367
  z.string().check(z.trim()),
361
368
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -553,6 +560,7 @@ var workspaceConfigSchema = z.object({
553
560
  $schema: schemaNameSchema,
554
561
  extends: extendsSchema,
555
562
  name: nameSchema,
563
+ variant: variantSchema,
556
564
  namespace: namespaceSchema,
557
565
  organization: orgSchema,
558
566
  repository: repositorySchema,
@@ -1358,6 +1366,7 @@ var getConfigEnv = () => {
1358
1366
  let config = {
1359
1367
  extends: process.env[`${prefix}EXTENDS`] || void 0,
1360
1368
  name: process.env[`${prefix}NAME`] || void 0,
1369
+ variant: process.env[`${prefix}VARIANT`] || void 0,
1361
1370
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
1362
1371
  owner: process.env[`${prefix}OWNER`] || void 0,
1363
1372
  bot: {
@@ -1582,6 +1591,9 @@ var setConfigEnv = (config) => {
1582
1591
  if (config.name) {
1583
1592
  process.env[`${prefix}NAME`] = config.name;
1584
1593
  }
1594
+ if (config.variant) {
1595
+ process.env[`${prefix}VARIANT`] = config.variant;
1596
+ }
1585
1597
  if (config.namespace) {
1586
1598
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1587
1599
  }
package/bin/unbuild.js CHANGED
@@ -334,6 +334,13 @@ var workspaceDirectorySchema = z.object({
334
334
  schemaRegistry.add(workspaceDirectorySchema, {
335
335
  description: "Various directories used by the workspace to store data, cache, and configuration files"
336
336
  });
337
+ var variantSchema = z._default(
338
+ z.enum(["minimal", "monorepo"]),
339
+ "monorepo"
340
+ );
341
+ schemaRegistry.add(variantSchema, {
342
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
343
+ });
337
344
  var errorCodesFileSchema = z._default(
338
345
  z.string().check(z.trim()),
339
346
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -531,6 +538,7 @@ var workspaceConfigSchema = z.object({
531
538
  $schema: schemaNameSchema,
532
539
  extends: extendsSchema,
533
540
  name: nameSchema,
541
+ variant: variantSchema,
534
542
  namespace: namespaceSchema,
535
543
  organization: orgSchema,
536
544
  repository: repositorySchema,
@@ -1336,6 +1344,7 @@ var getConfigEnv = () => {
1336
1344
  let config = {
1337
1345
  extends: process.env[`${prefix}EXTENDS`] || void 0,
1338
1346
  name: process.env[`${prefix}NAME`] || void 0,
1347
+ variant: process.env[`${prefix}VARIANT`] || void 0,
1339
1348
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
1340
1349
  owner: process.env[`${prefix}OWNER`] || void 0,
1341
1350
  bot: {
@@ -1560,6 +1569,9 @@ var setConfigEnv = (config) => {
1560
1569
  if (config.name) {
1561
1570
  process.env[`${prefix}NAME`] = config.name;
1562
1571
  }
1572
+ if (config.variant) {
1573
+ process.env[`${prefix}VARIANT`] = config.variant;
1574
+ }
1563
1575
  if (config.namespace) {
1564
1576
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1565
1577
  }
package/dist/build.cjs CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkSBRM2MWTcjs = require('./chunk-SBRM2MWT.cjs');
8
+ var _chunkIE44IJPRcjs = require('./chunk-IE44IJPR.cjs');
9
9
  require('./chunk-5LYLEQEH.cjs');
10
10
  require('./chunk-XYM4DLHB.cjs');
11
11
  require('./chunk-ULVTNQE3.cjs');
@@ -19,4 +19,4 @@ require('./chunk-OBGZSXTJ.cjs');
19
19
 
20
20
 
21
21
 
22
- exports.build = _chunkSBRM2MWTcjs.build; exports.cleanOutputPath = _chunkSBRM2MWTcjs.cleanOutputPath; exports.copyBuildAssets = _chunkSBRM2MWTcjs.copyBuildAssets; exports.executeUnbuild = _chunkSBRM2MWTcjs.executeUnbuild; exports.generatePackageJson = _chunkSBRM2MWTcjs.generatePackageJson; exports.resolveOptions = _chunkSBRM2MWTcjs.resolveOptions;
22
+ exports.build = _chunkIE44IJPRcjs.build; exports.cleanOutputPath = _chunkIE44IJPRcjs.cleanOutputPath; exports.copyBuildAssets = _chunkIE44IJPRcjs.copyBuildAssets; exports.executeUnbuild = _chunkIE44IJPRcjs.executeUnbuild; exports.generatePackageJson = _chunkIE44IJPRcjs.generatePackageJson; exports.resolveOptions = _chunkIE44IJPRcjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-NJI2VF66.js";
8
+ } from "./chunk-GMJ7A3ZF.js";
9
9
  import "./chunk-QQE3PPKS.js";
10
10
  import "./chunk-OOFI7BOW.js";
11
11
  import "./chunk-NRCPBIXP.js";
@@ -830,6 +830,13 @@ var workspaceDirectorySchema = z.object({
830
830
  schemaRegistry.add(workspaceDirectorySchema, {
831
831
  description: "Various directories used by the workspace to store data, cache, and configuration files"
832
832
  });
833
+ var variantSchema = z._default(
834
+ z.enum(["minimal", "monorepo"]),
835
+ "monorepo"
836
+ );
837
+ schemaRegistry.add(variantSchema, {
838
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
839
+ });
833
840
  var errorCodesFileSchema = z._default(
834
841
  z.string().check(z.trim()),
835
842
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -1027,6 +1034,7 @@ var workspaceConfigSchema = z.object({
1027
1034
  $schema: schemaNameSchema,
1028
1035
  extends: extendsSchema,
1029
1036
  name: nameSchema,
1037
+ variant: variantSchema,
1030
1038
  namespace: namespaceSchema,
1031
1039
  organization: orgSchema,
1032
1040
  repository: repositorySchema,
@@ -1265,6 +1273,7 @@ var getConfigEnv = () => {
1265
1273
  let config = {
1266
1274
  extends: process.env[`${prefix}EXTENDS`] || void 0,
1267
1275
  name: process.env[`${prefix}NAME`] || void 0,
1276
+ variant: process.env[`${prefix}VARIANT`] || void 0,
1268
1277
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
1269
1278
  owner: process.env[`${prefix}OWNER`] || void 0,
1270
1279
  bot: {
@@ -1489,6 +1498,9 @@ var setConfigEnv = (config) => {
1489
1498
  if (config.name) {
1490
1499
  process.env[`${prefix}NAME`] = config.name;
1491
1500
  }
1501
+ if (config.variant) {
1502
+ process.env[`${prefix}VARIANT`] = config.variant;
1503
+ }
1492
1504
  if (config.namespace) {
1493
1505
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1494
1506
  }
@@ -830,6 +830,13 @@ var workspaceDirectorySchema = z.object({
830
830
  schemaRegistry.add(workspaceDirectorySchema, {
831
831
  description: "Various directories used by the workspace to store data, cache, and configuration files"
832
832
  });
833
+ var variantSchema = z._default(
834
+ z.enum(["minimal", "monorepo"]),
835
+ "monorepo"
836
+ );
837
+ schemaRegistry.add(variantSchema, {
838
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
839
+ });
833
840
  var errorCodesFileSchema = z._default(
834
841
  z.string().check(z.trim()),
835
842
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -1027,6 +1034,7 @@ var workspaceConfigSchema = z.object({
1027
1034
  $schema: schemaNameSchema,
1028
1035
  extends: extendsSchema,
1029
1036
  name: nameSchema,
1037
+ variant: variantSchema,
1030
1038
  namespace: namespaceSchema,
1031
1039
  organization: orgSchema,
1032
1040
  repository: repositorySchema,
@@ -1265,6 +1273,7 @@ var getConfigEnv = () => {
1265
1273
  let config = {
1266
1274
  extends: process.env[`${prefix}EXTENDS`] || void 0,
1267
1275
  name: process.env[`${prefix}NAME`] || void 0,
1276
+ variant: process.env[`${prefix}VARIANT`] || void 0,
1268
1277
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
1269
1278
  owner: process.env[`${prefix}OWNER`] || void 0,
1270
1279
  bot: {
@@ -1489,6 +1498,9 @@ var setConfigEnv = (config) => {
1489
1498
  if (config.name) {
1490
1499
  process.env[`${prefix}NAME`] = config.name;
1491
1500
  }
1501
+ if (config.variant) {
1502
+ process.env[`${prefix}VARIANT`] = config.variant;
1503
+ }
1492
1504
  if (config.namespace) {
1493
1505
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1494
1506
  }
package/dist/index.cjs CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkSBRM2MWTcjs = require('./chunk-SBRM2MWT.cjs');
8
+ var _chunkIE44IJPRcjs = require('./chunk-IE44IJPR.cjs');
9
9
 
10
10
 
11
11
 
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
30
30
 
31
31
 
32
32
 
33
- exports.build = _chunkSBRM2MWTcjs.build; exports.clean = _chunk5LYLEQEHcjs.clean; exports.cleanDirectories = _chunk5LYLEQEHcjs.cleanDirectories; exports.cleanOutputPath = _chunkSBRM2MWTcjs.cleanOutputPath; exports.copyBuildAssets = _chunkSBRM2MWTcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkQRSVSWU2cjs.createTsCompilerOptions; exports.executeUnbuild = _chunkSBRM2MWTcjs.executeUnbuild; exports.generatePackageJson = _chunkSBRM2MWTcjs.generatePackageJson; exports.loadConfig = _chunkQRSVSWU2cjs.loadConfig; exports.resolveOptions = _chunkSBRM2MWTcjs.resolveOptions;
33
+ exports.build = _chunkIE44IJPRcjs.build; exports.clean = _chunk5LYLEQEHcjs.clean; exports.cleanDirectories = _chunk5LYLEQEHcjs.cleanDirectories; exports.cleanOutputPath = _chunkIE44IJPRcjs.cleanOutputPath; exports.copyBuildAssets = _chunkIE44IJPRcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkQRSVSWU2cjs.createTsCompilerOptions; exports.executeUnbuild = _chunkIE44IJPRcjs.executeUnbuild; exports.generatePackageJson = _chunkIE44IJPRcjs.generatePackageJson; exports.loadConfig = _chunkQRSVSWU2cjs.loadConfig; exports.resolveOptions = _chunkIE44IJPRcjs.resolveOptions;
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-NJI2VF66.js";
8
+ } from "./chunk-GMJ7A3ZF.js";
9
9
  import {
10
10
  clean,
11
11
  cleanDirectories
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/unbuild",
3
- "version": "0.51.16",
3
+ "version": "0.51.18",
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.153.13",
151
- "@storm-software/config": "^1.128.13",
152
- "@storm-software/config-tools": "^1.180.16",
150
+ "@storm-software/build-tools": "^0.153.14",
151
+ "@storm-software/config": "^1.129.0",
152
+ "@storm-software/config-tools": "^1.181.1",
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": "bc86c50b76af106cfe289ad6e30e48a861924328"
174
+ "gitHead": "658730b4c2e45539c2c7e8a27a7de490a0313325"
175
175
  }