create-rslib 0.1.2 → 0.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rslib",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Create a new Rslib project",
5
5
  "homepage": "https://lib.rsbuild.dev",
6
6
  "repository": {
@@ -28,10 +28,10 @@
28
28
  "@types/fs-extra": "^11.0.4",
29
29
  "@types/node": "^22.8.1",
30
30
  "fs-extra": "^11.2.0",
31
- "rslib": "npm:@rslib/core@0.1.1",
31
+ "rslib": "npm:@rslib/core@0.1.2",
32
32
  "tsx": "^4.19.2",
33
33
  "typescript": "^5.6.3",
34
- "@rslib/core": "0.1.2",
34
+ "@rslib/core": "0.1.3",
35
35
  "@rslib/tsconfig": "0.0.1"
36
36
  },
37
37
  "engines": {
@@ -20,6 +20,6 @@
20
20
  },
21
21
  "devDependencies": {
22
22
  "@rslib/core": "workspace:*",
23
- "vitest": "^2.1.6"
23
+ "vitest": "^2.1.8"
24
24
  }
25
25
  }
@@ -24,6 +24,6 @@
24
24
  "@rslib/core": "workspace:*",
25
25
  "@types/node": "^22.8.1",
26
26
  "typescript": "^5.6.3",
27
- "vitest": "^2.1.6"
27
+ "vitest": "^2.1.8"
28
28
  }
29
29
  }
@@ -18,6 +18,6 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rslib/core": "workspace:*",
21
- "vitest": "^2.1.6"
21
+ "vitest": "^2.1.8"
22
22
  }
23
23
  }
@@ -22,6 +22,6 @@
22
22
  "@rslib/core": "workspace:*",
23
23
  "@types/node": "^22.8.1",
24
24
  "typescript": "^5.6.3",
25
- "vitest": "^2.1.6"
25
+ "vitest": "^2.1.8"
26
26
  }
27
27
  }
@@ -16,11 +16,5 @@ export default defineConfig({
16
16
  output: {
17
17
  target: 'web',
18
18
  },
19
- plugins: [
20
- pluginReact({
21
- swcReactOptions: {
22
- runtime: 'classic',
23
- },
24
- }),
25
- ],
19
+ plugins: [pluginReact()],
26
20
  });
@@ -17,11 +17,5 @@ export default defineConfig({
17
17
  output: {
18
18
  target: 'web',
19
19
  },
20
- plugins: [
21
- pluginReact({
22
- swcReactOptions: {
23
- runtime: 'classic',
24
- },
25
- }),
26
- ],
20
+ plugins: [pluginReact()],
27
21
  });
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "lib": ["DOM", "ES2021"],
4
4
  "module": "ESNext",
5
- "jsx": "react",
5
+ "jsx": "react-jsx",
6
6
  "strict": true,
7
7
  "skipLibCheck": true,
8
8
  "isolatedModules": true,
@@ -19,7 +19,7 @@
19
19
  "test": "vitest run"
20
20
  },
21
21
  "devDependencies": {
22
- "@rsbuild/core": "~1.1.7",
22
+ "@rsbuild/core": "~1.1.8",
23
23
  "@rsbuild/plugin-react": "^1.0.7",
24
24
  "@rslib/core": "workspace:*",
25
25
  "@storybook/addon-essentials": "^8.4.6",
@@ -36,7 +36,7 @@
36
36
  "storybook": "^8.4.6",
37
37
  "storybook-addon-rslib": "^0.1.5",
38
38
  "storybook-react-rsbuild": "^0.1.5",
39
- "vitest": "^2.1.6"
39
+ "vitest": "^2.1.8"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.9.0",
@@ -16,11 +16,5 @@ export default defineConfig({
16
16
  output: {
17
17
  target: 'web',
18
18
  },
19
- plugins: [
20
- pluginReact({
21
- swcReactOptions: {
22
- runtime: 'classic',
23
- },
24
- }),
25
- ],
19
+ plugins: [pluginReact()],
26
20
  });
@@ -21,7 +21,7 @@
21
21
  "test": "vitest run"
22
22
  },
