@storm-software/workspace-tools 1.66.30 → 1.68.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +42 -1
  3. package/executors.json +1 -1
  4. package/index.js +225 -96
  5. package/meta.json +1 -1
  6. package/package.json +3 -3
  7. package/src/base/index.js +16 -3
  8. package/src/executors/rolldown/executor.js +81 -19
  9. package/src/executors/rolldown/schema.json +4 -17
  10. package/src/executors/tsup/executor.js +60 -12
  11. package/src/executors/tsup/schema.json +5 -21
  12. package/src/executors/tsup-browser/executor.js +60 -12
  13. package/src/executors/tsup-neutral/executor.js +60 -12
  14. package/src/executors/tsup-node/executor.js +60 -12
  15. package/src/executors/typia/executor.js +16 -3
  16. package/src/generators/browser-library/generator.js +16 -3
  17. package/src/generators/config-schema/generator.js +116 -71
  18. package/src/generators/neutral-library/generator.js +16 -3
  19. package/src/generators/node-library/generator.js +16 -3
  20. package/src/generators/preset/files/.env.template +2 -7
  21. package/src/generators/preset/files/.eslintignore +17 -0
  22. package/src/generators/preset/files/.eslintrc.base.json +42 -0
  23. package/src/generators/preset/files/.github/CODEOWNERS +1 -1
  24. package/src/generators/preset/files/.github/dependabot.yml +24 -0
  25. package/src/generators/preset/files/.github/labels.yml +3 -0
  26. package/src/generators/preset/files/.github/renovate.json.template +14 -2
  27. package/src/generators/preset/files/.github/stale.yml +22 -17
  28. package/src/generators/preset/files/.github/workflows/build-release.yml.template +11 -80
  29. package/src/generators/preset/files/.github/workflows/codeql.yml +1 -1
  30. package/src/generators/preset/files/.github/workflows/dependabot-approve.yml +24 -0
  31. package/src/generators/preset/files/.github/workflows/git-guardian.yml +1 -1
  32. package/src/generators/preset/files/.github/workflows/greetings.yml +2 -3
  33. package/src/generators/preset/files/.vscode/settings.json +127 -42
  34. package/src/generators/preset/files/.vscode/tasks.json +1 -16
  35. package/src/generators/preset/files/storm.config.js.template +29 -0
  36. package/src/generators/preset/files/tsconfig.base.json.template +1 -1
  37. package/src/generators/preset/generator.js +16 -3
  38. package/src/generators/release-version/generator.js +16 -3
  39. package/src/utils/index.js +16 -3
  40. package/src/generators/preset/files/.github/actions/setup-workspace/action.yaml +0 -41
  41. /package/src/generators/preset/files/{.github/.whitesource → .whitesource} +0 -0
@@ -39,6 +39,9 @@
39
39
  - name: "no-stale"
40
40
  color: fef2c0
41
41
  description: "This issue or PR is exempted from the stable bot."
42
+ - name: "confirmed"
43
+ color: fbca04
44
+ description: "The issue has been confirmed by a developer."
42
45
 
43
46
  - name: "security"
44
47
  color: ee0701
