@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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.129.0 (2024-07-24)
2
+
3
+
4
+ ### Features
5
+
6
+ - **workspace-tools:** Added the `size-limit` executor ([6ce22bab](https://github.com/storm-software/storm-ops/commit/6ce22bab))
7
+
1
8
  ## 1.128.2 (2024-07-23)
2
9
 
3
10
 
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.128.1-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![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 Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&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)
24
+ [![Version](https://img.shields.io/badge/version-1.129.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![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 Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&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)
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-8)
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
- - [Configuration Schema Creator](#configuration-schema-creator)
85
+ - [Add Node Library](#add-node-library)
85
86
  - [Options](#options-11)
86
- - [Add Neutral Library](#add-neutral-library)
87
+ - [Configuration Schema Creator](#configuration-schema-creator)
87
88
  - [Options](#options-12)
88
- - [Add browser Library](#add-browser-library)
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-14)
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
  }