create-rstack 3.2.0 → 3.2.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 (67) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
  3. package/template-app-lit/package.json +1 -1
  4. package/template-app-lit/rstack.config.js +1 -5
  5. package/template-app-lit-ts/package.json +1 -1
  6. package/template-app-lit-ts/rstack.config.ts +4 -5
  7. package/template-app-preact/package.json +2 -2
  8. package/template-app-preact/rstack.config.js +5 -9
  9. package/template-app-preact-ts/package.json +2 -2
  10. package/template-app-preact-ts/rstack.config.ts +6 -10
  11. package/template-app-react/package.json +2 -2
  12. package/template-app-react/rstack.config.js +5 -9
  13. package/template-app-react-ts/package.json +2 -2
  14. package/template-app-react-ts/rstack.config.ts +6 -10
  15. package/template-app-solid/package.json +2 -2
  16. package/template-app-solid/rstack.config.js +1 -5
  17. package/template-app-solid-ts/package.json +2 -2
  18. package/template-app-solid-ts/rstack.config.ts +4 -5
  19. package/template-app-svelte/package.json +2 -2
  20. package/template-app-svelte/rstack.config.js +1 -5
  21. package/template-app-svelte-ts/package.json +2 -2
  22. package/template-app-svelte-ts/rstack.config.ts +4 -5
  23. package/template-app-vanilla/package.json +2 -2
  24. package/template-app-vanilla/rstack.config.js +1 -5
  25. package/template-app-vanilla-ts/package.json +2 -2
  26. package/template-app-vanilla-ts/rstack.config.ts +4 -5
  27. package/template-app-vue/package.json +2 -2
  28. package/template-app-vue/rstack.config.js +1 -5
  29. package/template-app-vue-ts/package.json +2 -2
  30. package/template-app-vue-ts/rstack.config.ts +4 -5
  31. package/template-common/README.md +2 -2
  32. package/template-doc/README.md +1 -1
  33. package/template-doc/package.json +1 -1
  34. package/template-doc/rstack.config.ts +6 -10
  35. package/template-doc-i18n/README.md +1 -1
  36. package/template-doc-i18n/package.json +1 -1
  37. package/template-doc-i18n/rstack.config.ts +6 -10
  38. package/template-lib-node/README.md +1 -1
  39. package/template-lib-node/package.json +1 -1
  40. package/template-lib-node/rstack.config.js +1 -5
  41. package/template-lib-node-ts/README.md +1 -1
  42. package/template-lib-node-ts/package.json +1 -1
  43. package/template-lib-node-ts/rstack.config.ts +4 -5
  44. package/template-lib-react/README.md +1 -1
  45. package/template-lib-react/package.json +2 -2
  46. package/template-lib-react/rstack.config.js +5 -9
  47. package/template-lib-react-ts/README.md +1 -1
  48. package/template-lib-react-ts/package.json +2 -2
  49. package/template-lib-react-ts/rstack.config.ts +6 -10
  50. package/template-lib-solid/README.md +1 -1
  51. package/template-lib-solid/package.json +2 -2
  52. package/template-lib-solid/rstack.config.js +1 -5
  53. package/template-lib-solid-ts/README.md +1 -1
  54. package/template-lib-solid-ts/package.json +2 -2
  55. package/template-lib-solid-ts/rstack.config.ts +4 -5
  56. package/template-lib-svelte/README.md +1 -1
  57. package/template-lib-svelte/package.json +1 -1
  58. package/template-lib-svelte/rstack.config.js +1 -5
  59. package/template-lib-svelte-ts/README.md +1 -1
  60. package/template-lib-svelte-ts/package.json +2 -2
  61. package/template-lib-svelte-ts/rstack.config.ts +4 -5
  62. package/template-lib-vue/README.md +1 -1
  63. package/template-lib-vue/package.json +2 -2
  64. package/template-lib-vue/rstack.config.js +1 -5
  65. package/template-lib-vue-ts/README.md +1 -1
  66. package/template-lib-vue-ts/package.json +2 -2
  67. package/template-lib-vue-ts/rstack.config.ts +4 -5
