sst 2.0.0-rc.8 → 2.0.0-rc.9

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.
@@ -44,5 +44,7 @@ export const deploy = (program) => program.command("deploy [filter]", "Work on y
44
44
  component.unmount();
45
45
  process.stdout.write("\x1b[?1049l");
46
46
  printDeploymentResults(results);
47
+ if (Object.values(results).some((stack) => Stacks.isFailed(stack.status)))
48
+ process.exit(1);
47
49
  process.exit(0);
48
50
  });
@@ -1,4 +1,6 @@
1
1
  /// <reference types="node" resolution-mode="require"/>
2
+ /// <reference types="node/url.js" />
3
+ /// <reference types=".pnpm/@types+node@17.0.45/node_modules/@types/node/url.js" />
2
4
  import { Handler } from "../../context/handler.js";
3
5
  export interface ApiResources {
4
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.0.0-rc.8",
3
+ "version": "2.0.0-rc.9",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },
package/sst.mjs CHANGED
@@ -21659,6 +21659,8 @@ var deploy2 = (program2) => program2.command(
21659
21659
  component.unmount();
21660
21660
  process.stdout.write("\x1B[?1049l");
21661
21661
  printDeploymentResults(results);
21662
+ if (Object.values(results).some((stack) => Stacks.isFailed(stack.status)))
21663
+ process.exit(1);
21662
21664
  process.exit(0);
21663
21665
  }
21664
21666
  );
package/util/process.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- /// <reference types="node" resolution-mode="require"/>
2
1
  import { exec } from "child_process";
3
2
  export declare const execAsync: typeof exec.__promisify__;