@storm-software/workspace-tools 1.82.0 → 1.83.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 (30) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +13 -10
  3. package/config/nx.json +1 -1
  4. package/index.js +3342 -4708
  5. package/meta.json +1 -1
  6. package/package.json +19 -19
  7. package/packages/workspace-tools/src/utils/cargo.d.ts +1 -0
  8. package/src/base/index.js +3326 -4688
  9. package/src/executors/rolldown/executor.js +3148 -4524
  10. package/src/executors/tsup/executor.js +3148 -4524
  11. package/src/executors/tsup-browser/executor.js +3148 -4524
  12. package/src/executors/tsup-neutral/executor.js +3148 -4524
  13. package/src/executors/tsup-node/executor.js +3148 -4524
  14. package/src/executors/typia/executor.js +3163 -4539
  15. package/src/executors/unbuild/executor.js +3148 -4524
  16. package/src/generators/browser-library/generator.js +3326 -4688
  17. package/src/generators/config-schema/generator.js +3148 -4524
  18. package/src/generators/neutral-library/generator.js +3326 -4688
  19. package/src/generators/node-library/generator.js +3326 -4688
  20. package/src/generators/preset/files/.eslintignore +6 -2
  21. package/src/generators/preset/files/.eslintrc.base.json +7 -2
  22. package/src/generators/preset/files/.prettierignore +30 -0
  23. package/src/generators/preset/files/.prettierrc.cjs +9 -0
  24. package/src/generators/preset/files/storm.json.template +42 -0
  25. package/src/generators/preset/generator.js +3153 -4533
  26. package/src/generators/release-version/generator.js +3159 -4535
  27. package/src/plugins/typescript/index.js +1 -1
  28. package/src/utils/index.js +3166 -4542
  29. package/src/generators/preset/files/biome.json +0 -4
  30. package/src/generators/preset/files/storm.config.js.template +0 -29
package/CHANGELOG.md CHANGED
@@ -1,3 +1,24 @@
1
+ ## 1.83.0 (2024-06-05)
2
+
3
+
4
+ ### 🚀 Features
5
+
6
+ - **eslint-plugin:** Added the `eslint` and `prittier` base packages ([b2d63d0f](https://github.com/storm-software/storm-ops/commit/b2d63d0f))
7
+
8
+ - **workspace-tools:** Update `preset` generator with Storm `eslint-plugin` and `prettier` config ([24ae7683](https://github.com/storm-software/storm-ops/commit/24ae7683))
9
+
10
+
11
+ ### 🩹 Fixes
12
+
13
+ - **eslint:** Resolve issue with missing dependencies ([b0f43454](https://github.com/storm-software/storm-ops/commit/b0f43454))
14
+
15
+ ## 1.82.1 (2024-06-03)
16
+
17
+
18
+ ### 🩹 Fixes
19
+
20
+ - **workspace-tools:** Resolve issues with publish executors tagging ([0358af73](https://github.com/storm-software/storm-ops/commit/0358af73))
21
+
1
22
  ## 1.82.0 (2024-06-03)
2
23
 
3
24
 
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
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 />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.80.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
24
+ [![Version](https://img.shields.io/badge/version-1.82.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
25
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)
26
26
 
27
27
  > [!IMPORTANT]
@@ -37,7 +37,8 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
37
37
 
38
38
  # Storm Workspace Tools
39
39
 
40
- A package containing tools for managing a Storm workspace. It includes various [Nx](https://nx.dev) generators and executors for common development tasks.
40
+ A package containing tools for managing a Storm workspace. It includes various
41
+ [Nx](https://nx.dev) generators and executors for common development tasks.
41
42
 
42
43
  <!-- START doctoc generated TOC please keep comment here to allow auto update -->
43
44
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
@@ -74,7 +75,8 @@ yarn add -D @storm-software/workspace-tools
74
75
 
75
76
  ## Executors
76
77
 
77
- The following executors are available in this package to invoke common tasks for the workspace's projects:
78
+ The following executors are available in this package to invoke common tasks for
79
+ the workspace's projects:
78
80
 
79
81
  <!-- START executors -->
80
82
  <!-- prettier-ignore-start -->
@@ -237,7 +239,7 @@ This executor can be used by executing the following in a command line utility:
237
239
  nx run my-project:npm-publish
238
240
  ```
239
241
 
240
- **Please note:** _The npm-publish executor should be included in the desired projects's `project.json` file.All required options must be included in the `options` property of the json._
242
+ **Please note:** _The npm-publish executor should be included in the desired projects's `project.json` file._
241
243
 
242
244
  ### Options
243
245
 
@@ -246,13 +248,11 @@ The following executor options are available:
246
248
  | Option | Type | Description | Default |
247
249
  | --------- | ------ | ------------- | --------- |
248
250
  | packageRoot | `string` | The root directory of the directory (containing a manifest file at its root) to publish. Defaults to the project root. | |
249
- | **registry \*** | `string` | The registry to publish the package to. | "https://registry.npmjs.org/" |
251
+ | registry | `string` | The NPM registry URL to publish the package to. | |
250
252
  | tag | `string` | The distribution tag to apply to the published package. | |
251
253
  | dryRun | `boolean` | Whether to run the command without actually publishing the package to the registry. | |
252
254
 
253
255
 
254
- **Please note:** _Option names followed by \* above are required, and must be provided to run the executor._
255
-
256
256
 
257
257
 
258
258
  ## Cargo Publish executor
@@ -275,7 +275,8 @@ The following executor options are available:
275
275
 
276
276
  | Option | Type | Description | Default |
277
277
  | --------- | ------ | ------------- | --------- |
278
- | packageRoot | `string` | The root directory of the directory (containing a manifest file at its root) to publish. Defaults to the project root. | |
278
+ | registry | `string` | The Cargo registry URL to publish the package to. | |
279
+ | packageRoot | `string` | The root directory of the directory (containing a manifest file at its root) to publish. Defaults to the project root. | |
279
280
  | dryRun | `boolean` | Whether to run the command without actually publishing the package to the registry. | |
280
281
 
281
282
 
@@ -367,7 +368,8 @@ The following executor options are available:
367
368
 
368
369
  ## Generators
369
370
 
370
- The following generators are available with this package to assist in workspace management:
371
+ The following generators are available with this package to assist in workspace
372
+ management:
371
373
 
372
374
  <!-- START generators -->
373
375
  <!-- prettier-ignore-start -->
@@ -593,7 +595,8 @@ Run `nx build workspace-tools` to build the library.
593
595
 
594
596
  ## Running unit tests
595
597
 
596
- Run `nx test workspace-tools` to execute the unit tests via [Jest](https://jestjs.io).
598
+ Run `nx test workspace-tools` to execute the unit tests via
599
+ [Jest](https://jestjs.io).
597
600
 
598
601
  <!-- START footer -->
599
602
  <!-- prettier-ignore-start -->
package/config/nx.json CHANGED
@@ -76,7 +76,7 @@
76
76
  "{workspaceRoot}/.markdownlint.json",
77
77
  "{workspaceRoot}/eslint.config.js",
78
78
  "{workspaceRoot}/.eslintrc.json",
79
- "{workspaceRoot}/.eslintrc.base.json",
79
+ "{workspaceRoot}/.eslintrc.json",
80
80
  "{workspaceRoot}/.eslintrc.cjs",
81
81
  "{workspaceRoot}/.eslintignore",
82
82
  "{workspaceRoot}/.prettierrc",