create-rslib 0.18.6 → 0.19.0

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 (35) hide show
  1. package/package.json +2 -2
  2. package/template-[node-dual]-[rstest]-js/package.json +2 -1
  3. package/template-[node-dual]-[rstest]-js/rstest.config.js +4 -1
  4. package/template-[node-dual]-[rstest]-ts/package.json +2 -1
  5. package/template-[node-dual]-[rstest]-ts/rstest.config.ts +4 -1
  6. package/template-[node-esm]-[rstest]-js/package.json +2 -1
  7. package/template-[node-esm]-[rstest]-js/rstest.config.js +4 -1
  8. package/template-[node-esm]-[rstest]-ts/package.json +2 -1
  9. package/template-[node-esm]-[rstest]-ts/rstest.config.ts +4 -1
  10. package/template-[react]-[rstest,storybook]-js/package.json +4 -3
  11. package/template-[react]-[rstest,storybook]-js/rstest.config.js +2 -3
  12. package/template-[react]-[rstest,storybook]-ts/package.json +4 -3
  13. package/template-[react]-[rstest,storybook]-ts/rstest.config.ts +2 -3
  14. package/template-[react]-[rstest]-js/package.json +3 -2
  15. package/template-[react]-[rstest]-js/rstest.config.js +2 -3
  16. package/template-[react]-[rstest]-ts/package.json +3 -2
  17. package/template-[react]-[rstest]-ts/rstest.config.ts +2 -3
  18. package/template-[react]-[storybook,vitest]-js/package.json +1 -1
  19. package/template-[react]-[storybook,vitest]-ts/package.json +1 -1
  20. package/template-[react]-[storybook]-js/package.json +1 -1
  21. package/template-[react]-[storybook]-ts/package.json +1 -1
  22. package/template-[vue]-[]-ts/package.json +1 -1
  23. package/template-[vue]-[rstest,storybook]-js/package.json +4 -3
  24. package/template-[vue]-[rstest,storybook]-js/rstest.config.js +2 -3
  25. package/template-[vue]-[rstest,storybook]-ts/package.json +5 -4
  26. package/template-[vue]-[rstest,storybook]-ts/rstest.config.ts +2 -3
  27. package/template-[vue]-[rstest]-js/package.json +3 -2
  28. package/template-[vue]-[rstest]-js/rstest.config.js +2 -3
  29. package/template-[vue]-[rstest]-ts/package.json +4 -3
  30. package/template-[vue]-[rstest]-ts/rstest.config.ts +2 -3
  31. package/template-[vue]-[storybook,vitest]-js/package.json +1 -1
  32. package/template-[vue]-[storybook,vitest]-ts/package.json +2 -2
  33. package/template-[vue]-[storybook]-js/package.json +1 -1
  34. package/template-[vue]-[storybook]-ts/package.json +2 -2
  35. package/template-[vue]-[vitest]-ts/package.json +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rslib",
3
- "version": "0.18.6",
3
+ "version": "0.19.0",
4
4
  "description": "Create a new Rslib project",
5
5
  "homepage": "https://rslib.rs",
6
6
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "@types/node": "^24.10.4",
30
30
  "fs-extra": "^11.3.3",
31
31
  "rsbuild-plugin-publint": "^0.3.3",
32
- "rslib": "npm:@rslib/core@0.18.5",
32
+ "rslib": "npm:@rslib/core@0.18.6",
33
33
  "tsx": "^4.21.0",
34
34
  "typescript": "^5.9.3",
35
35
  "@rslib/tsconfig": "0.0.1"
@@ -19,6 +19,7 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@rslib/core": "workspace:*",
22
- "@rstest/core": "^0.7.5"
22
+ "@rstest/adapter-rslib": "^0.1.0",
23
+ "@rstest/core": "^0.7.7"
23
24
  }
24
25
  }
@@ -1,3 +1,6 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
3
 
3
- export default defineConfig({});
4
+ export default defineConfig({
5
+ extends: withRslibConfig(),
6
+ });
@@ -21,7 +21,8 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rslib/core": "workspace:*",
24
- "@rstest/core": "^0.7.5",
24
+ "@rstest/adapter-rslib": "^0.1.0",
25
+ "@rstest/core": "^0.7.7",
25
26
  "@types/node": "^24.10.4",
