@storm-software/workspace-tools 1.128.2 → 1.129.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 +7 -0
- package/README.md +36 -8
- package/config/nx.json +9 -18
- package/executors.json +5 -0
- package/index.js +6821 -5408
- package/meta.json +1 -1
- package/package.json +6 -1
- package/packages/config-tools/src/create-storm-config.d.ts +1 -1
- package/packages/workspace-tools/index.d.ts +13 -11
- package/packages/workspace-tools/src/executors/size-limit/executor.d.ts +8 -0
- package/src/base/index.js +2 -2
- package/src/executors/clean-package/executor.js +2 -2
- package/src/executors/rolldown/executor.js +2 -2
- package/src/executors/size-limit/executor.js +69822 -0
- package/src/executors/size-limit/schema.d.ts +3 -0
- package/src/executors/size-limit/schema.json +16 -0
- package/src/executors/tsup/executor.js +2 -2
- package/src/executors/tsup-browser/executor.js +2 -2
- package/src/executors/tsup-neutral/executor.js +2 -2
- package/src/executors/tsup-node/executor.js +2 -2
- package/src/executors/typia/executor.js +2 -2
- package/src/executors/unbuild/executor.js +2 -2
- package/src/generators/browser-library/generator.js +2 -2
- package/src/generators/config-schema/generator.js +2 -2
- package/src/generators/neutral-library/generator.js +2 -2
- package/src/generators/node-library/generator.js +2 -2
- package/src/generators/preset/generator.js +2 -2
- package/src/generators/release-version/generator.js +2 -2
- package/src/plugins/typescript/index.js +17 -3
- package/src/utils/index.js +2 -2
package/CHANGELOG.md
CHANGED
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/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -73,23 +73,26 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
73
73
|
- [Clean Publish Executor](#clean-publish-executor)
|
|
74
74
|
- [Example](#example-9)
|
|
75
75
|
- [Options](#options-7)
|
|
76
|
+
- [Size-Limit Test Executor](#size-limit-test-executor)
|
|
77
|
+
- [Example](#example-10)
|
|
78
|
+
- [Options](#options-8)
|
|
76
79
|
- [Generators](#generators)
|
|
77
80
|
- [Init Storm Workspace Plugin](#init-storm-workspace-plugin)
|
|
78
|
-
- [Options](#options-
|
|
81
|
+
- [Options](#options-9)
|
|
79
82
|
- [Workspace Preset](#workspace-preset)
|
|
80
83
|
- [Examples](#examples)
|
|
81
|
-
- [Options](#options-9)
|
|
82
|
-
- [Add Node Library](#add-node-library)
|
|
83
84
|
- [Options](#options-10)
|
|
84
|
-
- [
|
|
85
|
+
- [Add Node Library](#add-node-library)
|
|
85
86
|
- [Options](#options-11)
|
|
86
|
-
- [
|
|
87
|
+
- [Configuration Schema Creator](#configuration-schema-creator)
|
|
87
88
|
- [Options](#options-12)
|
|
88
|
-
- [Add
|
|
89
|
+
- [Add Neutral Library](#add-neutral-library)
|
|
89
90
|
- [Options](#options-13)
|
|
91
|
+
- [Add browser Library](#add-browser-library)
|
|
92
|
+
- [Options](#options-14)
|
|
90
93
|
- [design-tokens](#design-tokens)
|
|
91
94
|
- [Storm Release Version Generator](#storm-release-version-generator)
|
|
92
|
-
- [Options](#options-
|
|
95
|
+
- [Options](#options-15)
|
|
93
96
|
- [Building](#building)
|
|
94
97
|
- [Running unit tests](#running-unit-tests)
|
|
95
98
|
- [Storm Workspaces](#storm-workspaces)
|
|
@@ -462,6 +465,31 @@ The following executor options are available:
|
|
|
462
465
|
|
|
463
466
|
|
|
464
467
|
|
|
468
|
+
## Size-Limit Test Executor
|
|
469
|
+
|
|
470
|
+
Run a size-limit performance test on the project
|
|
471
|
+
|
|
472
|
+
### Example
|
|
473
|
+
|
|
474
|
+
This executor can be used by executing the following in a command line utility:
|
|
475
|
+
|
|
476
|
+
```cmd
|
|
477
|
+
nx run my-project:size-limit
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
**Please note:** _The size-limit executor should be included in the desired projects's `project.json` file._
|
|
481
|
+
|
|
482
|
+
### Options
|
|
483
|
+
|
|
484
|
+
The following executor options are available:
|
|
485
|
+
|
|
486
|
+
| Option | Type | Description | Default |
|
|
487
|
+
| --------- | ------ | ------------- | --------- |
|
|
488
|
+
| entry | `string` | The path to the entry file, relative to project. | |
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
465
493
|
<!-- markdownlint-restore -->
|
|
466
494
|
<!-- prettier-ignore-end -->
|
|
467
495
|
|
package/config/nx.json
CHANGED
|
@@ -31,6 +31,15 @@
|
|
|
31
31
|
"sharedGlobals": [
|
|
32
32
|
"{workspaceRoot}/.github/**/*",
|
|
33
33
|
"{workspaceRoot}/assets/**/*",
|
|
34
|
+
"{workspaceRoot}/tsconfig.*.json",
|
|
35
|
+
"{workspaceRoot}/.npmrc",
|
|
36
|
+
"{workspaceRoot}/.npmignore",
|
|
37
|
+
"{workspaceRoot}/package.json",
|
|
38
|
+
"{workspaceRoot}/pnpm-workspace.yaml",
|
|
39
|
+
"{workspaceRoot}/pnpm-lock.yaml",
|
|
40
|
+
"{workspaceRoot}/package-lock.yaml",
|
|
41
|
+
"{workspaceRoot}/yarn-lock.yaml",
|
|
42
|
+
"{workspaceRoot}/bun.lockb",
|
|
34
43
|
"{workspaceRoot}/LICENSE",
|
|
35
44
|
"{workspaceRoot}/.gitattributes",
|
|
36
45
|
"{workspaceRoot}/.gitignore",
|
|
@@ -165,15 +174,6 @@
|
|
|
165
174
|
],
|
|
166
175
|
"documentation": [
|
|
167
176
|
"sharedGlobals",
|
|
168
|
-
"{workspaceRoot}/tsconfig.*.json",
|
|
169
|
-
"{workspaceRoot}/.npmrc",
|
|
170
|
-
"{workspaceRoot}/.npmignore",
|
|
171
|
-
"{workspaceRoot}/package.json",
|
|
172
|
-
"{workspaceRoot}/pnpm-workspace.yaml",
|
|
173
|
-
"{workspaceRoot}/pnpm-lock.yaml",
|
|
174
|
-
"{workspaceRoot}/package-lock.yaml",
|
|
175
|
-
"{workspaceRoot}/yarn-lock.yaml",
|
|
176
|
-
"{workspaceRoot}/bun.lockb",
|
|
177
177
|
"{workspaceRoot}/api-extractor.json",
|
|
178
178
|
"{workspaceRoot}/tsdoc.json",
|
|
179
179
|
"{workspaceRoot}/typedoc.json",
|
|
@@ -247,15 +247,6 @@
|
|
|
247
247
|
],
|
|
248
248
|
"typescript": [
|
|
249
249
|
"sharedGlobals",
|
|
250
|
-
"{workspaceRoot}/tsconfig.*.json",
|
|
251
|
-
"{workspaceRoot}/.npmrc",
|
|
252
|
-
"{workspaceRoot}/.npmignore",
|
|
253
|
-
"{workspaceRoot}/package.json",
|
|
254
|
-
"{workspaceRoot}/pnpm-workspace.yaml",
|
|
255
|
-
"{workspaceRoot}/pnpm-lock.yaml",
|
|
256
|
-
"{workspaceRoot}/package-lock.yaml",
|
|
257
|
-
"{workspaceRoot}/yarn-lock.yaml",
|
|
258
|
-
"{workspaceRoot}/bun.lockb",
|
|
259
250
|
"{projectRoot}/package.json",
|
|
260
251
|
"{projectRoot}/tsconfig.json",
|
|
261
252
|
"{projectRoot}/tsconfig.*.json",
|
package/executors.json
CHANGED
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
"implementation": "./src/executors/clean-package/executor",
|
|
51
51
|
"schema": "./src/executors/clean-package/schema.json",
|
|
52
52
|
"description": "Remove configuration files, fields, and scripts for development before publishing package"
|
|
53
|
+
},
|
|
54
|
+
"size-limit": {
|
|
55
|
+
"implementation": "./src/executors/size-limit/executor",
|
|
56
|
+
"schema": "./src/executors/size-limit/schema.json",
|
|
57
|
+
"description": "Run a size-limit performance test on the project"
|
|
53
58
|
}
|
|
54
59
|
}
|
|
55
60
|
}
|