@storm-software/workspace-tools 1.45.3 → 1.46.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 +32 -2
- package/index.js +5070 -3314
- package/meta.json +1 -1
- package/package.json +3 -3
- package/src/base/index.js +3606 -1311
- package/src/executors/design-tokens/executor.js +3073 -973
- package/src/executors/tsup/executor.js +4446 -3253
- package/src/executors/tsup-browser/executor.js +4457 -3264
- package/src/executors/tsup-neutral/executor.js +4457 -3264
- package/src/executors/tsup-node/executor.js +4457 -3264
- package/src/executors/typia/executor.js +2412 -312
- package/src/generators/browser-library/generator.js +3596 -1298
- package/src/generators/config-schema/generator.js +2481 -383
- package/src/generators/init/init.js +49 -49
- package/src/generators/neutral-library/generator.js +3596 -1298
- package/src/generators/node-library/generator.js +3596 -1298
- package/src/generators/preset/generator.js +2489 -389
- package/src/utils/index.js +21 -36
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.45.3](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.45.2...workspace-tools-v1.45.3) (2024-01-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Updated executable scripts to use correct directory ([8bd14e7](https://github.com/storm-software/storm-ops/commit/8bd14e7b1d78ece17f314ef172c344e927c0736d))
|
|
7
|
+
|
|
1
8
|
## [1.45.2](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.45.1...workspace-tools-v1.45.2) (2024-01-18)
|
|
2
9
|
|
|
3
10
|
|
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
|
-
[](https://prettier.io/)
|
|
20
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
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 />
|
|
@@ -105,7 +105,6 @@ The following executor options are available:
|
|
|
105
105
|
| includeSrc | `boolean` | Should the source files be added to the distribution folder in an \`src\` directory. | |
|
|
106
106
|
| metafile | `boolean` | Should a meta file be created for the build package | |
|
|
107
107
|
| emitOnAll | `boolean` | Should each file contained in the package be emitted individually. | |
|
|
108
|
-
| skipTypia | `boolean` | Should the typia schema transformation process be skipped. | |
|
|
109
108
|
| generatePackageJson | `boolean` | Should a package.json file be generated in the output folder or should the existing one be copied in. | `true` |
|
|
110
109
|
| splitting | `boolean` | Should the build process preform \*code-splitting\*? | `true` |
|
|
111
110
|
| treeshake | `boolean` | Should the build process \*tree-shake\* to remove unused code? | `true` |
|
|
@@ -113,6 +112,7 @@ The following executor options are available:
|
|
|
113
112
|
| debug | `boolean` | Should output be unminified with source mappings. | |
|
|
114
113
|
| **platform \*** | "browser" \| "neutral" \| "node" \| "worker" | Platform target for outputs. | "neutral" |
|
|
115
114
|
| **banner \*** | `string` | A short heading added to the top of each typescript file added in the output folder's \`src\` directory. | "This code was developed by Storm Software (<https://stormsoftware.org>) and is licensed under the Apache License 2.0." |
|
|
115
|
+
| minify | `boolean` | Should the build process minify the output files? | |
|
|
116
116
|
| verbose | `boolean` | Should write extra log outputs with details from the executor. | |
|
|
117
117
|
| shims | `boolean` | Should the build process add shims for node.js modules that are not available in the browser? | |
|
|
118
118
|
| define | `object` | Define global constants that can be used in the source code. The value will be converted into a stringified JSON. | |
|
|
@@ -224,6 +224,36 @@ The following executor options are available:
|
|
|
224
224
|
|
|
225
225
|
|
|
226
226
|
|
|
227
|
+
## Typia Generate Executor
|
|
228
|
+
|
|
229
|
+
Run the Typia generator to create runtime type validators
|
|
230
|
+
|
|
231
|
+
### Example
|
|
232
|
+
|
|
233
|
+
This executor can be used by executing the following in a command line utility:
|
|
234
|
+
|
|
235
|
+
```cmd
|
|
236
|
+
nx run my-project:typia
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
**Please note:** _The typia 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._
|
|
240
|
+
|
|
241
|
+
### Options
|
|
242
|
+
|
|
243
|
+
The following executor options are available:
|
|
244
|
+
|
|
245
|
+
| Option | Type | Description | Default |
|
|
246
|
+
| --------- | ------ | ------------- | --------- |
|
|
247
|
+
| **entryPath \*** | `string` | The path of the typescript files using \`typia\`. | "{sourceRoot}" |
|
|
248
|
+
| **outputPath \*** | `string` | The output path of the generated files. | "{sourceRoot}/__generated__/typia" |
|
|
249
|
+
| **tsConfig \*** | `string` | The path to the \`tsconfig.json\` file. | "{projectRoot}/tsconfig.json" |
|
|
250
|
+
| clean | `boolean` | Remove previous output before build. | `true` |
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
**Please note:** _Option names followed by \* above are required, and must be provided to run the executor._
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
227
257
|
<!-- markdownlint-restore -->
|
|
228
258
|
<!-- prettier-ignore-end -->
|
|
229
259
|
|