@@ -1,3 +1,4 @@
1
+
1
2
  {
2
3
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
4
  "extends": [
@@ -22,14 +23,25 @@
22
23
  },
23
24
  "packageRules": [
24
25
  {
25
- "matchPackagePatterns": ["^@<%= namespace %>/"],
26
+ "matchPackagePatterns": ["^@storm-software/"],
26
27
  "enabled": true
27
28
  },
29
+ {
30
+ "matchPackagePatterns": [
31
+ "tsup",
32
+ "chalk",
33
+ "p-limit",
34
+ "request",
35
+ "@cypress/request",
36
+ "@humanfs/node"
37
+ ],
38
+ "enabled": false
39
+ },
28
40
  {
29
41
  "matchPackageNames": ["@nx"],
30
42
  "postUpgradeTasks": {
31
43
  "commands": [
32
- "npx nx migrate latest --run-migrations --create-commits --commit-message='chore(<%= name %>): update @nx dependencies [skip ci]'"
44
+ "pnpm nx migrate latest --run-migrations --create-commits --commit-message='chore(<%= name %>): update @nx dependencies [skip ci]'"
33
45
  ]
34
46
  }
35
47
  },
@@ -24,27 +24,32 @@ markComment: >
24
24
  This issue has been automatically marked as stale because it has not had
25
25
  recent activity. It will be closed if no further activity occurs. Thank you
26
26
  for your contributions.
27
+
27
28
  # Comment to post when removing the stale label.
28
- # unmarkComment: >
29
- # Your comment here.
29
+ unmarkComment: >
30
+ The issue has been closed due to inactivity. Please feel free to reopen with
31
+ additional information if you still face this issue.
30
32
 
31
33
  # Comment to post when closing a stale Issue or Pull Request.
32
- # closeComment: >
33
- # Your comment here.
34
+ closeComment: >
35
+ This issue is being closed due to inactivity. If you still face this issue,
36
+ please feel free to reopen with additional information. Thank you for your
37
+ contributions.
34
38
 
35
39
  # Limit the number of actions per hour, from 1-30. Default is 30
36
40
  limitPerRun: 30
37
41
  # Limit to only `issues` or `pulls`
38
- # only: issues
39
-
40
- # Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
41
- # pulls:
42
- # daysUntilStale: 30
43
- # markComment: >
44
- # This pull request has been automatically marked as stale because it has not had
45
- # recent activity. It will be closed if no further activity occurs. Thank you
46
- # for your contributions.
47
-
48
- # issues:
49
- # exemptLabels:
50
- # - confirmed
42
+ only: issues
43
+
44
+ Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
45
+ pulls:
46
+ daysUntilStale: 30
47
+ markComment: >
48
+ This pull request has been automatically marked as stale because it has not had
49
+ recent activity. It will be closed if no further activity occurs. Thank you
50
+ for your contributions.
51
+
52
+ issues:
53
+ exemptLabels:
54
+ - "no-stale"
55
+ - "confirmed"
@@ -1,4 +1,4 @@
1
- name: "Build and Release"
1
+ name: "Release"
2
2
 
3
3
  on:
4
4
  workflow_dispatch:
@@ -6,89 +6,20 @@ on:
6
6
  tag:
7
7
  description: override release tag
8
8
  required: false
9
- push:
9
+ pull_request:
10
10
  branches:
11
11
  - "main"
12
12
  - "next"
13
13
  - "alpha"
14
14
  - "beta"
15
15
 
16
- env:
17
- CI: true
18
- NX_VERBOSE_LOGGING: true
19
- STORM_WORKER: stormie-bot
20
- STORM_REPOSITORY: ${{ github.repositoryUrl }}
21
- STORM_WORKSPACE_ROOT: ${{ github.workspace }}
22
- NX_BASE: ${{ github.base_ref }}
23
- NX_HEAD: ${{ github.head_ref }}
24
- GITHUB_ACTOR: ${{ github.actor }}
25
- GITHUB_TOKEN: ${{ github.token }}
26
- NPM_TOKEN: ${{ secrets.STORMIE_NPM_TOKEN }}
27
-
28
16
  jobs:
29
- build-release:
30
- if: github.repository == '<%= organization %>/<%= name %>' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta')
31
- name: "Build & Release"
32
- runs-on: ubuntu-latest
33
- permissions:
34
- contents: read
35
- id-token: write
36
- steps:
37
- - uses: actions/checkout@v4
38
- with:
39
- fetch-depth: 0
40
- token: ${{ secrets.STORMIE_GITHUB_TOKEN }}
41
-
42
- - name: Setup workspace
43
- uses: ./.github/actions/setup-workspace
44
-
45
- - name: configure git
46
- run: |
47
- git config user.name "${{ env.STORM_WORKER }}"
48
- git config user.email "${{ env.STORM_WORKER }}@users.noreply.github.com"
49
-
50
- - name: Get appropriate base and head commits for `nx affected` commands
51
- uses: nrwl/nx-set-shas@v4
52
- with:
53
- main-branch-name: "main"
54
-
55
- - name: Set appropriate base and head commits for `nx affected` commands
56
- run: |
57
- echo "BASE: ${{ env.NX_BASE }}"
58
- echo "HEAD: ${{ env.NX_HEAD }}"
59
-
60
- - name: Build repository packages
61
- run: pnpm nx run-many -t build --parallel=5
62
-
63
- - name: Run Linters
64
- run: pnpm lint
65
-
66
- - name: Run Formatters
67
- run: pnpm nx format
68
-
69
- - name: Build repository packages
70
- run: pnpm nx affected -t build --parallel=5 --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }}
71
-
72
- #- name: Run Tests
73
- # uses: nick-fields/retry@v2.8.3
74
- # with:
75
- # command: npx nx affected -t test --parallel=3 --configuration=ci --base=${{ github.event.before }}
76
- # timeout_minutes: 10
77
- # max_attempts: 3
78
-
79
- #- name: Upload coverage to Codecov
80
- # uses: codecov/codecov-action@v3
81
-
82
- - name: Release Library Version Updates
83
- run: pnpm release --base=${{ env.NX_BASE }} --head=${{ env.NX_HEAD }}
84
- env:
85
- GITHUB_ACTOR: ${{ env.GITHUB_ACTOR }}
86
- GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
87
- GH_TOKEN: ${{ env.GITHUB_TOKEN }}
88
- NPM_TOKEN: ${{ env.NPM_TOKEN }}
89
- NPM_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
90
- NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
91
- STORM_WORKER: ${{ env.STORM_WORKER }}
92
- STORM_WORKSPACE_ROOT: ${{ github.workspace }}
93
- STORM_REPOSITORY: ${{ github.repositoryUrl }}
94
- TAG: ${{ inputs.tag }}
17
+ release:
18
+ uses: storm-software/storm-ops/.github/workflows/release@main
19
+ with:
20
+ tag: ${{ env.TAG }}
21
+ stormBot: Stormie-Bot
22
+ secrets:
23
+ githubToken: ${{ github.token }}
24
+ npmToken: ${{ secrets.STORM_BOT_NPM_TOKEN }}
25
+ cargoToken: ${{ secrets.STORM_BOT_CARGO_TOKEN }}
@@ -49,7 +49,7 @@ jobs:
49
49
  uses: actions/checkout@v4
