@storm-software/workspace-tools 1.72.2 → 1.72.3

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,55 +1,56 @@
1
- ## 1.72.2 (2024-04-15)
1
+ ## 1.72.3 (2024-04-21)
2
+
3
+ ### 🩹 Fixes
2
4
 
5
+ - **workspace-tools:** Add `AssetGlob` typings ([c42da685](https://github.com/storm-software/storm-ops/commit/c42da685))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Patrick Sullivan
10
+
11
+ ## 1.72.2 (2024-04-15)
3
12
 
4
13
  ### 🩹 Fixes
5
14
 
6
15
  - **config-tools:** Resolved issue with missing fields in Storm configuration ([cf157d2a](https://github.com/storm-software/storm-ops/commit/cf157d2a))
7
16
 
8
-
9
- ### ❤️ Thank You
17
+ ### ❤️ Thank You
10
18
 
11
19
  - Patrick Sullivan
12
20
 
13
21
  ## 1.72.1 (2024-04-15)
14
22
 
15
-
16
23
  ### 🩹 Fixes
17
24
 
18
25
  - **deps:** update patch prod dependencies ([7f710f58](https://github.com/storm-software/storm-ops/commit/7f710f58))
19
26
 
20
27
  ## 1.72.0 (2024-04-13)
21
28
 
22
-
23
29
  ### 🚀 Features
24
30
 
25
31
  - **config-tools:** No longer require `config` in storm console write functions ([ad8c6511](https://github.com/storm-software/storm-ops/commit/ad8c6511))
26
32
 
27
-
28
- ### ❤️ Thank You
33
+ ### ❤️ Thank You
29
34
 
30
35
  - Patrick Sullivan
31
36
 
32
37
  ## 1.71.1 (2024-04-11)
33
38
 
34
-
35
39
  ### 🩹 Fixes
36
40
 
37
41
  - **build-tools:** Update `tsup` build to no longer add workspace dependencies ([84da4a76](https://github.com/storm-software/storm-ops/commit/84da4a76))
38
42
 
39
-
40
- ### ❤️ Thank You
43
+ ### ❤️ Thank You
41
44
 
42
45
  - Patrick Sullivan
43
46
 
44
47
  ## 1.71.0 (2024-04-09)
45
48
 
46
-
47
49
  ### 🚀 Features
48
50
 
49
51
  - **config-tools:** Significant improvements to logic to get config files ([0a0ac895](https://github.com/storm-software/storm-ops/commit/0a0ac895))
50
52
 
51
-
52
- ### ❤️ Thank You
53
+ ### ❤️ Thank You
53
54
 
54
55
  - Patrick Sullivan
55
56
 
package/README.md CHANGED
@@ -8,7 +8,10 @@
8
8
 
9
9
  <div align="center">
10
10
  <b>
11
- <a href="https://stormsoftware.com" target="_blank">Website</a> | <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> | <a href="https://github.com/storm-software/storm-ops" target="_blank">Repository</a> | <a href="https://stormstack.github.io/stormstack/" target="_blank">Documentation</a> | <a href="https://github.com/storm-software/storm-ops/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a> | <a href="https://github.com/storm-software/storm-ops/issues/new?assignees=&labels=enhancement&template=feature-request.yml&title=Feature Request%3A+">Request a Feature</a> | <a href="https://github.com/storm-software/storm-ops/issues/new?assignees=&labels=documentation&template=documentation.yml&title=Documentation Request%3A+">Request Documentation</a> | <a href="https://github.com/storm-software/storm-ops/discussions">Ask a Question</a>
11
+ <a href="https://stormsoftware.com" target="_blank">Website</a>
12
+ <a href="https://github.com/storm-software/storm-ops" target="_blank">GitHub</a> •
13
+ <a href="https://discord.gg/MQ6YVzakM5">Discord</a> • <a href="https://stormstack.github.io/stormstack/" target="_blank">Docs</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> •
14
+ <a href="https://github.com/storm-software/storm-ops/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a>
12
15
  </b>
13
16
  </div>
14
17
 
@@ -18,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
18
21
 
19
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 />
20
23
 
21
- [![Version](https://img.shields.io/badge/version-1.71.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
24
+ [![Version](https://img.shields.io/badge/version-1.72.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
22
25
  [![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 docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&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)
23
26
 
24
27
  > [!IMPORTANT]
@@ -440,6 +443,7 @@ The following executor options are available:
440
443
  | **includeApps \*** | `boolean` | Should a separate `apps` folder be created for this workspace (if Yes: `apps` and `libs` folders will be added, if No: `packages` folders will be added)? | |
441
444
  | description | `string` | The description of the workspace to use in the package.json and README.md files. | |
442
445
  | repositoryUrl | `string` | The URL of the workspace in GitHub. Defaults to <https://github.com/{organization}/{name}> | |
446
+ | includeRust | `boolean` | Should the workspace include Rust support? | |
443
447
  | nxCloud | `boolean` | Should distributed caching with Nx Cloud be enabled for the workspace? | |
444
448
  | **mode \*** | "light" \| "dark" | Which client mode should be used for the Nx Task Runner? | "dark" |
445
449
  | packageManager | "npm" \| "yarn" \| "pnpm" | What package manager is used for the workspace? | "pnpm" |
@@ -700,7 +704,9 @@ This project follows the [all-contributors](https://github.com/all-contributors/
700
704
  <br />
701
705
 
702
706
  <div align="center">
703
- <a href="https://stormsoftware.com" target="_blank">Website</a> | <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> | <a href="https://linkedin.com/in/patrick-sullivan-865526b0" target="_blank">LinkedIn</a> | <a href="https://medium.com/@pat.joseph.sullivan" target="_blank">Medium</a> | <a href="https://github.com/storm-software" target="_blank">GitHub</a> | <a href="https://keybase.io/sullivanp" target="_blank">OpenPGP Key</a>
707
+ <b>
708
+ <a href="https://stormsoftware.com" target="_blank">Website</a> • <a href="https://stormsoftware.com/contact" target="_blank">Contact</a> • <a href="https://discord.gg/MQ6YVzakM5">Discord</a> • <a href="https://linkedin.com/in/pat-sullivan-dev" target="_blank">LinkedIn</a> • <a href="https://medium.com/@pat.joseph.sullivan" target="_blank">Medium</a> • <a href="https://github.com/storm-software" target="_blank">GitHub</a> • <a href="https://keybase.io/sullivanp" target="_blank">OpenPGP Key</a>
709
+ </b>
704
710
  </div>
705
711
 
706
712
  <div align="center">
package/config/nx.json CHANGED
@@ -94,12 +94,7 @@
94
94
  "{workspaceRoot}/docs/**/*",
95
95
  "{workspaceRoot}/.storybook/**/*"
96
96
  ],
97
- "global": [
98
- "globalRust",
99
- "globalTypeScript",
100
- "globalTesting",
101
- "globalDocs"
102
- ],
97
+ "global": ["globalRust", "globalTypeScript", "globalTesting", "globalDocs"],
103
98
  "defaultTesting": [
104
99
  "globalTesting",
105
100
  "{projectRoot}/jest.config.ts",
@@ -187,15 +182,9 @@
187
182
  "targetDefaults": {
188
183
  "lint": {
189
184
  "cache": true,
190
- "inputs": [
191
- "default"
192
- ],
193
- "outputs": [
194
- "{options.outputPath}"
195
- ],
196
- "dependsOn": [
197
- "^lint"
198
- ]
185
+ "inputs": ["default"],
186
+ "outputs": ["{options.outputPath}"],
187
+ "dependsOn": ["^lint"]
199
188
  },
200
189
  "clean": {
201
190
  "cache": false,
@@ -206,73 +195,35 @@
206
195
  },
207
196
  "build": {
208
197
  "cache": true,
209
- "inputs": [
210
- "default",
211
- "^production"
212
- ],
213
- "dependsOn": [
214
- "^build"
215
- ]
198
+ "inputs": ["default", "^production"],
199
+ "dependsOn": ["^build"]
216
200
  },
217
201
  "docs": {
218
202
  "cache": true,
219
- "inputs": [
220
- "defaultDocs",
221
- "^production"
222
- ],
223
- "outputs": [
224
- "{options.outputPath}"
225
- ],
226
- "dependsOn": [
227
- "build",
228
- "^docs"
229
- ]
203
+ "inputs": ["defaultDocs", "^production"],
204
+ "outputs": ["{options.outputPath}"],
205
+ "dependsOn": ["build", "^docs"]
230
206
  },
231
207
  "test": {
232
208
  "cache": true,
233
- "inputs": [
234
- "defaultTesting",
235
- "^production"
236
- ],
237
- "outputs": [
238
- "{options.outputPath}"
239
- ],
240
- "dependsOn": [
241
- "build",
242
- "^test"
243
- ]
209
+ "inputs": ["defaultTesting", "^production"],
210
+ "outputs": ["{options.outputPath}"],
211
+ "dependsOn": ["build", "^test"]
244
212
  },
245
213
  "e2e": {
246
214
  "cache": true,
247
- "inputs": [
248
- "defaultTesting",
249
- "^production"
250
- ],
251
- "outputs": [
252
- "{options.outputPath}"
253
- ],
254
- "dependsOn": [
255
- "test",
256
- "^e2e"
257
- ]
215
+ "inputs": ["defaultTesting", "^production"],
216
+ "outputs": ["{options.outputPath}"],
217
+ "dependsOn": ["test", "^e2e"]
258
218
  },
259
219
  "nx-release-publish": {
260
220
  "cache": false,
261
- "inputs": [
262
- "default",
263
- "^production"
264
- ],
265
- "dependsOn": [
266
- "build",
267
- "^nx-release-publish"
268
- ]
221
+ "inputs": ["default", "^production"],
222
+ "dependsOn": ["build", "^nx-release-publish"]
269
223
  }
270
224
  },
271
225
  "release": {
272
- "projects": [
273
- "packages/*",
274
- "crates/*"
275
- ],
226
+ "projects": ["packages/*", "crates/*"],
276
227
  "projectsRelationship": "independent",
277
228
  "releaseTagPattern": "{projectName}-v{version}",
278
229
  "changelog": {
@@ -294,4 +245,4 @@
294
245
  "parallel": 3,
295
246
  "cacheDirectory": "tmp/nx-cache",
296
247
  "defaultBase": "main"
297
- }
248
+ }
package/declarations.d.ts CHANGED
@@ -35,13 +35,21 @@ export type GetConfigParams = Omit<
35
35
  docModel?: boolean;
36
36
  tsdocMetadata?: boolean;
37
37
  dtsTsConfig: ParsedCommandLine;
38
- getTransform?: (program: Program, diagnostics: Diagnostic[]) => TransformerFactory<SourceFile>;
38
+ getTransform?: (
39
+ program: Program,
40
+ diagnostics: Diagnostic[]
41
+ ) => TransformerFactory<SourceFile>;
39
42
  };
40
43
 
41
- declare function outExtension({ format }: { format?: string }): { js: string; dts: string };
44
+ declare function outExtension({ format }: { format?: string }): {
45
+ js: string;
46
+ dts: string;
47
+ };
42
48
  export { outExtension };
43
49
 
44
- declare function applyDefaultOptions(options: TsupExecutorSchema): TsupExecutorSchema;
50
+ declare function applyDefaultOptions(
51
+ options: TsupExecutorSchema
52
+ ): TsupExecutorSchema;
45
53
  export { applyDefaultOptions };
46
54
 
47
55
  declare function runTsupBuild(
@@ -89,15 +97,25 @@ export interface BaseExecutorResult {
89
97
  success?: boolean;
90
98
  }
91
99
 
92
- declare function withRunExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(
100
+ declare function withRunExecutor<
101
+ TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema
102
+ >(
93
103
  name: string,
94
104
  executorFn: (
95
105
  options: TExecutorSchema,
96
106
  context: ExecutorContext,
97
107
  config?: StormConfig
98
- ) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined,
108
+ ) =>
109
+ | Promise<BaseExecutorResult | null | undefined>
110
+ | AsyncGenerator<any, BaseExecutorResult | null | undefined>
111
+ | BaseExecutorResult
112
+ | null
113
+ | undefined,
99
114
  executorOptions: BaseExecutorOptions<TExecutorSchema>
100
- ): (_options: TExecutorSchema, context: ExecutorContext) => Promise<{ success: boolean }>;
115
+ ): (
116
+ _options: TExecutorSchema,
117
+ context: ExecutorContext
118
+ ) => Promise<{ success: boolean }>;
101
119
  export { withRunExecutor };
102
120
 
103
121
  export interface BaseGeneratorSchema extends Record<string, any> {
@@ -121,7 +139,11 @@ declare function withRunGenerator<TGeneratorSchema = any>(
121
139
  tree: Tree,
122
140
  options: TGeneratorSchema,
123
141
  config?: StormConfig
124
- ) => Promise<BaseGeneratorResult | null | undefined> | BaseGeneratorResult | null | undefined,
142
+ ) =>
143
+ | Promise<BaseGeneratorResult | null | undefined>
144
+ | BaseGeneratorResult
145
+ | null
146
+ | undefined,
125
147
  generatorOptions: BaseGeneratorOptions<TGeneratorSchema> = {
126
148
  skipReadingConfig: false
127
149
  }