@storm-software/workspace-tools 1.66.30 β†’ 1.68.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +42 -1
  3. package/executors.json +1 -1
  4. package/index.js +225 -96
  5. package/meta.json +1 -1
  6. package/package.json +3 -3
  7. package/src/base/index.js +16 -3
  8. package/src/executors/rolldown/executor.js +81 -19
  9. package/src/executors/rolldown/schema.json +4 -17
  10. package/src/executors/tsup/executor.js +60 -12
  11. package/src/executors/tsup/schema.json +5 -21
  12. package/src/executors/tsup-browser/executor.js +60 -12
  13. package/src/executors/tsup-neutral/executor.js +60 -12
  14. package/src/executors/tsup-node/executor.js +60 -12
  15. package/src/executors/typia/executor.js +16 -3
  16. package/src/generators/browser-library/generator.js +16 -3
  17. package/src/generators/config-schema/generator.js +116 -71
  18. package/src/generators/neutral-library/generator.js +16 -3
  19. package/src/generators/node-library/generator.js +16 -3
  20. package/src/generators/preset/files/.env.template +2 -7
  21. package/src/generators/preset/files/.eslintignore +17 -0
  22. package/src/generators/preset/files/.eslintrc.base.json +42 -0
  23. package/src/generators/preset/files/.github/CODEOWNERS +1 -1
  24. package/src/generators/preset/files/.github/dependabot.yml +24 -0
  25. package/src/generators/preset/files/.github/labels.yml +3 -0
  26. package/src/generators/preset/files/.github/renovate.json.template +14 -2
  27. package/src/generators/preset/files/.github/stale.yml +22 -17
  28. package/src/generators/preset/files/.github/workflows/build-release.yml.template +11 -80
  29. package/src/generators/preset/files/.github/workflows/codeql.yml +1 -1
  30. package/src/generators/preset/files/.github/workflows/dependabot-approve.yml +24 -0
  31. package/src/generators/preset/files/.github/workflows/git-guardian.yml +1 -1
  32. package/src/generators/preset/files/.github/workflows/greetings.yml +2 -3
  33. package/src/generators/preset/files/.vscode/settings.json +127 -42
  34. package/src/generators/preset/files/.vscode/tasks.json +1 -16
  35. package/src/generators/preset/files/storm.config.js.template +29 -0
  36. package/src/generators/preset/files/tsconfig.base.json.template +1 -1
  37. package/src/generators/preset/generator.js +16 -3
  38. package/src/generators/release-version/generator.js +16 -3
  39. package/src/utils/index.js +16 -3
  40. package/src/generators/preset/files/.github/actions/setup-workspace/action.yaml +0 -41
  41. /package/src/generators/preset/files/{.github/.whitesource β†’ .whitesource} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ ## 1.68.0 (2024-04-07)
2
+
3
+
4
+ ### πŸš€ Features
5
+
6
+ - **git-tools:** Added reusable GitHub `workflows` and `actions` ([1c9a5391](https://github.com/storm-software/storm-ops/commit/1c9a5391))
7
+
8
+ - **storm-ops:** Merged in change to the main branch ([ce79c572](https://github.com/storm-software/storm-ops/commit/ce79c572))
9
+
10
+
11
+ ### ❀️ Thank You
12
+
13
+ - Patrick Sullivan
14
+
15
+ ## 1.67.0 (2024-04-06)
16
+
17
+
18
+ ### πŸš€ Features
19
+
20
+ - **build-tools:** Added support for `rolldown` builds ([46de2e63](https://github.com/storm-software/storm-ops/commit/46de2e63))
21
+
22
+
23
+ ### ❀️ Thank You
24
+
25
+ - Patrick Sullivan
26
+
1
27
  ## 1.66.30 (2024-04-01)
2
28
 
3
29
 
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
- [![Version](https://img.shields.io/badge/version-1.66.28-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.67.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![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 docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&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)
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
@@ -42,4 +42,4 @@
42
42
  "description": "An executor used by Storm Software to run the Rolldown build process"
43
43
  }
44
44
  }
45
- }
45
+ }