@storm-software/workspace-tools 1.43.19 → 1.43.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.43.19",
3
+ "version": "1.43.21",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -137488,18 +137488,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
137488
137488
  return tsConfig;
137489
137489
  }
137490
137490
  var build = async (options, config) => {
137491
- try {
137492
- if (Array.isArray(options)) {
137493
- await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137494
- } else {
137495
- if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137496
- console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137497
- }
137498
- await (0, import_tsup.build)(options);
137491
+ if (Array.isArray(options)) {
137492
+ await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137493
+ } else {
137494
+ if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137495
+ console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137499
137496
  }
137500
- } catch (e) {
137501
- console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
137502
- console.error(e);
137497
+ await (0, import_tsup.build)(options);
137503
137498
  }
137504
137499
  };
137505
137500
  var applyDefaultOptions = (options) => {
@@ -137519,18 +137519,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
137519
137519
  return tsConfig;
137520
137520
  }
137521
137521
  var build = async (options, config) => {
137522
- try {
137523
- if (Array.isArray(options)) {
137524
- await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137525
- } else {
137526
- if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137527
- console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137528
- }
137529
- await (0, import_tsup.build)(options);
137522
+ if (Array.isArray(options)) {
137523
+ await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137524
+ } else {
137525
+ if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137526
+ console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137530
137527
  }
137531
- } catch (e) {
137532
- console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
137533
- console.error(e);
137528
+ await (0, import_tsup.build)(options);
137534
137529
  }
137535
137530
  };
137536
137531
  var applyDefaultOptions = (options) => {
@@ -137519,18 +137519,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
137519
137519
  return tsConfig;
137520
137520
  }
137521
137521
  var build = async (options, config) => {
137522
- try {
137523
- if (Array.isArray(options)) {
137524
- await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137525
- } else {
137526
- if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137527
- console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137528
- }
137529
- await (0, import_tsup.build)(options);
137522
+ if (Array.isArray(options)) {
137523
+ await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137524
+ } else {
137525
+ if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137526
+ console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137530
137527
  }
137531
- } catch (e) {
137532
- console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
137533
- console.error(e);
137528
+ await (0, import_tsup.build)(options);
137534
137529
  }
137535
137530
  };
137536
137531
  var applyDefaultOptions = (options) => {
@@ -137519,18 +137519,13 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
137519
137519
  return tsConfig;
137520
137520
  }
137521
137521
  var build = async (options, config) => {
137522
- try {
137523
- if (Array.isArray(options)) {
137524
- await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137525
- } else {
137526
- if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137527
- console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137528
- }
137529
- await (0, import_tsup.build)(options);
137522
+ if (Array.isArray(options)) {
137523
+ await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
137524
+ } else {
137525
+ if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
137526
+ console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
137530
137527
  }
137531
- } catch (e) {
137532
- console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
137533
- console.error(e);
137528
+ await (0, import_tsup.build)(options);
137534
137529
  }
137535
137530
  };
