@storm-software/workspace-tools 1.270.2 → 1.271.1
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 +40 -0
- package/README.md +1 -1
- package/dist/chunk-4QYM3VS4.mjs +282 -0
- package/dist/{chunk-ZP76EMBE.js → chunk-FYXWAGK3.js} +97 -27
- package/dist/chunk-MJMN2T4N.mjs +166 -0
- package/dist/chunk-RZVF4LHT.js +282 -0
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +6 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +8 -8
- package/dist/src/executors/npm-publish/executor.js +3 -3
- package/dist/src/executors/npm-publish/executor.mjs +2 -2
- package/dist/src/generators/preset/files/LICENSE +201 -0
- package/dist/src/utils/index.d.mts +1 -1
- package/dist/src/utils/index.d.ts +1 -1
- package/dist/src/utils/index.js +2 -2
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/pnpm-deps-update.d.mts +3 -3
- package/dist/src/utils/pnpm-deps-update.d.ts +3 -3
- package/dist/src/utils/pnpm-deps-update.js +2 -2
- package/dist/src/utils/pnpm-deps-update.mjs +3 -3
- package/docs/api/base/base-executor.schema.md +16 -0
- package/docs/api/base/base-generator.schema.md +15 -0
- package/docs/api/base/cargo-base-executor.schema.md +90 -0
- package/docs/api/base/typescript-build-executor.schema.md +126 -0
- package/docs/api/base/typescript-library-generator.schema.md +129 -0
- package/docs/api/executors/cargo-build/schema.md +89 -0
- package/docs/api/executors/cargo-check/schema.md +90 -0
- package/docs/api/executors/cargo-clippy/schema.md +99 -0
- package/docs/api/executors/cargo-doc/schema.md +130 -0
- package/docs/api/executors/cargo-format/schema.md +90 -0
- package/docs/api/executors/cargo-publish/schema.md +117 -0
- package/docs/api/executors/clean-package/schema.md +65 -0
- package/docs/api/executors/esbuild/schema.md +126 -0
- package/docs/api/executors/npm-publish/schema.md +64 -0
- package/docs/api/executors/size-limit/schema.md +25 -0
- package/docs/api/executors/typia/schema.md +46 -0
- package/docs/api/executors/unbuild/schema.md +222 -0
- package/docs/api/generators/browser-library/files/README.md +58 -0
- package/docs/api/generators/browser-library/schema.md +129 -0
- package/docs/api/generators/config-schema/schema.md +25 -0
- package/docs/api/generators/init/schema.md +15 -0
- package/docs/api/generators/neutral-library/files/README.md +58 -0
- package/docs/api/generators/neutral-library/schema.md +129 -0
- package/docs/api/generators/node-library/files/README.md +63 -0
- package/docs/api/generators/node-library/schema.md +129 -0
- package/docs/api/generators/preset/schema.md +110 -0
- package/docs/api/generators/release-version/schema.md +160 -0
- package/package.json +13 -35
- package/dist/chunk-CMH2A42G.js +0 -467
- package/dist/chunk-HMJTTE4A.mjs +0 -96
- package/dist/chunk-I54IKCIV.mjs +0 -467
- package/docs/executors/rollup.md +0 -88
- package/executors.ts +0 -23
- package/generators.ts +0 -14
- package/index.ts +0 -5
- package/project.json +0 -58
- package/src/base/base-executor.ts +0 -200
- package/src/base/base-executor.untyped.ts +0 -18
- package/src/base/base-generator.ts +0 -130
- package/src/base/base-generator.untyped.ts +0 -16
- package/src/base/cargo-base-executor.untyped.ts +0 -73
- package/src/base/index.ts +0 -8
- package/src/base/typescript-build-executor.untyped.ts +0 -153
- package/src/base/typescript-library-generator.ts +0 -415
- package/src/base/typescript-library-generator.untyped.ts +0 -106
- package/src/executors/cargo-build/executor.spec.ts +0 -18
- package/src/executors/cargo-build/executor.ts +0 -28
- package/src/executors/cargo-build/untyped.ts +0 -18
- package/src/executors/cargo-check/executor.spec.ts +0 -18
- package/src/executors/cargo-check/executor.ts +0 -27
- package/src/executors/cargo-check/untyped.ts +0 -11
- package/src/executors/cargo-clippy/executor.spec.ts +0 -18
- package/src/executors/cargo-clippy/executor.ts +0 -28
- package/src/executors/cargo-clippy/untyped.ts +0 -18
- package/src/executors/cargo-doc/executor.spec.ts +0 -18
- package/src/executors/cargo-doc/executor.ts +0 -39
- package/src/executors/cargo-doc/untyped.ts +0 -44
- package/src/executors/cargo-format/executor.spec.ts +0 -18
- package/src/executors/cargo-format/executor.ts +0 -28
- package/src/executors/cargo-format/untyped.ts +0 -11
- package/src/executors/cargo-publish/executor.spec.ts +0 -11
- package/src/executors/cargo-publish/executor.ts +0 -139
- package/src/executors/cargo-publish/untyped.ts +0 -33
- package/src/executors/clean-package/constants.ts +0 -99
- package/src/executors/clean-package/executor.spec.ts +0 -18
- package/src/executors/clean-package/executor.ts +0 -214
- package/src/executors/clean-package/types.ts +0 -6
- package/src/executors/clean-package/untyped.ts +0 -60
- package/src/executors/clean-package/utils.ts +0 -85
- package/src/executors/esbuild/executor.spec.ts +0 -11
- package/src/executors/esbuild/executor.ts +0 -67
- package/src/executors/esbuild/untyped.ts +0 -20
- package/src/executors/npm-publish/executor.spec.ts +0 -11
- package/src/executors/npm-publish/executor.ts +0 -680
- package/src/executors/npm-publish/untyped.ts +0 -56
- package/src/executors/size-limit/executor.spec.ts +0 -18
- package/src/executors/size-limit/executor.ts +0 -88
- package/src/executors/size-limit/untyped.ts +0 -22
- package/src/executors/typia/executor.ts +0 -54
- package/src/executors/typia/untyped.ts +0 -48
- package/src/executors/unbuild/executor.spec.ts +0 -11
- package/src/executors/unbuild/executor.ts +0 -136
- package/src/executors/unbuild/untyped.ts +0 -152
- package/src/generators/browser-library/generator.spec.ts +0 -20
- package/src/generators/browser-library/generator.ts +0 -109
- package/src/generators/browser-library/untyped.ts +0 -29
- package/src/generators/config-schema/generator.spec.ts +0 -20
- package/src/generators/config-schema/generator.ts +0 -90
- package/src/generators/config-schema/untyped.ts +0 -19
- package/src/generators/init/init.ts +0 -32
- package/src/generators/init/untyped.ts +0 -16
- package/src/generators/neutral-library/generator.spec.ts +0 -20
- package/src/generators/neutral-library/generator.ts +0 -81
- package/src/generators/neutral-library/untyped.ts +0 -29
- package/src/generators/node-library/generator.spec.ts +0 -20
- package/src/generators/node-library/generator.ts +0 -84
- package/src/generators/node-library/untyped.ts +0 -29
- package/src/generators/preset/files/.all-contributorsrc.template +0 -48
- package/src/generators/preset/files/.editorconfig +0 -454
- package/src/generators/preset/files/.env.template +0 -38
- package/src/generators/preset/files/.gitattributes +0 -52
- package/src/generators/preset/files/.github/.nvmrc +0 -1
- package/src/generators/preset/files/.github/CODEOWNERS +0 -3
- package/src/generators/preset/files/.github/CODE_OF_CONDUCT.md +0 -125
- package/src/generators/preset/files/.github/CONTRIBUTING.md.template +0 -15
- package/src/generators/preset/files/.github/FUNDING.yml +0 -3
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/bug-report.yml.template +0 -102
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/documentation.yml.template +0 -56
- package/src/generators/preset/files/.github/ISSUE_TEMPLATE/feature-request.yml.template +0 -60
- package/src/generators/preset/files/.github/PULL_REQUEST_TEMPLATE.md.template +0 -39
- package/src/generators/preset/files/.github/SECURITY.md +0 -9
- package/src/generators/preset/files/.github/codecov.yml +0 -29
- package/src/generators/preset/files/.github/dependabot.yml +0 -64
- package/src/generators/preset/files/.github/labels.yml +0 -84
- package/src/generators/preset/files/.github/renovate.json +0 -4
- package/src/generators/preset/files/.github/renovate.json.template +0 -63
- package/src/generators/preset/files/.github/stale.yml +0 -55
- package/src/generators/preset/files/.github/workflows/build-release.yml.template +0 -25
- package/src/generators/preset/files/.github/workflows/code-review.yml +0 -18
- package/src/generators/preset/files/.github/workflows/codeql.yml +0 -84
- package/src/generators/preset/files/.github/workflows/dependabot-update.yml +0 -32
- package/src/generators/preset/files/.github/workflows/git-guardian.yml +0 -23
- package/src/generators/preset/files/.github/workflows/greetings.yml +0 -31
- package/src/generators/preset/files/.github/workflows/labels.yml +0 -31
- package/src/generators/preset/files/.github/workflows/lock.yml +0 -26
- package/src/generators/preset/files/.log4brains.yml.template +0 -5
- package/src/generators/preset/files/.markdownlint.json +0 -155
- package/src/generators/preset/files/.verdaccio/config.yml.template +0 -40
- package/src/generators/preset/files/.vscode/README.md +0 -32
- package/src/generators/preset/files/.vscode/cspell.json +0 -3
- package/src/generators/preset/files/.vscode/extensions.json +0 -14
- package/src/generators/preset/files/.vscode/launch.json +0 -37
- package/src/generators/preset/files/.vscode/settings.json +0 -401
- package/src/generators/preset/files/.vscode/tasks.json +0 -4
- package/src/generators/preset/files/.whitesource +0 -14
- package/src/generators/preset/files/assets/diagrams/.gitkeep +0 -0
- package/src/generators/preset/files/assets/icons/dark/.gitkeep +0 -0
- package/src/generators/preset/files/assets/icons/light/.gitkeep +0 -0
- package/src/generators/preset/files/assets/logos/.gitkeep +0 -0
- package/src/generators/preset/files/docs/api-reference/.gitkeep +0 -0
- package/src/generators/preset/generator.spec.ts +0 -20
- package/src/generators/preset/generator.ts +0 -315
- package/src/generators/preset/untyped.ts +0 -88
- package/src/generators/release-version/generator.spec.ts +0 -20
- package/src/generators/release-version/generator.ts +0 -920
- package/src/generators/release-version/untyped.ts +0 -156
- package/src/plugins/rust/cargo-toml.ts +0 -434
- package/src/plugins/rust/index.ts +0 -1
- package/src/plugins/typescript/index.ts +0 -1
- package/src/plugins/typescript/project-config.ts +0 -564
- package/src/plugins/typescript/tsup.ts +0 -198
- package/src/types.ts +0 -130
- package/src/utils/apply-workspace-tokens.ts +0 -73
- package/src/utils/cargo.ts +0 -219
- package/src/utils/create-cli-options.ts +0 -23
- package/src/utils/get-project-configurations.ts +0 -27
- package/src/utils/index.ts +0 -12
- package/src/utils/lock-file.ts +0 -159
- package/src/utils/package-helpers.ts +0 -54
- package/src/utils/plugin-helpers.ts +0 -112
- package/src/utils/pnpm-deps-update.ts +0 -111
- package/src/utils/project-tags.ts +0 -162
- package/src/utils/toml.ts +0 -204
- package/src/utils/typia-transform.ts +0 -8
- package/src/utils/versions.ts +0 -19
- package/tsconfig.json +0 -30
- package/tsup.config.ts +0 -36
- /package/{src/generators/preset/files/LICENSE → LICENSE} +0 -0
- /package/{src → dist/src}/base/base-executor.schema.d.ts +0 -0
- /package/{src → dist/src}/base/base-executor.schema.json +0 -0
- /package/{src → dist/src}/base/base-executor.schema.md +0 -0
- /package/{src → dist/src}/base/base-generator.schema.d.ts +0 -0
- /package/{src → dist/src}/base/base-generator.schema.json +0 -0
- /package/{src → dist/src}/base/base-generator.schema.md +0 -0
- /package/{src → dist/src}/base/cargo-base-executor.schema.d.ts +0 -0
- /package/{src → dist/src}/base/cargo-base-executor.schema.json +0 -0
- /package/{src → dist/src}/base/cargo-base-executor.schema.md +0 -0
- /package/{src → dist/src}/base/typescript-build-executor.schema.d.ts +0 -0
- /package/{src → dist/src}/base/typescript-build-executor.schema.json +0 -0
- /package/{src → dist/src}/base/typescript-build-executor.schema.md +0 -0
- /package/{src → dist/src}/base/typescript-library-generator.schema.d.ts +0 -0
- /package/{src → dist/src}/base/typescript-library-generator.schema.json +0 -0
- /package/{src → dist/src}/base/typescript-library-generator.schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-build/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-build/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-build/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-check/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-check/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-check/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-clippy/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-clippy/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-clippy/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-doc/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-doc/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-doc/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-format/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-format/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-format/schema.md +0 -0
- /package/{src → dist/src}/executors/cargo-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/cargo-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/cargo-publish/schema.md +0 -0
- /package/{src → dist/src}/executors/clean-package/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/clean-package/schema.json +0 -0
- /package/{src → dist/src}/executors/clean-package/schema.md +0 -0
- /package/{src → dist/src}/executors/esbuild/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/esbuild/schema.json +0 -0
- /package/{src → dist/src}/executors/esbuild/schema.md +0 -0
- /package/{src → dist/src}/executors/npm-publish/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/npm-publish/schema.json +0 -0
- /package/{src → dist/src}/executors/npm-publish/schema.md +0 -0
- /package/{src → dist/src}/executors/size-limit/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/size-limit/schema.json +0 -0
- /package/{src → dist/src}/executors/size-limit/schema.md +0 -0
- /package/{src → dist/src}/executors/typia/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/typia/schema.json +0 -0
- /package/{src → dist/src}/executors/typia/schema.md +0 -0
- /package/{src → dist/src}/executors/unbuild/schema.d.ts +0 -0
- /package/{src → dist/src}/executors/unbuild/schema.json +0 -0
- /package/{src → dist/src}/executors/unbuild/schema.md +0 -0
- /package/{src → dist/src}/generators/browser-library/files/README.md +0 -0
- /package/{src → dist/src}/generators/browser-library/files/jest.config.ts +0 -0
- /package/{src → dist/src}/generators/browser-library/files/src/index.ts.template +0 -0
- /package/{src → dist/src}/generators/browser-library/files/tsconfig.spec.json +0 -0
- /package/{src → dist/src}/generators/browser-library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/browser-library/schema.json +0 -0
- /package/{src → dist/src}/generators/browser-library/schema.md +0 -0
- /package/{src → dist/src}/generators/config-schema/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/config-schema/schema.json +0 -0
- /package/{src → dist/src}/generators/config-schema/schema.md +0 -0
- /package/{src → dist/src}/generators/init/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/init/schema.json +0 -0
- /package/{src → dist/src}/generators/init/schema.md +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/README.md +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/jest.config.ts +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/src/index.ts.template +0 -0
- /package/{src → dist/src}/generators/neutral-library/files/tsconfig.spec.json +0 -0
- /package/{src → dist/src}/generators/neutral-library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/neutral-library/schema.json +0 -0
- /package/{src → dist/src}/generators/neutral-library/schema.md +0 -0
- /package/{src → dist/src}/generators/node-library/files/README.md +0 -0
- /package/{src → dist/src}/generators/node-library/files/jest.config.ts +0 -0
- /package/{src → dist/src}/generators/node-library/files/src/index.ts.template +0 -0
- /package/{src → dist/src}/generators/node-library/files/tsconfig.spec.json +0 -0
- /package/{src → dist/src}/generators/node-library/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/node-library/schema.json +0 -0
- /package/{src → dist/src}/generators/node-library/schema.md +0 -0
- /package/{src → dist/src}/generators/preset/files/README.md.template +0 -0
- /package/{src → dist/src}/generators/preset/files/docs/readme-templates/README.footer.md.template +0 -0
- /package/{src → dist/src}/generators/preset/files/docs/readme-templates/README.header.md.template +0 -0
- /package/{src → dist/src}/generators/preset/files/eslint.config.js.template +0 -0
- /package/{src → dist/src}/generators/preset/files/knip.json +0 -0
- /package/{src → dist/src}/generators/preset/files/lefthook.json +0 -0
- /package/{src → dist/src}/generators/preset/files/nx.json +0 -0
- /package/{src → dist/src}/generators/preset/files/pnpm-workspace.yaml +0 -0
- /package/{src → dist/src}/generators/preset/files/socket.yaml +0 -0
- /package/{src → dist/src}/generators/preset/files/storm.json.template +0 -0
- /package/{src → dist/src}/generators/preset/files/tsconfig.base.json.template +0 -0
- /package/{src → dist/src}/generators/preset/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/preset/schema.json +0 -0
- /package/{src → dist/src}/generators/preset/schema.md +0 -0
- /package/{src → dist/src}/generators/release-version/schema.d.ts +0 -0
- /package/{src → dist/src}/generators/release-version/schema.json +0 -0
- /package/{src → dist/src}/generators/release-version/schema.md +0 -0
- /package/{src → dist/src}/plugins/typescript/untyped-schema.ts +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
<!-- Generated by @storm-software/untyped -->
|
|
3
|
+
<!-- Do not edit this file directly -->
|
|
4
|
+
|
|
5
|
+
# Config Schema Generator
|
|
6
|
+
|
|
7
|
+
## `directory`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
|
|
10
|
+
> Directory
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
The directory to create the library in
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## `outputFile`
|
|
17
|
+
- **Type**: `string`
|
|
18
|
+
- **Default**: `"{workspaceRoot}/storm-workspace.schema.json"`
|
|
19
|
+
|
|
20
|
+
> Output File
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
The file to write the schema to
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!-- START header -->
|
|
2
|
+
<!-- END header -->
|
|
3
|
+
|
|
4
|
+
# <%= name %>
|
|
5
|
+
|
|
6
|
+
<%= description %>
|
|
7
|
+
|
|
8
|
+
<!-- START doctoc -->
|
|
9
|
+
<!-- END doctoc -->
|
|
10
|
+
|
|
11
|
+
## Installing
|
|
12
|
+
|
|
13
|
+
Using [pnpm](http://pnpm.io):
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pnpm add -D <%= namespace %>/<%= name %>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary>Using npm</summary>
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install -D <%= namespace %>/<%= name %>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
</details>
|
|
27
|
+
|
|
28
|
+
<details>
|
|
29
|
+
<summary>Using yarn</summary>
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn add -D <%= namespace %>/<%= name %>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
</details>
|
|
36
|
+
|
|
37
|
+
## Reduced Package Size
|
|
38
|
+
|
|
39
|
+
This project uses [tsup](https://tsup.egoist.dev/) to package the source code due to its ability to remove unused code and ship smaller javascript files thanks to code splitting. This helps to greatly reduce the size of the package and to make it easier to use in other projects.
|
|
40
|
+
|
|
41
|
+
## Development
|
|
42
|
+
|
|
43
|
+
This project is built using [Nx](https://nx.dev). As a result, many of the usual commands are available to assist in development.
|
|
44
|
+
|
|
45
|
+
### Building
|
|
46
|
+
|
|
47
|
+
Run `nx build <%= name %>` to build the library.
|
|
48
|
+
|
|
49
|
+
### Running unit tests
|
|
50
|
+
|
|
51
|
+
Run `nx test <%= name %>` to execute the unit tests via [Jest](https://jestjs.io).
|
|
52
|
+
|
|
53
|
+
### Linting
|
|
54
|
+
|
|
55
|
+
Run `nx lint <%= name %>` to run [ESLint](https://eslint.org/) on the package.
|
|
56
|
+
|
|
57
|
+
<!-- START footer -->
|
|
58
|
+
<!-- END footer -->
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
|
|
2
|
+
<!-- Generated by @storm-software/untyped -->
|
|
3
|
+
<!-- Do not edit this file directly -->
|
|
4
|
+
|
|
5
|
+
# Neutral Library Generator
|
|
6
|
+
|
|
7
|
+
## `directory`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
|
|
10
|
+
> Directory
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
The directory to create the library in
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## `name`
|
|
17
|
+
- **Type**: `string`
|
|
18
|
+
|
|
19
|
+
> Name
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
The name of the library
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## `description`
|
|
26
|
+
- **Type**: `string`
|
|
27
|
+
|
|
28
|
+
> Description
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
The description of the library
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## `buildExecutor`
|
|
35
|
+
- **Type**: `string`
|
|
36
|
+
- **Default**: `"@storm-software/workspace-tools:unbuild"`
|
|
37
|
+
|
|
38
|
+
> Build Executor
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
The executor to use for building the library
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## `platform`
|
|
45
|
+
- **Type**: `string`
|
|
46
|
+
- **Default**: `"neutral"`
|
|
47
|
+
|
|
48
|
+
> Platform
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
The platform to target with the library
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## `importPath`
|
|
55
|
+
- **Type**: `string`
|
|
56
|
+
|
|
57
|
+
> Import Path
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
The import path for the library
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## `tags`
|
|
64
|
+
- **Type**: `string`
|
|
65
|
+
|
|
66
|
+
> Tags
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
The tags for the library
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## `unitTestRunner`
|
|
73
|
+
- **Type**: `string`
|
|
74
|
+
|
|
75
|
+
> Unit Test Runner
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
The unit test runner to use
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## `testEnvironment`
|
|
82
|
+
- **Type**: `string`
|
|
83
|
+
|
|
84
|
+
> Test Environment
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
The test environment to use
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## `pascalCaseFiles`
|
|
91
|
+
- **Type**: `boolean`
|
|
92
|
+
- **Default**: `false`
|
|
93
|
+
|
|
94
|
+
> Pascal Case Files
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
Use PascalCase for file names
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
## `strict`
|
|
101
|
+
- **Type**: `boolean`
|
|
102
|
+
- **Default**: `true`
|
|
103
|
+
|
|
104
|
+
> Strict
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
Enable strict mode
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## `publishable`
|
|
111
|
+
- **Type**: `boolean`
|
|
112
|
+
- **Default**: `false`
|
|
113
|
+
|
|
114
|
+
> Publishable
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
Make the library publishable
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
## `buildable`
|
|
121
|
+
- **Type**: `boolean`
|
|
122
|
+
- **Default**: `true`
|
|
123
|
+
|
|
124
|
+
> Buildable
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
Make the library buildable
|
|
128
|
+
|
|
129
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!-- START header -->
|
|
2
|
+
<!-- END header -->
|
|
3
|
+
|
|
4
|
+
# <%= name %>
|
|
5
|
+
|
|
6
|
+
<%= description %>
|
|
7
|
+
|
|
8
|
+
<!-- START doctoc -->
|
|
9
|
+
<!-- END doctoc -->
|
|
10
|
+
|
|
11
|
+
## Installing
|
|
12
|
+
|
|
13
|
+
Using [pnpm](http://pnpm.io):
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
pnpm add -D <%= namespace %>/<%= name %>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
<details>
|
|
20
|
+
<summary>Using npm</summary>
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install -D <%= namespace %>/<%= name %>
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
</details>
|
|
27
|
+
|
|
28
|
+
<details>
|
|
29
|
+
<summary>Using yarn</summary>
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
yarn add -D <%= namespace %>/<%= name %>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
</details>
|
|
36
|
+
|
|
37
|
+
## Reduced Package Size
|
|
38
|
+
|
|
39
|
+
This project uses [tsup](https://tsup.egoist.dev/) to package the source code
|
|
40
|
+
due to its ability to remove unused code and ship smaller javascript files
|
|
41
|
+
thanks to code splitting. This helps to greatly reduce the size of the package
|
|
42
|
+
and to make it easier to use in other projects.
|
|
43
|
+
|
|
44
|
+
## Development
|
|
45
|
+
|
|
46
|
+
This project is built using [Nx](https://nx.dev). As a result, many of the usual
|
|
47
|
+
commands are available to assist in development.
|
|
48
|
+
|
|
49
|
+
### Building
|
|
50
|
+
|
|
51
|
+
Run `nx build <%= name %>` to build the library.
|
|
52
|
+
|
|
53
|
+
### Running unit tests
|
|
54
|
+
|
|
55
|
+
Run `nx test <%= name %>` to execute the unit tests via
|
|
56
|
+
[Jest](https://jestjs.io).
|
|
57
|
+
|
|
58
|
+
### Linting
|
|
59
|
+
|
|
60
|
+
Run `nx lint <%= name %>` to run [ESLint](https://eslint.org/) on the package.
|
|
61
|
+
|
|
62
|
+
<!-- START footer -->
|
|
63
|
+
<!-- END footer -->
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
|
|
2
|
+
<!-- Generated by @storm-software/untyped -->
|
|
3
|
+
<!-- Do not edit this file directly -->
|
|
4
|
+
|
|
5
|
+
# Node Library Generator
|
|
6
|
+
|
|
7
|
+
## `directory`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
|
|
10
|
+
> Directory
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
The directory to create the library in
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## `name`
|
|
17
|
+
- **Type**: `string`
|
|
18
|
+
|
|
19
|
+
> Name
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
The name of the library
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## `description`
|
|
26
|
+
- **Type**: `string`
|
|
27
|
+
|
|
28
|
+
> Description
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
The description of the library
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## `buildExecutor`
|
|
35
|
+
- **Type**: `string`
|
|
36
|
+
- **Default**: `"@storm-software/workspace-tools:unbuild"`
|
|
37
|
+
|
|
38
|
+
> Build Executor
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
The executor to use for building the library
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
## `platform`
|
|
45
|
+
- **Type**: `string`
|
|
46
|
+
- **Default**: `"node"`
|
|
47
|
+
|
|
48
|
+
> Platform
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
The platform to target with the library
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
## `importPath`
|
|
55
|
+
- **Type**: `string`
|
|
56
|
+
|
|
57
|
+
> Import Path
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
The import path for the library
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
## `tags`
|
|
64
|
+
- **Type**: `string`
|
|
65
|
+
|
|
66
|
+
> Tags
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
The tags for the library
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## `unitTestRunner`
|
|
73
|
+
- **Type**: `string`
|
|
74
|
+
|
|
75
|
+
> Unit Test Runner
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
The unit test runner to use
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## `testEnvironment`
|
|
82
|
+
- **Type**: `string`
|
|
83
|
+
|
|
84
|
+
> Test Environment
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
The test environment to use
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
## `pascalCaseFiles`
|
|
91
|
+
- **Type**: `boolean`
|
|
92
|
+
- **Default**: `false`
|
|
93
|
+
|
|
94
|
+
> Pascal Case Files
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
Use PascalCase for file names
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
## `strict`
|
|
101
|
+
- **Type**: `boolean`
|
|
102
|
+
- **Default**: `true`
|
|
103
|
+
|
|
104
|
+
> Strict
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
Enable strict mode
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
## `publishable`
|
|
111
|
+
- **Type**: `boolean`
|
|
112
|
+
- **Default**: `false`
|
|
113
|
+
|
|
114
|
+
> Publishable
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
Make the library publishable
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
## `buildable`
|
|
121
|
+
- **Type**: `boolean`
|
|
122
|
+
- **Default**: `true`
|
|
123
|
+
|
|
124
|
+
> Buildable
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
Make the library buildable
|
|
128
|
+
|
|
129
|
+
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
|
|
2
|
+
<!-- Generated by @storm-software/untyped -->
|
|
3
|
+
<!-- Do not edit this file directly -->
|
|
4
|
+
|
|
5
|
+
# Preset Generator
|
|
6
|
+
|
|
7
|
+
## `directory`
|
|
8
|
+
- **Type**: `string`
|
|
9
|
+
|
|
10
|
+
> Directory
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
The directory to create the library in
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## `name`
|
|
17
|
+
- **Type**: `string`
|
|
18
|
+
|
|
19
|
+
> Name
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
The name of the workspace
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## `organization`
|
|
26
|
+
- **Type**: `string`
|
|
27
|
+
- **Default**: `"storm-software"`
|
|
28
|
+
|
|
29
|
+
> Organization
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
The organization of the workspace
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## `includeApps`
|
|
36
|
+
- **Type**: `boolean`
|
|
37
|
+
- **Default**: `true`
|
|
38
|
+
|
|
39
|
+
> Include Apps
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
Include apps in the workspace
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## `includeRust`
|
|
46
|
+
- **Type**: `boolean`
|
|
47
|
+
- **Default**: `false`
|
|
48
|
+
|
|
49
|
+
> Include Rust
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
Include Rust support in the workspace
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## `namespace`
|
|
56
|
+
- **Type**: `string`
|
|
57
|
+
- **Default**: `"storm-software"`
|
|
58
|
+
|
|
59
|
+
> Namespace
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
The namespace of the workspace
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## `description`
|
|
66
|
+
- **Type**: `string`
|
|
67
|
+
|
|
68
|
+
> Description
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
The description of the workspace
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
## `repositoryUrl`
|
|
75
|
+
- **Type**: `string`
|
|
76
|
+
|
|
77
|
+
> Repository URL
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
The URL of the repository
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
## `nxCloud`
|
|
84
|
+
- **Type**: `string`
|
|
85
|
+
|
|
86
|
+
> Nx Cloud
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
Nx Cloud configuration
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## `mode`
|
|
93
|
+
- **Type**: `string`
|
|
94
|
+
|
|
95
|
+
> Mode
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
The mode of the Nx client
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## `packageManager`
|
|
102
|
+
- **Type**: `string`
|
|
103
|
+
- **Default**: `"pnpm"`
|
|
104
|
+
|
|
105
|
+
> Package Manager
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
The package manager to use
|
|
109
|
+
|
|
110
|
+
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
|
|
2
|
+
<!-- Generated by @storm-software/untyped -->
|
|
3
|
+
<!-- Do not edit this file directly -->
|
|
4
|
+
|
|
5
|
+
# Release Version Generator
|
|
6
|
+
|
|
7
|
+
## `projects`
|
|
8
|
+
- **Type**: `array`
|
|
9
|
+
|
|
10
|
+
> Projects
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
The projects to release
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## `releaseGroup`
|
|
17
|
+
|
|
18
|
+
## `projectGraph`
|
|
19
|
+
|
|
20
|
+
## `specifier`
|
|
21
|
+
- **Type**: `string`
|
|
22
|
+
|
|
23
|
+
> Specifier
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
The specifier
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## `specifierSource`
|
|
30
|
+
- **Type**: `string`
|
|
31
|
+
|
|
32
|
+
> Specifier Source
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
The specifier source
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## `preid`
|
|
39
|
+
- **Type**: `string`
|
|
40
|
+
|
|
41
|
+
> Preid
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
The preid
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## `packageRoot`
|
|
48
|
+
- **Type**: `string`
|
|
49
|
+
|
|
50
|
+
> Package Root
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
The package root
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## `currentVersionResolver`
|
|
57
|
+
- **Type**: `string`
|
|
58
|
+
- **Default**: `"git-tag"`
|
|
59
|
+
|
|
60
|
+
> Current Version Resolver
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
The current version resolver
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## `currentVersionResolverMetadata`
|
|
67
|
+
|
|
68
|
+
## `fallbackCurrentVersionResolver`
|
|
69
|
+
- **Type**: `string`
|
|
70
|
+
- **Default**: `"disk"`
|
|
71
|
+
|
|
72
|
+
> Fallback Current Version Resolver
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
The fallback current version resolver
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## `firstRelease`
|
|
79
|
+
- **Type**: `boolean`
|
|
80
|
+
|
|
81
|
+
> First Release
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
Release the first version
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## `versionPrefix`
|
|
88
|
+
- **Type**: `string`
|
|
89
|
+
|
|
90
|
+
> Version Prefix
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
The version prefix
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## `skipLockFileUpdate`
|
|
97
|
+
- **Type**: `boolean`
|
|
98
|
+
|
|
99
|
+
> Skip Lock File Update
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
Skip lock file update
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
## `installArgs`
|
|
106
|
+
- **Type**: `string`
|
|
107
|
+
|
|
108
|
+
> Install Args
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
The install arguments
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
## `installIgnoreScripts`
|
|
115
|
+
- **Type**: `boolean`
|
|
116
|
+
|
|
117
|
+
> Install Ignore Scripts
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
Ignore scripts
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
## `conventionalCommitsConfig`
|
|
124
|
+
|
|
125
|
+
## `deleteVersionPlans`
|
|
126
|
+
- **Type**: `boolean`
|
|
127
|
+
|
|
128
|
+
> Delete Version Plans
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
Delete version plans
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
## `updateDependents`
|
|
135
|
+
- **Type**: `string`
|
|
136
|
+
|
|
137
|
+
> Update Dependents
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
Update dependents
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
## `logUnchangedProjects`
|
|
144
|
+
- **Type**: `boolean`
|
|
145
|
+
|
|
146
|
+
> Log Unchanged Projects
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
Log unchanged projects
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
## `preserveLocalDependencyProtocols`
|
|
153
|
+
- **Type**: `boolean`
|
|
154
|
+
|
|
155
|
+
> Preserve Local Dependency Protocols
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
Preserve local dependency protocols
|
|
159
|
+
|
|
160
|
+
|