canopycms-cdk 0.0.67-int.88 → 0.0.67-int.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -755,8 +755,8 @@ export class AssetSupport extends Construct {
|
|
|
755
755
|
code: lambda.Code.fromAsset(transformAssetDir),
|
|
756
756
|
handler: 'handler.handler',
|
|
757
757
|
// nodejs20.x was deprecated 2026-04-30; CDK's CloudFormation validation
|
|
758
|
-
// now fails synth on it. The esbuild bundle
|
|
759
|
-
//
|
|
758
|
+
// now fails synth on it. The esbuild bundle (lambda/asset-transform/
|
|
759
|
+
// build.mjs) targets node22 to match; move the two together.
|
|
760
760
|
runtime: lambda.Runtime.NODEJS_22_X,
|
|
761
761
|
architecture: lambda.Architecture.ARM_64,
|
|
762
762
|
memorySize: TRANSFORM_LAMBDA_MEMORY_MB,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "canopycms-cdk",
|
|
3
|
-
"version": "0.0.67-int.
|
|
3
|
+
"version": "0.0.67-int.89",
|
|
4
4
|
"description": "AWS CDK constructs and EC2 worker for CanopyCMS deployment",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"aws-cdk-lib": "^2.260.0",
|
|
33
33
|
"constructs": "^10.0.0",
|
|
34
|
-
"canopycms": "0.0.67-int.
|
|
34
|
+
"canopycms": "0.0.67-int.89"
|
|
35
35
|
},
|
|
36
36
|
"peerDependenciesMeta": {
|
|
37
37
|
"aws-cdk-lib": {
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"tsx": "^4.19.0",
|
|
56
56
|
"typescript": "^5.6.3",
|
|
57
57
|
"vitest": "^4.1.0",
|
|
58
|
-
"canopycms": "0.0.67-int.
|
|
59
|
-
"canopycms
|
|
58
|
+
"canopycms-auth-clerk": "0.0.67-int.89",
|
|
59
|
+
"canopycms": "0.0.67-int.89"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "rm -rf dist && tsc && node ../../scripts/add-js-extensions.mjs dist",
|
|
63
|
-
"build:worker": "esbuild worker/index.ts --bundle --platform=node --target=
|
|
63
|
+
"build:worker": "esbuild worker/index.ts --bundle --platform=node --target=node22 --format=esm --outfile=worker/dist/index.js --banner:js=\"import { createRequire } from 'module'; const require = createRequire(import.meta.url);\"",
|
|
64
64
|
"build:lambda": "node lambda/asset-transform/build.mjs",
|
|
65
65
|
"build:test-fixtures": "pnpm run build:worker && node lambda/asset-transform/build.mjs --skip-native",
|
|
66
66
|
"lint": "eslint src/ 'lambda/**/*.ts' 'canary/**/*.ts' 'worker/**/*.ts' 'test-support/**/*.ts'",
|