create-rsbuild 1.6.2 → 1.6.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.
Files changed (39) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +5 -5
  3. package/template-common/AGENTS.md +2 -2
  4. package/template-lit-js/package.json +1 -1
  5. package/template-lit-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  6. package/template-lit-ts/package.json +1 -1
  7. package/template-lit-ts/rsbuild.config.ts +1 -0
  8. package/template-preact-js/package.json +1 -1
  9. package/template-preact-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  10. package/template-preact-ts/package.json +1 -1
  11. package/template-preact-ts/rsbuild.config.ts +1 -0
  12. package/template-react-js/package.json +2 -2
  13. package/template-react-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  14. package/template-react-ts/package.json +4 -4
  15. package/template-react-ts/rsbuild.config.ts +1 -0
  16. package/template-react18-js/package.json +2 -2
  17. package/template-react18-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  18. package/template-react18-ts/package.json +2 -2
  19. package/template-react18-ts/rsbuild.config.ts +1 -0
  20. package/template-solid-js/package.json +1 -1
  21. package/template-solid-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  22. package/template-solid-ts/package.json +1 -1
  23. package/template-solid-ts/rsbuild.config.ts +1 -0
  24. package/template-svelte-js/package.json +2 -2
  25. package/template-svelte-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  26. package/template-svelte-ts/package.json +3 -3
  27. package/template-svelte-ts/rsbuild.config.ts +1 -0
  28. package/template-vanilla-js/package.json +1 -1
  29. package/template-vanilla-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  30. package/template-vanilla-ts/package.json +1 -1
  31. package/template-vanilla-ts/rsbuild.config.ts +1 -0
  32. package/template-vue2-js/package.json +1 -1
  33. package/template-vue2-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  34. package/template-vue2-ts/package.json +1 -1
  35. package/template-vue2-ts/rsbuild.config.ts +1 -0
  36. package/template-vue3-js/package.json +2 -2
  37. package/template-vue3-js/{rsbuild.config.mjs → rsbuild.config.js} +1 -0
  38. package/template-vue3-ts/package.json +2 -2
  39. package/template-vue3-ts/rsbuild.config.ts +1 -0
package/dist/index.js CHANGED
@@ -109,6 +109,6 @@ create({
109
109
  'solid-js',
110
110
  'solid-ts'
111
111
  ],
112
- getTemplateName,
113
- mapESLintTemplate
112
+ getTemplateName: getTemplateName,
113
+ mapESLintTemplate: mapESLintTemplate
114
114
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rsbuild",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "description": "Create a new Rsbuild project",
5
5
  "homepage": "https://rsbuild.rs",
6
6
  "repository": {
@@ -23,16 +23,16 @@
23
23
  "bin.js"
24
24
  ],
25
25
  "dependencies": {
26
- "create-rstack": "1.7.3"
26
+ "create-rstack": "1.7.7"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@rsbuild/plugin-react": "^1.1.0",
30
- "@rslib/core": "0.17.0",
30
+ "@rslib/core": "0.17.1",
31
31
  "@types/node": "^24.9.2",
32
32
  "typescript": "^5.9.3",
33
- "@rsbuild/core": "1.6.1",
34
- "@rsbuild/plugin-preact": "1.6.0",
35
33
  "@rsbuild/plugin-babel": "1.0.6",
34
+ "@rsbuild/core": "1.6.5",
35
+ "@rsbuild/plugin-preact": "1.6.0",
36
36
  "@rsbuild/plugin-solid": "1.0.6",
37
37
  "@rsbuild/plugin-vue": "1.2.0",
38
38
  "@rsbuild/plugin-svelte": "1.0.11"
@@ -10,5 +10,5 @@ You are an expert in JavaScript, Rsbuild, and web application development. You w
10
10
 
11
11
  ## Docs
12
12
 
13
- - Rsbuild: <https://rsbuild.rs/llms.txt>
14
- - Rspack: <https://rspack.rs/llms.txt>
13
+ - Rsbuild: https://rsbuild.rs/llms.txt
14
+ - Rspack: https://rspack.rs/llms.txt
@@ -12,6 +12,6 @@
12
12
  "lit": "^3.3.1"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0"
15
+ "@rsbuild/core": "^1.6.4"
16
16
  }
17
17
  }
