wirejs-deploy-cdk
v0.1.191
Published
CDK-based deployment provider for wirejs apps. Deploys your wirejs app to AWS using: - **AWS Lambda** for API and SSR handling - **Amazon S3** for static assets - **Amazon CloudFront** for hosting (CDN, SSL, optional custom domains) - **Amazon DynamoDB**
Readme
wirejs-deploy-cdk
CDK-based deployment provider for wirejs apps. Deploys your wirejs app to AWS using:
- AWS Lambda for API and SSR handling
- Amazon S3 for static assets
- Amazon CloudFront for hosting (CDN, SSL, optional custom domains)
- Amazon DynamoDB for distributed tables
- Amazon Cognito for authentication (if used)
- GitHub Actions for CI/CD
Setup
Run the scaffolding CLI to set up your project for CDK deployment:
npm create wirejs-deploy-cdkThen follow the instructions to configure GitHub Actions with the required AWS credentials.
Guided Setup Commands
You can run guided setup directly from this package:
npx wirejs-deploy-cdk githubConfigures GitHub Actions AWS OIDC integration by walking you through:
- OIDC identity provider creation (if missing)
- IAM role creation/update with trust policy for your repo refs
- Optional role policy attach
- Optional GitHub Actions secret setup via
gh
npx wirejs-deploy-cdk setupRuns the GitHub setup wizard and then optionally launches the domain setup wizard.
For custom domains only:
npx wirejs-deploy-cdk domain