@storm-software/workspace-tools 1.182.4 → 1.182.6

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,4 +1,11 @@
1
- ## 1.182.4 (2024-09-12)
1
+ ## 1.182.6 (2024-09-13)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **build-tools:** Resolve issue with unbuild `input` parameter
6
+ ([a30abbaa](https://github.com/storm-software/storm-ops/commit/a30abbaa))
7
+
8
+ ## 1.182.5 (2024-09-13)
2
9
 
3
10
  ### Bug Fixes
4
11
 
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.182.3-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.182.5-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 -->
@@ -95,23 +95,26 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
95
95
  - [Rollup Builder](#rollup-builder)
96
96
  - [Example](#example-16)
97
97
  - [Options](#options-14)
98
+ - [RSLib Builder](#rslib-builder)
99
+ - [Example](#example-17)
100
+ - [Options](#options-15)
98
101
  - [Generators](#generators)
99
102
  - [Init Storm Workspace Plugin](#init-storm-workspace-plugin)
100
- - [Options](#options-15)
103
+ - [Options](#options-16)
101
104
  - [Workspace Preset](#workspace-preset)
102
105
  - [Examples](#examples)
103
- - [Options](#options-16)
104
- - [Add Node Library](#add-node-library)
105
106
  - [Options](#options-17)
106
- - [Configuration Schema Creator](#configuration-schema-creator)
107
+ - [Add Node Library](#add-node-library)
107
108
  - [Options](#options-18)
108
- - [Add Neutral Library](#add-neutral-library)
109
+ - [Configuration Schema Creator](#configuration-schema-creator)
109
110
  - [Options](#options-19)
110
- - [Add browser Library](#add-browser-library)
111
+ - [Add Neutral Library](#add-neutral-library)
111
112
  - [Options](#options-20)
113
+ - [Add browser Library](#add-browser-library)
114
+ - [Options](#options-21)
112
115
  - [design-tokens](#design-tokens)
113
116
  - [Storm Release Version Generator](#storm-release-version-generator)
114
- - [Options](#options-21)
117
+ - [Options](#options-22)
115
118
  - [Building](#building)
116
119
  - [Running unit tests](#running-unit-tests)
117
120
  - [Storm Workspaces](#storm-workspaces)
@@ -754,6 +757,46 @@ The following executor options are available:
754
757
 
755
758
 
756
759
 
760
+ ## RSLib Builder
761
+
762
+ An executor used by Storm Software to run the RSLib build process
763
+
764
+ ### Example
765
+
766
+ This executor can be used by executing the following in a command line utility:
767
+
768
+ ```cmd
769
+ nx run my-project:rslib
770
+ ```
771
+
772
+ **Please note:** _The rslib 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._
773
+
774
+ ### Options
775
+
776
+ The following executor options are available:
777
+
778
+ | Option | Type | Description | Default |
779
+ | --------- | ------ | ------------- | --------- |
780
+ | entry | `string` | The path to the entry file, relative to project. | "{sourceRoot}/index.ts" |
781
+ | outputPath | `string` | The output path of the generated files. | "dist/{projectRoot}" |
782
+ | **tsConfig \*** | `string` | The path to the \`tsconfig.json\` file. | "{projectRoot}/tsconfig.json" |
783
+ | additionalEntryPoints | `string[]` | List of additional entry points. | `[]` |
784
+ | assets | `array` | List of static assets. | `[]` |
785
+ | clean | `boolean` | Remove previous output before build. | `true` |
786
+ | includeSrc | `boolean` | Should the source files be added to the distribution folder in an \`src\` directory. | |
787
+ | generatePackageJson | `boolean` | Should a package.json file be generated in the output folder or should the existing one be copied in. | `true` |
788
+ | debug | `boolean` | Should output be unminified with source mappings. | |
789
+ | **platform \*** | "browser" \| "neutral" \| "node" \| "worker" | Platform target for outputs. | "neutral" |
790
+ | **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." |
791
+ | minify | `boolean` | Should the build process minify the output files? | |
792
+ | verbose | `boolean` | Should write extra log outputs with details from the executor. | |
793
+ | plugins | `object[]` | List of Rollup plugins to use during processing | `[]` |
794
+
795
+
796
+ **Please note:** _Option names followed by \* above are required, and must be provided to run the executor._
797
+
798
+
799
+
757
800
  <!-- markdownlint-restore -->
758
801
  <!-- prettier-ignore-end -->
759
802
 
package/index.js CHANGED
@@ -230456,16 +230456,13 @@ async function createRollupOptions(options, context, config) {
230456
230456
  if (!context.targetName) {
230457
230457
  throw new Error("Nx target name was not found");
230458
230458
  }
230459
- if (!context.configurationName) {
230460
- throw new Error("Nx configuration name was not found");
230461
- }
230462
230459
  const { dependencies } = (0, import_buildable_libs_utils2.calculateProjectBuildableDependencies)(
230463
230460
  context.taskGraph,
230464
230461
  context.projectGraph,
230465
230462
  context.root,
230466
230463
  context.projectName,
230467
230464
  context.targetName,
230468
- context.configurationName,
230465
+ context.configurationName ?? "development",
230469
230466
  true
230470
230467
  );
230471
230468
  const rollupConfig = await withRollupConfig(