26
27
  "typescript": "^5.9.3"
27
28
  }
@@ -1,3 +1,6 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
3
 
3
- export default defineConfig({});
4
+ export default defineConfig({
5
+ extends: withRslibConfig(),
6
+ });
@@ -17,6 +17,7 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@rslib/core": "workspace:*",
20
- "@rstest/core": "^0.7.5"
20
+ "@rstest/adapter-rslib": "^0.1.0",
21
+ "@rstest/core": "^0.7.7"
21
22
  }
22
23
  }
@@ -1,3 +1,6 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
3
 
3
- export default defineConfig({});
4
+ export default defineConfig({
5
+ extends: withRslibConfig(),
6
+ });
@@ -19,7 +19,8 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@rslib/core": "workspace:*",
22
- "@rstest/core": "^0.7.5",
22
+ "@rstest/adapter-rslib": "^0.1.0",
23
+ "@rstest/core": "^0.7.7",
23
24
  "@types/node": "^24.10.4",
24
25
  "typescript": "^5.9.3"
25
26
  }
@@ -1,3 +1,6 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
3
 
3
- export default defineConfig({});
4
+ export default defineConfig({
5
+ extends: withRslibConfig(),
6
+ });
@@ -18,16 +18,17 @@
18
18
  "test": "rstest"
19
19
  },
20
20
  "devDependencies": {
21
- "@rsbuild/core": "~1.7.0-beta.1",
21
+ "@rsbuild/core": "~1.7.0-beta.2",
22
22
  "@rsbuild/plugin-react": "^1.4.2",
23
23
  "@rslib/core": "workspace:*",
24
- "@rstest/core": "^0.7.5",
24
+ "@rstest/adapter-rslib": "^0.1.0",
25
+ "@rstest/core": "^0.7.7",
25
26
  "@storybook/addon-docs": "^10.1.10",
26
27
  "@storybook/addon-onboarding": "^10.1.10",
27
28
  "@storybook/react": "^10.1.10",
28
29
  "@testing-library/jest-dom": "^6.9.1",
29
30
  "@testing-library/react": "^16.3.1",
30
- "jsdom": "^26.1.0",
31
+ "happy-dom": "^20.0.11",
31
32
  "react": "^19.2.3",
32
33
  "storybook": "^10.1.10",
33
34
  "storybook-addon-rslib": "^3.2.0",
@@ -1,8 +1,7 @@
1
- import { pluginReact } from '@rsbuild/plugin-react';
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
2
2
  import { defineConfig } from '@rstest/core';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.js'],
7
- plugins: [pluginReact()],
8
7
  });
@@ -20,17 +20,18 @@
20
20
  "test": "rstest"
21
21
  },
22
22
  "devDependencies": {
23
- "@rsbuild/core": "~1.7.0-beta.1",
23
+ "@rsbuild/core": "~1.7.0-beta.2",
24
24
  "@rsbuild/plugin-react": "^1.4.2",
25
25
  "@rslib/core": "workspace:*",
26
- "@rstest/core": "^0.7.5",
26
+ "@rstest/adapter-rslib": "^0.1.0",
27
+ "@rstest/core": "^0.7.7",
27
28
  "@storybook/addon-docs": "^10.1.10",
28
29
  "@storybook/addon-onboarding": "^10.1.10",
29
30
  "@storybook/react": "^10.1.10",
30
31
  "@testing-library/jest-dom": "^6.9.1",
31
32
  "@testing-library/react": "^16.3.1",
32
33
  "@types/react": "^19.2.7",
33
- "jsdom": "^26.1.0",
34
+ "happy-dom": "^20.0.11",
34
35
  "react": "^19.2.3",
35
36
  "storybook": "^10.1.10",
36
37
  "storybook-addon-rslib": "^3.2.0",
@@ -1,8 +1,7 @@
1
- import { pluginReact } from '@rsbuild/plugin-react';
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
2
2
  import { defineConfig } from '@rstest/core';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.ts'],
7
- plugins: [pluginReact()],
8
7
  });
