create-rsbuild 0.0.22 → 0.0.23
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/CHANGELOG.md +2 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -49,7 +49,7 @@ async function main() {
|
|
|
49
49
|
console.log("");
|
|
50
50
|
import_rslog.logger.greet("◆ Create Rsbuild Project");
|
|
51
51
|
const cwd = process.cwd();
|
|
52
|
-
const pkgInfo = pkgFromUserAgent(process.env.
|
|
52
|
+
const pkgInfo = pkgFromUserAgent(process.env.npm_config_user_agent);
|
|
53
53
|
const pkgManager = pkgInfo ? pkgInfo.name : "npm";
|
|
54
54
|
const packageRoot = import_path.default.resolve(__dirname, "..");
|
|
55
55
|
const packageJsonPath = import_path.default.join(packageRoot, "package.json");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rsbuild",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"description": "Create a new Rsbuild project",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@clack/prompts": "^0.7.0",
|
|
25
|
-
"rslog": "^1.1.
|
|
25
|
+
"rslog": "^1.1.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^16",
|