@storm-software/workspace-tools 1.66.30 → 1.67.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 +12 -0
- package/README.md +42 -1
- package/executors.json +1 -1
- package/index.js +225 -96
- package/meta.json +1 -1
- package/package.json +3 -3
- package/src/base/index.js +16 -3
- package/src/executors/rolldown/executor.js +81 -19
- package/src/executors/rolldown/schema.json +4 -17
- package/src/executors/tsup/executor.js +60 -12
- package/src/executors/tsup/schema.json +5 -21
- package/src/executors/tsup-browser/executor.js +60 -12
- package/src/executors/tsup-neutral/executor.js +60 -12
- package/src/executors/tsup-node/executor.js +60 -12
- package/src/executors/typia/executor.js +16 -3
- package/src/generators/browser-library/generator.js +16 -3
- package/src/generators/config-schema/generator.js +116 -71
- package/src/generators/neutral-library/generator.js +16 -3
- package/src/generators/node-library/generator.js +16 -3
- package/src/generators/preset/files/.env.template +2 -7
- package/src/generators/preset/files/.eslintignore +17 -0
- package/src/generators/preset/files/.eslintrc.base.json +42 -0
- package/src/generators/preset/files/.github/CODEOWNERS +1 -1
- package/src/generators/preset/files/.github/dependabot.yml +24 -0
- package/src/generators/preset/files/.github/labels.yml +3 -0
- package/src/generators/preset/files/.github/renovate.json.template +14 -2
- package/src/generators/preset/files/.github/stale.yml +22 -17
- package/src/generators/preset/files/.github/workflows/build-release.yml.template +11 -80
- package/src/generators/preset/files/.github/workflows/codeql.yml +1 -1
- package/src/generators/preset/files/.github/workflows/dependabot-approve.yml +24 -0
- package/src/generators/preset/files/.github/workflows/git-guardian.yml +1 -1
- package/src/generators/preset/files/.github/workflows/greetings.yml +2 -3
- package/src/generators/preset/files/.vscode/settings.json +127 -42
- package/src/generators/preset/files/.vscode/tasks.json +1 -16
- package/src/generators/preset/files/storm.config.js.template +29 -0
- package/src/generators/preset/files/tsconfig.base.json.template +1 -1
- package/src/generators/preset/generator.js +16 -3
- package/src/generators/release-version/generator.js +16 -3
- package/src/utils/index.js +16 -3
- package/src/generators/preset/files/.github/actions/setup-workspace/action.yaml +0 -41
- /package/src/generators/preset/files/{.github/.whitesource → .whitesource} +0 -0
|
@@ -217804,7 +217804,9 @@ var init_schema = __esm({
|
|
|
217804
217804
|
fatal: z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace")
|
|
217805
217805
|
}).describe("Colors used for various workspace elements");
|
|
217806
217806
|
StormConfigSchema = z.object({
|
|
217807
|
-
extends: z.string().trim().optional().describe(
|
|
217807
|
+
extends: z.string().trim().optional().describe(
|
|
217808
|
+
"The path to a base JSON file to use as a configuration preset file"
|
|
217809
|
+
),
|
|
217808
217810
|
name: z.string().trim().toLowerCase().optional().describe("The name of the package"),
|
|
217809
217811
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
217810
217812
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
@@ -217818,7 +217820,9 @@ var init_schema = __esm({
|
|
|
217818
217820
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
217819
217821
|
),
|
|
217820
217822
|
env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
|
|
217821
|
-
ci: z.boolean().default(true).describe(
|
|
217823
|
+
ci: z.boolean().default(true).describe(
|
|
217824
|
+
"An indicator specifying if the current environment is a CI environment"
|
|
217825
|
+
),
|
|
217822
217826
|
workspaceRoot: z.string().trim().optional().describe("The root directory of the workspace"),
|
|
217823
217827
|
packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
|
|
217824
217828
|
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
@@ -217834,7 +217838,16 @@ var init_schema = __esm({
|
|
|
217834
217838
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
|
|
217835
217839
|
timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
217836
217840
|
locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
|
|
217837
|
-
logLevel: z.enum([
|
|
217841
|
+
logLevel: z.enum([
|
|
217842
|
+
"silent",
|
|
217843
|
+
"fatal",
|
|
217844
|
+
"error",
|
|
217845
|
+
"warn",
|
|
217846
|
+
"info",
|
|
217847
|
+
"debug",
|
|
217848
|
+
"trace",
|
|
217849
|
+
"all"
|
|
217850
|
+
]).default("debug").describe(
|
|
217838
217851
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
217839
217852
|
),
|
|
217840
217853
|
configFile: z.string().trim().nullable().default(null).describe(
|
package/src/utils/index.js
CHANGED
|
@@ -215278,7 +215278,9 @@ var init_schema = __esm({
|
|
|
215278
215278
|
fatal: z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#7d1a1a").describe("The fatal color of the workspace")
|
|
215279
215279
|
}).describe("Colors used for various workspace elements");
|
|
215280
215280
|
StormConfigSchema = z.object({
|
|
215281
|
-
extends: z.string().trim().optional().describe(
|
|
215281
|
+
extends: z.string().trim().optional().describe(
|
|
215282
|
+
"The path to a base JSON file to use as a configuration preset file"
|
|
215283
|
+
),
|
|
215282
215284
|
name: z.string().trim().toLowerCase().optional().describe("The name of the package"),
|
|
215283
215285
|
namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
|
|
215284
215286
|
organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
@@ -215292,7 +215294,9 @@ var init_schema = __esm({
|
|
|
215292
215294
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
215293
215295
|
),
|
|
215294
215296
|
env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
|
|
215295
|
-
ci: z.boolean().default(true).describe(
|
|
215297
|
+
ci: z.boolean().default(true).describe(
|
|
215298
|
+
"An indicator specifying if the current environment is a CI environment"
|
|
215299
|
+
),
|
|
215296
215300
|
workspaceRoot: z.string().trim().optional().describe("The root directory of the workspace"),
|
|
215297
215301
|
packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
|
|
215298
215302
|
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
@@ -215308,7 +215312,16 @@ var init_schema = __esm({
|
|
|
215308
215312
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
|
|
215309
215313
|
timezone: z.string().trim().default("America/New_York").describe("The default timezone of the workspace"),
|
|
215310
215314
|
locale: z.string().trim().default("en-US").describe("The default locale of the workspace"),
|
|
215311
|
-
logLevel: z.enum([
|
|
215315
|
+
logLevel: z.enum([
|
|
215316
|
+
"silent",
|
|
215317
|
+
"fatal",
|
|
215318
|
+
"error",
|
|
215319
|
+
"warn",
|
|
215320
|
+
"info",
|
|
215321
|
+
"debug",
|
|
215322
|
+
"trace",
|
|
215323
|
+
"all"
|
|
215324
|
+
]).default("debug").describe(
|
|
215312
215325
|
"The log level used to filter out lower priority log messages. If not provided, this is defaulted using the `environment` config value (if `environment` is set to `production` then `level` is `error`, else `level` is `debug`)."
|
|
215313
215326
|
),
|
|
215314
215327
|
configFile: z.string().trim().nullable().default(null).describe(
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
name: "Setup Workspace"
|
|
2
|
-
description: "This action install node and cache modules. It uses pnpm as package manager."
|
|
3
|
-
inputs:
|
|
4
|
-
working-directory:
|
|
5
|
-
description: "The working directory of your node package"
|
|
6
|
-
default: "."
|
|
7
|
-
required: false
|
|
8
|
-
|
|
9
|
-
runs:
|
|
10
|
-
using: "composite"
|
|
11
|
-
steps:
|
|
12
|
-
- uses: actions/setup-node@v4
|
|
13
|
-
with:
|
|
14
|
-
node-version: ${{ inputs.node-version }}
|
|
15
|
-
|
|
16
|
-
- uses: pnpm/action-setup@v3.0.0
|
|
17
|
-
id: pnpm-install
|
|
18
|
-
with:
|
|
19
|
-
version: 8.10.2
|
|
20
|
-
run_install: false
|
|
21
|
-
|
|
22
|
-
- name: Get pnpm store directory
|
|
23
|
-
shell: bash
|
|
24
|
-
id: pnpm-cache
|
|
25
|
-
run: |
|
|
26
|
-
echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT
|
|
27
|
-
|
|
28
|
-
- uses: actions/setup-node@v4
|
|
29
|
-
with:
|
|
30
|
-
registry-url: https://registry.npmjs.org/
|
|
31
|
-
node-version-file: .github/.nvmrc
|
|
32
|
-
cache: pnpm
|
|
33
|
-
cache-dependency-path: pnpm-lock.yaml
|
|
34
|
-
|
|
35
|
-
- name: setup pnpm config registry
|
|
36
|
-
run: pnpm config set registry https://registry.npmjs.org
|
|
37
|
-
shell: bash
|
|
38
|
-
|
|
39
|
-
- name: setup pnpm config registry
|
|
40
|
-
run: pnpm install
|
|
41
|
-
shell: bash
|
|
File without changes
|