23
23
  "devDependencies": {
24
- "@rsbuild/core": "~1.1.7",
24
+ "@rsbuild/core": "~1.1.8",
25
25
  "@rsbuild/plugin-react": "^1.0.7",
26
26
  "@rslib/core": "workspace:*",
27
27
  "@storybook/addon-essentials": "^8.4.6",
@@ -40,7 +40,7 @@
40
40
  "storybook-addon-rslib": "^0.1.5",
41
41
  "storybook-react-rsbuild": "^0.1.5",
42
42
  "typescript": "^5.6.3",
43
- "vitest": "^2.1.6"
43
+ "vitest": "^2.1.8"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "react": ">=16.9.0",
@@ -17,11 +17,5 @@ export default defineConfig({
17
17
  output: {
18
18
  target: 'web',
19
19
  },
20
- plugins: [
21
- pluginReact({
22
- swcReactOptions: {
23
- runtime: 'classic',
24
- },
25
- }),
26
- ],
20
+ plugins: [pluginReact()],
27
21
  });
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "lib": ["DOM", "ES2021"],
4
4
  "module": "ESNext",
5
- "jsx": "react",
5
+ "jsx": "react-jsx",
6
6
  "strict": true,
7
7
  "skipLibCheck": true,
8
8
  "isolatedModules": true,
@@ -18,7 +18,7 @@
18
18
  "storybook": "storybook dev"
19
19
  },
20
20
  "devDependencies": {
21
- "@rsbuild/core": "~1.1.7",
21
+ "@rsbuild/core": "~1.1.8",
22
22
  "@rsbuild/plugin-react": "^1.0.7",
23
23
  "@rslib/core": "workspace:*",
24
24
  "@storybook/addon-essentials": "^8.4.6",
@@ -16,11 +16,5 @@ export default defineConfig({
16
16
  output: {
17
17
  target: 'web',
18
18
  },
19
- plugins: [
20
- pluginReact({
21
- swcReactOptions: {
22
- runtime: 'classic',
23
- },
24
- }),
25
- ],
19
+ plugins: [pluginReact()],
26
20
  });
@@ -20,7 +20,7 @@
20
20
  "storybook": "storybook dev"
21
21
  },
22
22
  "devDependencies": {
23
- "@rsbuild/core": "~1.1.7",
23
+ "@rsbuild/core": "~1.1.8",
24
24
  "@rsbuild/plugin-react": "^1.0.7",
25
25
  "@rslib/core": "workspace:*",
26
26
  "@storybook/addon-essentials": "^8.4.6",
@@ -17,11 +17,5 @@ export default defineConfig({
17
17
  output: {
18
18
  target: 'web',
19
19
  },
20
- plugins: [
21
- pluginReact({
22
- swcReactOptions: {
23
- runtime: 'classic',
24
- },
25
- }),
26
- ],
20
+ plugins: [pluginReact()],
27
21
  });
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "lib": ["DOM", "ES2021"],
4
4
  "module": "ESNext",
5
- "jsx": "react",
5
+ "jsx": "react-jsx",
6
6
  "strict": true,
7
7
  "skipLibCheck": true,
8
8
  "isolatedModules": true,
@@ -23,7 +23,7 @@
23
23
  "@testing-library/react": "^16.0.1",
24
24
  "jsdom": "^25.0.1",
25
25
  "react": "^18.3.1",
26
- "vitest": "^2.1.6"
26
+ "vitest": "^2.1.8"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=16.9.0",
@@ -16,11 +16,5 @@ export default defineConfig({
16
16
  output: {
17
17
  target: 'web',
18
18
  },
19
- plugins: [
20
- pluginReact({
21
- swcReactOptions: {
22
- runtime: 'classic',
23
- },
24
- }),
25
- ],
19
+ plugins: [pluginReact()],
26
20
  });
@@ -27,7 +27,7 @@
27
27
  "jsdom": "^25.0.1",
28
28
  "react": "^18.3.1",
29
29
  "typescript": "^5.6.3",
30
- "vitest": "^2.1.6"
30
+ "vitest": "^2.1.8"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "react": ">=16.9.0",
@@ -17,11 +17,5 @@ export default defineConfig({
17
17
  output: {
18
18
  target: 'web',
19
19
  },
20
- plugins: [
21
- pluginReact({
22
- swcReactOptions: {
23
- runtime: 'classic',
24
- },
25
- }),
26
- ],
20
+ plugins: [pluginReact()],
27
21
  });
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "lib": ["DOM", "ES2021"],
4
4
  "module": "ESNext",
5
- "jsx": "react",
5
+ "jsx": "react-jsx",
6
6
  "strict": true,
7
7
  "skipLibCheck": true,
8
8
  "isolatedModules": true,