@storm-software/workspace-tools 1.149.0 → 1.151.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 1.151.0 (2024-08-03)
2
+
3
+
4
+ ### Features
5
+
6
+ - **eslint:** Ignore `prefer-nullish-coalescing` for strings ([dbae2a58](https://github.com/storm-software/storm-ops/commit/dbae2a58))
7
+
8
+ ## 1.150.0 (2024-08-03)
9
+
10
+
11
+ ### Features
12
+
13
+ - **build-tools:** Add back experimental DTS option to TSUP ([4fe9652b](https://github.com/storm-software/storm-ops/commit/4fe9652b))
14
+
1
15
  ## 1.149.0 (2024-08-03)
2
16
 
3
17
 
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-1.148.0-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-1.151.0-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/index.js CHANGED
@@ -61389,6 +61389,22 @@ var init_find_workspace_root = __esm({
61389
61389
  }
61390
61390
  });
61391
61391
 
61392
+ // packages/config/src/constants.ts
61393
+ var STORM_DEFAULT_DOCS, STORM_DEFAULT_HOMEPAGE, STORM_DEFAULT_LICENSING;
61394
+ var init_constants = __esm({
61395
+ "packages/config/src/constants.ts"() {
61396
+ STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
61397
+ STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
61398
+ STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
61399
+ }
61400
+ });
61401
+
61402
+ // packages/config/src/define-config.ts
61403
+ var init_define_config = __esm({
61404
+ "packages/config/src/define-config.ts"() {
61405
+ }
61406
+ });
61407
+
61392
61408
  // node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.mjs
61393
61409
  function setErrorMap(map) {
61394
61410
  overrideErrorMap = map;
@@ -65306,9 +65322,10 @@ var DarkColorSchema, LightColorSchema, BrandColorSchema, Brand2ColorSchema, Bran
65306
65322
  var init_schema = __esm({
65307
65323
  "packages/config/src/schema.ts"() {
65308
65324
  init_lib();
65325
+ init_constants();
65309
65326
  DarkColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#0D1017").describe("The dark background color of the workspace");
65310
65327
  LightColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
65311
- BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1fb2a6").describe("The primary brand specific color of the workspace");
65328
+ BrandColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#3fc1b0").describe("The primary brand specific color of the workspace");
65312
65329
  Brand2ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7434DB").describe("The secondary brand specific color of the workspace");
65313
65330
  Brand3ColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#00C2CE").describe("The tertiary brand specific color of the workspace");
65314
65331
  AccentColorSchema = z2.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).optional().describe("The secondary brand specific color of the workspace");
@@ -65391,8 +65408,10 @@ var init_schema = __esm({
65391
65408
  namespace: z2.string().trim().toLowerCase().optional().describe("The namespace of the package"),
65392
65409
  organization: z2.string().trim().default("storm-software").describe("The organization of the workspace"),
65393
65410
  repository: z2.string().trim().url().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
65394
- license: z2.string().trim().default("Apache 2.0").describe("The root directory of the package"),
65395
- homepage: z2.string().trim().url().default("https://stormsoftware.com").describe("The homepage of the workspace"),
65411
+ license: z2.string().trim().default("Apache-2.0").describe("The license type of the package"),
65412
+ homepage: z2.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
65413
+ docs: z2.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
65414
+ licensing: z2.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
65396
65415
  branch: z2.string().trim().default("main").describe("The branch of the workspace"),
65397
65416
  preid: z2.string().optional().describe("A tag specifying the version pre-release identifier"),
65398
65417
  owner: z2.string().trim().default("@storm-software/development").describe("The owner of the package"),
@@ -65461,18 +65480,13 @@ var init_types = __esm({
65461
65480
  }
65462
65481
  });
65463
65482
 
65464
- // packages/config/src/define-config.ts
65465
- var init_define_config = __esm({
65466
- "packages/config/src/define-config.ts"() {
65467
- }
65468
- });
65469
-
65470
65483
  // packages/config/src/index.ts
65471
65484
  var init_src = __esm({
65472
65485
  "packages/config/src/index.ts"() {
65486
+ init_constants();
65487
+ init_define_config();
65473
65488
  init_schema();
65474
65489
  init_types();
65475
- init_define_config();
65476
65490
  }
65477
65491
  });
65478
65492
 
@@ -65578,6 +65592,8 @@ var init_get_default_config = __esm({
65578
65592
  repository,
65579
65593
  license: license ?? DEFAULT_STORM_CONFIG.license,
65580
65594
  homepage: homepage ?? DEFAULT_STORM_CONFIG.homepage,
65595
+ docs: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/docs`,
65596
+ licensing: `${homepage ?? DEFAULT_STORM_CONFIG.homepage}/licensing`,
65581
65597
  extensions: {
65582
65598
  ...config.extensions
65583
65599
  }
@@ -67669,6 +67685,8 @@ var init_get_env = __esm({
67669
67685
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`],
67670
67686
  license: process.env[`${prefix}LICENSE`],
67671
67687
  homepage: process.env[`${prefix}HOMEPAGE`],
67688
+ docs: process.env[`${prefix}DOCS`],
67689
+ licensing: process.env[`${prefix}LICENSING`],
67672
67690
  timezone: process.env[`${prefix}TIMEZONE`] ?? process.env.TZ,
67673
67691
  locale: process.env[`${prefix}LOCALE`] ?? process.env.LOCALE,
67674
67692
  configFile: correctPaths(process.env[`${prefix}CONFIG_FILE`]),
@@ -67717,6 +67735,20 @@ var init_get_env = __esm({
67717
67735
  },
67718
67736
  {}
67719
67737
  ) : getThemeColorConfigEnv(prefix);
67738
+ if (config.docs === STORM_DEFAULT_DOCS) {
67739
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67740
+ config.docs = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
67741
+ } else {
67742
+ config.docs = `${config.homepage}/docs`;
67743
+ }
67744
+ }
67745
+ if (config.licensing === STORM_DEFAULT_LICENSING) {
67746
+ if (config.homepage === STORM_DEFAULT_HOMEPAGE) {
67747
+ config.licensing = `${STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
67748
+ } else {
67749
+ config.licensing = `${config.homepage}/docs`;
67750
+ }
67751
+ }
67720
67752
  const serializedConfig = process.env[`${prefix}CONFIG`];
67721
67753
  if (serializedConfig) {
67722
67754
  const parsed = JSON.parse(serializedConfig);
@@ -67834,6 +67866,12 @@ var init_set_env = __esm({
67834
67866
  if (config.homepage) {
67835
67867
  process.env[`${prefix}HOMEPAGE`] = config.homepage;
67836
67868
  }
67869
+ if (config.docs) {
67870
+ process.env[`${prefix}DOCS`] = config.docs;
67871
+ }
67872
+ if (config.licensing) {
67873
+ process.env[`${prefix}LICENSING`] = config.licensing;
67874
+ }
67837
67875
  if (config.timezone) {
67838
67876
  process.env[`${prefix}TIMEZONE`] = config.timezone;
67839
67877
  process.env.TZ = config.timezone;