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.
- package/cli/commands/deploy.js +2 -0
- package/node/api/index.d.ts +2 -0
- package/package.json +1 -1
- package/sst.mjs +2 -0
- package/util/process.d.ts +0 -1
package/cli/commands/deploy.js
CHANGED
|
@@ -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
|
});
|
package/node/api/index.d.ts
CHANGED
|
@@ -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
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