137536
137531
  var applyDefaultOptions = (options) => {
@@ -4,83 +4,7 @@
4
4
  ******************************/
5
5
  "relay.autoStartCompiler": true,
6
6
  "relay.rootDirectory": "../",
7
- "relay.pathToConfig": "@storm-software/graphql-tools/config/relay.config.js",
8
-
9
- /******************************
10
- * JSON Schemas
11
- ******************************/
12
- "json.schemas": [
13
- {
14
- "url": "https://cdn.jsdelivr.net/npm/tsup/schema.json",
15
- "fileMatch": ["package.json", "tsup.config.json"]
16
- },
17
- {
18
- "url": "https://cdn.jsdelivr.net/npm/@storm-software/config/schema.json",
19
- "fileMatch": [
20
- "package.json",
21
- ".stormrc",
22
- ".stormrc.json",
23
- ".stormrc.yaml",
24
- ".stormrc.yml",
25
- ".stormrc.js",
26
- ".stormrc.ts",
27
- ".stormrc.mjs",
28
- ".stormrc.cjs ",
29
- ".config/stormrc",
30
- ".config/stormrc.json",
31
- ".config/stormrc.yaml",
32
- ".config/stormrc.yml",
33
- ".config/stormrc.js",
34
- ".config/stormrc.ts",
35
- ".config/stormrc.mjs",
36
- ".config/stormrc.cjs ",
37
- "storm.config.js",
38
- "storm.config.ts",
39
- "storm.config.mjs",
40
- "storm.config.cjs",
41
- ".storm-softwarerc",
42
- ".storm-softwarerc.json",
43
- ".storm-softwarerc.yaml",
44
- ".storm-softwarerc.yml",
45
- ".storm-softwarerc.js",
46
- ".storm-softwarerc.ts",
47
- ".storm-softwarerc.mjs",
48
- ".storm-softwarerc.cjs ",
49
- ".config/storm-softwarerc",
50
- ".config/storm-softwarerc.json",
51
- ".config/storm-softwarerc.yaml",
52
- ".config/storm-softwarerc.yml",
53
- ".config/storm-softwarerc.js",
54
- ".config/storm-softwarerc.ts",
55
- ".config/storm-softwarerc.mjs",
56
- ".config/storm-softwarerc.cjs ",
57
- "storm-software.config.js",
58
- "storm-software.config.ts",
59
- "storm-software.config.mjs",
60
- "storm-software.config.cjs",
61
- ".storm-stackrc",
62
- ".storm-stackrc.json",
63
- ".storm-stackrc.yaml",
64
- ".storm-stackrc.yml",
65
- ".storm-stackrc.js",
66
- ".storm-stackrc.ts",
67
- ".storm-stackrc.mjs",
68
- ".storm-stackrc.cjs ",
69
- ".config/storm-stackrc",
70
- ".config/storm-stackrc.json",
71
- ".config/storm-stackrc.yaml",
72
- ".config/storm-stackrc.yml",
73
- ".config/storm-stackrc.js",
74
- ".config/storm-stackrc.ts",
75
- ".config/storm-stackrc.mjs",
76
- ".config/storm-stackrc.cjs ",
77
- "storm-stack.config.js",
78
- "storm-stack.config.ts",
79
- "storm-stack.config.mjs",
80
- "storm-stack.config.cjs"
81
- ]
82
- }
83
- ],
7
+ "relay.pathToConfig": "@storm-stack/graphql-tools/config/relay.config.js",
84
8
 
85
9
  /******************************
86
10
  * VS Code Search
@@ -133,64 +57,65 @@
133
57
  ]
134
58
  ],
135
59
 
60
+ /******************************
61
+ * BiomeJs
62
+ ******************************/
63
+ "biome.rename": true,
64
+
136
65
  /******************************
137
66
  * eslint / prettier
138
67
  ******************************/
139
68
  "editor.formatOnSave": false,
140
- "editor.defaultFormatter": "esbenp.prettier-vscode",
69
+ "editor.defaultFormatter": "biomejs.biome",
141
70
  "files.associations": {
142
71
  "*.hbs": "handlebars",
143
72
  "*.acid": "acidic",
144
73
  "*.acidic": "acidic"
145
74
  },
146
75
 
147
- "eslint.validate": [
148
- "javascript",
149
- "javascriptreact",
150
- "typescript",
151
- "typescriptreact"
152
- ],
153
76
  "[javascript]": {
154
77
  "editor.formatOnSave": true,
155
- "editor.defaultFormatter": "esbenp.prettier-vscode",
78
+ "editor.defaultFormatter": "biomejs.biome",
156
79
  "editor.codeActionsOnSave": {
157
80
  "source.fixAll.eslint": true,
158
- "source.organizeImports": true,
81
+ "quickfix.biome": true,
159
82
  "source.sortMembers": true
160
83
  }
161
84
  },
162
85
  "[javascriptreact]": {
163
86
  "editor.formatOnSave": true,
164
- "editor.defaultFormatter": "esbenp.prettier-vscode",
87
+ "editor.defaultFormatter": "biomejs.biome",
165
88
  "editor.codeActionsOnSave": {
166
89
  "source.fixAll.eslint": true,
167
- "source.organizeImports": true,
90
+ "quickfix.biome": true,
168
91
  "source.sortMembers": true
169
92
  }
170
93
  },
171
94
  "[typescript]": {
172
95
  "editor.formatOnSave": true,
173
- "editor.defaultFormatter": "esbenp.prettier-vscode",
96
+ "editor.defaultFormatter": "biomejs.biome",
174
97
  "editor.codeActionsOnSave": {
175
98
  "source.fixAll.eslint": true,
176
- "source.organizeImports": true,
99
+ "quickfix.biome": true,
177
100
  "source.sortMembers": true
178
101
  }
179
102
  },
180
103
  "[typescriptreact]": {
181
104
  "editor.formatOnSave": true,
182
- "editor.defaultFormatter": "esbenp.prettier-vscode",
105
+ "editor.defaultFormatter": "biomejs.biome",
183
106
  "editor.codeActionsOnSave": {
184
107
  "source.fixAll.eslint": true,
185
- "source.organizeImports": true,
108
+ "quickfix.biome": true,
186
109
  "source.sortMembers": true
187
110
  }
188
111
  },
189
112
  "[json]": {
190
- "editor.defaultFormatter": "esbenp.prettier-vscode"
113
+ "editor.formatOnSave": true,
114
+ "editor.defaultFormatter": "biomejs.biome"
191
115
  },
192
116
  "[jsonc]": {
193
- "editor.defaultFormatter": "esbenp.prettier-vscode"
117
+ "editor.formatOnSave": true,
118
+ "editor.defaultFormatter": "biomejs.biome"
194
119
  },
195
120
 
196
121
  /******************************
@@ -222,7 +147,7 @@
222
147
  ******************************/
223
148
  "[handlebars]": {
224
149
  "editor.formatOnSave": false,
225
- "editor.defaultFormatter": "esbenp.prettier-vscode"
150
+ "editor.defaultFormatter": "biomejs.biome"
226
151
  },
227
152
 
228
153
  /******************************
@@ -230,7 +155,7 @@
230
155
  ******************************/
231
156
  "[csharp]": {
232
157
  "editor.formatOnSave": true,
233
- "editor.defaultFormatter": "csharpier.csharpier-vscode"
158
+ "editor.defaultFormatter": "biomejs.biome"
234
159
  },
235
160
 
236
161
  /******************************