sst 2.0.0-rc.3 → 2.0.0-rc.4
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/update.js +1 -1
- package/package.json +1 -1
- package/sst.mjs +1 -1
package/cli/commands/update.js
CHANGED
|
@@ -11,7 +11,7 @@ export const update = (program) => program.command("update [ver]", "Update SST a
|
|
|
11
11
|
const { useProject } = await import("../../app.js");
|
|
12
12
|
const project = useProject();
|
|
13
13
|
const files = await find(project.paths.root);
|
|
14
|
-
const metadata = await fetch(`https://registry.npmjs.org/sst/${args.ver || "
|
|
14
|
+
const metadata = await fetch(`https://registry.npmjs.org/sst/${args.ver || "latest"}`).then((resp) => resp.json());
|
|
15
15
|
const results = new Map();
|
|
16
16
|
const tasks = files.map(async (file) => {
|
|
17
17
|
const data = await fs
|
package/package.json
CHANGED
package/sst.mjs
CHANGED
|
@@ -20903,7 +20903,7 @@ var update = (program2) => program2.command(
|
|
|
20903
20903
|
const project = useProject2();
|
|
20904
20904
|
const files = await find2(project.paths.root);
|
|
20905
20905
|
const metadata2 = await fetch(
|
|
20906
|
-
`https://registry.npmjs.org/sst/${args.ver || "
|
|
20906
|
+
`https://registry.npmjs.org/sst/${args.ver || "latest"}`
|
|
20907
20907
|
).then((resp) => resp.json());
|
|
20908
20908
|
const results = /* @__PURE__ */ new Map();
|
|
20909
20909
|
const tasks = files.map(async (file) => {
|