@zessjs/cli 1.0.8 → 1.1.1
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/index.js +3 -5
- package/package.json +1 -1
- package/template/common/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import gradient from "gradient-string";
|
|
|
12
12
|
import pc from "picocolors";
|
|
13
13
|
|
|
14
14
|
//#region package.json
|
|
15
|
-
var version = "1.
|
|
15
|
+
var version = "1.1.1";
|
|
16
16
|
var description = "Zess CLI tool 🔨 For easily creating Vite-powered Zess project.";
|
|
17
17
|
|
|
18
18
|
//#endregion
|
|
@@ -77,16 +77,14 @@ async function copyTemplateFiles(projectPath, projectName, useTypeScript) {
|
|
|
77
77
|
".gitignore": async (srcPath, destPath) => {
|
|
78
78
|
if (!existsSync(destPath)) return true;
|
|
79
79
|
const srcGitignore = await readFile(srcPath, "utf8");
|
|
80
|
-
|
|
81
|
-
await writeFile(destPath, `${destGitignore}\n${srcGitignore}`);
|
|
80
|
+
await writeFile(destPath, `${await readFile(destPath, "utf8")}\n${srcGitignore}`);
|
|
82
81
|
},
|
|
83
82
|
"package.json": async (srcPath, destPath) => {
|
|
84
83
|
await mergePackageJson(srcPath, destPath, projectName, useTypeScript);
|
|
85
84
|
},
|
|
86
85
|
"README.md": async (srcPath, destPath) => {
|
|
87
86
|
if (projectName === name) return true;
|
|
88
|
-
|
|
89
|
-
await writeFile(destPath, srcReadme.replace(name, projectName));
|
|
87
|
+
await writeFile(destPath, (await readFile(srcPath, "utf8")).replace(name, projectName));
|
|
90
88
|
}
|
|
91
89
|
});
|
|
92
90
|
await copyDirectory(path.join(templatePath, useTypeScript ? "typescript" : "javascript"), projectPath);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zess-app",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
"format": "prettier --cache --write ."
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@tailwindcss/vite": "^4.1.
|
|
16
|
-
"@zessjs/core": "^1.
|
|
17
|
-
"@zessjs/router": "^1.
|
|
18
|
-
"tailwindcss": "^4.1.
|
|
15
|
+
"@tailwindcss/vite": "^4.1.16",
|
|
16
|
+
"@zessjs/core": "^1.1.1",
|
|
17
|
+
"@zessjs/router": "^1.1.1",
|
|
18
|
+
"tailwindcss": "^4.1.16"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@sxzz/eslint-config": "^7.2.
|
|
21
|
+
"@sxzz/eslint-config": "^7.2.7",
|
|
22
22
|
"@sxzz/prettier-config": "^2.2.4",
|
|
23
|
-
"@zessjs/vite-plugin": "^1.
|
|
24
|
-
"eslint": "^9.
|
|
23
|
+
"@zessjs/vite-plugin": "^1.1.1",
|
|
24
|
+
"eslint": "^9.38.0",
|
|
25
25
|
"eslint-plugin-react": "^7.37.5",
|
|
26
|
-
"jsdom": "^27.0.
|
|
26
|
+
"jsdom": "^27.0.1",
|
|
27
27
|
"prettier": "^3.6.2",
|
|
28
28
|
"typescript": "^5.9.3",
|
|
29
|
-
"vite": "^7.1.
|
|
29
|
+
"vite": "^7.1.12",
|
|
30
30
|
"vitest": "^3.2.4"
|
|
31
31
|
},
|
|
32
32
|
"prettier": "@sxzz/prettier-config"
|