@storm-software/workspace-tools 1.38.0 → 1.39.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 +14 -0
- package/README.md +41 -10
- package/index.js +22421 -448
- package/meta.json +1 -1
- package/package.json +2 -1
- package/src/base/index.js +3 -1
- package/src/executors/tsup/executor.js +22281 -235
- package/src/executors/tsup/schema.d.ts +1 -0
- package/src/executors/tsup/schema.json +5 -0
- package/src/executors/tsup-browser/executor.js +22519 -469
- package/src/executors/tsup-neutral/executor.js +22414 -445
- package/src/executors/tsup-node/executor.js +22516 -468
- package/src/utils/index.js +22046 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.38.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.38.0...workspace-tools-v1.38.1) (2024-01-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Removed legacy config from neutral tsup build ([4e1cce7](https://github.com/storm-software/storm-ops/commit/4e1cce7122194d6d0364a564115ebdebe7eab46b))
|
|
7
|
+
|
|
8
|
+
# [1.38.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.37.1...workspace-tools-v1.38.0) (2024-01-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Added `metafile` option to tsup build ([f3c982c](https://github.com/storm-software/storm-ops/commit/f3c982c16a29d2034b9087bc86cf61a776e1445b))
|
|
14
|
+
|
|
1
15
|
## [1.37.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.37.0...workspace-tools-v1.37.1) (2024-01-06)
|
|
2
16
|
|
|
3
17
|
|
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 />
|
|
@@ -103,10 +103,12 @@ The following executor options are available:
|
|
|
103
103
|
| assets | `array` | List of static assets. | `[]` |
|
|
104
104
|
| clean | `boolean` | Remove previous output before build. | `true` |
|
|
105
105
|
| includeSrc | `boolean` | Should the source files be added to the distribution folder in an \`src\` directory. | |
|
|
106
|
+
| metafile | `boolean` | Should a meta file be created for the build package | |
|
|
106
107
|
| emitOnAll | `boolean` | Should each file contained in the package be emitted individually. | |
|
|
107
108
|
| generatePackageJson | `boolean` | Should a package.json file be generated in the output folder or should the existing one be copied in. | `true` |
|
|
108
109
|
| splitting | `boolean` | Should the build process preform \*code-splitting\*? | `true` |
|
|
109
110
|
| treeshake | `boolean` | Should the build process \*tree-shake\* to remove unused code? | `true` |
|
|
111
|
+
| format | `string[]` | The output format for the generated JavaScript files. There are currently three possible values that can be configured: iife, cjs, and esm. | `[]` |
|
|
110
112
|
| debug | `boolean` | Should output be unminified with source mappings. | |
|
|
111
113
|
| **platform \*** | "browser" \| "neutral" \| "node" \| "worker" | Platform target for outputs. | "neutral" |
|
|
112
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." |
|
|
@@ -139,15 +141,6 @@ nx run my-project:tsup-neutral
|
|
|
139
141
|
|
|
140
142
|
**Please note:** _The tsup-neutral executor should be included in the desired projects's `project.json` file._
|
|
141
143
|
|
|
142
|
-
### Options
|
|
143
|
-
|
|
144
|
-
The following executor options are available:
|
|
145
|
-
|
|
146
|
-
| Option | Type | Description | Default |
|
|
147
|
-
| --------- | ------ | ------------- | --------- |
|
|
148
|
-
| transports | `string[]` | | `[]` |
|
|
149
|
-
|
|
150
|
-
|
|
151
144
|
|
|
152
145
|
|
|
153
146
|
## Node TypeScript Builder
|
|
@@ -164,6 +157,15 @@ nx run my-project:tsup-node
|
|
|
164
157
|
|
|
165
158
|
**Please note:** _The tsup-node executor should be included in the desired projects's `project.json` file._
|
|
166
159
|
|
|
160
|
+
### Options
|
|
161
|
+
|
|
162
|
+
The following executor options are available:
|
|
163
|
+
|
|
164
|
+
| Option | Type | Description | Default |
|
|
165
|
+
| --------- | ------ | ------------- | --------- |
|
|
166
|
+
| transports | `string[]` | | `[]` |
|
|
167
|
+
|
|
168
|
+
|
|
167
169
|
|
|
168
170
|
|
|
169
171
|
## Browser TypeScript Builder
|
|
@@ -411,6 +413,35 @@ The following executor options are available:
|
|
|
411
413
|
|
|
412
414
|
|
|
413
415
|
|
|
416
|
+
## Design Tokens Code Generator
|
|
417
|
+
|
|
418
|
+
Create styling source code from design tokens json file(s) exported from Figma Tokens Studio
|
|
419
|
+
|
|
420
|
+
### Options
|
|
421
|
+
|
|
422
|
+
The following executor options are available:
|
|
423
|
+
|
|
424
|
+
| Option | Type | Description | Default |
|
|
425
|
+
| --------- | ------ | ------------- | --------- |
|
|
426
|
+
| **inputPath \*** | `string` | The path to the tokens json file(s) exported from Figma Tokens Studio. | |
|
|
427
|
+
| **type \*** | "tailwindcss" \| "tamagui" \| "all" | The type of code to generate based on the supplied tokens (TailWind CSS, Tamagui, etc.). | "tailwindcss" |
|
|
428
|
+
| **tsConfig \*** | `string` | Path to the typescript config file. | |
|
|
429
|
+
| customActions | `string` | Path to the ts file exporting the custom actions to register. | |
|
|
430
|
+
| customFileHeaders | `string` | Path to the ts file exporting the custom file headers to register. | |
|
|
431
|
+
| customFilters | `string` | Path to the ts file exporting the custom filters to register. | |
|
|
432
|
+
| customFormats | `string` | Path to the ts file exporting the custom formats to register. | |
|
|
433
|
+
| customParsers | `string` | Path to the ts file exporting the custom parsers to register. | |
|
|
434
|
+
| customTransformGroups | `string` | Path to the ts file exporting the custom transform groups to register. | |
|
|
435
|
+
| customTransforms | `string` | Path to the ts file exporting the custom transform to register. | |
|
|
436
|
+
| outputPath | `string` | The output path of the generated files. | |
|
|
437
|
+
| deleteOutputPath | `boolean` | Delete the output path before building. | `true` |
|
|
438
|
+
| platform | `string` | Build only the passed platform defined in the configuration. | |
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
**Please note:** _Option names followed by \* above are required, and must be provided to run the executor._
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
414
445
|
<!-- markdownlint-restore -->
|
|
415
446
|
<!-- prettier-ignore-end -->
|
|
416
447
|
|