@@ -1,6 +1,7 @@
1
1
  // @ts-check
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({
5
6
  html: {
6
7
  template: './src/index.html',
@@ -12,7 +12,7 @@
12
12
  "lit": "^3.3.1"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "typescript": "^5.9.3"
17
17
  }
18
18
  }
@@ -1,5 +1,6 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
 
3
+ // Docs: https://rsbuild.rs/config/
3
4
  export default defineConfig({
4
5
  html: {
5
6
  template: './src/index.html',
@@ -12,7 +12,7 @@
12
12
  "preact": "^10.27.2"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-preact": "^1.6.0"
17
17
  }
18
18
  }
@@ -2,6 +2,7 @@
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
  import { pluginPreact } from '@rsbuild/plugin-preact';
4
4
 
5
+ // Docs: https://rsbuild.rs/config/
5
6
  export default defineConfig({
6
7
  plugins: [pluginPreact()],
7
8
  });
@@ -12,7 +12,7 @@
12
12
  "preact": "^10.27.2"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-preact": "^1.6.0",
17
17
  "typescript": "^5.9.3"
18
18
  }
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
  import { pluginPreact } from '@rsbuild/plugin-preact';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({
5
6
  plugins: [pluginPreact()],
6
7
  });
@@ -13,7 +13,7 @@
13
13
  "react-dom": "^19.2.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@rsbuild/core": "^1.6.0",
17
- "@rsbuild/plugin-react": "^1.4.1"
16
+ "@rsbuild/core": "^1.6.4",
17
+ "@rsbuild/plugin-react": "^1.4.2"
18
18
  }
19
19
  }
@@ -2,6 +2,7 @@
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
  import { pluginReact } from '@rsbuild/plugin-react';
4
4
 
5
+ // Docs: https://rsbuild.rs/config/
5
6
  export default defineConfig({
6
7
  plugins: [pluginReact()],
7
8
  });
@@ -13,10 +13,10 @@
13
13
  "react-dom": "^19.2.0"
14
14
  },
15
15
  "devDependencies": {
16
- "@rsbuild/core": "^1.6.0",
17
- "@rsbuild/plugin-react": "^1.4.1",
18
- "@types/react": "^19.2.2",
19
- "@types/react-dom": "^19.2.2",
16
+ "@rsbuild/core": "^1.6.4",
17
+ "@rsbuild/plugin-react": "^1.4.2",
18
+ "@types/react": "^19.2.4",
19
+ "@types/react-dom": "^19.2.3",
20
20
  "typescript": "^5.9.3"
21
21
  }
22
22
  }
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
  import { pluginReact } from '@rsbuild/plugin-react';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({
5
6
  plugins: [pluginReact()],
6
7
  });
@@ -13,7 +13,7 @@
13
13
  "react-dom": "^18.3.1"
14
14
  },
15
15
  "devDependencies": {
16
- "@rsbuild/core": "^1.6.0",
17
- "@rsbuild/plugin-react": "^1.4.1"
16
+ "@rsbuild/core": "^1.6.4",
17
+ "@rsbuild/plugin-react": "^1.4.2"
18
18
  }
19
19
  }
@@ -2,6 +2,7 @@
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
  import { pluginReact } from '@rsbuild/plugin-react';
4
4
 
5
+ // Docs: https://rsbuild.rs/config/
5
6
  export default defineConfig({
6
7
  plugins: [pluginReact()],
7
8
  });
@@ -13,8 +13,8 @@
13
13
  "react-dom": "^18.3.1"
14
14
  },
15
15
  "devDependencies": {
16
- "@rsbuild/core": "^1.6.0",
17
- "@rsbuild/plugin-react": "^1.4.1",
16
+ "@rsbuild/core": "^1.6.4",
17
+ "@rsbuild/plugin-react": "^1.4.2",
18
18
  "@types/react": "^18.3.18",
19
19
  "@types/react-dom": "^18.3.5",
20
20
  "typescript": "^5.9.3"
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
  import { pluginReact } from '@rsbuild/plugin-react';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({
5
6
  plugins: [pluginReact()],
6
7
  });
@@ -12,7 +12,7 @@
12
12
  "solid-js": "^1.9.10"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-babel": "^1.0.6",
17
17
  "@rsbuild/plugin-solid": "^1.0.6"
18
18
  }
@@ -3,6 +3,7 @@ import { defineConfig } from '@rsbuild/core';
3
3
  import { pluginBabel } from '@rsbuild/plugin-babel';
4
4
  import { pluginSolid } from '@rsbuild/plugin-solid';
5
5
 