50
50
  with:
51
51
  fetch-depth: 0
52
- token: ${{ secrets.STORMIE_GITHUB_TOKEN }}
52
+ token: ${{ secrets.STORM_BOT_GITHUB_TOKEN }}
53
53
 
54
54
  # Initializes the CodeQL tools for scanning.
55
55
  - name: Initialize CodeQL
@@ -0,0 +1,24 @@
1
+ # https://stackoverflow.com/q/70664840/590396
2
+ name: Dependabot auto-approve
3
+ on: pull_request_target
4
+
5
+ permissions:
6
+ contents: write
7
+ pull-requests: write
8
+
9
+ jobs:
10
+ dependabot:
11
+ runs-on: ubuntu-latest
12
+ if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]' || github.actor == 'Stormie-Bot' }}
13
+ steps:
14
+ - name: Approve a PR
15
+ run: gh pr review --approve "$PR_URL"
16
+ env:
17
+ PR_URL: ${{github.event.pull_request.html_url}}
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+
20
+ - name: Enable auto-merge for Dependabot PRs
21
+ run: gh pr merge --auto --squash "$PR_URL"
22
+ env:
23
+ PR_URL: ${{github.event.pull_request.html_url}}
24
+ GITHUB_TOKEN: ${{ secrets.STORM_BOT_GITHUB_TOKEN }}
@@ -11,7 +11,7 @@ jobs:
11
11
  uses: actions/checkout@v4
12
12
  with:
13
13
  fetch-depth: 0
14
- token: ${{ secrets.STORMIE_GITHUB_TOKEN }}
14
+ token: ${{ secrets.STORM_BOT_GITHUB_TOKEN }}
15
15
 
16
16
  - name: GitGuardian scan
17
17
  uses: GitGuardian/ggshield-action@master
@@ -6,7 +6,6 @@ env:
6
6
  CI: true
7
7
  NX_DAEMON: false
8
8
  NX_VERBOSE_LOGGING: true
9
- GITHUB_ACTOR: ${{ github.actor }}
10
9
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11
10
  GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12
11
 
@@ -20,5 +19,5 @@ jobs:
20
19
  - uses: actions/first-interaction@v1
21
20
  with:
22
21
  repo-token: ${{ secrets.GITHUB_TOKEN }}
23
- issue-message: "Thank you for your interest in this project! We will review this issue and reach out to you ASAP"
24
- pr-message: "We sincerely appreciate your effort/interest in contributing to this project. We will review this change and get back to you ASAP. Please feel free to reach out to the DEV team if you have any questions/comments."
22
+ issue-message: "Hello, I'm 🤖 Stormie-Bot! Thank you for your interest in this project! The Storm team will review this issue and reach out to you ASAP."
23
+ pr-message: "Hello, I'm 🤖 Stormie-Bot! The Storm team sincerely appreciates your effort/interest in contributing to this project. A Storm developer will review this change and get back to you ASAP. Please feel free to reach out to the Storm team (contact@stormsoftware.com) if you have any questions/comments."
@@ -4,8 +4,100 @@
4
4
  ******************************/
