sst 2.1.18 → 2.1.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sst",
3
- "version": "2.1.18",
3
+ "version": "2.1.19",
4
4
  "bin": {
5
5
  "sst": "cli/sst.js"
6
6
  },
@@ -56,6 +56,8 @@ export const useRuntimeHandlers = Context.memo(() => {
56
56
  recursive: true,
57
57
  });
58
58
  if (mode === "start") {
59
+ const dir = path.dirname(toPath);
60
+ await fs.mkdir(dir, { recursive: true });
59
61
  await fs.symlink(fromPath, toPath);
60
62
  }
61
63
  }));
package/sst.mjs CHANGED
@@ -2243,6 +2243,8 @@ var init_handlers = __esm({
2243
2243
  recursive: true
2244
2244
  });
2245
2245
  if (mode === "start") {
2246
+ const dir = path7.dirname(toPath);
2247
+ await fs7.mkdir(dir, { recursive: true });
2246
2248
  await fs7.symlink(fromPath, toPath);
2247
2249
  }
2248
2250
  })