create-rsbuild 0.0.9 → 0.0.10

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/CHANGELOG.md ADDED
@@ -0,0 +1,14 @@
1
+ # create-rsbuild
2
+
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 3d261af: fix(create-rsbuild): failed to publish tsconfig of templates
8
+
9
+ ## 0.0.9
10
+
11
+ ### Patch Changes
12
+
13
+ - 0fbab50: fix(create-rsbuild): failed to resolve the templates
14
+ - e6be3a5: fix(create-rspack): skip local files for debugging
package/dist/index.js CHANGED
@@ -76,7 +76,7 @@ async function main() {
76
76
  const distFolder = import_path.default.join(cwd, targetDir);
77
77
  copyFolder(commonFolder, distFolder);
78
78
  copyFolder(srcFolder, distFolder);
79
- const nextSteps = [`cd ${targetDir}`, "npm i", "npm dev"];
79
+ const nextSteps = [`cd ${targetDir}`, "npm i", "npm run dev"];
80
80
  (0, import_prompts.note)(nextSteps.join("\n"), "Next steps");
81
81
  (0, import_prompts.outro)("Done.");
82
82
  }
@@ -0,0 +1,3 @@
1
+ import baseConfig from '../../scripts/modern.base.config';
2
+
3
+ export default baseConfig;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "directory": "packages/create-rsbuild"
9
9
  },
10
10
  "license": "MIT",
11
- "version": "0.0.9",
11
+ "version": "0.0.10",
12
12
  "types": "./dist/index.d.ts",
13
13
  "main": "./dist/index.js",
14
14
  "bin": {
@@ -30,7 +30,8 @@
30
30
  },
31
31
  "publishConfig": {
32
32
  "registry": "https://registry.npmjs.org/",
33
- "access": "public"
33
+ "access": "public",
34
+ "provenance": true
34
35
  },
35
36
  "scripts": {
36
37
  "dev": "modern build --watch",
@@ -0,0 +1,14 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "lib": ["DOM", "ES2020"],
5
+ "module": "ESNext",
6
+ "jsx": "react-jsx",
7
+ "strict": true,
8
+ "skipLibCheck": true,
9
+ "isolatedModules": true,
10
+ "resolveJsonModule": true,
11
+ "moduleResolution": "bundler"
12
+ },
13
+ "include": ["src"]
14
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "lib": ["DOM", "ES2020"],
5
+ "module": "ESNext",
6
+ "strict": true,
7
+ "skipLibCheck": true,
8
+ "isolatedModules": true,
9
+ "resolveJsonModule": true,
10
+ "moduleResolution": "bundler"
11
+ },
12
+ "include": ["src"]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "lib": ["DOM", "ES2020"],
5
+ "module": "ESNext",
6
+ "strict": true,
7
+ "skipLibCheck": true,
8
+ "isolatedModules": true,
9
+ "resolveJsonModule": true,
10
+ "moduleResolution": "bundler"
11
+ },
12
+ "include": ["src"]
13
+ }
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
+ }