5
5
  "relay.autoStartCompiler": true,
6
6
  "relay.rootDirectory": "../",
7
- "relay.pathToConfig": "@storm-stack/graphql-tools/config/relay.config.js",
8
-
7
+ "relay.pathToConfig": "../packages/graphql-tools/config/relay.config.js",
8
+ /******************************
9
+ * Rust Analyzer
10
+ ******************************/
11
+ "rust-analyzer.procMacro.ignored": {
12
+ "napi-derive": ["napi"]
13
+ },
14
+ "rust-analyzer.linkedProjects": [
15
+ "crates\\storm-workspace\\Cargo.toml",
16
+ "crates\\storm-config\\Cargo.toml"
17
+ ],
18
+ /******************************
19
+ * JSON Schemas
20
+ ******************************/
21
+ "json.schemas": [
22
+ {
23
+ "url": "https://cdn.jsdelivr.net/npm/tsup/schema.json",
24
+ "fileMatch": ["package.json", "tsup.config.json"]
25
+ },
26
+ {
27
+ "url": "https://cdn.jsdelivr.net/npm/nx/schemas/nx-schema.json",
28
+ "fileMatch": ["nx.json"]
29
+ }
30
+ /*{
31
+ "url": "https://cdn.jsdelivr.net/npm/@storm-software/config/schema.json",
32
+ "fileMatch": [
33
+ "package.json",
34
+ ".stormrc",
35
+ ".stormrc.json",
36
+ ".stormrc.yaml",
37
+ ".stormrc.yml",
38
+ ".stormrc.js",
39
+ ".stormrc.ts",
40
+ ".stormrc.mjs",
41
+ ".stormrc.cjs ",
42
+ ".config/stormrc",
43
+ ".config/stormrc.json",
44
+ ".config/stormrc.yaml",
45
+ ".config/stormrc.yml",
46
+ ".config/stormrc.js",
47
+ ".config/stormrc.ts",
48
+ ".config/stormrc.mjs",
49
+ ".config/stormrc.cjs ",
50
+ "storm.config.js",
51
+ "storm.config.ts",
52
+ "storm.config.mjs",
53
+ "storm.config.cjs",
54
+ ".storm-softwarerc",
55
+ ".storm-softwarerc.json",
56
+ ".storm-softwarerc.yaml",
57
+ ".storm-softwarerc.yml",
58
+ ".storm-softwarerc.js",
59
+ ".storm-softwarerc.ts",
60
+ ".storm-softwarerc.mjs",
61
+ ".storm-softwarerc.cjs ",
62
+ ".config/storm-softwarerc",
63
+ ".config/storm-softwarerc.json",
64
+ ".config/storm-softwarerc.yaml",
65
+ ".config/storm-softwarerc.yml",
66
+ ".config/storm-softwarerc.js",
67
+ ".config/storm-softwarerc.ts",
68
+ ".config/storm-softwarerc.mjs",
69
+ ".config/storm-softwarerc.cjs ",
70
+ "storm-software.config.js",
71
+ "storm-software.config.ts",
72
+ "storm-software.config.mjs",
73
+ "storm-software.config.cjs",
74
+ ".storm-stackrc",
75
+ ".storm-stackrc.json",
76
+ ".storm-stackrc.yaml",
77
+ ".storm-stackrc.yml",
78
+ ".storm-stackrc.js",
79
+ ".storm-stackrc.ts",
80
+ ".storm-stackrc.mjs",
81
+ ".storm-stackrc.cjs ",
82
+ ".config/storm-stackrc",
83
+ ".config/storm-stackrc.json",
84
+ ".config/storm-stackrc.yaml",
85
+ ".config/storm-stackrc.yml",
86
+ ".config/storm-stackrc.js",
87
+ ".config/storm-stackrc.ts",
88
+ ".config/storm-stackrc.mjs",
89
+ ".config/storm-stackrc.cjs ",
90
+ "storm-stack.config.js",
91
+ "storm-stack.config.ts",
92
+ "storm-stack.config.mjs",
93
+ "storm-stack.config.cjs"
94
+ ]
95
+ }*/
96
+ ],
97
+ "yaml.schemas": {
98
+ "url": "https://json.schemastore.org/github-action.json",
99
+ "fileMatch": [".github/actions/setup/action.yml"]
100
+ },
9
101
  /******************************
10
102
  * VS Code Search
11
103
  ******************************/
