create-rstack 1.5.6 → 1.6.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.
- package/dist/index.js +1 -0
- package/package.json +8 -8
- package/template-biome/package.json +1 -1
- package/template-eslint/react-js/eslint.config.mjs +1 -1
- package/template-eslint/react-js/package.json +2 -2
- package/template-eslint/react-ts/eslint.config.mjs +3 -3
- package/template-eslint/react-ts/package.json +3 -3
- package/template-eslint/svelte-js/package.json +3 -3
- package/template-eslint/svelte-ts/eslint.config.mjs +1 -1
- package/template-eslint/svelte-ts/package.json +4 -4
- package/template-eslint/vanilla-js/package.json +2 -2
- package/template-eslint/vanilla-ts/package.json +3 -3
- package/template-eslint/vue-js/package.json +2 -2
- package/template-eslint/vue-ts/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1354,6 +1354,7 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
1354
1354
|
if ('TEAMCITY_VERSION' in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
1355
1355
|
if ('truecolor' === env.COLORTERM) return 3;
|
|
1356
1356
|
if ('xterm-kitty' === env.TERM) return 3;
|
|
1357
|
+
if ('xterm-ghostty' === env.TERM) return 3;
|
|
1357
1358
|
if ('TERM_PROGRAM' in env) {
|
|
1358
1359
|
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
|
1359
1360
|
switch(env.TERM_PROGRAM){
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rstack",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Create a new Rstack project",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@biomejs/biome": "2.
|
|
43
|
+
"@biomejs/biome": "2.2.3",
|
|
44
44
|
"@clack/prompts": "^0.11.0",
|
|
45
|
-
"@microsoft/api-extractor": "^7.52.
|
|
46
|
-
"@rslib/core": "0.
|
|
47
|
-
"@rstest/core": "0.
|
|
45
|
+
"@microsoft/api-extractor": "^7.52.11",
|
|
46
|
+
"@rslib/core": "0.13.0",
|
|
47
|
+
"@rstest/core": "0.3.2",
|
|
48
48
|
"@types/minimist": "^1.2.5",
|
|
49
|
-
"@types/node": "22.
|
|
49
|
+
"@types/node": "22.18.1",
|
|
50
50
|
"deepmerge": "^4.3.1",
|
|
51
51
|
"minimist": "^1.2.8",
|
|
52
52
|
"picocolors": "^1.1.1",
|
|
53
|
-
"rslog": "^1.2.
|
|
53
|
+
"rslog": "^1.2.11",
|
|
54
54
|
"simple-git-hooks": "^2.13.1",
|
|
55
55
|
"typescript": "^5.9.2"
|
|
56
56
|
},
|
|
57
|
-
"packageManager": "pnpm@10.
|
|
57
|
+
"packageManager": "pnpm@10.15.1",
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public",
|
|
60
60
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -6,8 +6,8 @@
|
|
|
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
13
|
"globals": "^16.3.0"
|
|
@@ -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}'],
|
|
@@ -13,7 +13,7 @@ export default tseslint.config([
|
|
|
13
13
|
js.configs.recommended,
|
|
14
14
|
tseslint.configs.recommended,
|
|
15
15
|
reactHooks.configs['recommended-latest'],
|
|
16
|
-
reactRefresh.configs.
|
|
16
|
+
reactRefresh.configs.recommended,
|
|
17
17
|
],
|
|
18
18
|
languageOptions: {
|
|
19
19
|
ecmaVersion: 2020,
|
|
@@ -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
13
|
"globals": "^16.3.0",
|
|
14
|
-
"typescript-eslint": "^8.
|
|
14
|
+
"typescript-eslint": "^8.43.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.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
|
+
"eslint-plugin-svelte": "^3.12.2",
|
|
12
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.
|
|
9
|
+
"@eslint/js": "^9.35.0",
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
|
+
"eslint-plugin-svelte": "^3.12.2",
|
|
12
12
|
"globals": "^16.3.0",
|
|
13
|
-
"typescript-eslint": "^8.
|
|
13
|
+
"typescript-eslint": "^8.43.0"
|
|
14
14
|
},
|
|
15
15
|
"type": "module"
|
|
16
16
|
}
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@vue/eslint-config-typescript": "^14.6.0",
|
|
10
|
-
"eslint": "^9.
|
|
10
|
+
"eslint": "^9.35.0",
|
|
11
11
|
"eslint-plugin-vue": "^10.4.0",
|
|
12
12
|
"globals": "^16.3.0",
|
|
13
|
-
"typescript-eslint": "^8.
|
|
13
|
+
"typescript-eslint": "^8.43.0"
|
|
14
14
|
}
|
|
15
15
|
}
|