sst 2.23.4 → 2.23.6

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.
@@ -26,7 +26,7 @@ export const update = (program) => program.command("update [version]", "Update y
26
26
  }
27
27
  }
28
28
  Colors.gap();
29
- throw new VisibleError("We've detected AWS CDK v1 dependencies in your package.json. SST requires CDK v2. Please update to CDK v2 dependencies, and then execute `sst update`. For guidance, refer to the official AWS CDK migration documentation — https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html#migrating-v2-v1-upgrade");
29
+ throw new VisibleError("We've detected AWS CDK v1 dependencies in your package.json. SST requires CDK v2. Please update to CDK v2 dependencies, and then execute `sst update`. Refer to the official AWS CDK migration documentation — https://docs.aws.amazon.com/cdk/v2/guide/migrating-v2.html#migrating-v2-v1-upgrade");
30
30
  }
31
31
  // Print status
32
32
  if (allChanges.size === 0) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "sideEffects": false,
3
3
  "name": "sst",
4
- "version": "2.23.4",
4
+ "version": "2.23.6",
5
5
  "bin": {
6
6
  "sst": "cli/sst.js"
7
7
  },
package/stacks/synth.js CHANGED
@@ -14,13 +14,15 @@ export async function synth(opts) {
14
14
  const { useRustHandler } = await import("../runtime/handlers/rust.js");
15
15
  const { usePythonHandler } = await import("../runtime/handlers/python.js");
16
16
  const { useJavaHandler } = await import("../runtime/handlers/java.js");
17
- useNodeHandler();
18
- useGoHandler();
19
- useContainerHandler();
20
- usePythonHandler();
21
- useJavaHandler();
22
- useDotnetHandler();
23
- useRustHandler();
17
+ if (opts.mode !== "remove") {
18
+ useNodeHandler();
19
+ useGoHandler();
20
+ useContainerHandler();
21
+ usePythonHandler();
22
+ useJavaHandler();
23
+ useDotnetHandler();
24
+ useRustHandler();
25
+ }
24
26
  const cxapi = await import("@aws-cdk/cx-api");
25
27
  const { Configuration } = await import("sst-aws-cdk/lib/settings.js");
26
28
  const project = useProject();