@hybridly/vite 0.0.1-alpha.3 → 0.0.1-alpha.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/dist/index.cjs CHANGED
@@ -111,6 +111,7 @@ async function writeDefinitions(options, collection) {
111
111
  }];
112
112
  }));
113
113
  const definitions = generateDefinitions().replace("__URL__", collection?.url ?? "").replace("__ROUTES__", JSON.stringify(routes).replaceAll('"__key_placeholder__"', "any"));
114
+ fs__default.mkdirSync(path__default.dirname(target), { recursive: true });
114
115
  fs__default.writeFileSync(target, definitions, { encoding: "utf-8" });
115
116
  }
116
117
  function generateDefinitions() {
package/dist/index.mjs CHANGED
@@ -101,6 +101,7 @@ async function writeDefinitions(options, collection) {
101
101
  }];
102
102
  }));
103
103
  const definitions = generateDefinitions().replace("__URL__", collection?.url ?? "").replace("__ROUTES__", JSON.stringify(routes).replaceAll('"__key_placeholder__"', "any"));
104
+ fs.mkdirSync(path.dirname(target), { recursive: true });
104
105
  fs.writeFileSync(target, definitions, { encoding: "utf-8" });
105
106
  }
106
107
  function generateDefinitions() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybridly/vite",
3
- "version": "0.0.1-alpha.3",
3
+ "version": "0.0.1-alpha.4",
4
4
  "description": "A solution to develop server-driven, client-rendered applications",
5
5
  "keywords": [
6
6
  "hybridly",
@@ -39,7 +39,7 @@
39
39
  "vue": "^3.2.33"
40
40
  },
41
41
  "dependencies": {
42
- "@hybridly/core": "0.0.1-alpha.3",
42
+ "@hybridly/core": "0.0.1-alpha.4",
43
43
  "throttle-debounce": "^5.0.0"
44
44
  },
45
45
  "devDependencies": {