zuby 1.0.26 → 1.0.28

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/commands/init.js CHANGED
@@ -98,7 +98,7 @@ options) {
98
98
  return;
99
99
  let fileContent = await readFile(file, 'utf-8');
100
100
  // Remove template comments
101
- fileContent = fileContent.replace(/\/\/\s+@template\s+/, '$1');
101
+ fileContent = fileContent.replace(/\/\/\s+@template\s+/g, '');
102
102
  // Replace all available <key> values in the file
103
103
  Object.entries(options).forEach(([key, value]) => {
104
104
  fileContent = fileContent.replace(new RegExp(`<${key}>`, 'g'), value.toString());
@@ -9,6 +9,7 @@
9
9
  "preview": "npx zuby preview"
10
10
  },
11
11
  "dependencies": {
12
- "zuby": "^<zubyVersion>"
12
+ "zuby": "^<zubyVersion>",
13
+ "@zubyjs/<jsxProviderName>": "^<zubyVersion>"
13
14
  }
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zuby",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "Zuby.js is framework for building SPA apps using Vite",
5
5
  "type": "module",
6
6
  "main": "index.js",