Skip to content

Commit

Permalink
fix(cdk-docker-cluster): correct construct name
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsdaniels committed Jun 25, 2024
1 parent d2cec10 commit 4aad272
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/few-months-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@codedazur/cdk-next-app": patch
---

The construct name was corrected.
6 changes: 3 additions & 3 deletions packages/cdk-next-app/src/constructs/NextApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ import {
import { DockerBuildSecret } from "aws-cdk-lib";
import { Construct } from "constructs";

export interface NextDockerClusterProps extends DockerClusterProps {}
export interface NextAppProps extends DockerClusterProps {}

/**
* A docker cluster preconfigured for running a Next.js application with support
* for private NPM packages using a build-time secret.
*/
export class NextDockerCluster extends DockerCluster {
export class NextApp extends DockerCluster {
constructor(
scope: Construct,
id: string,
{ port = 3000, secrets, ...props }: NextDockerClusterProps,
{ port = 3000, secrets, ...props }: NextAppProps,
) {
super(scope, id, {
port,
Expand Down

0 comments on commit 4aad272

Please sign in to comment.