create-rsbuild 0.0.0-next-20240528072128 → 0.0.0-next-20240723074951

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 (51) hide show
  1. package/dist/index.js +644 -89
  2. package/package.json +6 -3
  3. package/template-biome/biome.json +25 -0
  4. package/template-biome/package.json +12 -0
  5. package/template-eslint/common-js/eslint.config.mjs +8 -0
  6. package/template-eslint/common-js/package.json +13 -0
  7. package/template-eslint/common-ts/eslint.config.mjs +10 -0
  8. package/template-eslint/common-ts/package.json +14 -0
  9. package/template-eslint/react-js/eslint.config.mjs +29 -0
  10. package/template-eslint/react-js/package.json +16 -0
  11. package/template-eslint/react-ts/eslint.config.mjs +31 -0
  12. package/template-eslint/react-ts/package.json +17 -0
  13. package/template-eslint/svelte-js/eslint.config.mjs +20 -0
  14. package/template-eslint/svelte-js/package.json +14 -0
  15. package/template-eslint/svelte-ts/eslint.config.mjs +28 -0
  16. package/template-eslint/svelte-ts/package.json +16 -0
  17. package/template-eslint/vue-js/eslint.config.mjs +10 -0
  18. package/template-eslint/vue-js/package.json +14 -0
  19. package/template-eslint/vue-ts/eslint.config.mjs +12 -0
  20. package/template-eslint/vue-ts/package.json +15 -0
  21. package/template-lit-js/package.json +4 -2
  22. package/template-lit-ts/package.json +4 -2
  23. package/template-lit-ts/tsconfig.json +3 -1
  24. package/template-preact-js/package.json +1 -1
  25. package/template-preact-ts/package.json +2 -2
  26. package/template-preact-ts/src/index.tsx +4 -1
  27. package/template-preact-ts/tsconfig.json +2 -0
  28. package/template-prettier/.prettierignore +4 -0
  29. package/template-prettier/.prettierrc +3 -0
  30. package/template-prettier/package.json +11 -0
  31. package/template-react-ts/package.json +2 -2
  32. package/template-react-ts/src/index.tsx +9 -6
  33. package/template-react-ts/tsconfig.json +3 -1
  34. package/template-solid-js/package.json +1 -1
  35. package/template-solid-js/rsbuild.config.mjs +0 -1
  36. package/template-solid-ts/package.json +2 -2
  37. package/template-solid-ts/rsbuild.config.ts +0 -1
  38. package/template-solid-ts/src/index.tsx +4 -1
  39. package/template-solid-ts/tsconfig.json +3 -1
  40. package/template-svelte-js/package.json +1 -1
  41. package/template-svelte-js/src/index.js +0 -3
  42. package/template-svelte-ts/package.json +5 -3
  43. package/template-svelte-ts/src/index.ts +0 -3
  44. package/template-svelte-ts/tsconfig.json +6 -1
  45. package/template-vanilla-ts/package.json +1 -1
  46. package/template-vanilla-ts/tsconfig.json +3 -1
  47. package/template-vue2-ts/package.json +1 -1
  48. package/template-vue2-ts/tsconfig.json +3 -1
  49. package/template-vue3-ts/package.json +1 -1
  50. package/template-vue3-ts/tsconfig.json +3 -1
  51. package/dist/index.d.ts +0 -3
@@ -3,12 +3,17 @@
3
3
  "target": "ES2020",
4
4
  "lib": ["DOM", "ES2020"],
5
5
  "module": "ESNext",
6
+ "noEmit": true,
6
7
  "strict": true,
7
8
  "skipLibCheck": true,
9
+ // svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
10
+ // to enforce using `import type` instead of `import` for Types.
11
+ "verbatimModuleSyntax": true,
8
12
  "isolatedModules": true,
9
13
  "resolveJsonModule": true,
10
14
  "moduleResolution": "bundler",
11
- "useDefineForClassFields": true
15
+ "useDefineForClassFields": true,
16
+ "allowImportingTsExtensions": true
12
17
  },
13
18
  "include": ["src"]
14
19
  }
@@ -9,6 +9,6 @@
9
9
  },
10
10
  "devDependencies": {
11
11
  "@rsbuild/core": "workspace:*",
12
- "typescript": "^5.4.2"
12
+ "typescript": "^5.5.2"
13
13
  }
14
14
  }
@@ -3,12 +3,14 @@
3
3
  "target": "ES2020",
4
4
  "lib": ["DOM", "ES2020"],
5
5
  "module": "ESNext",
6
+ "noEmit": true,
6
7
  "strict": true,
7
8
  "skipLibCheck": true,
8
9
  "isolatedModules": true,
9
10
  "resolveJsonModule": true,
10
11
  "moduleResolution": "bundler",
11
- "useDefineForClassFields": true
12
+ "useDefineForClassFields": true,
13
+ "allowImportingTsExtensions": true
12
14
  },
13
15
  "include": ["src"]
14
16
  }
@@ -13,6 +13,6 @@
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
15
15
  "@rsbuild/plugin-vue2": "workspace:*",
16
- "typescript": "^5.4.2"
16
+ "typescript": "^5.5.2"
17
17
  }
18
18
  }
@@ -4,12 +4,14 @@
4
4
  "lib": ["DOM", "ES2020"],
5
5
  "module": "ESNext",
6
6
  "jsx": "preserve",
7
+ "noEmit": true,
7
8
  "strict": true,
8
9
  "skipLibCheck": true,
9
10
  "isolatedModules": true,
10
11
  "resolveJsonModule": true,
11
12
  "moduleResolution": "bundler",
12
- "useDefineForClassFields": true
13
+ "useDefineForClassFields": true,
14
+ "allowImportingTsExtensions": true
13
15
  },
14
16
  "include": ["src"]
15
17
  }
@@ -13,6 +13,6 @@
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
15
15
  "@rsbuild/plugin-vue": "workspace:*",
16
- "typescript": "^5.4.2"
16
+ "typescript": "^5.5.2"
17
17
  }
18
18
  }
@@ -5,12 +5,14 @@
5
5
  "module": "ESNext",
6
6
  "jsx": "preserve",
7
7
  "jsxImportSource": "vue",
8
+ "noEmit": true,
8
9
  "strict": true,
9
10
  "skipLibCheck": true,
10
11
  "isolatedModules": true,
11
12
  "resolveJsonModule": true,
12
13
  "moduleResolution": "bundler",
13
- "useDefineForClassFields": true
14
+ "useDefineForClassFields": true,
15
+ "allowImportingTsExtensions": true
14
16
  },
15
17
  "include": ["src"]
16
18
  }
package/dist/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- declare function main(): Promise<void>;
2
-
3
- export { main };