create-rsbuild 0.0.0-next-20231103091827

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 (62) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/LICENSE +21 -0
  3. package/README.md +19 -0
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.js +114 -0
  6. package/modern.config.ts +3 -0
  7. package/package.json +41 -0
  8. package/template-common/README.md +29 -0
  9. package/template-common/gitignore +13 -0
  10. package/template-react-js/package.json +18 -0
  11. package/template-react-js/rsbuild.config.mjs +9 -0
  12. package/template-react-js/src/App.jsx +22 -0
  13. package/template-react-js/src/index.css +41 -0
  14. package/template-react-js/src/index.html +10 -0
  15. package/template-react-js/src/index.jsx +11 -0
  16. package/template-react-ts/package.json +21 -0
  17. package/template-react-ts/rsbuild.config.ts +9 -0
  18. package/template-react-ts/src/App.tsx +22 -0
  19. package/template-react-ts/src/index.css +41 -0
  20. package/template-react-ts/src/index.html +10 -0
  21. package/template-react-ts/src/index.tsx +11 -0
  22. package/template-react-ts/tsconfig.json +14 -0
  23. package/template-svelte-js/package.json +17 -0
  24. package/template-svelte-js/rsbuild.config.mjs +6 -0
  25. package/template-svelte-js/src/App.svelte +33 -0
  26. package/template-svelte-js/src/global.css +68 -0
  27. package/template-svelte-js/src/index.js +12 -0
  28. package/template-svelte-ts/package.json +18 -0
  29. package/template-svelte-ts/rsbuild.config.ts +6 -0
  30. package/template-svelte-ts/src/App.svelte +33 -0
  31. package/template-svelte-ts/src/global.css +68 -0
  32. package/template-svelte-ts/src/index.ts +12 -0
  33. package/template-svelte-ts/tsconfig.json +13 -0
  34. package/template-vue2-js/package.json +17 -0
  35. package/template-vue2-js/rsbuild.config.mjs +9 -0
  36. package/template-vue2-js/src/App.vue +27 -0
  37. package/template-vue2-js/src/index.css +41 -0
  38. package/template-vue2-js/src/index.html +10 -0
  39. package/template-vue2-js/src/index.js +8 -0
  40. package/template-vue2-ts/package.json +18 -0
  41. package/template-vue2-ts/rsbuild.config.ts +9 -0
  42. package/template-vue2-ts/src/App.vue +29 -0
  43. package/template-vue2-ts/src/env.d.ts +5 -0
  44. package/template-vue2-ts/src/index.css +41 -0
  45. package/template-vue2-ts/src/index.html +10 -0
  46. package/template-vue2-ts/src/index.ts +8 -0
  47. package/template-vue2-ts/tsconfig.json +13 -0
  48. package/template-vue3-js/package.json +17 -0
  49. package/template-vue3-js/rsbuild.config.mjs +9 -0
  50. package/template-vue3-js/src/App.vue +29 -0
  51. package/template-vue3-js/src/index.css +41 -0
  52. package/template-vue3-js/src/index.html +10 -0
  53. package/template-vue3-js/src/index.js +5 -0
  54. package/template-vue3-ts/package.json +18 -0
  55. package/template-vue3-ts/rsbuild.config.ts +9 -0
  56. package/template-vue3-ts/src/App.vue +23 -0
  57. package/template-vue3-ts/src/env.d.ts +6 -0
  58. package/template-vue3-ts/src/index.css +41 -0
  59. package/template-vue3-ts/src/index.html +10 -0
  60. package/template-vue3-ts/src/index.ts +5 -0
  61. package/template-vue3-ts/tsconfig.json +13 -0
  62. package/tsconfig.json +8 -0
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "@rsbuild/tsconfig/base",
3
+ "compilerOptions": {
4
+ "outDir": "./dist",
5
+ "baseUrl": "./"
6
+ },
7
+ "include": ["src"]
8
+ }