@wangs-ui/create-react-app 1.0.54 → 1.0.55
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/bin.js +5 -1
- package/package.json +4 -3
- package/template/public/wangs_ui_logo.png +0 -0
package/dist/bin.js
CHANGED
|
@@ -32,6 +32,10 @@ function copyProjectTemplate(options) {
|
|
|
32
32
|
ignore
|
|
33
33
|
});
|
|
34
34
|
else {
|
|
35
|
+
if (/\.(png|jpe?g|gif|svg|ico|webp|avif|woff2?|eot|ttf|otf|lottie)$/i.test(srcPath)) {
|
|
36
|
+
fs.copyFileSync(srcPath, destPath);
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
35
39
|
let content = fs.readFileSync(srcPath, "utf8");
|
|
36
40
|
if (destName === "package.json") {
|
|
37
41
|
content = content.replace(/"name":\s*"[^"]*"/, `"name": "${projectName}"`);
|
|
@@ -242,7 +246,7 @@ async function promptUser(initialOptions) {
|
|
|
242
246
|
skills: skills || allSkills.map((s) => s.id),
|
|
243
247
|
git: git !== void 0 ? git : true
|
|
244
248
|
};
|
|
245
|
-
intro(`\x1b[36m🚀 Wangs UI React App Scaffolder\x1b[0m [2m(v1.0.
|
|
249
|
+
intro(`\x1b[36m🚀 Wangs UI React App Scaffolder\x1b[0m [2m(v1.0.55)[0m`);
|
|
246
250
|
if (!projectName) {
|
|
247
251
|
const nameResponse = await text({
|
|
248
252
|
message: "What is your project name?",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wangs-ui/create-react-app",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"description": "Scaffold a modern React app with Wangs UI, Vite 8, Oxlint, Oxfmt, and AI Agent MCP integration",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"antigravity",
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
"template/_pnpm-workspace.yaml",
|
|
44
44
|
"template/src",
|
|
45
45
|
"template/agents",
|
|
46
|
-
"template/README.md"
|
|
46
|
+
"template/README.md",
|
|
47
|
+
"template/public"
|
|
47
48
|
],
|
|
48
49
|
"type": "module",
|
|
49
50
|
"publishConfig": {
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
},
|
|
53
54
|
"dependencies": {
|
|
54
55
|
"@clack/prompts": "^1.7.0",
|
|
55
|
-
"@wangs-ui/skills": "1.0.
|
|
56
|
+
"@wangs-ui/skills": "1.0.55"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {},
|
|
58
59
|
"scripts": {
|
|
Binary file
|