@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.
- package/CHANGELOG.md +21 -0
- package/README.md +13 -10
- package/config/nx.json +1 -1
- package/index.js +3342 -4708
- package/meta.json +1 -1
- package/package.json +19 -19
- package/packages/workspace-tools/src/utils/cargo.d.ts +1 -0
- package/src/base/index.js +3326 -4688
- package/src/executors/rolldown/executor.js +3148 -4524
- package/src/executors/tsup/executor.js +3148 -4524
- package/src/executors/tsup-browser/executor.js +3148 -4524
- package/src/executors/tsup-neutral/executor.js +3148 -4524
- package/src/executors/tsup-node/executor.js +3148 -4524
- package/src/executors/typia/executor.js +3163 -4539
- package/src/executors/unbuild/executor.js +3148 -4524
- package/src/generators/browser-library/generator.js +3326 -4688
- package/src/generators/config-schema/generator.js +3148 -4524
- package/src/generators/neutral-library/generator.js +3326 -4688
- package/src/generators/node-library/generator.js +3326 -4688
- package/src/generators/preset/files/.eslintignore +6 -2
- package/src/generators/preset/files/.eslintrc.base.json +7 -2
- package/src/generators/preset/files/.prettierignore +30 -0
- package/src/generators/preset/files/.prettierrc.cjs +9 -0
- package/src/generators/preset/files/storm.json.template +42 -0
- package/src/generators/preset/generator.js +3153 -4533
- package/src/generators/release-version/generator.js +3159 -4535
- package/src/plugins/typescript/index.js +1 -1
- package/src/utils/index.js +3166 -4542
- package/src/generators/preset/files/biome.json +0 -4
- 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
|
-
[](https://prettier.io/)
|
|
25
25
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
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
|
|
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
|
|
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.
|
|
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
|
-
|
|
|
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
|
-
|
|
|
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
|
|
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
|
|
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.
|
|
79
|
+
"{workspaceRoot}/.eslintrc.json",
|
|
80
80
|
"{workspaceRoot}/.eslintrc.cjs",
|
|
81
81
|
"{workspaceRoot}/.eslintignore",
|
|
82
82
|
"{workspaceRoot}/.prettierrc",
|