6
+ // Docs: https://rsbuild.rs/config/
6
7
  export default defineConfig({
7
8
  plugins: [
8
9
  pluginBabel({
@@ -12,7 +12,7 @@
12
12
  "solid-js": "^1.9.10"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-babel": "^1.0.6",
17
17
  "@rsbuild/plugin-solid": "^1.0.6",
18
18
  "typescript": "^5.9.3"
@@ -2,6 +2,7 @@ import { defineConfig } from '@rsbuild/core';
2
2
  import { pluginBabel } from '@rsbuild/plugin-babel';
3
3
  import { pluginSolid } from '@rsbuild/plugin-solid';
4
4
 
5
+ // Docs: https://rsbuild.rs/config/
5
6
  export default defineConfig({
6
7
  plugins: [
7
8
  pluginBabel({
@@ -9,10 +9,10 @@
9
9
  "preview": "rsbuild preview"
10
10
  },
11
11
  "dependencies": {
12
- "svelte": "^5.43.2"
12
+ "svelte": "^5.43.6"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-svelte": "^1.0.11"
17
17
  }
18
18
  }
@@ -2,6 +2,7 @@
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
  import { pluginSvelte } from '@rsbuild/plugin-svelte';
4
4
 
5
+ // Docs: https://rsbuild.rs/config/
5
6
  export default defineConfig({
6
7
  plugins: [pluginSvelte()],
7
8
  });
@@ -10,12 +10,12 @@
10
10
  "svelte-check": "svelte-check --tsconfig ./tsconfig.json"
11
11
  },
12
12
  "dependencies": {
13
- "svelte": "^5.43.2"
13
+ "svelte": "^5.43.6"
14
14
  },
15
15
  "devDependencies": {
16
- "@rsbuild/core": "^1.6.0",
16
+ "@rsbuild/core": "^1.6.4",
17
17
  "@rsbuild/plugin-svelte": "^1.0.11",
18
- "svelte-check": "^4.3.3",
18
+ "svelte-check": "^4.3.4",
19
19
  "typescript": "^5.9.3"
20
20
  }
21
21
  }
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
  import { pluginSvelte } from '@rsbuild/plugin-svelte';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({
5
6
  plugins: [pluginSvelte()],
6
7
  });
@@ -9,6 +9,6 @@
9
9
  "preview": "rsbuild preview"
10
10
  },
11
11
  "devDependencies": {
12
- "@rsbuild/core": "^1.6.0"
12
+ "@rsbuild/core": "^1.6.4"
13
13
  }
14
14
  }
@@ -1,4 +1,5 @@
1
1
  // @ts-check
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({});
@@ -9,7 +9,7 @@
9
9
  "preview": "rsbuild preview"
10
10
  },
11
11
  "devDependencies": {
12
- "@rsbuild/core": "^1.6.0",
12
+ "@rsbuild/core": "^1.6.4",
13
13
  "typescript": "^5.9.3"
14
14
  }
15
15
  }
@@ -1,3 +1,4 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
 
3
+ // Docs: https://rsbuild.rs/config/
3
4
  export default defineConfig({});
@@ -12,7 +12,7 @@
12
12
  "vue": "^2.7.16"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-vue2": "^1.0.4"
17
17
  }
18
18
  }
@@ -2,6 +2,7 @@
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
  import { pluginVue2 } from '@rsbuild/plugin-vue2';
4
4
 
5
+ // Docs: https://rsbuild.rs/config/
5
6
  export default defineConfig({
6
7
  plugins: [pluginVue2()],
7
8
  });
@@ -12,7 +12,7 @@
12
12
  "vue": "^2.7.16"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-vue2": "^1.0.4",
17
17
  "typescript": "^5.9.3"
18
18
  }
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
  import { pluginVue2 } from '@rsbuild/plugin-vue2';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({
5
6
  plugins: [pluginVue2()],
6
7
  });
@@ -9,10 +9,10 @@
9
9
  "preview": "rsbuild preview"
10
10
  },
11
11
  "dependencies": {
12
- "vue": "^3.5.22"
12
+ "vue": "^3.5.24"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-vue": "^1.2.0"
17
17
  }
18
18
  }
@@ -2,6 +2,7 @@
2
2
  import { defineConfig } from '@rsbuild/core';
3
3
  import { pluginVue } from '@rsbuild/plugin-vue';
4
4
 
5
+ // Docs: https://rsbuild.rs/config/
5
6
  export default defineConfig({
6
7
  plugins: [pluginVue()],
7
8
  });
@@ -9,10 +9,10 @@
9
9
  "preview": "rsbuild preview"
10
10
  },
11
11
  "dependencies": {
12
- "vue": "^3.5.22"
12
+ "vue": "^3.5.24"
13
13
  },
14
14
  "devDependencies": {
15
- "@rsbuild/core": "^1.6.0",
15
+ "@rsbuild/core": "^1.6.4",
16
16
  "@rsbuild/plugin-vue": "^1.2.0",
17
17
  "typescript": "^5.9.3"
18
18
  }
@@ -1,6 +1,7 @@
1
1
  import { defineConfig } from '@rsbuild/core';
2
2
  import { pluginVue } from '@rsbuild/plugin-vue';
3
3
 
4
+ // Docs: https://rsbuild.rs/config/
4
5
  export default defineConfig({
5
6
  plugins: [pluginVue()],
6
7
  });