@@ -18,10 +18,11 @@
18
18
  "devDependencies": {
19
19
  "@rsbuild/plugin-react": "^1.4.2",
20
20
  "@rslib/core": "workspace:*",
21
- "@rstest/core": "^0.7.5",
21
+ "@rstest/adapter-rslib": "^0.1.0",
22
+ "@rstest/core": "^0.7.7",
22
23
  "@testing-library/jest-dom": "^6.9.1",
23
24
  "@testing-library/react": "^16.3.1",
24
- "jsdom": "^26.1.0",
25
+ "happy-dom": "^20.0.11",
25
26
  "react": "^19.2.3"
26
27
  },
27
28
  "peerDependencies": {
@@ -1,8 +1,7 @@
1
- import { pluginReact } from '@rsbuild/plugin-react';
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
2
2
  import { defineConfig } from '@rstest/core';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.js'],
7
- plugins: [pluginReact()],
8
7
  });
@@ -20,11 +20,12 @@
20
20
  "devDependencies": {
21
21
  "@rsbuild/plugin-react": "^1.4.2",
22
22
  "@rslib/core": "workspace:*",
23
- "@rstest/core": "^0.7.5",
23
+ "@rstest/adapter-rslib": "^0.1.0",
24
+ "@rstest/core": "^0.7.7",
24
25
  "@testing-library/jest-dom": "^6.9.1",
25
26
  "@testing-library/react": "^16.3.1",
26
27
  "@types/react": "^19.2.7",
27
- "jsdom": "^26.1.0",
28
+ "happy-dom": "^20.0.11",
28
29
  "react": "^19.2.3",
29
30
  "typescript": "^5.9.3"
30
31
  },
@@ -1,8 +1,7 @@
1
- import { pluginReact } from '@rsbuild/plugin-react';
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
2
2
  import { defineConfig } from '@rstest/core';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.ts'],
7
- plugins: [pluginReact()],
8
7
  });
@@ -18,7 +18,7 @@
18
18
  "test": "vitest run"
19
19
  },
20
20
  "devDependencies": {
21
- "@rsbuild/core": "~1.7.0-beta.1",
21
+ "@rsbuild/core": "~1.7.0-beta.2",
22
22
  "@rsbuild/plugin-react": "^1.4.2",
23
23
  "@rslib/core": "workspace:*",
24
24
  "@storybook/addon-docs": "^10.1.10",
@@ -20,7 +20,7 @@
20
20
  "test": "vitest run"
21
21
  },
22
22
  "devDependencies": {
23
- "@rsbuild/core": "~1.7.0-beta.1",
23
+ "@rsbuild/core": "~1.7.0-beta.2",
24
24
  "@rsbuild/plugin-react": "^1.4.2",
25
25
  "@rslib/core": "workspace:*",
26
26
  "@storybook/addon-docs": "^10.1.10",
@@ -17,7 +17,7 @@
17
17
  "storybook": "storybook dev"
18
18
  },
19
19
  "devDependencies": {
20
- "@rsbuild/core": "~1.7.0-beta.1",
20
+ "@rsbuild/core": "~1.7.0-beta.2",
21
21
  "@rsbuild/plugin-react": "^1.4.2",
22
22
  "@rslib/core": "workspace:*",
23
23
  "@storybook/addon-docs": "^10.1.10",
@@ -19,7 +19,7 @@
19
19
  "storybook": "storybook dev"
20
20
  },
21
21
  "devDependencies": {
22
- "@rsbuild/core": "~1.7.0-beta.1",
22
+ "@rsbuild/core": "~1.7.0-beta.2",
23
23
  "@rsbuild/plugin-react": "^1.4.2",
24
24
  "@rslib/core": "workspace:*",
25
25
  "@storybook/addon-docs": "^10.1.10",
@@ -21,7 +21,7 @@
21
21
  "rsbuild-plugin-unplugin-vue": "^0.1.0",
22
22
  "typescript": "^5.9.3",
23
23
  "vue": "^3.5.26",
24
- "vue-tsc": "^3.2.0"
24
+ "vue-tsc": "^3.2.1"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "vue": "^3.2.0"
@@ -20,16 +20,17 @@
20
20
  "test": "rstest"
21
21
  },
