
Product
Introducing Supply Chain Attack Campaigns Tracking in the Socket Dashboard
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.
@powerlines/nx
Advanced tools
[!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.
This library was generated with Nx.
Using pnpm:
pnpm add -D @powerlines/nx
npm install -D @powerlines/nx
yarn add -D @powerlines/nx
The following executors are available in this package to invoke common tasks for the workspace's projects:
A type definition for the Powerlines - Clean executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:clean
Please note: The clean 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}" |
| tsconfig | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| mode | "development" | "test" | "production" | The build mode | |
| skipInstalls | boolean | Skip installing dependencies during prepare stage | |
| logLevel | "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | The log level to use for the build process |
A type definition for the Powerlines - Prepare executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:prepare
Please note: The prepare 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}" |
| tsconfig | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| mode | "development" | "test" | "production" | The build mode | |
| skipInstalls | boolean | Skip installing dependencies during prepare stage | |
| logLevel | "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | The log level to use for the build process | |
| skipCache | boolean | Skip the cache when building | |
| clean | boolean | Automatically clean the project's output artifacts (if required) |
A type definition for the Powerlines - Lint executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:lint
Please note: The lint 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}" |
| tsconfig | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| mode | "development" | "test" | "production" | The build mode | |
| skipInstalls | boolean | Skip installing dependencies during prepare stage | |
| logLevel | "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | The log level to use for the build process | |
| skipCache | boolean | Skip the cache when building | |
| clean | boolean | Automatically clean the project's output artifacts (if required) |
A type definition for the Powerlines - Build executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:build
Please note: The build 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 | "dist/{projectRoot}" |
| tsconfig | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| mode | "development" | "test" | "production" | The build mode | |
| skipInstalls | boolean | Skip installing dependencies during prepare stage | |
| logLevel | "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | The log level to use for the build process | |
| skipCache | boolean | Skip the cache when building | |
| clean | boolean | Automatically clean the project's output artifacts (if required) | |
| entry * | string | The entry file or files to build | "{sourceRoot}/index.ts" |
| skipLint | boolean | Skip the linting process ran prior to the build (if required) |
Please note: Option names followed by * above are required, and must be provided to run the executor.
A type definition for the Powerlines - Docs executor schema
This executor can be used by executing the following in a command line utility:
nx run my-project:docs
Please note: The docs 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}" |
| tsconfig | string | The path to the tsconfig file | "{projectRoot}/tsconfig.json" |
| mode | "development" | "test" | "production" | The build mode | |
| skipInstalls | boolean | Skip installing dependencies during prepare stage | |
| logLevel | "error" | "success" | "silent" | "fatal" | "warn" | "info" | "debug" | "trace" | "all" | The log level to use for the build process | |
| skipCache | boolean | Skip the cache when building | |
| clean | boolean | Automatically clean the project's output artifacts (if required) |
The following generators are available with this package to assist in workspace management:
A type definition for the Powerlines - Sync generator's options
The following executor options are available:
| Option | Type | Description | Default |
|---|---|---|---|
| outOfSyncMessage | string | The message to display when the project is out of sync with the legal-message.txt file | "The legal-message.txt file needs to be created" |
Run nx build devkit-nx to build the library.
Run nx test devkit-nx 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
A Nx plugin to support Powerlines development in Nx monorepos.
The npm package @powerlines/nx receives a total of 3,476 weekly downloads. As such, @powerlines/nx popularity was classified as popular.
We found that @powerlines/nx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.

Product
Campaign-level threat intelligence in Socket now shows when active supply chain attacks affect your repositories and packages.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Security News
Node.js 25.4.0 makes require(esm) stable, formalizing CommonJS and ESM compatibility across supported Node versions.