create-rsbuild 1.0.1-beta.9 → 1.0.1-rc.1

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 (37) hide show
  1. package/README.md +17 -2
  2. package/dist/index.js +101 -1619
  3. package/package.json +8 -13
  4. package/template-lit-js/package.json +1 -1
  5. package/template-lit-ts/package.json +1 -1
  6. package/template-preact-js/package.json +1 -1
  7. package/template-preact-ts/package.json +1 -1
  8. package/template-react-ts/package.json +1 -1
  9. package/template-solid-js/package.json +1 -1
  10. package/template-solid-ts/package.json +1 -1
  11. package/template-svelte-js/package.json +1 -1
  12. package/template-svelte-ts/package.json +2 -2
  13. package/template-vue2-js/package.json +2 -2
  14. package/template-vue2-ts/package.json +2 -2
  15. package/template-vue3-js/package.json +1 -1
  16. package/template-vue3-ts/package.json +1 -1
  17. package/template-biome/biome.json +0 -25
  18. package/template-biome/package.json +0 -12
  19. package/template-eslint/common-js/eslint.config.mjs +0 -8
  20. package/template-eslint/common-js/package.json +0 -13
  21. package/template-eslint/common-ts/eslint.config.mjs +0 -10
  22. package/template-eslint/common-ts/package.json +0 -14
  23. package/template-eslint/react-js/eslint.config.mjs +0 -29
  24. package/template-eslint/react-js/package.json +0 -16
  25. package/template-eslint/react-ts/eslint.config.mjs +0 -31
  26. package/template-eslint/react-ts/package.json +0 -17
  27. package/template-eslint/svelte-js/eslint.config.mjs +0 -20
  28. package/template-eslint/svelte-js/package.json +0 -14
  29. package/template-eslint/svelte-ts/eslint.config.mjs +0 -28
  30. package/template-eslint/svelte-ts/package.json +0 -16
  31. package/template-eslint/vue-js/eslint.config.mjs +0 -10
  32. package/template-eslint/vue-js/package.json +0 -14
  33. package/template-eslint/vue-ts/eslint.config.mjs +0 -12
  34. package/template-eslint/vue-ts/package.json +0 -15
  35. package/template-prettier/.prettierignore +0 -4
  36. package/template-prettier/.prettierrc +0 -3
  37. package/template-prettier/package.json +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rsbuild",
3
- "version": "1.0.1-beta.9",
3
+ "version": "1.0.1-rc.1",
4
4
  "description": "Create a new Rsbuild project",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -11,13 +11,9 @@
11
11
  "license": "MIT",
12
12
  "type": "module",
13
13
  "exports": {
14
- ".": {
15
- "types": "./dist/index.d.ts",
16
- "default": "./dist/index.js"
17
- }
14
+ ".": "./dist/index.js"
18
15
  },
19
16
  "main": "./dist/index.js",
20
- "types": "./dist/index.d.ts",
21
17
  "bin": {
22
18
  "create-rsbuild": "./dist/index.js"
23
19
  },
@@ -26,14 +22,13 @@
26
22
  "dist"
27
23
  ],
28
24
  "devDependencies": {
29
- "@clack/prompts": "^0.7.0",
30
- "@types/minimist": "^1.2.5",
25
+ "@rslib/core": "0.0.4",
31
26
  "@types/node": "18.x",
32
- "deepmerge": "^4.3.1",
33
- "minimist": "^1.2.8",
34
- "rslog": "^1.2.2",
35
27
  "typescript": "^5.5.2"
36
28
  },
29
+ "dependencies": {
30
+ "create-rstack": "1.0.1"
31
+ },
37
32
  "engines": {
38
33
  "node": ">=16.7.0"
39
34
  },
@@ -43,8 +38,8 @@
43
38
  "registry": "https://registry.npmjs.org/"
44
39
  },
