@aws/nx-plugin
v0.1.5
Published
This plugin provides a collection of generators to help you build cloud-native applications with AWS, TypeScript, and React.
Downloads
524
Readme
PACE Plugin for Nx
This plugin provides a collection of generators to help you build cloud-native applications with AWS, TypeScript, and React.
What are Generators?
Generators (also known as schematics) are powerful tools that automate the creation and modification of code. They help maintain consistency across your codebase by following established patterns and best practices. When you run a generator, it:
- Prompts for necessary configuration options
- Creates new files from templates
- Updates existing files when needed
- Follows project conventions automatically
For more information about generators, see the Nx Generator documentation.
Getting started
Install the plugin
From the root of your workspace run:
nx add @aws/nx-plugin
IDE Setup
For the best development experience, install the Nx Console extension for your IDE:
- VS Code: Nx Console for VS Code
- JetBrains IDEs: Nx Console for JetBrains
The Nx Console provides:
- Interactive generator configuration
- Command autocompletion
- Visual project graph
- Integrated task runner
Using Generators
Refer to the individual generator README.md files below for detailed installation instructions.
Available Generators
Cloudscape Website
- Cloudscape Website App - Generate a new Cloudscape-based web application
- Cognito Authentication - Add AWS Cognito authentication to your Cloudscape website
- Runtime Configuration - Add runtime configuration capabilities to your Cloudscape website
Infrastructure
- Infrastructure App - Generate AWS CDK infrastructure code for your application
tRPC
- tRPC Backend - Generate a tRPC backend service with AWS Lambda integration
- tRPC React - Add tRPC client integration to your React application
TypeScript
- TypeScript Library - Generate a new TypeScript library with best practices and testing setup
- CJS to ESM - Convert CommonJS modules to ECMAScript modules