@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 +12 -0
- package/index.js +12 -5
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup-browser/executor.js +12 -5
- package/src/executors/tsup-neutral/executor.js +12 -5
- package/src/executors/tsup-node/executor.js +12 -5
- package/src/utils/index.js +12 -5
package/package.json
CHANGED
|
@@ -449144,23 +449144,30 @@ var getFileBanner = (name, commentStart = "//") => {
|
|
|
449144
449144
|
while (name.length + padding.length < 12) {
|
|
449145
449145
|
padding += " ";
|
|
449146
449146
|
}
|
|
449147
|
+
let titleName = process.env.STORM_NAMESPACE ?? "";
|
|
449148
|
+
if (titleName) {
|
|
449149
|
+
if (titleName?.startsWith("@")) {
|
|
449150
|
+
titleName = titleName.slice(1);
|
|
449151
|
+
}
|
|
449152
|
+
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(" ");
|
|
449153
|
+
}
|
|
449147
449154
|
return `
|
|
449148
449155
|
|
|
449149
449156
|
${commentStart} -------------------------------------------------------------------
|
|
449150
449157
|
${commentStart}
|
|
449151
449158
|
${commentStart} ${padding}Storm Software
|
|
449152
|
-
${commentStart} \u26A1 ${
|
|
449159
|
+
${commentStart} \u26A1 ${titleName ? `${titleName} - ` : ""}${name}
|
|
449153
449160
|
${commentStart}
|
|
449154
|
-
${commentStart} This code was released as part of the ${
|
|
449161
|
+
${commentStart} This code was released as part of the ${titleName ? `${titleName} ` : ""}project. ${titleName ? titleName : "This project"}
|
|
449155
449162
|
${commentStart} is maintained by Storm Software under the ${process.env.STORM_LICENSE ?? "Apache License 2.0"}, and is
|
|
449156
449163
|
${commentStart} free for commercial and private use. For more information, please visit
|
|
449157
449164
|
${commentStart} our licensing page.
|
|
449158
449165
|
${commentStart}
|
|
449159
449166
|
${commentStart} Website: ${process.env.STORM_HOMEPAGE ?? "https://stormsoftware.org"}
|
|
449160
449167
|
${commentStart} Repository: ${process.env.STORM_REPOSITORY ?? "https://github.com/storm-software/storm-stack"}
|
|
449161
|
-
${commentStart} Documentation: https://stormsoftware.org/docs
|
|
449162
|
-
${commentStart} Contact: https://stormsoftware.org/contact
|
|
449163
|
-
${commentStart} Licensing: https://stormsoftware.org/licensing
|
|
449168
|
+
${commentStart} Documentation: https://stormsoftware.org/docs${titleName?.startsWith("@") ? `/${titleName.slice(1)}` : ""}
|
|
449169
|
+
${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
|
|
449170
|
+
${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
|
|
449164
449171
|
${commentStart}
|
|
449165
449172
|
${commentStart} -------------------------------------------------------------------
|
|
449166
449173
|
|
|
@@ -449144,23 +449144,30 @@ var getFileBanner = (name, commentStart = "//") => {
|
|
|
449144
449144
|
while (name.length + padding.length < 12) {
|
|
449145
449145
|
padding += " ";
|
|
449146
449146
|
}
|
|
449147
|
+
let titleName = process.env.STORM_NAMESPACE ?? "";
|
|
449148
|
+
if (titleName) {
|
|
449149
|
+
if (titleName?.startsWith("@")) {
|
|
449150
|
+
titleName = titleName.slice(1);
|
|
449151
|
+
}
|
|
449152
|
+
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(" ");
|
|
449153
|
+
}
|
|
449147
449154
|
return `
|
|
449148
449155
|
|
|
449149
449156
|
${commentStart} -------------------------------------------------------------------
|
|
449150
449157
|
${commentStart}
|
|
449151
449158
|
${commentStart} ${padding}Storm Software
|
|
449152
|
-
${commentStart} \u26A1 ${
|
|
449159
|
+
${commentStart} \u26A1 ${titleName ? `${titleName} - ` : ""}${name}
|
|
449153
449160
|
${commentStart}
|
|
449154
|
-
${commentStart} This code was released as part of the ${
|
|
449161
|
+
${commentStart} This code was released as part of the ${titleName ? `${titleName} ` : ""}project. ${titleName ? titleName : "This project"}
|
|
449155
449162
|
${commentStart} is maintained by Storm Software under the ${process.env.STORM_LICENSE ?? "Apache License 2.0"}, and is
|
|
449156
449163
|
${commentStart} free for commercial and private use. For more information, please visit
|
|
449157
449164
|
${commentStart} our licensing page.
|
|
449158
449165
|
${commentStart}
|
|
449159
449166
|
${commentStart} Website: ${process.env.STORM_HOMEPAGE ?? "https://stormsoftware.org"}
|
|
449160
449167
|
${commentStart} Repository: ${process.env.STORM_REPOSITORY ?? "https://github.com/storm-software/storm-stack"}
|
|
449161
|
-
${commentStart} Documentation: https://stormsoftware.org/docs
|
|
449162
|
-
${commentStart} Contact: https://stormsoftware.org/contact
|
|
449163
|
-
${commentStart} Licensing: https://stormsoftware.org/licensing
|
|
449168
|
+
${commentStart} Documentation: https://stormsoftware.org/docs${titleName?.startsWith("@") ? `/${titleName.slice(1)}` : ""}
|
|
449169
|
+
${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
|
|
449170
|
+
${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
|
|
449164
449171
|
${commentStart}
|
|
449165
449172
|
${commentStart} -------------------------------------------------------------------
|
|
449166
449173
|
|
|
@@ -449144,23 +449144,30 @@ var getFileBanner = (name, commentStart = "//") => {
|
|
|
449144
449144
|
while (name.length + padding.length < 12) {
|
|
449145
449145
|
padding += " ";
|
|
449146
449146
|
}
|
|
449147
|
+
let titleName = process.env.STORM_NAMESPACE ?? "";
|
|
449148
|
+
if (titleName) {
|
|
449149
|
+
if (titleName?.startsWith("@")) {
|
|
449150
|
+
titleName = titleName.slice(1);
|
|
449151
|
+
}
|
|
449152
|
+
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(" ");
|
|
449153
|
+
}
|
|
449147
449154
|
return `
|
|
449148
449155
|
|
|
449149
449156
|
${commentStart} -------------------------------------------------------------------
|
|
449150
449157
|
${commentStart}
|
|
449151
449158
|
${commentStart} ${padding}Storm Software
|
|
449152
|
-
${commentStart} \u26A1 ${
|
|
449159
|
+
${commentStart} \u26A1 ${titleName ? `${titleName} - ` : ""}${name}
|
|
449153
449160
|
${commentStart}
|
|
449154
|
-
${commentStart} This code was released as part of the ${
|
|
449161
|
+
${commentStart} This code was released as part of the ${titleName ? `${titleName} ` : ""}project. ${titleName ? titleName : "This project"}
|
|
449155
449162
|
${commentStart} is maintained by Storm Software under the ${process.env.STORM_LICENSE ?? "Apache License 2.0"}, and is
|
|
449156
449163
|
${commentStart} free for commercial and private use. For more information, please visit
|
|
449157
449164
|
${commentStart} our licensing page.
|
|
449158
449165
|
${commentStart}
|
|
449159
449166
|
${commentStart} Website: ${process.env.STORM_HOMEPAGE ?? "https://stormsoftware.org"}
|
|
449160
449167
|
${commentStart} Repository: ${process.env.STORM_REPOSITORY ?? "https://github.com/storm-software/storm-stack"}
|
|
449161
|
-
${commentStart} Documentation: https://stormsoftware.org/docs
|
|
449162
|
-
${commentStart} Contact: https://stormsoftware.org/contact
|
|
449163
|
-
${commentStart} Licensing: https://stormsoftware.org/licensing
|
|
449168
|
+
${commentStart} Documentation: https://stormsoftware.org/docs${titleName?.startsWith("@") ? `/${titleName.slice(1)}` : ""}
|
|
449169
|
+
${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
|
|
449170
|
+
${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
|
|
449164
449171
|
${commentStart}
|
|
449165
449172
|
${commentStart} -------------------------------------------------------------------
|
|
449166
449173
|
|
package/src/utils/index.js
CHANGED
|
@@ -459335,23 +459335,30 @@ var getFileBanner = (name, commentStart = "//") => {
|
|
|
459335
459335
|
while (name.length + padding.length < 12) {
|
|
459336
459336
|
padding += " ";
|
|
459337
459337
|
}
|
|
459338
|
+
let titleName = process.env.STORM_NAMESPACE ?? "";
|
|
459339
|
+
if (titleName) {
|
|
459340
|
+
if (titleName?.startsWith("@")) {
|
|
459341
|
+
titleName = titleName.slice(1);
|
|
459342
|
+
}
|
|
459343
|
+
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(" ");
|
|
459344
|
+
}
|
|
459338
459345
|
return `
|
|
459339
459346
|
|
|
459340
459347
|
${commentStart} -------------------------------------------------------------------
|
|
459341
459348
|
${commentStart}
|
|
459342
459349
|
${commentStart} ${padding}Storm Software
|
|
459343
|
-
${commentStart} \u26A1 ${
|
|
459350
|
+
${commentStart} \u26A1 ${titleName ? `${titleName} - ` : ""}${name}
|
|
459344
459351
|
${commentStart}
|
|
459345
|
-
${commentStart} This code was released as part of the ${
|
|
459352
|
+
${commentStart} This code was released as part of the ${titleName ? `${titleName} ` : ""}project. ${titleName ? titleName : "This project"}
|
|
459346
459353
|
${commentStart} is maintained by Storm Software under the ${process.env.STORM_LICENSE ?? "Apache License 2.0"}, and is
|
|
459347
459354
|
${commentStart} free for commercial and private use. For more information, please visit
|
|
459348
459355
|
${commentStart} our licensing page.
|
|
459349
459356
|
${commentStart}
|
|
459350
459357
|
${commentStart} Website: ${process.env.STORM_HOMEPAGE ?? "https://stormsoftware.org"}
|
|
459351
459358
|
${commentStart} Repository: ${process.env.STORM_REPOSITORY ?? "https://github.com/storm-software/storm-stack"}
|
|
459352
|
-
${commentStart} Documentation: https://stormsoftware.org/docs
|
|
459353
|
-
${commentStart} Contact: https://stormsoftware.org/contact
|
|
459354
|
-
${commentStart} Licensing: https://stormsoftware.org/licensing
|
|
459359
|
+
${commentStart} Documentation: https://stormsoftware.org/docs${titleName?.startsWith("@") ? `/${titleName.slice(1)}` : ""}
|
|
459360
|
+
${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
|
|
459361
|
+
${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
|
|
459355
459362
|
${commentStart}
|
|
459356
459363
|
${commentStart} -------------------------------------------------------------------
|
|
459357
459364
|
|