@storm-software/tsdown 0.38.16 → 0.38.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.38.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.38.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/dist/build.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkIOYL3O2Ecjs = require('./chunk-IOYL3O2E.cjs');
4
+ var _chunkKG2IUSXKcjs = require('./chunk-KG2IUSXK.cjs');
5
5
  require('./chunk-IO7MJMVE.cjs');
6
6
  require('./chunk-65E5RX7I.cjs');
7
7
 
8
8
 
9
9
 
10
- exports.build = _chunkIOYL3O2Ecjs.build; exports.cleanOutputPath = _chunkIOYL3O2Ecjs.cleanOutputPath;
10
+ exports.build = _chunkKG2IUSXKcjs.build; exports.cleanOutputPath = _chunkKG2IUSXKcjs.cleanOutputPath;
package/dist/build.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-6SR4MX5W.js";
4
+ } from "./chunk-ZUP7DCE7.js";
5
5
  import "./chunk-IAKUT4HI.js";
6
6
  import "./chunk-2YE3GBQH.js";
7
7
  export {
@@ -843,6 +843,13 @@ var workspaceDirectorySchema = z.object({
843
843
  schemaRegistry.add(workspaceDirectorySchema, {
844
844
  description: "Various directories used by the workspace to store data, cache, and configuration files"
845
845
  });
846
+ var variantSchema = z._default(
847
+ z.enum(["minimal", "monorepo"]),
848
+ "monorepo"
849
+ );
850
+ schemaRegistry.add(variantSchema, {
851
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
852
+ });
846
853
  var errorCodesFileSchema = z._default(
847
854
  z.string().check(z.trim()),
848
855
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -1040,6 +1047,7 @@ var workspaceConfigSchema = z.object({
1040
1047
  $schema: schemaNameSchema,
1041
1048
  extends: extendsSchema,
1042
1049
  name: nameSchema,
1050
+ variant: variantSchema,
1043
1051
  namespace: namespaceSchema,
1044
1052
  organization: orgSchema,
1045
1053
  repository: repositorySchema,
@@ -1278,6 +1286,7 @@ var getConfigEnv = () => {
1278
1286
  let config = {
1279
1287
  extends: process.env[`${prefix}EXTENDS`] || void 0,
1280
1288
  name: process.env[`${prefix}NAME`] || void 0,
1289
+ variant: process.env[`${prefix}VARIANT`] || void 0,
1281
1290
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
1282
1291
  owner: process.env[`${prefix}OWNER`] || void 0,
1283
1292
  bot: {
@@ -1502,6 +1511,9 @@ var setConfigEnv = (config) => {
1502
1511
  if (config.name) {
1503
1512
  process.env[`${prefix}NAME`] = config.name;
1504
1513
  }
1514
+ if (config.variant) {
1515
+ process.env[`${prefix}VARIANT`] = config.variant;
1516
+ }
1505
1517
  if (config.namespace) {
1506
1518
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1507
1519
  }
@@ -843,6 +843,13 @@ var workspaceDirectorySchema = z.object({
843
843
  schemaRegistry.add(workspaceDirectorySchema, {
844
844
  description: "Various directories used by the workspace to store data, cache, and configuration files"
845
845
  });
846
+ var variantSchema = z._default(
847
+ z.enum(["minimal", "monorepo"]),
848
+ "monorepo"
849
+ );
850
+ schemaRegistry.add(variantSchema, {
851
+ description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
852
+ });
846
853
  var errorCodesFileSchema = z._default(
847
854
  z.string().check(z.trim()),
848
855
  STORM_DEFAULT_ERROR_CODES_FILE
@@ -1040,6 +1047,7 @@ var workspaceConfigSchema = z.object({
1040
1047
  $schema: schemaNameSchema,
1041
1048
  extends: extendsSchema,
1042
1049
  name: nameSchema,
1050
+ variant: variantSchema,
1043
1051
  namespace: namespaceSchema,
1044
1052
  organization: orgSchema,
1045
1053
  repository: repositorySchema,
@@ -1278,6 +1286,7 @@ var getConfigEnv = () => {
1278
1286
  let config = {
1279
1287
  extends: process.env[`${prefix}EXTENDS`] || void 0,
1280
1288
  name: process.env[`${prefix}NAME`] || void 0,
1289
+ variant: process.env[`${prefix}VARIANT`] || void 0,
1281
1290
  namespace: process.env[`${prefix}NAMESPACE`] || void 0,
1282
1291
  owner: process.env[`${prefix}OWNER`] || void 0,
1283
1292
  bot: {
@@ -1502,6 +1511,9 @@ var setConfigEnv = (config) => {
1502
1511
  if (config.name) {
1503
1512
  process.env[`${prefix}NAME`] = config.name;
1504
1513
  }
1514
+ if (config.variant) {
1515
+ process.env[`${prefix}VARIANT`] = config.variant;
1516
+ }
1505
1517
  if (config.namespace) {
1506
1518
  process.env[`${prefix}NAMESPACE`] = config.namespace;
1507
1519
  }
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkIOYL3O2Ecjs = require('./chunk-IOYL3O2E.cjs');
4
+ var _chunkKG2IUSXKcjs = require('./chunk-KG2IUSXK.cjs');
5
5
 
6
6
 
7
7
 
@@ -16,4 +16,4 @@ require('./chunk-ZBPRDZS4.cjs');
16
16
 
17
17
 
18
18
 
19
- exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkIOYL3O2Ecjs.build; exports.clean = _chunkIO7MJMVEcjs.clean; exports.cleanDirectories = _chunkIO7MJMVEcjs.cleanDirectories; exports.cleanOutputPath = _chunkIOYL3O2Ecjs.cleanOutputPath;
19
+ exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkKG2IUSXKcjs.build; exports.clean = _chunkIO7MJMVEcjs.clean; exports.cleanDirectories = _chunkIO7MJMVEcjs.cleanDirectories; exports.cleanOutputPath = _chunkKG2IUSXKcjs.cleanOutputPath;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  build,
3
3
  cleanOutputPath
4
- } from "./chunk-6SR4MX5W.js";
4
+ } from "./chunk-ZUP7DCE7.js";
5
5
  import {
6
6
  clean,
7
7
  cleanDirectories
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/tsdown",
3
- "version": "0.38.16",
3
+ "version": "0.38.18",
4
4
  "type": "module",
5
5
  "description": "A package containing `tsdown` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -149,9 +149,9 @@
149
149
  "tsdown": { "optional": false }
150
150
  },
151
151
  "dependencies": {
152
- "@storm-software/build-tools": "^0.153.13",
153
- "@storm-software/config": "^1.128.13",
154
- "@storm-software/config-tools": "^1.180.16",
152
+ "@storm-software/build-tools": "^0.153.14",
153
+ "@storm-software/config": "^1.129.0",
154
+ "@storm-software/config-tools": "^1.181.1",
155
155
  "chokidar": "^4.0.3",
156
156
  "commander": "^12.1.0",
157
157
  "es-toolkit": "^1.39.10",
@@ -174,5 +174,5 @@
174
174
  },
175
175
  "publishConfig": { "access": "public" },
176
176
  "sideEffects": false,
177
- "gitHead": "bc86c50b76af106cfe289ad6e30e48a861924328"
177
+ "gitHead": "658730b4c2e45539c2c7e8a27a7de490a0313325"
178
178
  }