22
22
  "devDependencies": {
23
- "@rsbuild/core": "~1.7.0-beta.1",
23
+ "@rsbuild/core": "~1.7.0-beta.2",
24
24
  "@rslib/core": "workspace:*",
25
- "@rstest/core": "^0.7.5",
25
+ "@rstest/adapter-rslib": "^0.1.0",
26
+ "@rstest/core": "^0.7.7",
26
27
  "@storybook/addon-docs": "^10.1.10",
27
28
  "@storybook/addon-onboarding": "^10.1.10",
28
29
  "@storybook/vue3": "^10.1.10",
29
30
  "@testing-library/jest-dom": "^6.9.1",
30
31
  "@testing-library/vue": "^8.1.0",
31
32
  "@vue/test-utils": "^2.4.6",
32
- "jsdom": "^26.1.0",
33
+ "happy-dom": "^20.0.11",
33
34
  "rsbuild-plugin-unplugin-vue": "^0.1.0",
34
35
  "storybook": "^10.1.10",
35
36
  "storybook-addon-rslib": "^3.2.0",
@@ -1,8 +1,7 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
- import { pluginUnpluginVue } from 'rsbuild-plugin-unplugin-vue';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.js'],
7
- plugins: [pluginUnpluginVue()],
8
7
  });
@@ -20,23 +20,24 @@
20
20
  "test": "rstest"
21
21
  },
22
22
  "devDependencies": {
23
- "@rsbuild/core": "~1.7.0-beta.1",
23
+ "@rsbuild/core": "~1.7.0-beta.2",
24
24
  "@rslib/core": "workspace:*",
25
- "@rstest/core": "^0.7.5",
25
+ "@rstest/adapter-rslib": "^0.1.0",
26
+ "@rstest/core": "^0.7.7",
26
27
  "@storybook/addon-docs": "^10.1.10",
27
28
  "@storybook/addon-onboarding": "^10.1.10",
28
29
  "@storybook/vue3": "^10.1.10",
29
30
  "@testing-library/jest-dom": "^6.9.1",
30
31
  "@testing-library/vue": "^8.1.0",
31
32
  "@vue/test-utils": "^2.4.6",
32
- "jsdom": "^26.1.0",
33
+ "happy-dom": "^20.0.11",
33
34
  "rsbuild-plugin-unplugin-vue": "^0.1.0",
34
35
  "storybook": "^10.1.10",
35
36
  "storybook-addon-rslib": "^3.2.0",
36
37
  "storybook-vue3-rsbuild": "^3.2.0",
37
38
  "typescript": "^5.9.3",
38
39
  "vue": "^3.5.26",
39
- "vue-tsc": "^3.2.0"
40
+ "vue-tsc": "^3.2.1"
40
41
  },
41
42
  "peerDependencies": {
42
43
  "vue": "^3.2.0"
@@ -1,8 +1,7 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
- import { pluginUnpluginVue } from 'rsbuild-plugin-unplugin-vue';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.ts'],
7
- plugins: [pluginUnpluginVue()],
8
7
  });
@@ -19,11 +19,12 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@rslib/core": "workspace:*",
22
- "@rstest/core": "^0.7.5",
22
+ "@rstest/adapter-rslib": "^0.1.0",
23
+ "@rstest/core": "^0.7.7",
23
24
  "@testing-library/jest-dom": "^6.9.1",
24
25
  "@testing-library/vue": "^8.1.0",
25
26
  "@vue/test-utils": "^2.4.6",
26
- "jsdom": "^26.1.0",
27
+ "happy-dom": "^20.0.11",
27
28
  "rsbuild-plugin-unplugin-vue": "^0.1.0",
28
29
  "vue": "^3.5.26"
29
30
  },
@@ -1,8 +1,7 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
- import { pluginUnpluginVue } from 'rsbuild-plugin-unplugin-vue';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.js'],
7
- plugins: [pluginUnpluginVue()],
8
7
  });