@@ -17,7 +109,6 @@
17
109
  "**/.next": true,
18
110
  "**/dist": true
19
111
  },
20
-
21
112
  /******************************
22
113
  * VS Code colorization
23
114
  ******************************/
@@ -26,26 +117,22 @@
26
117
  "statusBarItem.hoverBackground": "#313C47",
27
118
  "statusBar.foreground": "#1fb2a6"
28
119
  },
29
-
30
120
  /******************************
31
121
  * Peacock colorization
32
122
  ******************************/
33
123
  "peacock.color": "#1fb2a6",
34
-
35
124
  /******************************
36
125
  * bracket pair colorization
37
126
  ******************************/
38
127
  "editor.bracketPairColorization.enabled": true,
39
128
  "editor.guides.bracketPairs": "active",
40
129
  "editor.tabCompletion": "on",
41
-
42
130
  /******************************
43
131
  * Typescript
44
132
  ******************************/
45
133
  "typescript.tsserver.log": "verbose",
46
134
  "typescript.tsdk": "node_modules/typescript/lib",
47
135
  "typescript.enablePromptUseWorkspaceTsdk": true,
48
-
49
136
  /******************************
50
137
  * Tailwind CSS
51
138
  ******************************/
@@ -56,68 +143,60 @@
56
143
  "(?:twMerge|twJoin)\\(([^\\);]*)[\\);]"
57
144
  ]
58
145
  ],
59
-
60
- /******************************
61
- * BiomeJs
62
- ******************************/
63
- "biome.rename": true,
64
-
65
146
  /******************************
66
147
  * eslint / prettier
67
148
  ******************************/
68
149
  "editor.formatOnSave": false,
69
- "editor.defaultFormatter": "biomejs.biome",
150
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
70
151
  "files.associations": {
71
152
  "*.hbs": "handlebars",
72
153
  "*.acid": "acidic",
73
154
  "*.acidic": "acidic"
74
155
  },
75
-
76
156
  "[javascript]": {
77
157
  "editor.formatOnSave": true,
78
- "editor.defaultFormatter": "biomejs.biome",
158
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
79
159
  "editor.codeActionsOnSave": {
80
- "source.fixAll.eslint": true,
81
- "quickfix.biome": true,
82
- "source.sortMembers": true
160
+ "source.fixAll.eslint": "explicit",
161
+ "quickfix.biome": "explicit",
162
+ "source.sortMembers": "explicit"
83
163
  }
84
164
  },
85
165
  "[javascriptreact]": {
86
166
  "editor.formatOnSave": true,
87
- "editor.defaultFormatter": "biomejs.biome",
167
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
88
168
  "editor.codeActionsOnSave": {
89
- "source.fixAll.eslint": true,
90
- "quickfix.biome": true,
91
- "source.sortMembers": true
169
+ "source.fixAll.eslint": "explicit",
170
+ "quickfix.biome": "explicit",
171
+ "source.sortMembers": "explicit"
92
172
  }
93
173
  },
94
174
  "[typescript]": {
95
175
  "editor.formatOnSave": true,
96
- "editor.defaultFormatter": "biomejs.biome",
176
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
97
177
  "editor.codeActionsOnSave": {
98
- "source.fixAll.eslint": true,
99
- "quickfix.biome": true,
100
- "source.sortMembers": true
178
+ "source.fixAll.eslint": "explicit",
179
+ "quickfix.biome": "explicit",
180
+ "source.sortMembers": "explicit"
101
181
  }
102
182
  },
103
183
  "[typescriptreact]": {
104
184
  "editor.formatOnSave": true,
105
- "editor.defaultFormatter": "biomejs.biome",
185
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
106
186
  "editor.codeActionsOnSave": {
107
- "source.fixAll.eslint": true,
108
- "quickfix.biome": true,
109
- "source.sortMembers": true
187
+ "source.fixAll.eslint": "explicit",
188
+ "quickfix.biome": "explicit",
189
+ "source.sortMembers": "explicit"
110
190
  }
111
191
  },
112
192
  "[json]": {
113
193
  "editor.formatOnSave": true,
114
- "editor.defaultFormatter": "biomejs.biome"
194
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
115
195
  },