45
40
  "scripts": {
46
- "build": "modern build",
47
- "dev": "modern build --watch",
41
+ "build": "rslib build",
42
+ "dev": "rslib build --watch",
48
43
  "start": "node ./dist/index.js"
49
44
  }
50
45
  }
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "lit": "^3.1.4"
11
+ "lit": "^3.2.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*"
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "lit": "^3.1.4"
11
+ "lit": "^3.2.0"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "preact": "^10.23.1"
11
+ "preact": "^10.23.2"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "preact": "^10.23.1"
11
+ "preact": "^10.23.2"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -14,7 +14,7 @@
14
14
  "devDependencies": {
15
15
  "@rsbuild/core": "workspace:*",
16
16
  "@rsbuild/plugin-react": "workspace:*",
17
- "@types/react": "^18.3.3",
17
+ "@types/react": "^18.3.5",
18
18
  "@types/react-dom": "^18.3.0",
19
19
  "typescript": "^5.5.2"
20
20
  }
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "solid-js": "^1.8.19"
11
+ "solid-js": "^1.8.22"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "solid-js": "^1.8.19"
11
+ "solid-js": "^1.8.22"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "svelte": "^4.2.18"
11
+ "svelte": "^4.2.19"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -9,12 +9,12 @@
9
9
  "svelte-check": "svelte-check --tsconfig ./tsconfig.json"
10
10
  },
11
11
  "dependencies": {
12
- "svelte": "^4.2.18"
12
+ "svelte": "^4.2.19"
13
13
  },
14
14
  "devDependencies": {
15
15
  "@rsbuild/core": "workspace:*",
16
16
  "@rsbuild/plugin-svelte": "workspace:*",
17
- "svelte-check": "^3.8.5",
17
+ "svelte-check": "^3.8.6",
18
18
  "typescript": "^5.5.2"
19
19
  }
20
20
  }
@@ -8,10 +8,10 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "vue": "^2.7.14"
11
+ "vue": "^2.7.16"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
15
- "@rsbuild/plugin-vue2": "workspace:*"
15
+ "@rsbuild/plugin-vue2": "^1.0.1"
16
16
  }
17
17
  }
@@ -8,11 +8,11 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "vue": "^2.7.14"
11
+ "vue": "^2.7.16"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
15
- "@rsbuild/plugin-vue2": "workspace:*",
15
+ "@rsbuild/plugin-vue2": "^1.0.1",
16
16
  "typescript": "^5.5.2"
17
17
  }
18
18
  }
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "vue": "^3.4.19"
11
+ "vue": "^3.4.38"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -8,7 +8,7 @@
8
8
  "preview": "rsbuild preview"
9
9
  },
