
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
@storm-software/workspace-tools
Advanced tools
Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.
[!IMPORTANT] 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 available 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.
A package containing tools for managing a Storm workspace. It includes various Nx generators and executors for common development tasks.
Using pnpm:
pnpm add -D @storm-software/workspace-tools
npm install -D @storm-software/workspace-tools
yarn add -D @storm-software/workspace-tools
The following executors are available in this package to invoke common tasks for the workspace's projects:
A type definition for a Typia executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:typia
Please note: The typia 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.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath * | string | The output path for the build | "{sourceRoot}/generated/typia" |
| entry * | string[] | The entry file or files to build | [] |
| tsconfig * | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| clean | boolean | Clean the output directory before building | true |
Please note: Option names followed by * above are required, and must be provided to run the executor.
A type definition for an ESBuild executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:esbuild
Please note: The esbuild executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | "dist/{projectRoot}" |
| entry | string[] | The entry file or files to build | [] |
| tsconfig | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| bundle | boolean | Bundle the output | |
| minify | boolean | Minify the output | |
| debug | boolean | Debug the output | |
| sourcemap | boolean | Generate a sourcemap | |
| silent | boolean | Should the build run silently - only report errors back to the user | |
| target | "es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "es2023" | "es2024" | "esnext" | "node12" | "node14" | "node16" | "node18" | "node20" | "node22" | "browser" | "chrome58" | "chrome59" | "chrome60" | The target to build | "esnext" |
| format | "cjs" | "esm" | "iife" | The format to build | "esm" |
| platform | "neutral" | "node" | "browser" | The platform to build | "neutral" |
| external | any[] | The external dependencies | [] |
| define | object | The define values | [object Object] |
| env | object | The environment variable values | [object Object] |
A type definition for a unbuild executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:unbuild
Please note: The unbuild 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.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | |
| entry * | string[] | The directory to use as input for the build | [] |
| tsconfig | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| bundle | boolean | Bundle the output | |
| minify | boolean | Minify the output | |
| debug | boolean | Debug the output | |
| sourcemap | boolean | Generate a sourcemap | |
| silent | boolean | Should the build run silently - only report errors back to the user | |
| target | "es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "es2023" | "es2024" | "esnext" | "node12" | "node14" | "node16" | "node18" | "node20" | "node22" | "browser" | "chrome58" | "chrome59" | "chrome60" | The target to build | "esnext" |
| format | string[] | The format to build | [] |
| platform | "neutral" | "node" | "browser" | The platform to build | "neutral" |
| external | any[] | The external dependencies | [] |
| define | object | The define values | [object Object] |
| env | object | The environment variable values | [object Object] |
| name * | string | The name of the project/build | "{projectName}" |
| treeShaking | boolean | Enable tree shaking | true |
| watch | boolean | Watch for changes | |
| clean | boolean | Clean the output directory before building | true |
| stub | boolean | Stub the output | |
| buildOnly | boolean | Should the build process skip generating a package.json and copying assets | |
| watchOptions | object | Watch options | [object Object] |
| stubOptions | object | Stub options | [object Object] |
| dependencies | string[] | The dependencies to install | |
| peerDependencies | string[] | The peer dependencies to install | |
| devDependencies | string[] | The dev dependencies to install | |
| alias | object | The alias to use | [object Object] |
| replace | object | The replace to use | [object Object] |
| rollup | object | The rollup options | [object Object] |
Please note: Option names followed by * above are required, and must be provided to run the executor.
The clean package executor is responsible for removing unnecessary files and fields from a distributable package to make it as light as possible (for scenarios like edge computing, limited memory environments, etc.)
This executor can be used by executing the following in a command line utility:
nx run my-project:clean-package
Please note: The clean-package executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The path to the output | "dist/{projectRoot}" |
| packageJsonPath | string | The path to the package.json that will be modified | "{outputPath}/package.json" |
| ignoredFiles | string | The files to ignore | |
| fields | string | The fields to include | "" |
| cleanReadMe | boolean | Clean the read me | true |
| cleanComments | boolean | Clean the comments | true |
A type definition for a Size Limit executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:size-limit
Please note: The size-limit executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | "dist/{projectRoot}" |
| entry | string[] | The path to the entry file |
A type definition for a Npm Publish executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:npm-publish
Please note: The npm-publish executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| packageRoot | string | The path to the package root | |
| registry | string | The registry to publish to | "https://registry.npmjs.org/" |
| tag | string | The tag to publish with | "latest" |
| version | string | The version to publish. If not provided, the version from package.json will be used | |
| otp | number | The one time password | |
| dryRun | boolean | Perform a dry run | |
| firstRelease | boolean | Publish the first release |
A type definition for a Cargo/rust Publish executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:cargo-publish
Please note: The cargo-publish executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | "dist/{projectRoot}" |
| package | string | The path to the Cargo.toml file | "{projectRoot}/Cargo.toml" |
| toolchain | "stable" | "beta" | "nightly" | The type of toolchain to use for the build | "stable" |
| target | string | The target to build | |
| allTargets | boolean | Build all targets | |
| profile | string | The profile to build | |
| release | boolean | Build in release mode | |
| features | string | The features to build | |
| allFeatures | boolean | Build all features | |
| registry | string | The registry to publish to | |
| packageRoot | string | The path to the package root | |
| dryRun | boolean | Perform a dry run |
A type definition for a Cargo/rust build executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:cargo-build
Please note: The cargo-build executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The path to the output directory | |
| package | string | The path to the Cargo.toml file | "{projectRoot}/Cargo.toml" |
| toolchain | "stable" | "beta" | "nightly" | The type of toolchain to use for the build | "stable" |
| target | string | The target to build | |
| allTargets | boolean | Build all targets | |
| profile | string | The profile to build | |
| release | boolean | Build in release mode | |
| features | string | The features to build | |
| allFeatures | boolean | Build all features |
A type definition for a Cargo/rust check executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:cargo-check
Please note: The cargo-check executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | "dist/{projectRoot}" |
| package | string | The path to the Cargo.toml file | "{projectRoot}/Cargo.toml" |
| toolchain | "stable" | "beta" | "nightly" | The type of toolchain to use for the build | "stable" |
| target | string | The target to build | |
| allTargets | boolean | Build all targets | |
| profile | string | The profile to build | |
| release | boolean | Build in release mode | |
| features | string | The features to build | |
| allFeatures | boolean | Build all features |
A type definition for a Cargo/rust format executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:cargo-format
Please note: The cargo-format executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | "dist/{projectRoot}" |
| package | string | The path to the Cargo.toml file | "{projectRoot}/Cargo.toml" |
| toolchain | "stable" | "beta" | "nightly" | The type of toolchain to use for the build | "stable" |
| target | string | The target to build | |
| allTargets | boolean | Build all targets | |
| profile | string | The profile to build | |
| release | boolean | Build in release mode | |
| features | string | The features to build | |
| allFeatures | boolean | Build all features |
A type definition for a Cargo/rust clippy executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:cargo-clippy
Please note: The cargo-clippy executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | "dist/{projectRoot}" |
| package | string | The path to the Cargo.toml file | "{projectRoot}/Cargo.toml" |
| toolchain | "stable" | "beta" | "nightly" | The type of toolchain to use for the build | "stable" |
| target | string | The target to build | |
| allTargets | boolean | Build all targets | |
| profile | string | The profile to build | |
| release | boolean | Build in release mode | |
| features | string | The features to build | |
| allFeatures | boolean | Build all features | |
| fix | boolean | Automatically fix issues |
A type definition for a Cargo/rust documentation executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:cargo-doc
Please note: The cargo-doc executor should be included in the desired projects's project.json file.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath | string | The output path for the build | "dist/{projectRoot}" |
| package | string | The path to the Cargo.toml file | "{projectRoot}/Cargo.toml" |
| toolchain | "stable" | "beta" | "nightly" | The type of toolchain to use for the build | "stable" |
| target | string | The target to build | |
| allTargets | boolean | Build all targets | |
| profile | string | The profile to build | |
| release | boolean | Build in release mode | |
| features | string | The features to build | |
| allFeatures | boolean | Build all features | |
| lib | boolean | Generate documentation for the library | [object Object] |
| bins | boolean | Generate documentation for the bins | [object Object] |
| examples | boolean | Generate documentation for the examples | [object Object] |
| noDeps | boolean | Do not generate documentation for dependencies | [object Object] |
A type definition for the Napi - Bindings Build executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:napi
Please note: The napi 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.
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outputPath * | string | The path to the output directory | "{sourceRoot}" |
| package * | string | Build the specified library or the one at cwd | |
| toolchain | "stable" | "beta" | "nightly" | The type of toolchain to use for the build | "stable" |
| target | string | Build for the target triple, bypassed to `cargo build --target` | |
| allTargets | boolean | Build all targets | |
| profile | string | Build artifacts with the specified profile | |
| release | boolean | Build in release mode | |
| features | string[] | List of features to activate | |
| allFeatures | boolean | Activate all available features | |
| jsBinding * | string | The path to the output JavaScript file | "binding.js" |
| dts * | string | The path to the output TypeScript declaration file | "binding.d.ts" |
| manifestPath * | string | The path to the Cargo.toml manifest file | |
| cwd | string | Working directory where napi command will be executed; other paths are relative to this | |
| configPath | string | Path to napi config JSON file | |
| packageJsonPath | string | Path to package.json | |
| targetDir | string | Directory for all crate generated artifacts (cargo build --target-dir) | |
| platform | boolean | Add platform triple to generated Node.js binding file, e.g. [name].linux-x64-gnu.node | true |
| jsPackageName | string | Package name in generated JS binding file. Works only with --platform | |
| constEnum | boolean | Whether to generate const enum for TypeScript bindings | |
| noJsBinding | boolean | Disable generation of JS binding file. Works only with --platform | |
| dtsHeader | string | Custom file header for generated type def file (requires typedef feature) | |
| noDtsHeader | boolean | Disable default file header for generated type def file (requires typedef feature) | |
| dtsCache | boolean | Enable the DTS cache | true |
| esm | boolean | Emit an ESM JS binding file instead of CJS (works only with --platform) | |
| strip | boolean | Strip the library to minimize file size | |
| verbose | boolean | Verbosely log build command trace | |
| bin | string | Build only the specified binary | |
| crossCompile | boolean | [experimental] Cross-compile for the specified target with cargo-xwin on Windows and cargo-zigbuild on other platforms | |
| useCross | boolean | [experimental] Use cross (https://github.com/cross-rs/cross) instead of cargo | |
| useNapiCross | boolean | [experimental] Use @napi-rs/cross-toolchain to cross-compile Linux arm/arm64/x64 gnu targets | |
| watch | boolean | Watch crate changes and build continuously with cargo-watch | |
| noDefaultFeatures | boolean | Do not activate the default feature |
Please note: Option names followed by * above are required, and must be provided to run the executor.
The following generators are available with this package to assist in workspace management:
A type definition for an init generator schema
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| skipFormat | boolean | Skip formatting the generated files |
A type definition for a preset generator schema
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| directory * | string | The directory to create the library in | |
| name * | string | The name of the workspace | |
| organization | string | The organization of the workspace | "storm-software" |
| includeApps | boolean | Include apps in the workspace | true |
| includeRust | boolean | Include Rust support in the workspace | |
| namespace | string | The namespace of the workspace | "storm-software" |
| description | string | The description of the workspace | |
| repositoryUrl | string | The URL of the repository | |
| nxCloud | string | Nx Cloud configuration | |
| mode | string | The mode of the Nx client | |
| packageManager | "npm" | "pnpm" | "yarn" | "bun" | The package manager to use | "pnpm" |
Please note: Option names followed by * above are required, and must be provided to run the executor.
A type definition for a NodeJs library generator schema
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| directory * | string | The directory to create the library in | |
| name * | string | The name of the library | |
| description | string | The description of the library | |
| buildExecutor | string | The executor to use for building the library | "@storm-software/workspace-tools:unbuild" |
| platform | "node" | "neutral" | The platform to target with the library | "node" |
| importPath | string | The import path for the library | |
| tags | string | The tags for the library | |
| unitTestRunner | "jest" | "vitest" | "none" | The unit test runner to use | |
| testEnvironment | "jsdom" | "node" | The test environment to use | |
| pascalCaseFiles | boolean | Use PascalCase for file names | |
| strict | boolean | Enable strict mode | true |
| publishable | boolean | Make the library publishable | |
| buildable | boolean | Make the library buildable | true |
Please note: Option names followed by * above are required, and must be provided to run the executor.
A type definition for a config schema generator schema
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| directory | string | The directory to create the library in | |
| outputFile | string | The file to write the schema to | "{workspaceRoot}/storm-workspace.schema.json" |
A type definition for a neutral library generator schema
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| directory * | string | The directory to create the library in | |
| name * | string | The name of the library | |
| description | string | The description of the library | |
| buildExecutor | string | The executor to use for building the library | "@storm-software/workspace-tools:unbuild" |
| platform | "neutral" | The platform to target with the library | "neutral" |
| importPath | string | The import path for the library | |
| tags | string | The tags for the library | |
| unitTestRunner | "jest" | "vitest" | "none" | The unit test runner to use | |
| testEnvironment | "jsdom" | "node" | The test environment to use | |
| pascalCaseFiles | boolean | Use PascalCase for file names | |
| strict | boolean | Enable strict mode | true |
| publishable | boolean | Make the library publishable | |
| buildable | boolean | Make the library buildable | true |
Please note: Option names followed by * above are required, and must be provided to run the executor.
A type definition for a browser library generator schema
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| directory * | string | The directory to create the library in | |
| name * | string | The name of the library | |
| description | string | The description of the library | |
| buildExecutor | string | The executor to use for building the library | "@storm-software/workspace-tools:unbuild" |
| platform | "browser" | "neutral" | The platform to target with the library | "browser" |
| importPath | string | The import path for the library | |
| tags | string | The tags for the library | |
| unitTestRunner | "jest" | "vitest" | "none" | The unit test runner to use | |
| testEnvironment | "jsdom" | "node" | The test environment to use | |
| pascalCaseFiles | boolean | Use PascalCase for file names | |
| strict | boolean | Enable strict mode | true |
| publishable | boolean | Make the library publishable | |
| buildable | boolean | Make the library buildable | true |
Please note: Option names followed by * above are required, and must be provided to run the executor.
The release version generator used in Storm Workspaces
Run nx build workspace-tools to build the library.
Run nx test workspace-tools to execute the unit tests via
Jest.
Storm workspaces are built using Nx, a set of extensible dev tools for monorepos, which helps you develop like Google, Facebook, and Microsoft. Building on top of Nx, the Open System provides a set of tools and patterns that help you scale your monorepo to many teams while keeping the codebase maintainable.
See the open issues for a list of proposed features (and known issues).
Reach out to the maintainer at one of the following places:
This project is licensed under the Apache License 2.0. Feel free to edit and distribute this template as you like.
See LICENSE for more information.
This project adheres to Semantic Versioning. Every release, along with the migration instructions, is documented in the CHANGELOG file
First off, thanks for taking the time to contribute! Contributions are what makes the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.
Please try to create bug reports that are:
Please adhere to this project's code of conduct.
You can use markdownlint-cli to check for common markdown style inconsistency.
Thanks goes to these wonderful people (emoji key):
Patrick Sullivan 🎨 💻 🔧 📖 ⚠️ | Tyler Benning 🎨 | Stormie 🚧 |
|
|
This project follows the all-contributors specification. Contributions of any kind welcome!
Storm Software is an open source software development organization and creator of Acidic, StormStack and StormCloud.
Our mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
Join us on Discord to chat with the team, receive release notifications, ask questions, and get involved.
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our website or join our Slack channel!
FAQs
Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.
The npm package @storm-software/workspace-tools receives a total of 1,569 weekly downloads. As such, @storm-software/workspace-tools popularity was classified as popular.
We found that @storm-software/workspace-tools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.