create-rstack 3.2.1 → 3.2.2

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 (68) hide show
  1. package/package.json +2 -2
  2. package/template-app-lit/package.json +1 -1
  3. package/template-app-lit/rstack.config.js +8 -6
  4. package/template-app-lit-ts/package.json +1 -1
  5. package/template-app-lit-ts/rstack.config.ts +6 -6
  6. package/template-app-lit-ts/tests/tsconfig.json +7 -0
  7. package/template-app-preact/package.json +1 -1
  8. package/template-app-preact/rstack.config.js +6 -3
  9. package/template-app-preact-ts/package.json +1 -1
  10. package/template-app-preact-ts/rstack.config.ts +6 -3
  11. package/template-app-react/package.json +1 -1
  12. package/template-app-react/rstack.config.js +6 -3
  13. package/template-app-react-ts/package.json +1 -1
  14. package/template-app-react-ts/rstack.config.ts +6 -3
  15. package/template-app-solid/package.json +3 -3
  16. package/template-app-solid/rstack.config.js +8 -3
  17. package/template-app-solid-ts/package.json +3 -3
  18. package/template-app-solid-ts/rstack.config.ts +6 -3
  19. package/template-app-svelte/package.json +2 -2
  20. package/template-app-svelte/rstack.config.js +8 -3
  21. package/template-app-svelte-ts/package.json +3 -3
  22. package/template-app-svelte-ts/rstack.config.ts +6 -3
  23. package/template-app-svelte-ts/tests/tsconfig.json +1 -1
  24. package/template-app-vanilla/package.json +1 -1
  25. package/template-app-vanilla/rstack.config.js +8 -2
  26. package/template-app-vanilla/tests/dom.test.js +1 -1
  27. package/template-app-vanilla-ts/package.json +1 -1
  28. package/template-app-vanilla-ts/rstack.config.ts +6 -2
  29. package/template-app-vanilla-ts/tests/dom.test.ts +1 -1
  30. package/template-app-vue/package.json +1 -1
  31. package/template-app-vue/rstack.config.js +8 -3
  32. package/template-app-vue-ts/package.json +2 -2
  33. package/template-app-vue-ts/rstack.config.ts +6 -3
  34. package/template-doc/package.json +1 -1
  35. package/template-doc/rstack.config.ts +1 -1
  36. package/template-doc-i18n/package.json +1 -1
  37. package/template-doc-i18n/rstack.config.ts +1 -1
  38. package/template-lib-node/package.json +2 -6
  39. package/template-lib-node/rstack.config.js +9 -9
  40. package/template-lib-node-ts/package.json +1 -1
  41. package/template-lib-node-ts/rstack.config.ts +6 -7
  42. package/template-lib-node-ts/tests/tsconfig.json +8 -0
  43. package/template-lib-react/package.json +2 -6
  44. package/template-lib-react/rstack.config.js +6 -8
  45. package/template-lib-react-ts/package.json +1 -1
  46. package/template-lib-react-ts/rstack.config.ts +6 -8
  47. package/template-lib-react-ts/tests/tsconfig.json +1 -1
  48. package/template-lib-react-ts/tsconfig.json +1 -1
  49. package/template-lib-solid/package.json +3 -3
  50. package/template-lib-solid/rstack.config.js +9 -11
  51. package/template-lib-solid-ts/package.json +4 -4
  52. package/template-lib-solid-ts/rstack.config.ts +7 -11
  53. package/template-lib-solid-ts/tests/tsconfig.json +1 -1
  54. package/template-lib-solid-ts/tsconfig.json +1 -1
  55. package/template-lib-svelte/package.json +4 -5
  56. package/template-lib-svelte/rstack.config.js +8 -13
  57. package/template-lib-svelte-ts/package.json +6 -5
  58. package/template-lib-svelte-ts/rstack.config.ts +6 -13
  59. package/template-lib-svelte-ts/tests/tsconfig.json +3 -1
  60. package/template-lib-svelte-ts/tsconfig.json +4 -4
  61. package/template-lib-vue/package.json +2 -6
  62. package/template-lib-vue/rstack.config.js +8 -8
  63. package/template-lib-vue/tests/index.test.js +3 -2
  64. package/template-lib-vue-ts/package.json +2 -2
  65. package/template-lib-vue-ts/rstack.config.ts +6 -8
  66. package/template-lib-vue-ts/tests/index.test.ts +3 -2
  67. package/template-lib-vue-ts/tests/tsconfig.json +2 -1
  68. package/template-lib-vue-ts/tsconfig.json +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rstack",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Create a new Rstack project",