package/README.md CHANGED
@@ -53,7 +53,7 @@ npx create-rstack --dir my-project --template app-vanilla-ts --no-git
53
53
 
54
54
  ## Documentation
55
55
 
56
- See the [Rstack documentation](https://rstack.rs).
56
+ See the [Rstack CLI documentation](https://rstack.rs).
57
57
 
58
58
  ## License
59
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rstack",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
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.0"
37
+ "rstack": "0.6.1"
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.0"
21
+ "rstack": "^0.6.1"
22
22
  }
23
23
  }
@@ -17,11 +17,7 @@ define.test({
17
17
  testEnvironment: 'happy-dom',
18
18
  });
19
19
 
20
- define.lint(async () => {
21
- const { js } = await import('rstack/lint');
22
-
23
- return [js.configs.recommended];
24
- });
20
+ define.lint(({ js }) => [js.configs.recommended]);
25
21
 
26
22
  define.fmt({
27
23
  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.0",
22
+ "rstack": "^0.6.1",
23
23
  "typescript": "^7.0.2"
24
24
  }
25
25
  }
@@ -16,11 +16,10 @@ define.test({
16
16
  testEnvironment: 'happy-dom',
17
17
  });
18
18
 
19
- define.lint(async () => {
20
- const { js, ts } = await import('rstack/lint');
21
-
22
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
23
- });
19
+ define.lint(({ js, ts }) => [
20
+ js.configs.recommended,
21
+ ts.configs.recommendedTypeChecked,
22
+ ]);
24
23
 
25
24
  define.fmt({
26
25
  singleQuote: true,
@@ -18,9 +18,9 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-preact": "^2.0.0",
21
- "@testing-library/jest-dom": "^7.0.0",
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.0"
24
+ "rstack": "^0.6.1"
25
25
  }
26
26
  }
@@ -14,15 +14,11 @@ define.test({
14
14
  setupFiles: ['./tests/rstest.setup.js'],
15
15
  });
16
16
 
17
- define.lint(async () => {
18
- const { js, reactHooksPlugin, reactPlugin } = await import('rstack/lint');
19
-
20
- return [
21
- js.configs.recommended,
22
- reactPlugin.configs.recommended,
23
- reactHooksPlugin.configs.recommended,
24
- ];
25
- });
17
+ define.lint(({ js, reactHooksPlugin, reactPlugin }) => [
18
+ js.configs.recommended,
19
+ reactPlugin.configs.recommended,
20
+ reactHooksPlugin.configs.recommended,
21
+ ]);
26
22
 
27
23
  define.fmt({
28
24
  singleQuote: true,
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-preact": "^2.0.0",
21
- "@testing-library/jest-dom": "^7.0.0",
21
+ "@testing-library/jest-dom": "^7.0.1",
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.0",
25
+ "rstack": "^0.6.1",
26
26
  "typescript": "^7.0.2"
27
27
  }
28
28
  }
@@ -13,16 +13,12 @@ define.test({
13
13
  setupFiles: ['./tests/rstest.setup.ts'],
14
14
  });
15
15
 
16
- define.lint(async () => {
17
- const { js, ts, reactHooksPlugin, reactPlugin } = await import('rstack/lint');
18
-
19
- return [
20
- js.configs.recommended,
21
- ts.configs.recommendedTypeChecked,
22
- reactPlugin.configs.recommended,
23
- reactHooksPlugin.configs.recommended,
24
- ];
25
- });
16
+ define.lint(({ js, ts, reactHooksPlugin, reactPlugin }) => [
17
+ js.configs.recommended,
18
+ ts.configs.recommendedTypeChecked,
19
+ reactPlugin.configs.recommended,
20
+ reactHooksPlugin.configs.recommended,
21
+ ]);
26
22
 