116
196
  "[jsonc]": {
117
197
  "editor.formatOnSave": true,
118
- "editor.defaultFormatter": "biomejs.biome"
198
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
119
199
  },
120
-
121
200
  /******************************
122
201
  * Markdown
123
202
  ******************************/
@@ -125,7 +204,6 @@
125
204
  "editor.formatOnSave": true,
126
205
  "editor.formatOnPaste": true
127
206
  },
128
-
129
207
  /******************************
130
208
  * Prisma
131
209
  ******************************/
@@ -133,7 +211,6 @@
133
211
  "editor.formatOnSave": true,
134
212
  "editor.defaultFormatter": "Prisma.prisma"
135
213
  },
136
-
137
214
  /******************************
138
215
  * Acidic
139
216
  ******************************/
@@ -141,23 +218,32 @@
141
218
  "editor.formatOnSave": true,
142
219
  "editor.defaultFormatter": "Prisma.prisma"
143
220
  },
144
-
145
221
  /******************************
146
222
  * Handlebars
147
223
  ******************************/
148
224
  "[handlebars]": {
149
225
  "editor.formatOnSave": false,
150
- "editor.defaultFormatter": "biomejs.biome"
226
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
151
227
  },
152
-
153
228
  /******************************
154
229
  * csharpier
155
230
  ******************************/
156
231
  "[csharp]": {
157
232
  "editor.formatOnSave": true,
158
- "editor.defaultFormatter": "biomejs.biome"
233
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
234
+ },
235
+ "[toml]": {
236
+ "editor.formatOnSave": true,
237
+ "editor.defaultFormatter": "tamasfe.even-better-toml"
238
+ },
239
+ "[yaml]": {
240
+ "editor.formatOnSave": true,
241
+ "editor.defaultFormatter": "redhat.vscode-yaml"
242
+ },
243
+ "[rust]": {
244
+ "editor.formatOnSave": true,
245
+ "editor.defaultFormatter": "rust-lang.rust-analyzer"
159
246
  },
160
-
161
247
  /******************************
162
248
  * vscode-icons
163
249
  ******************************/
@@ -306,7 +392,6 @@
306
392
  "format": "svg"
307
393
  }
308
394
  ],
309
-
310
395
  /******************************
311
396
  * commitizen
312
397
  ******************************/
@@ -1,19 +1,4 @@
1
1
  {
2
2
  "version": "2.0.0",
3
- "tasks": [
4
- {
5
- "label": "Acidic CodeGen",
6
- "command": "pnpm acidic-codegen",
7
- "type": "shell",
8
- "group": {
9
- "kind": "build",
10
- "isDefault": true
11
- },
12
- "detail": "⚡Storm Software's Acidic Code Generator tool",
13
- "icon": {
14
- "color": "terminal.ansiGreen",
15
- "id": "server-process"
16
- }
17
- }
18
- ]
3
+ "tasks": []
19
4
  }
@@ -0,0 +1,29 @@
1
+ exports.default = {
2
+ name: "<%= name %>",
3
+ namespace: "<%= namespace %>",
4
+ repository: "https://github.com/<%= organization %>/<%= name %>",
5
+ organization: "<%= organization %>",
6
+ ci: true,
7
+ owner: "<%= name %>",
8
+ timezone: "America/New_York",
9
+ locale: "en-US",
10
+ logLevel: "debug",
11
+ externalPackagePatterns: ["@storm-software/"],
12
+ colors: {
13
+ primary: "#1fb2a6",
14
+ background: "#1d232a",
15
+ success: "#087f5b",
16
+ info: "#0ea5e9",
17
+ warning: "#fcc419",
18
+ error: "#990000",
19
+ fatal: "#7d1a1a"
20
+ },
21
+ extensions: {
22
+ telemetry: {
23
+ fileName: "storm",
24
+ fileExtension: "log",
25
+ path: "tmp/storm/logs",
26
+ stacktrace: true
27
+ }
28
+ }
29
+ };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "extends": "@storm-software/linting-tools/tsconfig/tsconfig.root.json",
3
+ "extends": "@storm-software/tsconfig/base.json",
4
4
  "display": "Storm Software - <%= name %>",
5
5
  "compilerOptions": {
6
6
  "rootDir": ".",
@@ -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("The path to a base JSON file to use as a configuration preset file"),
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("An indicator specifying if the current environment is a CI environment"),
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(["silent", "fatal", "error", "warn", "info", "debug", "trace", "all"]).default("debug").describe(
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(