create-rstack 1.5.5 → 1.6.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.
- package/dist/index.js +1 -1
- package/package.json +9 -10
- package/template-biome/package.json +1 -1
- package/template-eslint/react-js/package.json +3 -3
- package/template-eslint/react-ts/eslint.config.mjs +2 -2
- package/template-eslint/react-ts/package.json +4 -4
- package/template-eslint/svelte-js/package.json +4 -4
- package/template-eslint/svelte-ts/eslint.config.mjs +1 -1
- package/template-eslint/svelte-ts/package.json +5 -5
- package/template-eslint/vanilla-js/package.json +3 -3
- package/template-eslint/vanilla-ts/package.json +4 -4
- package/template-eslint/vue-js/package.json +4 -4
- package/template-eslint/vue-ts/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1124,7 +1124,7 @@ const dist_V = ce(), dist_u = (t, n)=>dist_V ? t : n, le = dist_u("\u25C6", "*")
|
|
|
1124
1124
|
return picocolors.green(dist_C);
|
|
1125
1125
|
}
|
|
1126
1126
|
}), dist_G = (t)=>{
|
|
1127
|
-
const { cursor: n, options: r, style: i } = t, s = t.maxItems ??
|
|
1127
|
+
const { cursor: n, options: r, style: i } = t, s = t.maxItems ?? 1 / 0, c = Math.max(process.stdout.rows - 4, 0), a = Math.min(c, Math.max(s, 5));
|
|
1128
1128
|
let l = 0;
|
|
1129
1129
|
n >= l + a - 3 ? l = Math.max(Math.min(n - a + 3, r.length - a), 0) : n < l + 2 && (l = Math.max(n - 2, 0));
|
|
1130
1130
|
const $ = a < r.length && l > 0, g = a < r.length && l + a < r.length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rstack",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Create a new Rstack project",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,24 +40,23 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@biomejs/biome": "2.
|
|
43
|
+
"@biomejs/biome": "2.1.3",
|
|
44
44
|
"@clack/prompts": "^0.11.0",
|
|
45
|
-
"@microsoft/api-extractor": "^7.52.
|
|
46
|
-
"@rslib/core": "0.
|
|
47
|
-
"@rstest/core": "0.0
|
|
45
|
+
"@microsoft/api-extractor": "^7.52.10",
|
|
46
|
+
"@rslib/core": "0.11.1",
|
|
47
|
+
"@rstest/core": "0.1.0",
|
|
48
48
|
"@types/minimist": "^1.2.5",
|
|
49
|
-
"@types/node": "22.
|
|
49
|
+
"@types/node": "22.17.0",
|
|
50
50
|
"deepmerge": "^4.3.1",
|
|
51
51
|
"minimist": "^1.2.8",
|
|
52
52
|
"picocolors": "^1.1.1",
|
|
53
53
|
"rslog": "^1.2.9",
|
|
54
|
-
"simple-git-hooks": "^2.13.
|
|
55
|
-
"typescript": "^5.
|
|
54
|
+
"simple-git-hooks": "^2.13.1",
|
|
55
|
+
"typescript": "^5.9.2"
|
|
56
56
|
},
|
|
57
|
-
"packageManager": "pnpm@10.
|
|
57
|
+
"packageManager": "pnpm@10.14.0",
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public",
|
|
60
|
-
"provenance": true,
|
|
61
60
|
"registry": "https://registry.npmjs.org/"
|
|
62
61
|
}
|
|
63
62
|
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"lint": "eslint ."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@eslint/js": "^9.
|
|
10
|
-
"eslint": "^9.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
11
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
12
12
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
13
|
-
"globals": "^16.
|
|
13
|
+
"globals": "^16.3.0"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import js from '@eslint/js';
|
|
2
|
-
import { globalIgnores } from 'eslint/config';
|
|
2
|
+
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
3
3
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
4
4
|
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
5
5
|
import globals from 'globals';
|
|
6
6
|
import tseslint from 'typescript-eslint';
|
|
7
7
|
|
|
8
|
-
export default
|
|
8
|
+
export default defineConfig([
|
|
9
9
|
globalIgnores(['dist']),
|
|
10
10
|
{
|
|
11
11
|
files: ['**/*.{ts,tsx}'],
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"lint": "eslint ."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@eslint/js": "^9.
|
|
10
|
-
"eslint": "^9.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
11
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
12
12
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
13
|
-
"globals": "^16.
|
|
14
|
-
"typescript-eslint": "^8.
|
|
13
|
+
"globals": "^16.3.0",
|
|
14
|
+
"typescript-eslint": "^8.42.0"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"lint": "eslint ."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@eslint/js": "^9.
|
|
10
|
-
"eslint": "^9.
|
|
11
|
-
"eslint-plugin-svelte": "^3.
|
|
12
|
-
"globals": "^16.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
|
+
"eslint-plugin-svelte": "^3.11.0",
|
|
12
|
+
"globals": "^16.3.0"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -3,7 +3,7 @@ import svelte from 'eslint-plugin-svelte';
|
|
|
3
3
|
import globals from 'globals';
|
|
4
4
|
import ts from 'typescript-eslint';
|
|
5
5
|
|
|
6
|
-
/** @type {import('eslint').Linter.
|
|
6
|
+
/** @type {import('eslint').Linter.Config[]} */
|
|
7
7
|
export default [
|
|
8
8
|
js.configs.recommended,
|
|
9
9
|
...ts.configs.recommended,
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"lint": "eslint ."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@eslint/js": "^9.
|
|
10
|
-
"eslint": "^9.
|
|
11
|
-
"eslint-plugin-svelte": "^3.
|
|
12
|
-
"globals": "^16.
|
|
13
|
-
"typescript-eslint": "^8.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
|
+
"eslint-plugin-svelte": "^3.12.2",
|
|
12
|
+
"globals": "^16.3.0",
|
|
13
|
+
"typescript-eslint": "^8.42.0"
|
|
14
14
|
},
|
|
15
15
|
"type": "module"
|
|
16
16
|
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"lint": "eslint ."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@eslint/js": "^9.
|
|
10
|
-
"eslint": "^9.
|
|
11
|
-
"globals": "^16.
|
|
12
|
-
"typescript-eslint": "^8.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
|
+
"globals": "^16.3.0",
|
|
12
|
+
"typescript-eslint": "^8.42.0"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
"lint": "eslint ."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@eslint/js": "^9.
|
|
10
|
-
"eslint": "^9.
|
|
11
|
-
"eslint-plugin-vue": "^10.
|
|
12
|
-
"globals": "^16.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
|
+
"eslint-plugin-vue": "^10.4.0",
|
|
12
|
+
"globals": "^16.3.0"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
"lint": "eslint ."
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@vue/eslint-config-typescript": "^14.
|
|
10
|
-
"eslint": "^9.
|
|
11
|
-
"eslint-plugin-vue": "^10.
|
|
12
|
-
"globals": "^16.
|
|
13
|
-
"typescript-eslint": "^8.
|
|
9
|
+
"@vue/eslint-config-typescript": "^14.6.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
|
+
"eslint-plugin-vue": "^10.4.0",
|
|
12
|
+
"globals": "^16.3.0",
|
|
13
|
+
"typescript-eslint": "^8.42.0"
|
|
14
14
|
}
|
|
15
15
|
}
|