create-what 0.4.2 → 0.5.0
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/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -42,11 +42,11 @@ writeFileSync(join(root, 'package.json'), JSON.stringify({
|
|
|
42
42
|
preview: 'vite preview',
|
|
43
43
|
},
|
|
44
44
|
dependencies: {
|
|
45
|
-
'what-framework': '^0.
|
|
45
|
+
'what-framework': '^0.5.0',
|
|
46
46
|
},
|
|
47
47
|
devDependencies: {
|
|
48
48
|
vite: '^5.4.0',
|
|
49
|
-
...(useJSX ? { 'what-compiler': '^0.
|
|
49
|
+
...(useJSX ? { 'what-compiler': '^0.5.0' } : {}),
|
|
50
50
|
},
|
|
51
51
|
}, null, 2) + '\n');
|
|
52
52
|
|
|
@@ -192,6 +192,7 @@ Open [http://localhost:5173](http://localhost:5173).
|
|
|
192
192
|
- Canonical package name is \`what-framework\`.
|
|
193
193
|
- JSX path is compiler-first and recommended.
|
|
194
194
|
- Runtime \`h()\` path is available with \`--vanilla\`.
|
|
195
|
+
- Vite is preconfigured under the hood; use \`npm run dev/build/preview\`.
|
|
195
196
|
- Event handlers accept both \`onClick\` and \`onclick\`; docs and templates use \`onClick\`.
|
|
196
197
|
`);
|
|
197
198
|
|