@storm-software/workspace-tools 1.62.9 → 1.62.10

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,15 @@
1
+ ## 1.62.10 (2024-02-27)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Update all imports to `config-tools` in the package ([85202800](https://github.com/storm-software/storm-ops/commit/85202800))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.62.9 (2024-02-27)
2
14
 
3
15
 
package/index.js CHANGED
@@ -476943,23 +476943,30 @@ var getFileBanner = (name, commentStart = "//") => {
476943
476943
  while (name.length + padding.length < 12) {
476944
476944
  padding += " ";
476945
476945
  }
476946
+ let titleName = process.env.STORM_NAMESPACE ?? "";
476947
+ if (titleName) {
476948
+ if (titleName?.startsWith("@")) {
476949
+ titleName = titleName.slice(1);
476950
+ }
476951
+ titleName = (titleName.charAt(0).toUpperCase() + titleName.slice(1)).split("-").filter((word) => word && word.length > 0).map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
476952
+ }
476946
476953
  return `
476947
476954
 
476948
476955
  ${commentStart} -------------------------------------------------------------------
476949
476956
  ${commentStart}
476950
476957
  ${commentStart} ${padding}Storm Software
476951
- ${commentStart} \u26A1 ${process.env.STORM_NAMESPACE} - ${name}
476958
+ ${commentStart} \u26A1 ${titleName ? `${titleName} - ` : ""}${name}
476952
476959
  ${commentStart}
476953
- ${commentStart} This code was released as part of the ${process.env.STORM_NAMESPACE} project. ${process.env.STORM_NAMESPACE}
476960
+ ${commentStart} This code was released as part of the ${titleName ? `${titleName} ` : ""}project. ${titleName ? titleName : "This project"}
476954
476961
  ${commentStart} is maintained by Storm Software under the ${process.env.STORM_LICENSE ?? "Apache License 2.0"}, and is
476955
476962
  ${commentStart} free for commercial and private use. For more information, please visit
476956
476963
  ${commentStart} our licensing page.
476957
476964
  ${commentStart}
476958
476965
  ${commentStart} Website: ${process.env.STORM_HOMEPAGE ?? "https://stormsoftware.org"}
476959
476966
  ${commentStart} Repository: ${process.env.STORM_REPOSITORY ?? "https://github.com/storm-software/storm-stack"}
476960
- ${commentStart} Documentation: https://stormsoftware.org/docs/storm-stack
476961
- ${commentStart} Contact: https://stormsoftware.org/contact
476962
- ${commentStart} Licensing: https://stormsoftware.org/licensing
476967
+ ${commentStart} Documentation: https://stormsoftware.org/docs${titleName?.startsWith("@") ? `/${titleName.slice(1)}` : ""}
476968
+ ${commentStart} Contact: ${process.env.STORM_HOMEPAGE ? process.env.STORM_HOMEPAGE.endsWith("/") ? process.env.STORM_HOMEPAGE.slice(-1) : process.env.STORM_HOMEPAGE : "https://stormsoftware.org"}/contact
476969
+ ${commentStart} Licensing: ${process.env.STORM_HOMEPAGE ? process.env.STORM_HOMEPAGE.endsWith("/") ? process.env.STORM_HOMEPAGE.slice(-1) : process.env.STORM_HOMEPAGE : "https://stormsoftware.org"}/licensing
476963
476970
  ${commentStart}
476964
476971
  ${commentStart} -------------------------------------------------------------------
476965
476972