diff --git a/.eslintrc.json b/.eslintrc.json index db33bef7..cf3152b6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,4 @@ +// ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". { "env": { "jest": true, diff --git a/API.md b/API.md index 0eda0692..235fab0a 100644 --- a/API.md +++ b/API.md @@ -2634,7 +2634,7 @@ const imageOptimizationProps: ImageOptimizationProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | nextjsPath | string | Relative path to the directory where the NextJS project is located. | -| buildPath | string | The path to execute `npm run build`. | +| buildPath | string | The directory to execute `npm run build` from. | | compressionLevel | number | 0 - no compression, fatest 9 - maximum compression, slowest. | | environment | {[ key: string ]: string} | Custom environment variables to pass to the NextJS build and runtime. | | isPlaceholder | boolean | Skip building app and deploy a placeholder. | @@ -2670,7 +2670,7 @@ public readonly buildPath: string; - *Type:* string -The path to execute `npm run build`. +The directory to execute `npm run build` from. By default, it uses `nextjsPath`. Can be overridden, particularly useful for monorepos where `build` is expected to run @@ -2865,7 +2865,7 @@ const nextjsAssetsDeploymentProps: NextjsAssetsDeploymentProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | nextjsPath | string | Relative path to the directory where the NextJS project is located. | -| buildPath | string | The path to execute `npm run build`. | +| buildPath | string | The directory to execute `npm run build` from. | | compressionLevel | number | 0 - no compression, fatest 9 - maximum compression, slowest. | | environment | {[ key: string ]: string} | Custom environment variables to pass to the NextJS build and runtime. | | isPlaceholder | boolean | Skip building app and deploy a placeholder. | @@ -2902,7 +2902,7 @@ public readonly buildPath: string; - *Type:* string -The path to execute `npm run build`. +The directory to execute `npm run build` from. By default, it uses `nextjsPath`. Can be overridden, particularly useful for monorepos where `build` is expected to run @@ -3066,7 +3066,7 @@ const nextjsBaseProps: NextjsBaseProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | nextjsPath | string | Relative path to the directory where the NextJS project is located. | -| buildPath | string | The path to execute `npm run build`. | +| buildPath | string | The directory to execute `npm run build` from. | | compressionLevel | number | 0 - no compression, fatest 9 - maximum compression, slowest. | | environment | {[ key: string ]: string} | Custom environment variables to pass to the NextJS build and runtime. | | isPlaceholder | boolean | Skip building app and deploy a placeholder. | @@ -3098,7 +3098,7 @@ public readonly buildPath: string; - *Type:* string -The path to execute `npm run build`. +The directory to execute `npm run build` from. By default, it uses `nextjsPath`. Can be overridden, particularly useful for monorepos where `build` is expected to run @@ -3198,7 +3198,7 @@ const nextjsBuildProps: NextjsBuildProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | nextjsPath | string | Relative path to the directory where the NextJS project is located. | -| buildPath | string | The path to execute `npm run build`. | +| buildPath | string | The directory to execute `npm run build` from. | | compressionLevel | number | 0 - no compression, fatest 9 - maximum compression, slowest. | | environment | {[ key: string ]: string} | Custom environment variables to pass to the NextJS build and runtime. | | isPlaceholder | boolean | Skip building app and deploy a placeholder. | @@ -3230,7 +3230,7 @@ public readonly buildPath: string; - *Type:* string -The path to execute `npm run build`. +The directory to execute `npm run build` from. By default, it uses `nextjsPath`. Can be overridden, particularly useful for monorepos where `build` is expected to run @@ -3487,7 +3487,7 @@ const nextjsDistributionProps: NextjsDistributionProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | nextjsPath | string | Relative path to the directory where the NextJS project is located. | -| buildPath | string | The path to execute `npm run build`. | +| buildPath | string | The directory to execute `npm run build` from. | | compressionLevel | number | 0 - no compression, fatest 9 - maximum compression, slowest. | | environment | {[ key: string ]: string} | Custom environment variables to pass to the NextJS build and runtime. | | isPlaceholder | boolean | Skip building app and deploy a placeholder. | @@ -3528,7 +3528,7 @@ public readonly buildPath: string; - *Type:* string -The path to execute `npm run build`. +The directory to execute `npm run build` from. By default, it uses `nextjsPath`. Can be overridden, particularly useful for monorepos where `build` is expected to run @@ -3872,7 +3872,7 @@ const nextjsLambdaProps: NextjsLambdaProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | nextjsPath | string | Relative path to the directory where the NextJS project is located. | -| buildPath | string | The path to execute `npm run build`. | +| buildPath | string | The directory to execute `npm run build` from. | | compressionLevel | number | 0 - no compression, fatest 9 - maximum compression, slowest. | | environment | {[ key: string ]: string} | Custom environment variables to pass to the NextJS build and runtime. | | isPlaceholder | boolean | Skip building app and deploy a placeholder. | @@ -3906,7 +3906,7 @@ public readonly buildPath: string; - *Type:* string -The path to execute `npm run build`. +The directory to execute `npm run build` from. By default, it uses `nextjsPath`. Can be overridden, particularly useful for monorepos where `build` is expected to run @@ -4041,7 +4041,7 @@ const nextjsProps: NextjsProps = { ... } | **Name** | **Type** | **Description** | | --- | --- | --- | | nextjsPath | string | Relative path to the directory where the NextJS project is located. | -| buildPath | string | The path to execute `npm run build`. | +| buildPath | string | The directory to execute `npm run build` from. | | compressionLevel | number | 0 - no compression, fatest 9 - maximum compression, slowest. | | environment | {[ key: string ]: string} | Custom environment variables to pass to the NextJS build and runtime. | | isPlaceholder | boolean | Skip building app and deploy a placeholder. | @@ -4075,7 +4075,7 @@ public readonly buildPath: string; - *Type:* string -The path to execute `npm run build`. +The directory to execute `npm run build` from. By default, it uses `nextjsPath`. Can be overridden, particularly useful for monorepos where `build` is expected to run