create-rsbuild 0.0.0-next-20231220091832 → 0.0.0-next-20240109045121
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 +23 -1
- package/README.md +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/template-react-ts/package.json +2 -2
- package/template-vue2-ts/tsconfig.json +1 -0
- package/template-vue3-ts/tsconfig.json +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
# create-rsbuild
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20240109045121
|
|
4
|
+
|
|
5
|
+
## 0.2.18
|
|
6
|
+
|
|
7
|
+
## 0.2.17
|
|
8
|
+
|
|
9
|
+
## 0.2.16
|
|
10
|
+
|
|
11
|
+
## 0.2.15
|
|
12
|
+
|
|
13
|
+
## 0.2.14
|
|
14
|
+
|
|
15
|
+
## 0.2.13
|
|
16
|
+
|
|
17
|
+
## 0.2.12
|
|
18
|
+
|
|
19
|
+
## 0.2.11
|
|
20
|
+
|
|
21
|
+
## 0.2.10
|
|
22
|
+
|
|
23
|
+
## 0.2.9
|
|
24
|
+
|
|
25
|
+
## 0.2.8
|
|
4
26
|
|
|
5
27
|
## 0.2.7
|
|
6
28
|
|
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
export {};
|
|
2
|
+
export {};
|
package/dist/index.js
CHANGED
|
@@ -59,7 +59,7 @@ async function main() {
|
|
|
59
59
|
placeholder: "my-project",
|
|
60
60
|
validate(value) {
|
|
61
61
|
if (value.length === 0) {
|
|
62
|
-
return
|
|
62
|
+
return "Target folder is required";
|
|
63
63
|
}
|
|
64
64
|
if (import_fs.default.existsSync(import_path.default.join(cwd, value))) {
|
|
65
65
|
return `"${value}" is not empty, please input another folder`;
|
|
@@ -90,7 +90,7 @@ async function main() {
|
|
|
90
90
|
});
|
|
91
91
|
checkCancel(language);
|
|
92
92
|
const srcFolder = import_path.default.join(packageRoot, `template-${framework}-${language}`);
|
|
93
|
-
const commonFolder = import_path.default.join(packageRoot,
|
|
93
|
+
const commonFolder = import_path.default.join(packageRoot, "template-common");
|
|
94
94
|
const distFolder = import_path.default.join(cwd, targetDir);
|
|
95
95
|
copyFolder(commonFolder, distFolder, version);
|
|
96
96
|
copyFolder(srcFolder, distFolder, version, import_path.default.basename(targetDir));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rsbuild",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20240109045121",
|
|
4
4
|
"description": "Create a new Rsbuild project",
|
|
5
5
|
"homepage": "https://rsbuild.dev",
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@clack/prompts": "^0.7.0",
|
|
26
|
-
"rslog": "^1.
|
|
26
|
+
"rslog": "^1.2.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "16.x",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@rsbuild/core": "workspace:*",
|
|
16
16
|
"@rsbuild/plugin-react": "workspace:*",
|
|
17
|
-
"@types/react": "^18",
|
|
18
|
-
"@types/react-dom": "^18",
|
|
17
|
+
"@types/react": "^18.2.47",
|
|
18
|
+
"@types/react-dom": "^18.2.18",
|
|
19
19
|
"typescript": "^5.3.0"
|
|
20
20
|
}
|
|
21
21
|
}
|