@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 +8 -1
- package/README.md +51 -8
- package/index.js +1 -4
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/rollup/executor.js +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
## 1.182.
|
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
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-
|
|
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
|
-
- [
|
|
107
|
+
- [Add Node Library](#add-node-library)
|
|
107
108
|
- [Options](#options-18)
|
|
108
|
-
- [
|
|
109
|
+
- [Configuration Schema Creator](#configuration-schema-creator)
|
|
109
110
|
- [Options](#options-19)
|
|
110
|
-
- [Add
|
|
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-
|
|
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(
|