@@ -19,15 +19,16 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@rslib/core": "workspace:*",
22
- "@rstest/core": "^0.7.5",
22
+ "@rstest/adapter-rslib": "^0.1.0",
23
+ "@rstest/core": "^0.7.7",
23
24
  "@testing-library/jest-dom": "^6.9.1",
24
25
  "@testing-library/vue": "^8.1.0",
25
26
  "@vue/test-utils": "^2.4.6",
26
- "jsdom": "^26.1.0",
27
+ "happy-dom": "^20.0.11",
27
28
  "rsbuild-plugin-unplugin-vue": "^0.1.0",
28
29
  "typescript": "^5.9.3",
29
30
  "vue": "^3.5.26",
30
- "vue-tsc": "^3.2.0"
31
+ "vue-tsc": "^3.2.1"
31
32
  },
32
33
  "peerDependencies": {
33
34
  "vue": "^3.2.0"
@@ -1,8 +1,7 @@
1
+ import { withRslibConfig } from '@rstest/adapter-rslib';
1
2
  import { defineConfig } from '@rstest/core';
2
- import { pluginUnpluginVue } from 'rsbuild-plugin-unplugin-vue';
3
3
 
4
4
  export default defineConfig({
5
- testEnvironment: 'jsdom',
5
+ extends: withRslibConfig(),
6
6
  setupFiles: ['./rstest.setup.ts'],
7
- plugins: [pluginUnpluginVue()],
8
7
  });
@@ -20,7 +20,7 @@
20
20
  "test": "vitest run"
21
21
  },
22
22
  "devDependencies": {
23
- "@rsbuild/core": "~1.7.0-beta.1",
23
+ "@rsbuild/core": "~1.7.0-beta.2",
24
24
  "@rslib/core": "workspace:*",
25
25
  "@storybook/addon-docs": "^10.1.10",
26
26
  "@storybook/addon-onboarding": "^10.1.10",
@@ -20,7 +20,7 @@
20
20
  "test": "vitest run"
21
21
  },
22
22
  "devDependencies": {
23
- "@rsbuild/core": "~1.7.0-beta.1",
23
+ "@rsbuild/core": "~1.7.0-beta.2",
24
24
  "@rslib/core": "workspace:*",
25
25
  "@storybook/addon-docs": "^10.1.10",
26
26
  "@storybook/addon-onboarding": "^10.1.10",
@@ -36,7 +36,7 @@
36
36
  "typescript": "^5.9.3",
37
37
  "vitest": "^4.0.16",
38
38
  "vue": "^3.5.26",
39
- "vue-tsc": "^3.2.0"
39
+ "vue-tsc": "^3.2.1"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "vue": "^3.2.0"
@@ -19,7 +19,7 @@
19
19
  "storybook": "storybook dev"
20
20
  },
21
21
  "devDependencies": {
22
- "@rsbuild/core": "~1.7.0-beta.1",
22
+ "@rsbuild/core": "~1.7.0-beta.2",
23
23
  "@rslib/core": "workspace:*",
24
24
  "@storybook/addon-docs": "^10.1.10",
25
25
  "@storybook/addon-onboarding": "^10.1.10",
@@ -19,7 +19,7 @@
19
19
  "storybook": "storybook dev"
20
20
  },
21
21
  "devDependencies": {
22
- "@rsbuild/core": "~1.7.0-beta.1",
22
+ "@rsbuild/core": "~1.7.0-beta.2",
23
23
  "@rslib/core": "workspace:*",
24
24
  "@storybook/addon-docs": "^10.1.10",
25
25
  "@storybook/addon-onboarding": "^10.1.10",
@@ -30,7 +30,7 @@
30
30
  "storybook-vue3-rsbuild": "^3.2.0",
31
31
  "typescript": "^5.9.3",
32
32
  "vue": "^3.5.26",
33
- "vue-tsc": "^3.2.0"
33
+ "vue-tsc": "^3.2.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "vue": "^3.2.0"
@@ -27,7 +27,7 @@
27
27
  "typescript": "^5.9.3",
28
28
  "vitest": "^4.0.16",
29
29
  "vue": "^3.5.26",
30
- "vue-tsc": "^3.2.0"
30
+ "vue-tsc": "^3.2.1"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "vue": "^3.2.0"