create-rsbuild 2.0.0-rc.2 → 2.0.0-rc.3
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 +10 -2
- package/package.json +4 -4
- package/template-lit-js/package.json +1 -1
- package/template-lit-ts/package.json +1 -1
- package/template-preact-js/package.json +1 -1
- package/template-preact-ts/package.json +1 -1
- package/template-react-js/package.json +1 -1
- package/template-react-ts/package.json +1 -1
- package/template-rstest/react-js/package.json +1 -1
- package/template-rstest/react-ts/package.json +1 -1
- package/template-rstest/vanilla-js/package.json +1 -1
- package/template-rstest/vanilla-ts/package.json +1 -1
- package/template-rstest/vue-js/package.json +1 -1
- package/template-rstest/vue-ts/package.json +1 -1
- package/template-solid-js/package.json +1 -1
- package/template-solid-ts/package.json +1 -1
- package/template-svelte-js/package.json +2 -2
- package/template-svelte-ts/package.json +2 -2
- package/template-vanilla-js/package.json +1 -1
- package/template-vanilla-ts/package.json +1 -1
- package/template-vue2-js/package.json +1 -1
- package/template-vue2-ts/package.json +1 -1
- package/template-vue3-js/package.json +1 -1
- package/template-vue3-ts/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ async function getTemplateName({ template }) {
|
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
value: 'react',
|
|
24
|
-
label: 'React
|
|
24
|
+
label: 'React'
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
value: 'vue3',
|
|
@@ -136,7 +136,10 @@ create({
|
|
|
136
136
|
value: 'react-compiler',
|
|
137
137
|
label: 'React Compiler - optimization',
|
|
138
138
|
order: 'pre',
|
|
139
|
-
when: (
|
|
139
|
+
when: ({ templateName })=>[
|
|
140
|
+
'react-js',
|
|
141
|
+
'react-ts'
|
|
142
|
+
].includes(templateName),
|
|
140
143
|
action: ({ templateName, distFolder })=>{
|
|
141
144
|
const toolFolder = node_path.join(root, 'template-react-compiler');
|
|
142
145
|
copyFolder({
|
|
@@ -181,6 +184,11 @@ create({
|
|
|
181
184
|
value: 'rsbuild-best-practices',
|
|
182
185
|
label: 'Rsbuild - best practices',
|
|
183
186
|
source: 'rstackjs/agent-skills'
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
value: 'rstest-best-practices',
|
|
190
|
+
label: 'Rstest - best practices',
|
|
191
|
+
source: 'rstackjs/agent-skills'
|
|
184
192
|
}
|
|
185
193
|
]
|
|
186
194
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rsbuild",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.3",
|
|
4
4
|
"description": "Create a new Rsbuild project",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"repository": {
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
"bin.js"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"create-rstack": "
|
|
25
|
+
"create-rstack": "2.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@rsbuild/plugin-react": "^1.1.0",
|
|
29
29
|
"@rslib/core": "0.21.0",
|
|
30
30
|
"@types/node": "^24.12.2",
|
|
31
31
|
"typescript": "^6.0.2",
|
|
32
|
-
"@rsbuild/core": "2.0.0-rc.
|
|
32
|
+
"@rsbuild/core": "2.0.0-rc.3",
|
|
33
33
|
"@rsbuild/plugin-babel": "1.1.2",
|
|
34
|
-
"@rsbuild/plugin-preact": "1.7.2",
|
|
35
34
|
"@rsbuild/plugin-solid": "1.1.1",
|
|
36
35
|
"@rsbuild/plugin-svelte": "1.1.1",
|
|
36
|
+
"@rsbuild/plugin-preact": "1.7.2",
|
|
37
37
|
"@rsbuild/plugin-vue": "1.2.7"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"preview": "rsbuild preview"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"svelte": "^5.55.
|
|
12
|
+
"svelte": "^5.55.3"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@rsbuild/core": "^2.0.0-
|
|
15
|
+
"@rsbuild/core": "^2.0.0-rc.3",
|
|
16
16
|
"@rsbuild/plugin-svelte": "^1.1.1"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"svelte-check": "svelte-check --tsconfig ./tsconfig.json"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"svelte": "^5.55.
|
|
13
|
+
"svelte": "^5.55.3"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@rsbuild/core": "^2.0.0-
|
|
16
|
+
"@rsbuild/core": "^2.0.0-rc.3",
|
|
17
17
|
"@rsbuild/plugin-svelte": "^1.1.1",
|
|
18
18
|
"svelte-check": "^4.4.6",
|
|
19
19
|
"typescript": "^6.0.2"
|