10
10
  "dependencies": {
11
- "vue": "^3.4.19"
11
+ "vue": "^3.4.38"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@rsbuild/core": "workspace:*",
@@ -1,25 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
3
- "organizeImports": {
4
- "enabled": true
5
- },
6
- "vcs": {
7
- "enabled": true,
8
- "clientKind": "git",
9
- "useIgnoreFile": true
10
- },
11
- "formatter": {
12
- "indentStyle": "space"
13
- },
14
- "javascript": {
15
- "formatter": {
16
- "quoteStyle": "single"
17
- }
18
- },
19
- "linter": {
20
- "enabled": true,
21
- "rules": {
22
- "recommended": true
23
- }
24
- }
25
- }
@@ -1,12 +0,0 @@
1
- {
2
- "name": "rsbuild-biome",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "check": "biome check --write",
7
- "format": "biome format --write"
8
- },
9
- "devDependencies": {
10
- "@biomejs/biome": "^1.8.3"
11
- }
12
- }
@@ -1,8 +0,0 @@
1
- import js from '@eslint/js';
2
- import globals from 'globals';
3
-
4
- export default [
5
- { languageOptions: { globals: globals.browser } },
6
- js.configs.recommended,
7
- { ignores: ['dist/'] },
8
- ];
@@ -1,13 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-common-js",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/js": "^9.8.0",
10
- "eslint": "^9.8.0",
11
- "globals": "^15.8.0"
12
- }
13
- }
@@ -1,10 +0,0 @@
1
- import js from '@eslint/js';
2
- import globals from 'globals';
3
- import ts from 'typescript-eslint';
4
-
5
- export default [
6
- { languageOptions: { globals: globals.browser } },
7
- js.configs.recommended,
8
- ...ts.configs.recommended,
9
- { ignores: ['dist/'] },
10
- ];
@@ -1,14 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-common-ts",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/js": "^9.8.0",
10
- "eslint": "^9.8.0",
11
- "globals": "^15.8.0",
12
- "typescript-eslint": "^8.0.0"
13
- }
14
- }
@@ -1,29 +0,0 @@
1
- import { fixupConfigRules, fixupPluginRules } from '@eslint/compat';
2
- import js from '@eslint/js';
3
- import reactHooks from 'eslint-plugin-react-hooks';
4
- import reactJsx from 'eslint-plugin-react/configs/jsx-runtime.js';
5
- import react from 'eslint-plugin-react/configs/recommended.js';
6
- import globals from 'globals';
7
-
8
- export default [
9
- { languageOptions: { globals: globals.browser } },
10
- js.configs.recommended,
11
- ...fixupConfigRules([
12
- {
13
- ...react,
14
- settings: {
15
- react: { version: 'detect' },
16
- },
17
- },
18
- reactJsx,
19
- ]),
20
- {
21
- plugins: {
22
- 'react-hooks': fixupPluginRules(reactHooks),
23
- },
24
- rules: {
25
- ...reactHooks.configs.recommended.rules,
26
- },
27
- },
28
- { ignores: ['dist/'] },
29
- ];
@@ -1,16 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-react-js",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/compat": "^1.1.1",
10
- "@eslint/js": "^9.8.0",
11
- "eslint": "^9.8.0",
12
- "eslint-plugin-react": "^7.35.0",
13
- "eslint-plugin-react-hooks": "^4.6.2",
14
- "globals": "^15.8.0"
15
- }
16
- }
@@ -1,31 +0,0 @@
1
- import { fixupConfigRules, fixupPluginRules } from '@eslint/compat';
2
- import js from '@eslint/js';
3
- import reactHooks from 'eslint-plugin-react-hooks';
4
- import reactJsx from 'eslint-plugin-react/configs/jsx-runtime.js';
5
- import react from 'eslint-plugin-react/configs/recommended.js';
6
- import globals from 'globals';
7
- import ts from 'typescript-eslint';
8
-
9
- export default [
10
- { languageOptions: { globals: globals.browser } },
11
- js.configs.recommended,
12
- ...ts.configs.recommended,
13
- ...fixupConfigRules([
14
- {
15
- ...react,
16
- settings: {
17
- react: { version: 'detect' },
18
- },
19
- },
20
- reactJsx,
21
- ]),
22
- {
23
- plugins: {
24
- 'react-hooks': fixupPluginRules(reactHooks),
25
- },
26
- rules: {
27
- ...reactHooks.configs.recommended.rules,
28
- },
29
- },
30
- { ignores: ['dist/'] },
31
- ];
@@ -1,17 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-react-ts",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/compat": "^1.1.1",
10
- "@eslint/js": "^9.8.0",
11
- "eslint": "^9.8.0",
12
- "eslint-plugin-react": "^7.35.0",
13
- "eslint-plugin-react-hooks": "^4.6.2",
14
- "globals": "^15.8.0",
15
- "typescript-eslint": "^8.0.0"
16
- }
17
- }
@@ -1,20 +0,0 @@
1
- import js from '@eslint/js';
2
- import svelte from 'eslint-plugin-svelte';
3
- import globals from 'globals';
4
-
5
- /** @type {import('eslint').Linter.FlatConfig[]} */
6
- export default [
7
- js.configs.recommended,
8
- ...svelte.configs['flat/recommended'],
9
- {
10
- languageOptions: {
11
- globals: {
12
- ...globals.browser,
13
- ...globals.node,
14
- },
15
- },
16
- },
17
- {
18
- ignores: ['dist/'],
19
- },
20
- ];
@@ -1,14 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-svelte-js",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/js": "^9.8.0",
10
- "eslint": "^9.8.0",
11
- "eslint-plugin-svelte": "^2.43.0",
12
- "globals": "^15.8.0"
13
- }
14
- }
@@ -1,28 +0,0 @@
1
- import js from '@eslint/js';
2
- import svelte from 'eslint-plugin-svelte';
3
- import globals from 'globals';
4
- import ts from 'typescript-eslint';
5
-
6
- /** @type {import('eslint').Linter.FlatConfig[]} */
7
- export default [
8
- js.configs.recommended,
9
- ...ts.configs.recommended,
10
- ...svelte.configs['flat/recommended'],
11
- {
12
- languageOptions: {
13
- globals: {
14
- ...globals.browser,
15
- ...globals.node,
16
- },
17
- },
18
- },
19
- {
20
- files: ['**/*.svelte'],
21
- languageOptions: {
22
- parserOptions: {
23
- parser: ts.parser,
24
- },
25
- },
26
- },
27
- { ignores: ['dist/'] },
28
- ];
@@ -1,16 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-svelte-ts",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/js": "^9.8.0",
10
- "eslint": "^9.8.0",
11
- "eslint-plugin-svelte": "^2.43.0",
12
- "globals": "^15.8.0",
13
- "typescript-eslint": "^8.0.0"
14
- },
15
- "type": "module"
16
- }
@@ -1,10 +0,0 @@
1
- import js from '@eslint/js';
2
- import vue from 'eslint-plugin-vue';
3
- import globals from 'globals';
4
-
5
- export default [
6
- { languageOptions: { globals: globals.browser } },
7
- js.configs.recommended,
8
- ...vue.configs['flat/essential'],
9
- { ignores: ['dist/'] },
10
- ];
@@ -1,14 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-vue-js",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/js": "^9.8.0",
10
- "eslint": "^9.8.0",
11
- "eslint-plugin-vue": "^9.27.0",
12
- "globals": "^15.8.0"
13
- }
14
- }
@@ -1,12 +0,0 @@
1
- import js from '@eslint/js';
2
- import vue from 'eslint-plugin-vue';
3
- import globals from 'globals';
4
- import ts from 'typescript-eslint';
5
-
6
- export default [
7
- { languageOptions: { globals: globals.browser } },
8
- js.configs.recommended,
9
- ...ts.configs.recommended,
10
- ...vue.configs['flat/essential'],
11
- { ignores: ['dist/'] },
12
- ];
@@ -1,15 +0,0 @@
1
- {
2
- "name": "rsbuild-eslint-vue-ts",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "lint": "eslint ."
7
- },
8
- "devDependencies": {
9
- "@eslint/js": "^9.8.0",
10
- "eslint": "^9.8.0",
11
- "eslint-plugin-vue": "^9.27.0",
12
- "globals": "^15.8.0",
13
- "typescript-eslint": "^8.0.0"
14
- }
15
- }
@@ -1,4 +0,0 @@
1
- # Lock files
2
- package-lock.json
3
- pnpm-lock.yaml
4
- yarn.lock
@@ -1,3 +0,0 @@
1
- {
2
- "singleQuote": true
3
- }
@@ -1,11 +0,0 @@
1
- {
2
- "name": "rsbuild-prettier",
3
- "private": true,
4
- "version": "1.0.0",
5
- "scripts": {
6
- "format": "prettier --write ."
7
- },
8
- "devDependencies": {
9
- "prettier": "^3.3.3"
10
- }
11
- }