create-what 0.5.5 → 0.6.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/README.md +3 -3
- package/index.js +5 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Scaffold a new [What Framework](https://whatfw.com) project with one command.
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
|
|
8
|
+
npm create what@latest my-app
|
|
9
9
|
cd my-app
|
|
10
10
|
npm install
|
|
11
11
|
npm run dev
|
|
@@ -20,7 +20,7 @@ bun create what@latest my-app
|
|
|
20
20
|
### Skip prompts
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
|
|
23
|
+
npm create what@latest my-app -- --yes
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## Options
|
|
@@ -70,7 +70,7 @@ StyleX is configured via `vite-plugin-stylex`. The counter example uses `stylex.
|
|
|
70
70
|
## Links
|
|
71
71
|
|
|
72
72
|
- [Documentation](https://whatfw.com)
|
|
73
|
-
- [GitHub](https://github.com/
|
|
73
|
+
- [GitHub](https://github.com/CelsianJs/what-framework)
|
|
74
74
|
|
|
75
75
|
## License
|
|
76
76
|
|
package/index.js
CHANGED
|
@@ -123,17 +123,17 @@ async function gatherOptions() {
|
|
|
123
123
|
|
|
124
124
|
function generatePackageJson(projectName, { reactCompat, cssApproach }) {
|
|
125
125
|
const deps = {
|
|
126
|
-
'what-framework': '^0.
|
|
126
|
+
'what-framework': '^0.6.0',
|
|
127
127
|
};
|
|
128
128
|
const devDeps = {
|
|
129
129
|
vite: '^6.0.0',
|
|
130
|
-
'what-compiler': '^0.
|
|
130
|
+
'what-compiler': '^0.6.0',
|
|
131
131
|
'@babel/core': '^7.23.0',
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
if (reactCompat) {
|
|
135
135
|
deps['what-react'] = '^0.1.0';
|
|
136
|
-
deps['what-core'] = '^0.
|
|
136
|
+
deps['what-core'] = '^0.6.0';
|
|
137
137
|
// Include zustand as a demo React library
|
|
138
138
|
deps['zustand'] = '^5.0.0';
|
|
139
139
|
}
|
|
@@ -878,6 +878,7 @@ async function main() {
|
|
|
878
878
|
moduleResolution: 'bundler',
|
|
879
879
|
jsx: 'preserve',
|
|
880
880
|
jsxImportSource: 'what-framework',
|
|
881
|
+
allowJs: true,
|
|
881
882
|
strict: true,
|
|
882
883
|
noEmit: true,
|
|
883
884
|
skipLibCheck: true,
|
|
@@ -898,9 +899,7 @@ async function main() {
|
|
|
898
899
|
}, null, 2) + '\n');
|
|
899
900
|
|
|
900
901
|
writeFileSync(join(root, '.vscode', 'extensions.json'), JSON.stringify({
|
|
901
|
-
recommendations: [
|
|
902
|
-
'zvndev.thenjs',
|
|
903
|
-
],
|
|
902
|
+
recommendations: [],
|
|
904
903
|
}, null, 2) + '\n');
|
|
905
904
|
|
|
906
905
|
// src/main.jsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-what",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Scaffold a new What Framework project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
"template",
|
|
17
17
|
"what-framework"
|
|
18
18
|
],
|
|
19
|
-
"author": "",
|
|
19
|
+
"author": "ZVN DEV (https://zvndev.com)",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
|
-
"url": "https://github.com/
|
|
23
|
+
"url": "https://github.com/CelsianJs/what-framework"
|
|
24
24
|
},
|
|
25
25
|
"bugs": {
|
|
26
|
-
"url": "https://github.com/
|
|
26
|
+
"url": "https://github.com/CelsianJs/what-framework/issues"
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://whatfw.com"
|
|
29
29
|
}
|