@storm-software/workspace-tools 1.17.1 → 1.19.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 +16 -0
- package/README.md +42 -1
- package/executors.json +12 -1
- package/generators.json +6 -1
- package/index.js +38399 -26541
- package/meta.json +1 -1
- package/package.json +6 -2
- package/src/executors/tsup/executor.js +163 -115
- package/src/executors/tsup/get-config.js +3 -0
- package/src/executors/tsup/schema.json +1 -0
- package/src/executors/tsup-neutral/schema.d.ts +8 -0
- package/src/executors/tsup-neutral/schema.json +19 -0
- package/src/executors/tsup-node/schema.d.ts +6 -0
- package/src/executors/tsup-node/schema.json +10 -0
- package/src/generators/config-schema/schema.d.ts +3 -0
- package/src/generators/config-schema/schema.json +20 -0
- package/src/generators/node-library/generator.js +6832 -91
- package/src/generators/node-library/schema.json +2 -1
- package/src/generators/preset/generator.js +6984 -219
- package/src/generators/preset/schema.json +1 -1
- package/src/utils/index.js +40 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# [1.18.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.17.1...workspace-tools-v1.18.0) (2023-12-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **config-tools:** Added the config-tools library to support storm configuration ([63f8b9e](https://github.com/storm-software/storm-ops/commit/63f8b9e80a3fc95adbb4dae36e04339e9d46d089))
|
|
7
|
+
* **workspace-tools:** Added the `tsup-neutral` and `tsup-node` executors ([0b1c10e](https://github.com/storm-software/storm-ops/commit/0b1c10e40b2c14b1f49012b8288808aec74e247f))
|
|
8
|
+
|
|
9
|
+
## [1.17.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.17.0...workspace-tools-v1.17.1) (2023-11-30)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **workspace-tools:** Enhanced external dependency selection logic ([12dc8d5](https://github.com/storm-software/storm-ops/commit/12dc8d52175f19f70014f21e66e27c7dbaf29df2))
|
|
15
|
+
* **workspace-tools:** Ensure we do no add duplicate dependencies ([5e65bbe](https://github.com/storm-software/storm-ops/commit/5e65bbe90790c7c8e77aa23977e988699901fd3d))
|
|
16
|
+
|
|
1
17
|
# [1.17.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.16.17...workspace-tools-v1.17.0) (2023-11-30)
|
|
2
18
|
|
|
3
19
|
|
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 />
|
|
@@ -120,6 +120,47 @@ The following executor options are available:
|
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
|
+
## Neutral TypeScript Builder
|
|
124
|
+
|
|
125
|
+
Runs a neutral platform TypeScript build
|
|
126
|
+
|
|
127
|
+
### Example
|
|
128
|
+
|
|
129
|
+
This executor can be used by executing the following in a command line utility:
|
|
130
|
+
|
|
131
|
+
```cmd
|
|
132
|
+
nx run my-project:tsup-neutral
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Please note:** _The tsup-neutral executor should be included in the desired projects's `project.json` file._
|
|
136
|
+
|
|
137
|
+
### Options
|
|
138
|
+
|
|
139
|
+
The following executor options are available:
|
|
140
|
+
|
|
141
|
+
| Option | Type | Description | Default |
|
|
142
|
+
| --------- | ------ | ------------- | --------- |
|
|
143
|
+
| transports | `string[]` | | `[]` |
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
## Node TypeScript Builder
|
|
149
|
+
|
|
150
|
+
Runs a node platform TypeScript build
|
|
151
|
+
|
|
152
|
+
### Example
|
|
153
|
+
|
|
154
|
+
This executor can be used by executing the following in a command line utility:
|
|
155
|
+
|
|
156
|
+
```cmd
|
|
157
|
+
nx run my-project:tsup-node
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Please note:** _The tsup-node executor should be included in the desired projects's `project.json` file._
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
123
164
|
<!-- markdownlint-restore -->
|
|
124
165
|
<!-- prettier-ignore-end -->
|
|
125
166
|
|
package/executors.json
CHANGED
|
@@ -3,7 +3,18 @@
|
|
|
3
3
|
"tsup": {
|
|
4
4
|
"implementation": "./src/executors/tsup/executor",
|
|
5
5
|
"schema": "./src/executors/tsup/schema.json",
|
|
6
|
-
"description": "Run a build on the project using tsup configuration"
|
|
6
|
+
"description": "Run a build on the project using tsup configuration",
|
|
7
|
+
"internal": true
|
|
8
|
+
},
|
|
9
|
+
"tsup-neutral": {
|
|
10
|
+
"implementation": "./src/executors/tsup-neutral/executor",
|
|
11
|
+
"schema": "./src/executors/tsup-neutral/schema.json",
|
|
12
|
+
"description": "Runs a neutral platform TypeScript build"
|
|
13
|
+
},
|
|
14
|
+
"tsup-node": {
|
|
15
|
+
"implementation": "./src/executors/tsup-node/executor",
|
|
16
|
+
"schema": "./src/executors/tsup-node/schema.json",
|
|
17
|
+
"description": "Runs a node platform TypeScript build"
|
|
7
18
|
}
|
|
8
19
|
}
|
|
9
20
|
}
|
package/generators.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"schema": "./src/generators/init/schema.json",
|
|
6
6
|
"description": "Initialize the `@storm-software/workspace-tools` plugin.",
|
|
7
7
|
"aliases": ["ng-add"],
|
|
8
|
-
"
|
|
8
|
+
"internal": true
|
|
9
9
|
},
|
|
10
10
|
"preset": {
|
|
11
11
|
"factory": "./src/generators/preset/generator",
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
"aliases": ["node-lib"],
|
|
20
20
|
"x-type": "library",
|
|
21
21
|
"description": "Generate a new node library project in the Storm workspace"
|
|
22
|
+
},
|
|
23
|
+
"config-schema": {
|
|
24
|
+
"factory": "./src/generators/config-schema/generator",
|
|
25
|
+
"schema": "./src/generators/config-schema/schema.json",
|
|
26
|
+
"description": "Create a Storm JSON schema based on the workspaces project configurations"
|
|
22
27
|
}
|
|
23
28
|
}
|
|
24
29
|
}
|