@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 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
- [![Version](https://img.shields.io/badge/version-1.17.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.19.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![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)
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
- Generate a new node library project in the Storm workspace
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("development").describe("The current runtime environment of the package"),
116061
- ci: booleanType().default(false).describe(
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().optional().describe("The build directory for the workspace"),
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-]+)*))?$/