@storm-software/workspace-tools 1.19.0 → 1.19.2
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 +14 -0
- package/README.md +19 -2
- package/index.js +3 -3
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +6907 -0
- package/src/executors/tsup-neutral/executor.js +112544 -0
- package/src/executors/tsup-node/executor.js +112544 -0
- package/src/generators/config-schema/generator.js +29743 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.19.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.19.0...workspace-tools-v1.19.1) (2023-12-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Added new executors to `additionalEntryPoints` configuration ([f7289c7](https://github.com/storm-software/storm-ops/commit/f7289c7b21eba99e0a70147767b1f28fea242854))
|
|
7
|
+
|
|
8
|
+
# [1.19.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.18.0...workspace-tools-v1.19.0) (2023-12-02)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added the config-schema generator to create json schemas for Storm Config ([4b66f3c](https://github.com/storm-software/storm-ops/commit/4b66f3cb6ff1586b0f86ceec89cc5a296162ed97))
|
|
14
|
+
|
|
1
15
|
# [1.18.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.17.1...workspace-tools-v1.18.0) (2023-12-02)
|
|
2
16
|
|
|
3
17
|
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
16
16
|
|
|
17
17
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
18
18
|
|
|
19
|
-
[](https://prettier.io/)
|
|
20
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
21
21
|
|
|
22
22
|
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
|
|
@@ -255,7 +255,7 @@ The following executor options are available:
|
|
|
255
255
|
|
|
256
256
|
## Add Node Library
|
|
257
257
|
|
|
258
|
-
|
|
258
|
+
Create a Storm JSON schema based on the workspace's project configurations
|
|
259
259
|
|
|
260
260
|
### Options
|
|
261
261
|
|
|
@@ -280,6 +280,23 @@ The following executor options are available:
|
|
|
280
280
|
|
|
281
281
|
|
|
282
282
|
|
|
283
|
+
## Configuration Schema Creator
|
|
284
|
+
|
|
285
|
+
Create a StormConfig JSON schema based on the workspace's project configurations
|
|
286
|
+
|
|
287
|
+
### Options
|
|
288
|
+
|
|
289
|
+
The following executor options are available:
|
|
290
|
+
|
|
291
|
+
| Option | Type | Description | Default |
|
|
292
|
+
| --------- | ------ | ------------- | --------- |
|
|
293
|
+
| **outputFile \*** | `string` | The file path where the schema json will be written (relative to the workspace root) | "{workspaceRoot}/storm.schema.json" |
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
**Please note:** _Option names followed by \* above are required, and must be provided to run the executor._
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
283
300
|
<!-- markdownlint-restore -->
|
|
284
301
|
<!-- prettier-ignore-end -->
|
|
285
302
|
|
package/index.js
CHANGED
|
@@ -116057,13 +116057,13 @@ var StormConfigSchema = objectType({
|
|
|
116057
116057
|
worker: stringType().trim().default("stormie-bot").describe(
|
|
116058
116058
|
"The worker of the package (this is the bot that will be used to perform various tasks)"
|
|
116059
116059
|
),
|
|
116060
|
-
env: enumType(["development", "staging", "production"]).default("
|
|
116061
|
-
ci: booleanType().default(
|
|
116060
|
+
env: enumType(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
|
|
116061
|
+
ci: booleanType().default(true).describe(
|
|
116062
116062
|
"An indicator specifying if the current environment is a CI environment"
|
|
116063
116063
|
),
|
|
116064
116064
|
workspaceRoot: stringType().trim().describe("The root directory of the workspace"),
|
|
116065
116065
|
packageDirectory: stringType().trim().optional().describe("The root directory of the package"),
|
|
116066
|
-
buildDirectory: stringType().trim().
|
|
116066
|
+
buildDirectory: stringType().trim().default("dist").describe("The build directory for the workspace"),
|
|
116067
116067
|
runtimeDirectory: stringType().trim().default("node_modules/.storm").describe("The runtime directory of Storm"),
|
|
116068
116068
|
runtimeVersion: stringType().trim().regex(
|
|
116069
116069
|
/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
|