@storm-software/workspace-tools 1.66.30 → 1.67.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 +12 -0
- package/README.md +42 -1
- package/executors.json +1 -1
- package/index.js +225 -96
- package/meta.json +1 -1
- package/package.json +3 -3
- package/src/base/index.js +16 -3
- package/src/executors/rolldown/executor.js +81 -19
- package/src/executors/rolldown/schema.json +4 -17
- package/src/executors/tsup/executor.js +60 -12
- package/src/executors/tsup/schema.json +5 -21
- package/src/executors/tsup-browser/executor.js +60 -12
- package/src/executors/tsup-neutral/executor.js +60 -12
- package/src/executors/tsup-node/executor.js +60 -12
- package/src/executors/typia/executor.js +16 -3
- package/src/generators/browser-library/generator.js +16 -3
- package/src/generators/config-schema/generator.js +116 -71
- package/src/generators/neutral-library/generator.js +16 -3
- package/src/generators/node-library/generator.js +16 -3
- package/src/generators/preset/files/.env.template +2 -7
- package/src/generators/preset/files/.eslintignore +17 -0
- package/src/generators/preset/files/.eslintrc.base.json +42 -0
- package/src/generators/preset/files/.github/CODEOWNERS +1 -1
- package/src/generators/preset/files/.github/dependabot.yml +24 -0
- package/src/generators/preset/files/.github/labels.yml +3 -0
- package/src/generators/preset/files/.github/renovate.json.template +14 -2
- package/src/generators/preset/files/.github/stale.yml +22 -17
- package/src/generators/preset/files/.github/workflows/build-release.yml.template +11 -80
- package/src/generators/preset/files/.github/workflows/codeql.yml +1 -1
- package/src/generators/preset/files/.github/workflows/dependabot-approve.yml +24 -0
- package/src/generators/preset/files/.github/workflows/git-guardian.yml +1 -1
- package/src/generators/preset/files/.github/workflows/greetings.yml +2 -3
- package/src/generators/preset/files/.vscode/settings.json +127 -42
- package/src/generators/preset/files/.vscode/tasks.json +1 -16
- package/src/generators/preset/files/storm.config.js.template +29 -0
- package/src/generators/preset/files/tsconfig.base.json.template +1 -1
- package/src/generators/preset/generator.js +16 -3
- package/src/generators/release-version/generator.js +16 -3
- package/src/utils/index.js +16 -3
- package/src/generators/preset/files/.github/actions/setup-workspace/action.yaml +0 -41
- /package/src/generators/preset/files/{.github/.whitesource → .whitesource} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## 1.67.0 (2024-04-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🚀 Features
|
|
5
|
+
|
|
6
|
+
- **build-tools:** Added support for `rolldown` builds ([46de2e63](https://github.com/storm-software/storm-ops/commit/46de2e63))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
1
13
|
## 1.66.30 (2024-04-01)
|
|
2
14
|
|
|
3
15
|
|
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.com" target="_blank">stormsoftware.com</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
|
> [!IMPORTANT]
|
|
@@ -276,6 +276,47 @@ The following executor options are available:
|
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
|
|
279
|
+
## Rolldown Builder
|
|
280
|
+
|
|
281
|
+
An executor used by Storm Software to run the Rolldown build process
|
|
282
|
+
|
|
283
|
+
### Example
|
|
284
|
+
|
|
285
|
+
This executor can be used by executing the following in a command line utility:
|
|
286
|
+
|
|
287
|
+
```cmd
|
|
288
|
+
nx run my-project:rolldown
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
**Please note:** _The rolldown 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._
|
|
292
|
+
|
|
293
|
+
### Options
|
|
294
|
+
|
|
295
|
+
The following executor options are available:
|
|
296
|
+
|
|
297
|
+
| Option | Type | Description | Default |
|
|
298
|
+
| --------- | ------ | ------------- | --------- |
|
|
299
|
+
| entry | `string` | The path to the entry file, relative to project. | "{sourceRoot}/index.ts" |
|
|
300
|
+
| outputPath | `string` | The output path of the generated files. | "dist/{projectRoot}" |
|
|
301
|
+
| **tsConfig \*** | `string` | The path to the \`tsconfig.json\` file. | "{projectRoot}/tsconfig.json" |
|
|
302
|
+
| additionalEntryPoints | `string[]` | List of additional entry points. | `[]` |
|
|
303
|
+
| watch | `boolean` | Enable re-building when files change. | |
|
|
304
|
+
| assets | `array` | List of static assets. | `[]` |
|
|
305
|
+
| clean | `boolean` | Remove previous output before build. | `true` |
|
|
306
|
+
| includeSrc | `boolean` | Should the source files be added to the distribution folder in an \`src\` directory. | |
|
|
307
|
+
| generatePackageJson | `boolean` | Should a package.json file be generated in the output folder or should the existing one be copied in. | `true` |
|
|
308
|
+
| debug | `boolean` | Should output be unminified with source mappings. | |
|
|
309
|
+
| **platform \*** | "browser" \| "neutral" \| "node" \| "worker" | Platform target for outputs. | "neutral" |
|
|
310
|
+
| **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.com>) and is licensed under the Apache License 2.0." |
|
|
311
|
+
| minify | `boolean` | Should the build process minify the output files? | |
|
|
312
|
+
| verbose | `boolean` | Should write extra log outputs with details from the executor. | |
|
|
313
|
+
| plugins | `object[]` | List of Rollup plugins to use during processing | `[]` |
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
**Please note:** _Option names followed by \* above are required, and must be provided to run the executor._
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
279
320
|
<!-- markdownlint-restore -->
|
|
280
321
|
<!-- prettier-ignore-end -->
|
|
281
322
|
|
package/executors.json
CHANGED