qleaner 1.3.0 → 1.3.2
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 +1 -1
- package/package.json +4 -4
- package/utils/constants.js +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Qleaner
|
|
2
2
|
|
|
3
|
-
**Qleaner** (v1.3.
|
|
3
|
+
**Qleaner** (v1.3.2) is a powerful CLI tool for analyzing and cleaning up React, TypeScript, and JavaScript projects. It helps you identify unused files, images, dependencies, and dead code to optimize your bundle size and maintain a clean codebase.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qleaner",
|
|
3
3
|
"description": "A CLI tool for analyzing and identifying unused files, images, imports, and dead code in React, TypeScript, and JavaScript projects to help optimize bundle size and maintain clean codebases",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "command.js",
|
|
7
7
|
"bin": "bin/cli.js",
|
|
@@ -59,8 +59,7 @@
|
|
|
59
59
|
"@eslint/js": "^9.39.2",
|
|
60
60
|
"@types/node": "^20.10.5",
|
|
61
61
|
"eslint": "^9.39.2",
|
|
62
|
-
"globals": "^16.5.0"
|
|
63
|
-
"typescript": "^5.9.3"
|
|
62
|
+
"globals": "^16.5.0"
|
|
64
63
|
},
|
|
65
64
|
"dependencies": {
|
|
66
65
|
"@babel/parser": "^7.28.5",
|
|
@@ -72,6 +71,7 @@
|
|
|
72
71
|
"enhanced-resolve": "^5.18.3",
|
|
73
72
|
"fast-glob": "^3.3.3",
|
|
74
73
|
"ora": "^9.0.0",
|
|
75
|
-
"prompts": "^2.4.2"
|
|
74
|
+
"prompts": "^2.4.2",
|
|
75
|
+
"typescript": "^5.9.3"
|
|
76
76
|
}
|
|
77
77
|
}
|
package/utils/constants.js
CHANGED
|
@@ -109,7 +109,7 @@ const QUESTIONS = [
|
|
|
109
109
|
message: "How do you reference images in your project?",
|
|
110
110
|
initial: 0,
|
|
111
111
|
choices: [
|
|
112
|
-
{ title: "Relative paths (./assets/logo.png)", value: "relative" },
|
|
112
|
+
{ title: "Relative paths (./assets/logo.png) or alias (@/assets/logo.png)", value: "relative" },
|
|
113
113
|
{ title: "Absolute paths from public/ (/images/logo.png)", value: "public" },
|
|
114
114
|
],
|
|
115
115
|
},
|