create-rsbuild 1.3.2 → 1.3.4
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 -3
- package/package.json +8 -8
- package/template-lit-ts/tsconfig.json +1 -1
- package/template-preact-js/package.json +1 -1
- package/template-preact-ts/package.json +1 -1
- package/template-preact-ts/tsconfig.json +1 -1
- package/template-react-ts/package.json +1 -1
- package/template-react-ts/tsconfig.json +1 -1
- package/template-react18-ts/tsconfig.json +1 -1
- package/template-solid-ts/tsconfig.json +1 -1
- package/template-svelte-js/package.json +1 -1
- package/template-svelte-ts/package.json +2 -2
- package/template-svelte-ts/tsconfig.json +1 -4
- package/template-vanilla-ts/tsconfig.json +1 -1
- package/template-vue2-ts/tsconfig.json +1 -1
- package/template-vue3-js/package.json +1 -1
- package/template-vue3-ts/package.json +1 -1
- package/template-vue3-ts/tsconfig.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import node_path from "node:path";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
3
|
import { checkCancel, create, select as external_create_rstack_select } from "create-rstack";
|
|
4
|
-
const src_dirname =
|
|
4
|
+
const src_dirname = node_path.dirname(fileURLToPath(import.meta.url));
|
|
5
5
|
const frameworkAlias = {
|
|
6
6
|
vue: 'vue3',
|
|
7
7
|
'solid-js': 'solid'
|
|
@@ -91,7 +91,7 @@ function mapESLintTemplate(templateName) {
|
|
|
91
91
|
return `vanilla-${language}`;
|
|
92
92
|
}
|
|
93
93
|
create({
|
|
94
|
-
root:
|
|
94
|
+
root: node_path.resolve(src_dirname, '..'),
|
|
95
95
|
name: 'rsbuild',
|
|
96
96
|
templates: [
|
|
97
97
|
'vanilla-js',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rsbuild",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Create a new Rsbuild project",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"repository": {
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"bin.js"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"create-rstack": "1.
|
|
26
|
+
"create-rstack": "1.5.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@rsbuild/plugin-react": "^1.1.0",
|
|
30
|
-
"@rslib/core": "0.
|
|
31
|
-
"@types/node": "^22.15.
|
|
30
|
+
"@rslib/core": "0.10.1",
|
|
31
|
+
"@types/node": "^22.15.32",
|
|
32
32
|
"typescript": "^5.8.3",
|
|
33
|
-
"@rsbuild/core": "1.4.0-beta.
|
|
34
|
-
"@rsbuild/plugin-preact": "1.4.0",
|
|
33
|
+
"@rsbuild/core": "1.4.0-beta.5",
|
|
35
34
|
"@rsbuild/plugin-solid": "1.0.5",
|
|
36
35
|
"@rsbuild/plugin-babel": "1.0.5",
|
|
37
|
-
"@rsbuild/plugin-
|
|
38
|
-
"@rsbuild/plugin-
|
|
36
|
+
"@rsbuild/plugin-svelte": "1.0.10",
|
|
37
|
+
"@rsbuild/plugin-preact": "1.5.0-beta.0",
|
|
38
|
+
"@rsbuild/plugin-vue": "1.0.7"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=16.10.0"
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
"svelte-check": "svelte-check --tsconfig ./tsconfig.json"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"svelte": "^5.
|
|
13
|
+
"svelte": "^5.34.7"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@rsbuild/core": "^1.3.22",
|
|
17
17
|
"@rsbuild/plugin-svelte": "^1.0.10",
|
|
18
|
-
"svelte-check": "^4.2.
|
|
18
|
+
"svelte-check": "^4.2.2",
|
|
19
19
|
"typescript": "^5.8.3"
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -4,14 +4,11 @@
|
|
|
4
4
|
"target": "ES2020",
|
|
5
5
|
"noEmit": true,
|
|
6
6
|
"skipLibCheck": true,
|
|
7
|
-
// svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
|
|
8
|
-
// to enforce using `import type` instead of `import` for Types.
|
|
9
|
-
"verbatimModuleSyntax": true,
|
|
10
7
|
"useDefineForClassFields": true,
|
|
11
8
|
|
|
12
9
|
/* modules */
|
|
13
10
|
"module": "ESNext",
|
|
14
|
-
"
|
|
11
|
+
"verbatimModuleSyntax": true,
|
|
15
12
|
"resolveJsonModule": true,
|
|
16
13
|
"moduleResolution": "bundler",
|
|
17
14
|
"allowImportingTsExtensions": true,
|