27
23
  define.fmt({
28
24
  singleQuote: true,
@@ -20,9 +20,9 @@
20
20
  "devDependencies": {
21
21
  "@rsbuild/plugin-react": "^2.1.0",
22
22
  "@testing-library/dom": "^10.4.1",
23
- "@testing-library/jest-dom": "^7.0.0",
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.0"
26
+ "rstack": "^0.6.1"
27
27
  }
28
28
  }
@@ -14,15 +14,11 @@ define.test({
14
14
  setupFiles: ['./tests/rstest.setup.js'],
15
15
  });
16
16
 
17
- define.lint(async () => {
18
- const { js, reactHooksPlugin, reactPlugin } = await import('rstack/lint');
19
-
20
- return [
21
- js.configs.recommended,
22
- reactPlugin.configs.recommended,
23
- reactHooksPlugin.configs.recommended,
24
- ];
25
- });
17
+ define.lint(({ js, reactHooksPlugin, reactPlugin }) => [
18
+ js.configs.recommended,
19
+ reactPlugin.configs.recommended,
20
+ reactHooksPlugin.configs.recommended,
21
+ ]);
26
22
 
27
23
  define.fmt({
28
24
  singleQuote: true,
@@ -20,13 +20,13 @@
20
20
  "devDependencies": {
21
21
  "@rsbuild/plugin-react": "^2.1.0",
22
22
  "@testing-library/dom": "^10.4.1",
23
- "@testing-library/jest-dom": "^7.0.0",
23
+ "@testing-library/jest-dom": "^7.0.1",
24
24
  "@testing-library/react": "^16.3.2",
25
25
  "@types/node": "^24.13.3",
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.0",
29
+ "rstack": "^0.6.1",
30
30
  "typescript": "^7.0.2"
31
31
  }
32
32
  }
@@ -13,16 +13,12 @@ define.test({
13
13
  setupFiles: ['./tests/rstest.setup.ts'],
14
14
  });
15
15
 
16
- define.lint(async () => {
17
- const { js, ts, reactPlugin, reactHooksPlugin } = await import('rstack/lint');
18
-
19
- return [
20
- js.configs.recommended,
21
- ts.configs.recommendedTypeChecked,
22
- reactPlugin.configs.recommended,
23
- reactHooksPlugin.configs.recommended,
24
- ];
25
- });
16
+ define.lint(({ js, ts, reactPlugin, reactHooksPlugin }) => [
17
+ js.configs.recommended,
18
+ ts.configs.recommendedTypeChecked,
19
+ reactPlugin.configs.recommended,
20
+ reactHooksPlugin.configs.recommended,
21
+ ]);
26
22
 
27
23
  define.fmt({
28
24
  singleQuote: true,
@@ -20,8 +20,8 @@
20
20
  "@rsbuild/plugin-babel": "^2.0.1",
21
21
  "@rsbuild/plugin-solid": "^1.2.2",
22
22
  "@solidjs/testing-library": "^0.8.10",
23
- "@testing-library/jest-dom": "^7.0.0",
23
+ "@testing-library/jest-dom": "^7.0.1",
24
24
  "happy-dom": "^20.11.2",
25
- "rstack": "^0.6.0"
25
+ "rstack": "^0.6.1"
26
26
  }
27
27
  }
@@ -20,11 +20,7 @@ define.test({
20
20
  setupFiles: ['./tests/rstest.setup.js'],
21
21
  });
22
22
 
23
- define.lint(async () => {
24
- const { js } = await import('rstack/lint');
25
-
26
- return [js.configs.recommended];
27
- });
23
+ define.lint(({ js }) => [js.configs.recommended]);
28
24
 
29
25
  define.fmt({
30
26
  singleQuote: true,
@@ -20,10 +20,10 @@
20
20
  "@rsbuild/plugin-babel": "^2.0.1",
21
21
  "@rsbuild/plugin-solid": "^1.2.2",
22
22
  "@solidjs/testing-library": "^0.8.10",
23
- "@testing-library/jest-dom": "^7.0.0",
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.0",
26
+ "rstack": "^0.6.1",
27
27
  "typescript": "^7.0.2"
28
28
  }
29
29
  }
@@ -19,11 +19,10 @@ define.test({
19
19
  setupFiles: ['./tests/rstest.setup.ts'],
20
20
  });
21
21
 
22
- define.lint(async () => {
23
- const { js, ts } = await import('rstack/lint');
24
-
25
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
26
- });
22
+ define.lint(({ js, ts }) => [
23
+ js.configs.recommended,
24
+ ts.configs.recommendedTypeChecked,
25
+ ]);
27
26
 
28
27
  define.fmt({
29
28
  singleQuote: true,
@@ -18,10 +18,10 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-svelte": "^2.0.1",
21
- "@testing-library/jest-dom": "^7.0.0",
21
+ "@testing-library/jest-dom": "^7.0.1",
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.0"
25
+ "rstack": "^0.6.1"
26
26
  }
27
27
  }
@@ -14,11 +14,7 @@ define.test({
14
14
  setupFiles: ['./tests/rstest.setup.js'],
15
15
  });
16
16
 
17
- define.lint(async () => {
18
- const { js } = await import('rstack/lint');
19
-
20
- return [js.configs.recommended];
21
- });
17
+ define.lint(({ js }) => [js.configs.recommended]);
22
18
 
23
19
  define.fmt({
24
20
  plugins: ['prettier-plugin-svelte'],
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-svelte": "^2.0.1",
21
- "@testing-library/jest-dom": "^7.0.0",
21
+ "@testing-library/jest-dom": "^7.0.1",
22
22
  "@testing-library/svelte": "^5.4.2",
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.0",
26
+ "rstack": "^0.6.1",
27
27
  "svelte-check": "^4.7.5",
28
28
  "typescript": "^6.0.3"
29
29
  }
@@ -13,11 +13,10 @@ define.test({
13
13
  setupFiles: ['./tests/rstest.setup.ts'],
14
14
  });
15
15
 
16
- define.lint(async () => {
17
- const { js, ts } = await import('rstack/lint');
18
-
19
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
20
- });
16
+ define.lint(({ js, ts }) => [
17
+ js.configs.recommended,
18
+ ts.configs.recommendedTypeChecked,
19
+ ]);
21
20
 
22
21
  define.fmt({
23
22
  plugins: ['prettier-plugin-svelte'],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@testing-library/dom": "^10.4.1",
18
- "@testing-library/jest-dom": "^7.0.0",
18
+ "@testing-library/jest-dom": "^7.0.1",
19
19
  "happy-dom": "^20.11.2",
20
- "rstack": "^0.6.0"
20
+ "rstack": "^0.6.1"
21
21
  }
22
22
  }
@@ -10,11 +10,7 @@ define.test({
10
10
  setupFiles: ['./tests/rstest.setup.js'],
11
11
  });
12
12
 
13
- define.lint(async () => {
14
- const { js } = await import('rstack/lint');
15
-
16
- return [js.configs.recommended];
17
- });
13
+ define.lint(({ js }) => [js.configs.recommended]);
18
14
 
19
15
  define.fmt({
20
16
  singleQuote: true,
@@ -15,10 +15,10 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@testing-library/dom": "^10.4.1",
18
- "@testing-library/jest-dom": "^7.0.0",
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.0",
21
+ "rstack": "^0.6.1",
22
22
  "typescript": "^7.0.2"
23
23
  }
24
24
  }
@@ -9,11 +9,10 @@ define.test({
9
9
  setupFiles: ['./tests/rstest.setup.ts'],
10
10
  });
11
11
 
12
- define.lint(async () => {
13
- const { js, ts } = await import('rstack/lint');
14
-
15
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
16
- });
12
+ define.lint(({ js, ts }) => [
13
+ js.configs.recommended,
14
+ ts.configs.recommendedTypeChecked,
15
+ ]);
17
16
 
18
17
  define.fmt({
19
18
  singleQuote: true,
@@ -18,9 +18,9 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-vue": "^2.0.1",
21
- "@testing-library/jest-dom": "^7.0.0",
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.0"
24
+ "rstack": "^0.6.1"
25
25
  }
26
26
  }
@@ -14,11 +14,7 @@ define.test({
14
14
  setupFiles: ['./tests/rstest.setup.js'],
15
15
  });
16
16
 
17
- define.lint(async () => {
18
- const { js } = await import('rstack/lint');
19
-
20
- return [js.configs.recommended];
21
- });
17
+ define.lint(({ js }) => [js.configs.recommended]);
22
18
 
23
19
  define.fmt({
24
20
  singleQuote: true,
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@rsbuild/plugin-vue": "^2.0.1",
21
- "@testing-library/jest-dom": "^7.0.0",
21
+ "@testing-library/jest-dom": "^7.0.1",
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.0",
25
+ "rstack": "^0.6.1",
26
26
  "typescript": "^6.0.3",
27
27
  "vue-tsc": "^3.3.9"
28
28
  }
@@ -13,11 +13,10 @@ define.test({
13
13
  setupFiles: ['./tests/rstest.setup.ts'],
14
14
  });
15
15
 
16
- define.lint(async () => {
17
- const { js, ts } = await import('rstack/lint');
18
-
19
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
20
- });
16
+ define.lint(({ js, ts }) => [
17
+ js.configs.recommended,
18
+ ts.configs.recommendedTypeChecked,
19
+ ]);
21
20
 
22
21
  define.fmt({
23
22
  singleQuote: true,
@@ -21,5 +21,5 @@ Install the dependencies:
21
21
 
22
22
  ## Learn more
23
23
 
24
- - [Rstack documentation](https://rstack.rs)
25
- - [Rstack GitHub repository](https://github.com/rstackjs/rstack-cli)
24
+ - [Rstack CLI documentation](https://rstack.rs)
25
+ - [Rstack CLI GitHub repository](https://github.com/rstackjs/rstack-cli)
@@ -19,5 +19,5 @@ Install the dependencies:
19
19
 
20
20
  ## Learn more
21
21
 
22
- - [Rstack documentation](https://rstack.rs)
22
+ - [Rstack CLI documentation](https://rstack.rs)
23
23
  - [Rspress documentation](https://rspress.rs)
@@ -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.0",
21
+ "rstack": "^0.6.1",
22
22
  "typescript": "^7.0.2"
23
23
  }
24
24
  }
@@ -7,16 +7,12 @@ define.doc({
7
7
  title: 'My Site',
8
8
  });
9
9
 
10
- define.lint(async () => {
11
- const { js, ts, reactPlugin, reactHooksPlugin } = await import('rstack/lint');
12
-
13
- return [
14
- js.configs.recommended,
15
- ts.configs.recommendedTypeChecked,
16
- reactPlugin.configs.recommended,
17
- reactHooksPlugin.configs.recommended,
18
- ];
19
- });
10
+ define.lint(({ js, ts, reactPlugin, reactHooksPlugin }) => [
11
+ js.configs.recommended,
12
+ ts.configs.recommendedTypeChecked,
13
+ reactPlugin.configs.recommended,
14
+ reactHooksPlugin.configs.recommended,
15
+ ]);
20
16
 
21
17
  define.fmt({
22
18
  singleQuote: true,
@@ -19,5 +19,5 @@ Install the dependencies:
19
19
 
20
20
  ## Learn more
21
21
 
22
- - [Rstack documentation](https://rstack.rs)
22
+ - [Rstack CLI documentation](https://rstack.rs)
23
23
  - [Rspress documentation](https://rspress.rs)
@@ -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.0",
21
+ "rstack": "^0.6.1",
22
22
  "typescript": "^7.0.2"
23
23
  }
24
24
  }
@@ -23,16 +23,12 @@ define.doc({
23
23
  ],
24
24
  });
25
25
 
26
- define.lint(async () => {
27
- const { js, ts, reactPlugin, reactHooksPlugin } = await import('rstack/lint');
28
-
29
- return [
30
- js.configs.recommended,
31
- ts.configs.recommendedTypeChecked,
32
- reactPlugin.configs.recommended,
33
- reactHooksPlugin.configs.recommended,
34
- ];
35
- });
26
+ define.lint(({ js, ts, reactPlugin, reactHooksPlugin }) => [
27
+ js.configs.recommended,
28
+ ts.configs.recommendedTypeChecked,
29
+ reactPlugin.configs.recommended,
30
+ reactHooksPlugin.configs.recommended,
31
+ ]);
36
32
 
37
33
  define.fmt({
38
34
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -22,7 +22,7 @@
22
22
  "test:watch": "rs test --watch"
23
23
  },
24
24
  "devDependencies": {
25
- "rstack": "^0.6.0"
25
+ "rstack": "^0.6.1"
26
26
  },
27
27
  "engines": {
28
28
  "node": ">=22.12.0"
@@ -10,11 +10,7 @@ define.test({
10
10
  // Configure Rstest
11
11
  });
12
12
 
13
- define.lint(async () => {
14
- const { js } = await import('rstack/lint');
15
-
16
- return [js.configs.recommended];
17
- });
13
+ define.lint(({ js }) => [js.configs.recommended]);
18
14
 
19
15
  define.fmt({
20
16
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^24.13.3",
28
- "rstack": "^0.6.0",
28
+ "rstack": "^0.6.1",
29
29
  "typescript": "^7.0.2"
30
30
  },
31
31
  "engines": {
@@ -10,11 +10,10 @@ define.test({
10
10
  // Configure Rstest
11
11
  });
12
12
 
13
- define.lint(async () => {
14
- const { js, ts } = await import('rstack/lint');
15
-
16
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
17
- });
13
+ define.lint(({ js, ts }) => [
14
+ js.configs.recommended,
15
+ ts.configs.recommendedTypeChecked,
16
+ ]);
18
17
 
19
18
  define.fmt({
20
19
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -23,13 +23,13 @@
23
23
  "devDependencies": {
24
24
  "@rsbuild/plugin-react": "^2.1.0",
25
25
  "@testing-library/dom": "^10.4.1",
26
- "@testing-library/jest-dom": "^7.0.0",
26
+ "@testing-library/jest-dom": "^7.0.1",
27
27
  "@testing-library/react": "^16.3.2",
28
28
  "@types/react-dom": "^19.2.4",
29
29
  "happy-dom": "^20.11.2",
30
30
  "react": "^19.2.8",
31
31
  "react-dom": "^19.2.8",
32
- "rstack": "^0.6.0"
32
+ "rstack": "^0.6.1"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=18.0.0",
@@ -23,15 +23,11 @@ define.test({
23
23
  setupFiles: ['./tests/rstest.setup.js'],
24
24
  });
25
25
 
26
- define.lint(async () => {
27
- const { js, reactHooksPlugin, reactPlugin } = await import('rstack/lint');
28
-
29
- return [
30
- js.configs.recommended,
31
- reactPlugin.configs.recommended,
32
- reactHooksPlugin.configs.recommended,
33
- ];
34
- });
26
+ define.lint(({ js, reactHooksPlugin, reactPlugin }) => [
27
+ js.configs.recommended,
28
+ reactPlugin.configs.recommended,
29
+ reactHooksPlugin.configs.recommended,
30
+ ]);
35
31
 
36
32
  define.fmt({
37
33
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -25,7 +25,7 @@
25
25
  "devDependencies": {
26
26
  "@rsbuild/plugin-react": "^2.1.0",
27
27
  "@testing-library/dom": "^10.4.1",
28
- "@testing-library/jest-dom": "^7.0.0",
28
+ "@testing-library/jest-dom": "^7.0.1",
29
29
  "@testing-library/react": "^16.3.2",
30
30
  "@types/node": "^24.13.3",
31
31
  "@types/react": "^19.2.18",
@@ -33,7 +33,7 @@
33
33
  "happy-dom": "^20.11.2",
34
34
  "react": "^19.2.8",
35
35
  "react-dom": "^19.2.8",
36
- "rstack": "^0.6.0",
36
+ "rstack": "^0.6.1",
37
37
  "typescript": "^7.0.2"
38
38
  },
39
39
  "peerDependencies": {
@@ -23,16 +23,12 @@ define.test({
23
23
  setupFiles: ['./tests/rstest.setup.ts'],
24
24
  });
25
25
 
26
- define.lint(async () => {
27
- const { js, ts, reactPlugin, reactHooksPlugin } = await import('rstack/lint');
28
-
29
- return [
30
- js.configs.recommended,
31
- ts.configs.recommendedTypeChecked,
32
- reactPlugin.configs.recommended,
33
- reactHooksPlugin.configs.recommended,
34
- ];
35
- });
26
+ define.lint(({ js, ts, reactPlugin, reactHooksPlugin }) => [
27
+ js.configs.recommended,
28
+ ts.configs.recommendedTypeChecked,
29
+ reactPlugin.configs.recommended,
30
+ reactHooksPlugin.configs.recommended,
31
+ ]);
36
32
 
37
33
  define.fmt({
38
34
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -25,9 +25,9 @@
25
25
  "@rsbuild/plugin-babel": "^2.0.1",
26
26
  "@rsbuild/plugin-solid": "^1.2.2",
27
27
  "@solidjs/testing-library": "^0.8.10",
28
- "@testing-library/jest-dom": "^7.0.0",
28
+ "@testing-library/jest-dom": "^7.0.1",
29
29
  "happy-dom": "^20.11.2",
30
- "rstack": "^0.6.0",
30
+ "rstack": "^0.6.1",
31
31
  "solid-js": "^1.9.14"
32
32
  },
33
33
  "peerDependencies": {
@@ -75,11 +75,7 @@ define.test(async () => {
75
75
  };
76
76
  });
77
77
 
78
- define.lint(async () => {
79
- const { js } = await import('rstack/lint');
80
-
81
- return [js.configs.recommended];
82
- });
78
+ define.lint(({ js }) => [js.configs.recommended]);
83
79
 
84
80
  define.fmt({
85
81
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -27,10 +27,10 @@
27
27
  "@rsbuild/plugin-babel": "^2.0.1",
28
28
  "@rsbuild/plugin-solid": "^1.2.2",
29
29
  "@solidjs/testing-library": "^0.8.10",
30
- "@testing-library/jest-dom": "^7.0.0",
30
+ "@testing-library/jest-dom": "^7.0.1",
31
31
  "@types/node": "^24.13.3",
32
32
  "happy-dom": "^20.11.2",
33
- "rstack": "^0.6.0",
33
+ "rstack": "^0.6.1",
34
34
  "solid-js": "^1.9.14",
35
35
  "typescript": "^7.0.2"
36
36
  },
@@ -75,11 +75,10 @@ define.test(async () => {
75
75
  };
76
76
  });
77
77
 
78
- define.lint(async () => {
79
- const { js, ts } = await import('rstack/lint');
80
-
81
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
82
- });
78
+ define.lint(({ js, ts }) => [
79
+ js.configs.recommended,
80
+ ts.configs.recommendedTypeChecked,
81
+ ]);
83
82
 
84
83
  define.fmt({
85
84
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -24,7 +24,7 @@
24
24
  "@rsbuild/plugin-svelte": "^2.0.1",
25
25
  "happy-dom": "^20.11.2",
26
26
  "prettier-plugin-svelte": "^4.1.1",
27
- "rstack": "^0.6.0",
27
+ "rstack": "^0.6.1",
28
28
  "svelte": "^5.56.8"
29
29
  },
30
30
  "peerDependencies": {
@@ -23,11 +23,7 @@ define.test({
23
23
  testEnvironment: 'happy-dom',
24
24
  });
25
25
 
26
- define.lint(async () => {
27
- const { js } = await import('rstack/lint');
28
-
29
- return [js.configs.recommended];
30
- });
26
+ define.lint(({ js }) => [js.configs.recommended]);
31
27
 
32
28
  define.fmt({
33
29
  plugins: ['prettier-plugin-svelte'],
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -27,10 +27,10 @@
27
27
  "@types/node": "^24.13.3",
28
28
  "happy-dom": "^20.11.2",
29
29
  "prettier-plugin-svelte": "^4.1.1",
30
- "rstack": "^0.6.0",
30
+ "rstack": "^0.6.1",
31
31
  "svelte": "^5.56.8",
32
32
  "svelte-check": "^4.7.5",
33
- "svelte2tsx": "^0.7.59",
33
+ "svelte2tsx": "^0.7.60",
34
34
  "typescript": "^6.0.3"
35
35
  },
36
36
  "peerDependencies": {
@@ -23,11 +23,10 @@ define.test({
23
23
  testEnvironment: 'happy-dom',
24
24
  });
25
25
 
26
- define.lint(async () => {
27
- const { js, ts } = await import('rstack/lint');
28
-
29
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
30
- });
26
+ define.lint(({ js, ts }) => [
27
+ js.configs.recommended,
28
+ ts.configs.recommendedTypeChecked,
29
+ ]);
31
30
 
32
31
  define.fmt({
33
32
  plugins: ['prettier-plugin-svelte'],
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -22,10 +22,10 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@rsbuild/plugin-vue": "^2.0.1",
25
- "@testing-library/jest-dom": "^7.0.0",
25
+ "@testing-library/jest-dom": "^7.0.1",
26
26
  "@vue/test-utils": "^2.4.11",
27
27
  "happy-dom": "^20.11.2",
28
- "rstack": "^0.6.0",
28
+ "rstack": "^0.6.1",
29
29
  "vue": "^3.5.41"
30
30
  },
31
31
  "peerDependencies": {
@@ -23,11 +23,7 @@ define.test({
23
23
  setupFiles: ['./tests/rstest.setup.js'],
24
24
  });
25
25
 
26
- define.lint(async () => {
27
- const { js } = await import('rstack/lint');
28
-
29
- return [js.configs.recommended];
30
- });
26
+ define.lint(({ js }) => [js.configs.recommended]);
31
27
 
32
28
  define.fmt({
33
29
  singleQuote: true,
@@ -20,5 +20,5 @@ Install the dependencies:
20
20
 
21
21
  ## Learn more
22
22
 
23
- - [Rstack documentation](https://rstack.rs)
23
+ - [Rstack CLI documentation](https://rstack.rs)
24
24
  - [Rslib documentation](https://rslib.rs)
@@ -24,11 +24,11 @@
24
24
  },
25
25
  "devDependencies": {
26
26
  "@rsbuild/plugin-vue": "^2.0.1",
27
- "@testing-library/jest-dom": "^7.0.0",
27
+ "@testing-library/jest-dom": "^7.0.1",
28
28
  "@types/node": "^24.13.3",
29
29
  "@vue/test-utils": "^2.4.11",
30
30
  "happy-dom": "^20.11.2",
31
- "rstack": "^0.6.0",
31
+ "rstack": "^0.6.1",
32
32
  "typescript": "^6.0.3",
33
33
  "vue": "^3.5.41",
34
34
  "vue-tsc": "^3.3.9"
@@ -22,11 +22,10 @@ define.test({
22
22
  setupFiles: ['./tests/rstest.setup.ts'],
23
23
  });
24
24
 
25
- define.lint(async () => {
26
- const { js, ts } = await import('rstack/lint');
27
-
28
- return [js.configs.recommended, ts.configs.recommendedTypeChecked];
29
- });
25
+ define.lint(({ js, ts }) => [
26
+ js.configs.recommended,
27
+ ts.configs.recommendedTypeChecked,
28
+ ]);
30
29
 
31
30
  define.fmt({
32
31
  singleQuote: true,