create-what 0.2.0 → 0.4.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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -56,13 +56,13 @@ dist
56
56
 
57
57
  // --- package.json ---
58
58
  const pkgDeps = {
59
- 'what-framework': '^0.2.0',
59
+ 'what-framework': '^0.3.0',
60
60
  'what-framework-cli': '^0.1.0',
61
61
  };
62
62
 
63
63
  const pkgDevDeps = useJSX
64
64
  ? {
65
- 'what-compiler': '^0.2.0',
65
+ 'what-compiler': '^0.3.0',
66
66
  '@babel/core': '^7.23.0',
67
67
  'vite': '^5.0.0',
68
68
  }
@@ -139,7 +139,7 @@ writeFileSync(join(root, 'index.html'), `<!DOCTYPE html>
139
139
  if (useJSX) {
140
140
 
141
141
  // --- src/app.jsx ---
142
- writeFileSync(join(root, 'src/app.jsx'), `import { mount, signal } from 'what-framework';
142
+ writeFileSync(join(root, 'src/app.jsx'), `import { mount } from 'what-framework';
143
143
  import { Router, Link, defineRoutes } from 'what-framework/router';
144
144
  import { Layout } from './layouts/main.jsx';
145
145
  import { Home } from './pages/index.jsx';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-what",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Scaffold a new What Framework project",
5
5
  "type": "module",
6
6
  "bin": {