5
5
  "homepage": "https://rstack.rs",
6
6
  "bugs": {
@@ -34,7 +34,7 @@
34
34
  "devDependencies": {
35
35
  "@types/node": "^24.13.3",
36
36
  "typescript": "^7.0.2",
37
- "rstack": "0.6.1"
37
+ "rstack": "0.6.2"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=22.12.0"
@@ -18,6 +18,6 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "happy-dom": "^20.11.2",
21
- "rstack": "^0.6.1"
21
+ "rstack": "^0.6.2"
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- // Rstack configuration guide: https://rstack.rs/config
2
+ // Configuration guide: https://rstack.rs/config
3
3
  import { define } from 'rstack';
4
4
 
5
5
  define.app({
@@ -13,11 +13,13 @@ define.app({
13
13
  },
14
14
  });
15
15
 
16
- define.test({
17
- testEnvironment: 'happy-dom',
18
- });
19
-
20
- define.lint(({ js }) => [js.configs.recommended]);
16
+ define.lint(({ js, rstestPlugin }) => [
17
+ js.configs.recommended,
18
+ {
19
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
20
+ ...rstestPlugin.configs.recommended,
21
+ },
22
+ ]);
21
23
 
22
24
  define.fmt({
23
25
  singleQuote: true,
@@ -19,7 +19,7 @@
19
19
  "devDependencies": {
20
20
  "@types/node": "^24.13.3",
21
21
  "happy-dom": "^20.11.2",
22
- "rstack": "^0.6.1",
22
+ "rstack": "^0.6.2",
23
23
  "typescript": "^7.0.2"
24
24
  }
25
25
  }
@@ -1,4 +1,4 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import { define } from 'rstack';
3
3
 
4
4
  define.app({
@@ -12,13 +12,13 @@ define.app({
12
12
  },
13
13
  });
14
14
 
15
- define.test({
16
- testEnvironment: 'happy-dom',
17
- });
18
-
19
- define.lint(({ js, ts }) => [
15
+ define.lint(({ js, ts, rstestPlugin }) => [
20
16
  js.configs.recommended,
21
17
  ts.configs.recommendedTypeChecked,
18
+ {
19
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
20
+ ...rstestPlugin.configs.recommended,
21
+ },
22
22
  ]);
23
23
 
24
24
  define.fmt({
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "types": ["rstack/types", "node"]
5
+ },
6
+ "include": ["./"]
7
+ }
@@ -21,6 +21,6 @@
21
21
  "@testing-library/jest-dom": "^7.0.1",
22
22
  "@testing-library/preact": "^3.2.4",
23
23
  "happy-dom": "^20.11.2",
24
- "rstack": "^0.6.1"
24
+ "rstack": "^0.6.2"
25
25
  }
26
26
  }
@@ -1,10 +1,9 @@
1
1
  // @ts-check
2
- // Rstack configuration guide: https://rstack.rs/config
2
+ // Configuration guide: https://rstack.rs/config
3
3
  import { define } from 'rstack';
4
4
 
5
5
  define.app(async () => {
6
6
  const { pluginPreact } = await import('@rsbuild/plugin-preact');
7
-
8
7
  return {
9
8
  plugins: [pluginPreact()],
10
9
  };
@@ -14,10 +13,14 @@ define.test({
14
13
  setupFiles: ['./tests/rstest.setup.js'],
15
14
  });
16
15
 
17
- define.lint(({ js, reactHooksPlugin, reactPlugin }) => [
16
+ define.lint(({ js, reactHooksPlugin, reactPlugin, rstestPlugin }) => [
18
17
  js.configs.recommended,
19
18
  reactPlugin.configs.recommended,
20
19
  reactHooksPlugin.configs.recommended,
20
+ {
21
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
22
+ ...rstestPlugin.configs.recommended,
23
+ },
21
24
  ]);
22
25
 
23
26
  define.fmt({
@@ -22,7 +22,7 @@
22
22
  "@testing-library/preact": "^3.2.4",
23
23
  "@types/node": "^24.13.3",
24
24
  "happy-dom": "^20.11.2",
25
- "rstack": "^0.6.1",
25
+ "rstack": "^0.6.2",
26
26
  "typescript": "^7.0.2"
27
27
  }
28
28
  }
@@ -1,9 +1,8 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import { define } from 'rstack';
3
3
 
4
4
  define.app(async () => {
5
5
  const { pluginPreact } = await import('@rsbuild/plugin-preact');
6
-
7
6
  return {
8
7
  plugins: [pluginPreact()],
9
8
  };
@@ -13,11 +12,15 @@ define.test({
13
12
  setupFiles: ['./tests/rstest.setup.ts'],
14
13
  });
15
14
 
16
- define.lint(({ js, ts, reactHooksPlugin, reactPlugin }) => [
15
+ define.lint(({ js, ts, reactHooksPlugin, reactPlugin, rstestPlugin }) => [
17
16
  js.configs.recommended,
18
17
  ts.configs.recommendedTypeChecked,
19
18
  reactPlugin.configs.recommended,
20
19
  reactHooksPlugin.configs.recommended,
20
+ {
21
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
22
+ ...rstestPlugin.configs.recommended,
23
+ },
21
24
  ]);
22
25
 
23
26
  define.fmt({
@@ -23,6 +23,6 @@
23
23
  "@testing-library/jest-dom": "^7.0.1",
24
24
  "@testing-library/react": "^16.3.2",
25
25
  "happy-dom": "^20.11.2",
26
- "rstack": "^0.6.1"
26
+ "rstack": "^0.6.2"
27
27
  }
28
28
  }
@@ -1,10 +1,9 @@
1
1
  // @ts-check
2
- // Rstack configuration guide: https://rstack.rs/config
2
+ // Configuration guide: https://rstack.rs/config
3
3
  import { define } from 'rstack';
4
4
 
5
5
  define.app(async () => {
6
6
  const { pluginReact } = await import('@rsbuild/plugin-react');
7
-
8
7
  return {
9
8
  plugins: [pluginReact()],
10
9
  };
@@ -14,10 +13,14 @@ define.test({
14
13
  setupFiles: ['./tests/rstest.setup.js'],
15
14
  });
16
15
 
17
- define.lint(({ js, reactHooksPlugin, reactPlugin }) => [
16
+ define.lint(({ js, reactHooksPlugin, reactPlugin, rstestPlugin }) => [
18
17
  js.configs.recommended,
19
18
  reactPlugin.configs.recommended,
20
19
  reactHooksPlugin.configs.recommended,
20
+ {
21
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
22
+ ...rstestPlugin.configs.recommended,
23
+ },
21
24
  ]);
22
25
 
23
26
  define.fmt({
@@ -26,7 +26,7 @@
26
26
  "@types/react": "^19.2.18",
27
27
  "@types/react-dom": "^19.2.4",
28
28
  "happy-dom": "^20.11.2",
29
- "rstack": "^0.6.1",
29
+ "rstack": "^0.6.2",
30
30
  "typescript": "^7.0.2"
31
31
  }
32
32
  }
@@ -1,9 +1,8 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import { define } from 'rstack';
3
3
 
4
4
  define.app(async () => {
5
5
  const { pluginReact } = await import('@rsbuild/plugin-react');
6
-
7
6
  return {
8
7
  plugins: [pluginReact()],
9
8
  };
@@ -13,11 +12,15 @@ define.test({
13
12
  setupFiles: ['./tests/rstest.setup.ts'],
14
13
  });
15
14
 
16
- define.lint(({ js, ts, reactPlugin, reactHooksPlugin }) => [
15
+ define.lint(({ js, ts, reactPlugin, reactHooksPlugin, rstestPlugin }) => [
17
16
  js.configs.recommended,
18
17
  ts.configs.recommendedTypeChecked,
19
18
  reactPlugin.configs.recommended,
20
19
  reactHooksPlugin.configs.recommended,
20
+ {
21
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
22
+ ...rstestPlugin.configs.recommended,
23
+ },
21
24
  ]);
22
25
 
23
26
  define.fmt({
@@ -14,14 +14,14 @@
14
14
  "test:watch": "rs test --watch"
15
15
  },
16
16
  "dependencies": {
17
- "solid-js": "^1.9.14"
17
+ "solid-js": "^1.9.15"
18
18
  },
19
19
  "devDependencies": {
20
- "@rsbuild/plugin-babel": "^2.0.1",
20
+ "@rsbuild/plugin-babel": "^2.1.0",
21
21
  "@rsbuild/plugin-solid": "^1.2.2",
22
22
  "@solidjs/testing-library": "^0.8.10",
23
23
  "@testing-library/jest-dom": "^7.0.1",
24
24
  "happy-dom": "^20.11.2",
25
- "rstack": "^0.6.1"
25
+ "rstack": "^0.6.2"
26
26
  }
27
27
  }
@@ -1,11 +1,10 @@
1
1
  // @ts-check
2
- // Rstack configuration guide: https://rstack.rs/config
2
+ // Configuration guide: https://rstack.rs/config
3
3
  import { define } from 'rstack';
4
4
 
5
5
  define.app(async () => {
6
6
  const { pluginBabel } = await import('@rsbuild/plugin-babel');
7
7
  const { pluginSolid } = await import('@rsbuild/plugin-solid');
8
-
9
8
  return {
10
9
  plugins: [
11
10
  pluginBabel({
@@ -20,7 +19,13 @@ define.test({
20
19
  setupFiles: ['./tests/rstest.setup.js'],
21
20
  });
22
21
 
23
- define.lint(({ js }) => [js.configs.recommended]);
22
+ define.lint(({ js, rstestPlugin }) => [
23
+ js.configs.recommended,
24
+ {
25
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
26
+ ...rstestPlugin.configs.recommended,
27
+ },
28
+ ]);
24
29
 
25
30
  define.fmt({
26
31
  singleQuote: true,
@@ -14,16 +14,16 @@
14
14
  "test:watch": "rs test --watch"
15
15
  },
16
16
  "dependencies": {
17
- "solid-js": "^1.9.14"
17
+ "solid-js": "^1.9.15"
18
18
  },
19
19
  "devDependencies": {
20
- "@rsbuild/plugin-babel": "^2.0.1",
20
+ "@rsbuild/plugin-babel": "^2.1.0",
21
21
  "@rsbuild/plugin-solid": "^1.2.2",
22
22
  "@solidjs/testing-library": "^0.8.10",
23
23
  "@testing-library/jest-dom": "^7.0.1",
24
24
  "@types/node": "^24.13.3",
25
25
  "happy-dom": "^20.11.2",
26
- "rstack": "^0.6.1",
26
+ "rstack": "^0.6.2",
27
27
  "typescript": "^7.0.2"
28
28
  }
29
29
  }
@@ -1,10 +1,9 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import { define } from 'rstack';
3
3
 
4
4
  define.app(async () => {
5
5
  const { pluginBabel } = await import('@rsbuild/plugin-babel');
6
6
  const { pluginSolid } = await import('@rsbuild/plugin-solid');
7
-
8
7
  return {
9
8
  plugins: [
10
9
  pluginBabel({
@@ -19,9 +18,13 @@ define.test({
19
18
  setupFiles: ['./tests/rstest.setup.ts'],
20
19
  });
21
20
 
22
- define.lint(({ js, ts }) => [
21
+ define.lint(({ js, ts, rstestPlugin }) => [
23
22
  js.configs.recommended,
24
23
  ts.configs.recommendedTypeChecked,
24
+ {
25
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
26
+ ...rstestPlugin.configs.recommended,
27
+ },
25
28
  ]);
26
29
 
27
30
  define.fmt({
@@ -14,7 +14,7 @@
14
14
  "test:watch": "rs test --watch"
15
15
  },
16
16
  "dependencies": {
17
- "svelte": "^5.56.8"
17
+ "svelte": "^5.56.9"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-svelte": "^2.0.1",
@@ -22,6 +22,6 @@
22
22
  "@testing-library/svelte": "^5.4.2",
23
23
  "happy-dom": "^20.11.2",
24
24
  "prettier-plugin-svelte": "^4.1.1",
25
- "rstack": "^0.6.1"
25
+ "rstack": "^0.6.2"
26
26
  }
27
27
  }
@@ -1,10 +1,9 @@
1
1
  // @ts-check
2
- // Rstack configuration guide: https://rstack.rs/config
2
+ // Configuration guide: https://rstack.rs/config
3
3
  import { define } from 'rstack';
4
4
 
5
5
  define.app(async () => {
6
6
  const { pluginSvelte } = await import('@rsbuild/plugin-svelte');
7
-
8
7
  return {
9
8
  plugins: [pluginSvelte()],
10
9
  };
@@ -14,7 +13,13 @@ define.test({
14
13
  setupFiles: ['./tests/rstest.setup.js'],
15
14
  });
16
15
 
17
- define.lint(({ js }) => [js.configs.recommended]);
16
+ define.lint(({ js, rstestPlugin }) => [
17
+ js.configs.recommended,
18
+ {
19
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
20
+ ...rstestPlugin.configs.recommended,
21
+ },
22
+ ]);
18
23
 
19
24
  define.fmt({
20
25
  plugins: ['prettier-plugin-svelte'],
@@ -14,7 +14,7 @@
14
14
  "test:watch": "rs test --watch"
15
15
  },
16
16
  "dependencies": {
17
- "svelte": "^5.56.8"
17
+ "svelte": "^5.56.9"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-svelte": "^2.0.1",
@@ -23,8 +23,8 @@
23
23
  "@types/node": "^24.13.3",
24
24
  "happy-dom": "^20.11.2",
25
25
  "prettier-plugin-svelte": "^4.1.1",
26
- "rstack": "^0.6.1",
27
- "svelte-check": "^4.7.5",
26
+ "rstack": "^0.6.2",
27
+ "svelte-check": "^4.7.6",
28
28
  "typescript": "^6.0.3"
29
29
  }
30
30
  }
@@ -1,9 +1,8 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import { define } from 'rstack';
3
3
 
4
4
  define.app(async () => {
5
5
  const { pluginSvelte } = await import('@rsbuild/plugin-svelte');
6
-
7
6
  return {
8
7
  plugins: [pluginSvelte()],
9
8
  };
@@ -13,9 +12,13 @@ define.test({
13
12
  setupFiles: ['./tests/rstest.setup.ts'],
14
13
  });
15
14
 
16
- define.lint(({ js, ts }) => [
15
+ define.lint(({ js, ts, rstestPlugin }) => [
17
16
  js.configs.recommended,
18
17
  ts.configs.recommendedTypeChecked,
18
+ {
19
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
20
+ ...rstestPlugin.configs.recommended,
21
+ },
19
22
  ]);
20
23
 
21
24
  define.fmt({
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "extends": "../tsconfig.json",
3
3
  "compilerOptions": {
4
- "types": ["rstack/types", "node", "@testing-library/jest-dom"]
4
+ "types": ["rstack/types", "node", "svelte", "@testing-library/jest-dom"]
5
5
  },
6
6
  "include": ["./"]
7
7
  }
@@ -17,6 +17,6 @@
17
17
  "@testing-library/dom": "^10.4.1",
18
18
  "@testing-library/jest-dom": "^7.0.1",
19
19
  "happy-dom": "^20.11.2",
20
- "rstack": "^0.6.1"
20
+ "rstack": "^0.6.2"
21
21
  }
22
22
  }
@@ -1,5 +1,5 @@
1
1
  // @ts-check
2
- // Rstack configuration guide: https://rstack.rs/config
2
+ // Configuration guide: https://rstack.rs/config
3
3
  import { define } from 'rstack';
4
4
 
5
5
  define.app({
@@ -10,7 +10,13 @@ define.test({
10
10
  setupFiles: ['./tests/rstest.setup.js'],
11
11
  });
12
12
 
13
- define.lint(({ js }) => [js.configs.recommended]);
13
+ define.lint(({ js, rstestPlugin }) => [
14
+ js.configs.recommended,
15
+ {
16
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
17
+ ...rstestPlugin.configs.recommended,
18
+ },
19
+ ]);
14
20
 
15
21
  define.fmt({
16
22
  singleQuote: true,
@@ -1,7 +1,7 @@
1
1
  import { expect, test } from 'rstack/test';
2
2
  import { screen } from '@testing-library/dom';
3
3
 
4
- test('test dom', () => {
4
+ test('renders content', () => {
5
5
  document.body.innerHTML = `
6
6
  <span data-testid="not-empty"><span data-testid="empty"></span></span>
7
7
  <div data-testid="visible">Visible Example</div>
@@ -18,7 +18,7 @@
18
18
  "@testing-library/jest-dom": "^7.0.1",
19
19
  "@types/node": "^24.13.3",
20
20
  "happy-dom": "^20.11.2",
21
- "rstack": "^0.6.1",
21
+ "rstack": "^0.6.2",
22
22
  "typescript": "^7.0.2"
23
23
  }
24
24
  }
@@ -1,4 +1,4 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import { define } from 'rstack';
3
3
 
4
4
  define.app({
@@ -9,9 +9,13 @@ define.test({
9
9
  setupFiles: ['./tests/rstest.setup.ts'],
10
10
  });
11
11
 
12
- define.lint(({ js, ts }) => [
12
+ define.lint(({ js, ts, rstestPlugin }) => [
13
13
  js.configs.recommended,
14
14
  ts.configs.recommendedTypeChecked,
15
+ {
16
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
17
+ ...rstestPlugin.configs.recommended,
18
+ },
15
19
  ]);
16
20
 
17
21
  define.fmt({
@@ -1,7 +1,7 @@
1
1
  import { expect, test } from 'rstack/test';
2
2
  import { screen } from '@testing-library/dom';
3
3
 
4
- test('test dom', () => {
4
+ test('renders content', () => {
5
5
  document.body.innerHTML = `
6
6
  <span data-testid="not-empty"><span data-testid="empty"></span></span>
7
7
  <div data-testid="visible">Visible Example</div>
@@ -21,6 +21,6 @@
21
21
  "@testing-library/jest-dom": "^7.0.1",
22
22
  "@vue/test-utils": "^2.4.11",
23
23
  "happy-dom": "^20.11.2",
24
- "rstack": "^0.6.1"
24
+ "rstack": "^0.6.2"
25
25
  }
26
26
  }
@@ -1,10 +1,9 @@
1
1
  // @ts-check
2
- // Rstack configuration guide: https://rstack.rs/config
2
+ // Configuration guide: https://rstack.rs/config
3
3
  import { define } from 'rstack';
4
4
 
5
5
  define.app(async () => {
6
6
  const { pluginVue } = await import('@rsbuild/plugin-vue');
7
-
8
7
  return {
9
8
  plugins: [pluginVue()],
10
9
  };
@@ -14,7 +13,13 @@ define.test({
14
13
  setupFiles: ['./tests/rstest.setup.js'],
15
14
  });
16
15
 
17
- define.lint(({ js }) => [js.configs.recommended]);
16
+ define.lint(({ js, rstestPlugin }) => [
17
+ js.configs.recommended,
18
+ {
19
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
20
+ ...rstestPlugin.configs.recommended,
21
+ },
22
+ ]);
18
23
 
19
24
  define.fmt({
20
25
  singleQuote: true,
@@ -22,8 +22,8 @@
22
22
  "@types/node": "^24.13.3",
23
23
  "@vue/test-utils": "^2.4.11",
24
24
  "happy-dom": "^20.11.2",
25
- "rstack": "^0.6.1",
25
+ "rstack": "^0.6.2",
26
26
  "typescript": "^6.0.3",
27
- "vue-tsc": "^3.3.9"
27
+ "vue-tsc": "^3.3.10"
28
28
  }
29
29
  }
@@ -1,9 +1,8 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import { define } from 'rstack';
3
3
 
4
4
  define.app(async () => {
5
5
  const { pluginVue } = await import('@rsbuild/plugin-vue');
6
-
7
6
  return {
8
7
  plugins: [pluginVue()],
9
8
  };
@@ -13,9 +12,13 @@ define.test({
13
12
  setupFiles: ['./tests/rstest.setup.ts'],
14
13
  });
15
14
 
16
- define.lint(({ js, ts }) => [
15
+ define.lint(({ js, ts, rstestPlugin }) => [
17
16
  js.configs.recommended,
18
17
  ts.configs.recommendedTypeChecked,
18
+ {
19
+ files: ['**/*.{test,spec}.?(c|m)[jt]s?(x)'],
20
+ ...rstestPlugin.configs.recommended,
21
+ },
19
22
  ]);
20
23
 
21
24
  define.fmt({
@@ -18,7 +18,7 @@
18
18
  "@types/react-dom": "^19.2.4",
19
19
  "react": "^19.2.8",
20
20
  "react-dom": "^19.2.8",
21
- "rstack": "^0.6.1",
21
+ "rstack": "^0.6.2",
22
22
  "typescript": "^7.0.2"
23
23
  }
24
24
  }
@@ -1,4 +1,4 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import path from 'node:path';
3
3
  import { define } from 'rstack';
4
4
 
@@ -18,7 +18,7 @@
18
18
  "@types/react-dom": "^19.2.4",
19
19
  "react": "^19.2.8",
20
20
  "react-dom": "^19.2.8",
21
- "rstack": "^0.6.1",
21
+ "rstack": "^0.6.2",
22
22
  "typescript": "^7.0.2"
23
23
  }
24
24
  }
@@ -1,4 +1,4 @@
1
- // Rstack configuration guide: https://rstack.rs/config
1
+ // Configuration guide: https://rstack.rs/config
2
2
  import path from 'node:path';
3
3
  import { define } from 'rstack';
4
4