create-rstack 1.9.1 → 2.0.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.d.ts +12 -2
- package/dist/index.js +148 -119
- package/package.json +13 -10
- package/template-biome/package.json +2 -2
- package/template-eslint/react-js/package.json +2 -2
- package/template-eslint/react-ts/package.json +3 -3
- package/template-eslint/svelte-js/package.json +2 -2
- package/template-eslint/svelte-ts/package.json +3 -3
- 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 +3 -3
- package/template-prettier/package.json +2 -2
- package/template-rslint/AGENTS.md +5 -0
- package/template-rslint/package.json +11 -0
- package/template-rslint/rslint.config.ts +3 -0
package/dist/index.d.ts
CHANGED
|
@@ -122,7 +122,15 @@ declare type ExtraSkill = {
|
|
|
122
122
|
label: string;
|
|
123
123
|
source: string;
|
|
124
124
|
skill?: string;
|
|
125
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Controls whether the skill is shown in the interactive prompt for the
|
|
127
|
+
* selected template/tools. Explicit `--skill` values and `--help` remain
|
|
128
|
+
* unfiltered so CLI input stays authoritative and help stays discoverable.
|
|
129
|
+
*/
|
|
130
|
+
when?: (context: {
|
|
131
|
+
templateName: string;
|
|
132
|
+
tools: string[];
|
|
133
|
+
}) => boolean;
|
|
126
134
|
order?: 'pre' | 'post';
|
|
127
135
|
};
|
|
128
136
|
|
|
@@ -157,7 +165,9 @@ declare type ExtraTool = {
|
|
|
157
165
|
* If returns false, the tool will not be shown in the selection.
|
|
158
166
|
* @default () => true
|
|
159
167
|
*/
|
|
160
|
-
when?: (
|
|
168
|
+
when?: (context: {
|
|
169
|
+
templateName: string;
|
|
170
|
+
}) => boolean;
|
|
161
171
|
};
|
|
162
172
|
|
|
163
173
|
export declare const groupMultiselect: <Value>(opts: GroupMultiSelectOptions<Value>) => Promise<Value[] | symbol>;
|
package/dist/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import node_tty from "node:tty";
|
|
|
9
9
|
import node_os from "node:os";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { spawn } from "node:child_process";
|
|
12
|
+
import { pipeline } from "node:stream/promises";
|
|
12
13
|
import { PassThrough } from "node:stream";
|
|
13
14
|
import { createRequire as __rspack_createRequire } from "node:module";
|
|
14
15
|
const __rspack_createRequire_require = __rspack_createRequire(import.meta.url);
|
|
@@ -50,7 +51,7 @@ __webpack_require__.m = __webpack_modules__;
|
|
|
50
51
|
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
51
52
|
})();
|
|
52
53
|
__webpack_require__.add({
|
|
53
|
-
"./node_modules/.pnpm/@vercel+detect-agent@1.2.
|
|
54
|
+
"./node_modules/.pnpm/@vercel+detect-agent@1.2.2/node_modules/@vercel/detect-agent/dist/index.js" (module, __unused_rspack_exports, __webpack_require__) {
|
|
54
55
|
var __defProp = Object.defineProperty;
|
|
55
56
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
56
57
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -80,7 +81,7 @@ __webpack_require__.add({
|
|
|
80
81
|
});
|
|
81
82
|
module.exports = __toCommonJS(src_exports);
|
|
82
83
|
var import_promises = __webpack_require__("node:fs/promises");
|
|
83
|
-
var import_node_fs = __webpack_require__("node:fs?
|
|
84
|
+
var import_node_fs = __webpack_require__("node:fs?9592");
|
|
84
85
|
const DEVIN_LOCAL_PATH = "/opt/.devin";
|
|
85
86
|
const CURSOR = "cursor";
|
|
86
87
|
const CURSOR_CLI = "cursor-cli";
|
|
@@ -133,7 +134,7 @@ __webpack_require__.add({
|
|
|
133
134
|
name: CURSOR
|
|
134
135
|
}
|
|
135
136
|
};
|
|
136
|
-
if (process.env.CURSOR_AGENT) return {
|
|
137
|
+
if (process.env.CURSOR_AGENT || "agent-exec" === process.env.CURSOR_EXTENSION_HOST_ROLE) return {
|
|
137
138
|
isAgent: true,
|
|
138
139
|
agent: {
|
|
139
140
|
name: CURSOR_CLI
|
|
@@ -526,7 +527,7 @@ __webpack_require__.add({
|
|
|
526
527
|
beep
|
|
527
528
|
};
|
|
528
529
|
},
|
|
529
|
-
"node:fs?
|
|
530
|
+
"node:fs?9592" (module) {
|
|
530
531
|
module.exports = __rspack_createRequire_require("node:fs");
|
|
531
532
|
},
|
|
532
533
|
"node:fs/promises" (module) {
|
|
@@ -2301,18 +2302,18 @@ let createLogger = (options = {})=>{
|
|
|
2301
2302
|
return logger;
|
|
2302
2303
|
};
|
|
2303
2304
|
let src_logger = createLogger();
|
|
2304
|
-
var
|
|
2305
|
+
var main_d = (e, t)=>()=>(t || e((t = {
|
|
2305
2306
|
exports: {}
|
|
2306
2307
|
}).exports, t), t.exports);
|
|
2307
|
-
var
|
|
2308
|
-
const
|
|
2309
|
-
const
|
|
2308
|
+
var main_f = /* @__PURE__ */ createRequire(import.meta.url);
|
|
2309
|
+
const main_p = /^path$/i;
|
|
2310
|
+
const main_m = {
|
|
2310
2311
|
key: "PATH",
|
|
2311
2312
|
value: ""
|
|
2312
2313
|
};
|
|
2313
|
-
function
|
|
2314
|
+
function main_h(e) {
|
|
2314
2315
|
for(const t in e){
|
|
2315
|
-
if (!Object.prototype.hasOwnProperty.call(e, t) || !
|
|
2316
|
+
if (!Object.prototype.hasOwnProperty.call(e, t) || !main_p.test(t)) continue;
|
|
2316
2317
|
const n = e[t];
|
|
2317
2318
|
if (!n) break;
|
|
2318
2319
|
return {
|
|
@@ -2320,51 +2321,49 @@ function main_p(e) {
|
|
|
2320
2321
|
value: n
|
|
2321
2322
|
};
|
|
2322
2323
|
}
|
|
2323
|
-
return
|
|
2324
|
+
return main_m;
|
|
2324
2325
|
}
|
|
2325
|
-
function
|
|
2326
|
-
const
|
|
2327
|
-
const
|
|
2326
|
+
function main_g(e, t) {
|
|
2327
|
+
const n = t.value.split(delimiter);
|
|
2328
|
+
const a = [];
|
|
2328
2329
|
let s = e;
|
|
2329
2330
|
let c;
|
|
2330
2331
|
do {
|
|
2331
|
-
|
|
2332
|
+
a.push(resolve(s, "node_modules", ".bin"));
|
|
2332
2333
|
c = s;
|
|
2333
2334
|
s = dirname(s);
|
|
2334
2335
|
}while (s !== c);
|
|
2335
|
-
|
|
2336
|
+
a.push(dirname(process.execPath));
|
|
2337
|
+
const l = a.concat(n).join(delimiter);
|
|
2336
2338
|
return {
|
|
2337
2339
|
key: t.key,
|
|
2338
2340
|
value: l
|
|
2339
2341
|
};
|
|
2340
2342
|
}
|
|
2341
|
-
function
|
|
2343
|
+
function main_(e, t) {
|
|
2342
2344
|
const n = {
|
|
2343
2345
|
...process.env,
|
|
2344
2346
|
...t
|
|
2345
2347
|
};
|
|
2346
|
-
const r =
|
|
2348
|
+
const r = main_g(e, main_h(n));
|
|
2347
2349
|
n[r.key] = r.value;
|
|
2348
2350
|
return n;
|
|
2349
2351
|
}
|
|
2350
|
-
const
|
|
2352
|
+
const main_v = (e)=>{
|
|
2351
2353
|
let t = e.length;
|
|
2352
2354
|
const n = new PassThrough();
|
|
2353
2355
|
const r = ()=>{
|
|
2354
|
-
if (0 === --t) n.
|
|
2356
|
+
if (0 === --t) n.end();
|
|
2355
2357
|
};
|
|
2356
|
-
for (const t of e){
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
});
|
|
2360
|
-
t.on("end", r);
|
|
2361
|
-
}
|
|
2358
|
+
for (const t of e)pipeline(t, n, {
|
|
2359
|
+
end: false
|
|
2360
|
+
}).then(r).catch(r);
|
|
2362
2361
|
return n;
|
|
2363
2362
|
};
|
|
2364
|
-
var
|
|
2363
|
+
var main_y = /* @__PURE__ */ main_d((e, t)=>{
|
|
2365
2364
|
t.exports = a;
|
|
2366
2365
|
a.sync = o;
|
|
2367
|
-
var n =
|
|
2366
|
+
var n = main_f("fs");
|
|
2368
2367
|
function r(e, t) {
|
|
2369
2368
|
var n = void 0 !== t.pathExt ? t.pathExt : process.env.PATHEXT;
|
|
2370
2369
|
if (!n) return true;
|
|
@@ -2389,10 +2388,10 @@ var main_ = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2389
2388
|
return i(n.statSync(e), e, t);
|
|
2390
2389
|
}
|
|
2391
2390
|
});
|
|
2392
|
-
var
|
|
2391
|
+
var main_b = /* @__PURE__ */ main_d((e, t)=>{
|
|
2393
2392
|
t.exports = r;
|
|
2394
2393
|
r.sync = i;
|
|
2395
|
-
var n =
|
|
2394
|
+
var n = main_f("fs");
|
|
2396
2395
|
function r(e, t, r) {
|
|
2397
2396
|
n.stat(e, function(e, n) {
|
|
2398
2397
|
r(e, e ? false : a(n, t));
|
|
@@ -2417,10 +2416,10 @@ var main_v = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2417
2416
|
return n & l || n & c && i === o || n & s && r === a || n & u && 0 === a;
|
|
2418
2417
|
}
|
|
2419
2418
|
});
|
|
2420
|
-
var
|
|
2421
|
-
|
|
2419
|
+
var main_x = /* @__PURE__ */ main_d((e, t)=>{
|
|
2420
|
+
main_f("fs");
|
|
2422
2421
|
var n;
|
|
2423
|
-
n = "win32" === process.platform || global.TESTING_WINDOWS ?
|
|
2422
|
+
n = "win32" === process.platform || global.TESTING_WINDOWS ? main_y() : main_b();
|
|
2424
2423
|
t.exports = r;
|
|
2425
2424
|
r.sync = i;
|
|
2426
2425
|
function r(e, t, i) {
|
|
@@ -2456,11 +2455,11 @@ var main_y = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2456
2455
|
}
|
|
2457
2456
|
}
|
|
2458
2457
|
});
|
|
2459
|
-
var
|
|
2458
|
+
var main_S = /* @__PURE__ */ main_d((e, t)=>{
|
|
2460
2459
|
const n = "win32" === process.platform || "cygwin" === process.env.OSTYPE || "msys" === process.env.OSTYPE;
|
|
2461
|
-
const r =
|
|
2460
|
+
const r = main_f("path");
|
|
2462
2461
|
const i = n ? ";" : ":";
|
|
2463
|
-
const a =
|
|
2462
|
+
const a = main_x();
|
|
2464
2463
|
const o = (e)=>Object.assign(/* @__PURE__ */ new Error(`not found: ${e}`), {
|
|
2465
2464
|
code: "ENOENT"
|
|
2466
2465
|
});
|
|
@@ -2541,7 +2540,7 @@ var main_b = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2541
2540
|
t.exports = c;
|
|
2542
2541
|
c.sync = l;
|
|
2543
2542
|
});
|
|
2544
|
-
var
|
|
2543
|
+
var main_C = /* @__PURE__ */ main_d((e, t)=>{
|
|
2545
2544
|
const n = (e = {})=>{
|
|
2546
2545
|
const t = e.env || process.env;
|
|
2547
2546
|
if ("win32" !== (e.platform || process.platform)) return "PATH";
|
|
@@ -2550,10 +2549,10 @@ var main_x = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2550
2549
|
t.exports = n;
|
|
2551
2550
|
t.exports.default = n;
|
|
2552
2551
|
});
|
|
2553
|
-
var
|
|
2554
|
-
const n =
|
|
2555
|
-
const r =
|
|
2556
|
-
const i =
|
|
2552
|
+
var main_w = /* @__PURE__ */ main_d((e, t)=>{
|
|
2553
|
+
const n = main_f("path");
|
|
2554
|
+
const r = main_S();
|
|
2555
|
+
const i = main_C();
|
|
2557
2556
|
function a(e, t) {
|
|
2558
2557
|
const a = e.options.env || process.env;
|
|
2559
2558
|
const o = process.cwd();
|
|
@@ -2581,7 +2580,7 @@ var main_S = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2581
2580
|
}
|
|
2582
2581
|
t.exports = o;
|
|
2583
2582
|
});
|
|
2584
|
-
var
|
|
2583
|
+
var main_T = /* @__PURE__ */ main_d((e, t)=>{
|
|
2585
2584
|
const n = /([()\][%!^"`<>&|;, *?])/g;
|
|
2586
2585
|
function r(e) {
|
|
2587
2586
|
e = e.replace(n, "^$1");
|
|
@@ -2599,11 +2598,11 @@ var main_C = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2599
2598
|
t.exports.command = r;
|
|
2600
2599
|
t.exports.argument = i;
|
|
2601
2600
|
});
|
|
2602
|
-
var
|
|
2601
|
+
var main_E = /* @__PURE__ */ main_d((e, t)=>{
|
|
2603
2602
|
t.exports = /^#!(.*)/;
|
|
2604
2603
|
});
|
|
2605
|
-
var
|
|
2606
|
-
const n =
|
|
2604
|
+
var main_D = /* @__PURE__ */ main_d((e, t)=>{
|
|
2605
|
+
const n = main_E();
|
|
2607
2606
|
t.exports = (e = "")=>{
|
|
2608
2607
|
const t = e.match(n);
|
|
2609
2608
|
if (!t) return null;
|
|
@@ -2613,9 +2612,9 @@ var main_T = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2613
2612
|
return i ? `${a} ${i}` : a;
|
|
2614
2613
|
};
|
|
2615
2614
|
});
|
|
2616
|
-
var
|
|
2617
|
-
const n =
|
|
2618
|
-
const r =
|
|
2615
|
+
var main_O = /* @__PURE__ */ main_d((e, t)=>{
|
|
2616
|
+
const n = main_f("fs");
|
|
2617
|
+
const r = main_D();
|
|
2619
2618
|
function i(e) {
|
|
2620
2619
|
const t = 150;
|
|
2621
2620
|
const i = Buffer.alloc(t);
|
|
@@ -2629,11 +2628,11 @@ var main_E = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2629
2628
|
}
|
|
2630
2629
|
t.exports = i;
|
|
2631
2630
|
});
|
|
2632
|
-
var
|
|
2633
|
-
const n =
|
|
2634
|
-
const r =
|
|
2635
|
-
const i =
|
|
2636
|
-
const a =
|
|
2631
|
+
var main_k = /* @__PURE__ */ main_d((e, t)=>{
|
|
2632
|
+
const n = main_f("path");
|
|
2633
|
+
const r = main_w();
|
|
2634
|
+
const i = main_T();
|
|
2635
|
+
const a = main_O();
|
|
2637
2636
|
const o = "win32" === process.platform;
|
|
2638
2637
|
const s = /\.(?:com|exe)$/i;
|
|
2639
2638
|
const c = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
|
|
@@ -2647,7 +2646,7 @@ var main_D = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2647
2646
|
}
|
|
2648
2647
|
return e.file;
|
|
2649
2648
|
}
|
|
2650
|
-
function
|
|
2649
|
+
function u(e) {
|
|
2651
2650
|
if (!o) return e;
|
|
2652
2651
|
const t = l(e);
|
|
2653
2652
|
const r = !s.test(t);
|
|
@@ -2669,7 +2668,7 @@ var main_D = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2669
2668
|
}
|
|
2670
2669
|
return e;
|
|
2671
2670
|
}
|
|
2672
|
-
function
|
|
2671
|
+
function d(e, t, n) {
|
|
2673
2672
|
if (t && !Array.isArray(t)) {
|
|
2674
2673
|
n = t;
|
|
2675
2674
|
t = null;
|
|
@@ -2686,11 +2685,11 @@ var main_D = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2686
2685
|
args: t
|
|
2687
2686
|
}
|
|
2688
2687
|
};
|
|
2689
|
-
return n.shell ? r :
|
|
2688
|
+
return n.shell ? r : u(r);
|
|
2690
2689
|
}
|
|
2691
|
-
t.exports =
|
|
2690
|
+
t.exports = d;
|
|
2692
2691
|
});
|
|
2693
|
-
var
|
|
2692
|
+
var main_A = /* @__PURE__ */ main_d((e, t)=>{
|
|
2694
2693
|
const n = "win32" === process.platform;
|
|
2695
2694
|
function r(e, t) {
|
|
2696
2695
|
return Object.assign(/* @__PURE__ */ new Error(`${t} ${e.command} ENOENT`), {
|
|
@@ -2727,10 +2726,10 @@ var main_O = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2727
2726
|
notFoundError: r
|
|
2728
2727
|
};
|
|
2729
2728
|
});
|
|
2730
|
-
var
|
|
2731
|
-
const n =
|
|
2732
|
-
const r =
|
|
2733
|
-
const i =
|
|
2729
|
+
var main_j = /* @__PURE__ */ main_d((e, t)=>{
|
|
2730
|
+
const n = main_f("child_process");
|
|
2731
|
+
const r = main_k();
|
|
2732
|
+
const i = main_A();
|
|
2734
2733
|
function a(e, t, a) {
|
|
2735
2734
|
const o = r(e, t, a);
|
|
2736
2735
|
const s = n.spawn(o.command, o.args, o.options);
|
|
@@ -2749,10 +2748,8 @@ var main_k = /* @__PURE__ */ main_l((e, t)=>{
|
|
|
2749
2748
|
t.exports._parse = r;
|
|
2750
2749
|
t.exports._enoent = i;
|
|
2751
2750
|
});
|
|
2752
|
-
var
|
|
2753
|
-
var
|
|
2754
|
-
result;
|
|
2755
|
-
output;
|
|
2751
|
+
var main_M = main_j();
|
|
2752
|
+
var main_N = class extends Error {
|
|
2756
2753
|
get exitCode() {
|
|
2757
2754
|
if (null !== this.result.exitCode) return this.result.exitCode;
|
|
2758
2755
|
}
|
|
@@ -2762,20 +2759,20 @@ var main_j = class extends Error {
|
|
|
2762
2759
|
this.output = t;
|
|
2763
2760
|
}
|
|
2764
2761
|
};
|
|
2765
|
-
const
|
|
2762
|
+
const main_F = {
|
|
2766
2763
|
timeout: void 0,
|
|
2767
2764
|
persist: false
|
|
2768
2765
|
};
|
|
2769
|
-
const
|
|
2766
|
+
const main_L = {
|
|
2770
2767
|
windowsHide: true
|
|
2771
2768
|
};
|
|
2772
|
-
function
|
|
2769
|
+
function main_R(e, t) {
|
|
2773
2770
|
return {
|
|
2774
2771
|
command: external_node_path_normalize(e),
|
|
2775
2772
|
args: t ?? []
|
|
2776
2773
|
};
|
|
2777
2774
|
}
|
|
2778
|
-
function
|
|
2775
|
+
function main_z(e) {
|
|
2779
2776
|
const t = new AbortController();
|
|
2780
2777
|
for (const n of e){
|
|
2781
2778
|
if (n.aborted) {
|
|
@@ -2791,12 +2788,14 @@ function main_F(e) {
|
|
|
2791
2788
|
}
|
|
2792
2789
|
return t.signal;
|
|
2793
2790
|
}
|
|
2794
|
-
async function
|
|
2791
|
+
async function main_B(e) {
|
|
2795
2792
|
let t = "";
|
|
2796
|
-
|
|
2793
|
+
try {
|
|
2794
|
+
for await (const n of e)t += n.toString();
|
|
2795
|
+
} catch {}
|
|
2797
2796
|
return t;
|
|
2798
2797
|
}
|
|
2799
|
-
var
|
|
2798
|
+
var main_V = class {
|
|
2800
2799
|
_process;
|
|
2801
2800
|
_aborted = false;
|
|
2802
2801
|
_options;
|
|
@@ -2816,7 +2815,7 @@ var main_L = class {
|
|
|
2816
2815
|
}
|
|
2817
2816
|
constructor(e, t, n){
|
|
2818
2817
|
this._options = {
|
|
2819
|
-
...
|
|
2818
|
+
...main_F,
|
|
2820
2819
|
...n
|
|
2821
2820
|
};
|
|
2822
2821
|
this._command = e;
|
|
@@ -2835,7 +2834,7 @@ var main_L = class {
|
|
|
2835
2834
|
return this._process?.killed === true;
|
|
2836
2835
|
}
|
|
2837
2836
|
pipe(e, t, n) {
|
|
2838
|
-
return
|
|
2837
|
+
return main_W(e, t, {
|
|
2839
2838
|
...n,
|
|
2840
2839
|
stdin: this
|
|
2841
2840
|
});
|
|
@@ -2846,7 +2845,7 @@ var main_L = class {
|
|
|
2846
2845
|
const t = [];
|
|
2847
2846
|
if (this._streamErr) t.push(this._streamErr);
|
|
2848
2847
|
if (this._streamOut) t.push(this._streamOut);
|
|
2849
|
-
const n =
|
|
2848
|
+
const n = main_v(t);
|
|
2850
2849
|
const r = node_readline.createInterface({
|
|
2851
2850
|
input: n
|
|
2852
2851
|
});
|
|
@@ -2854,26 +2853,27 @@ var main_L = class {
|
|
|
2854
2853
|
await this._processClosed;
|
|
2855
2854
|
e.removeAllListeners();
|
|
2856
2855
|
if (this._thrownError) throw this._thrownError;
|
|
2857
|
-
if (this._options?.throwOnError && 0 !== this.exitCode && void 0 !== this.exitCode) throw new
|
|
2856
|
+
if (this._options?.throwOnError && 0 !== this.exitCode && void 0 !== this.exitCode) throw new main_N(this);
|
|
2858
2857
|
}
|
|
2859
2858
|
async _waitForOutput() {
|
|
2860
2859
|
const e = this._process;
|
|
2861
2860
|
if (!e) throw new Error("No process was started");
|
|
2862
2861
|
const [t, n] = await Promise.all([
|
|
2863
|
-
this._streamOut ?
|
|
2864
|
-
this._streamErr ?
|
|
2862
|
+
this._streamOut ? main_B(this._streamOut) : "",
|
|
2863
|
+
this._streamErr ? main_B(this._streamErr) : ""
|
|
2865
2864
|
]);
|
|
2866
2865
|
await this._processClosed;
|
|
2867
|
-
|
|
2866
|
+
const { stdin: r } = this._options;
|
|
2867
|
+
if (r && "string" != typeof r) await r;
|
|
2868
2868
|
e.removeAllListeners();
|
|
2869
2869
|
if (this._thrownError) throw this._thrownError;
|
|
2870
|
-
const
|
|
2870
|
+
const i = {
|
|
2871
2871
|
stderr: n,
|
|
2872
2872
|
stdout: t,
|
|
2873
2873
|
exitCode: this.exitCode
|
|
2874
2874
|
};
|
|
2875
|
-
if (this._options.throwOnError && 0 !== this.exitCode && void 0 !== this.exitCode) throw new
|
|
2876
|
-
return
|
|
2875
|
+
if (this._options.throwOnError && 0 !== this.exitCode && void 0 !== this.exitCode) throw new main_N(this, i);
|
|
2876
|
+
return i;
|
|
2877
2877
|
}
|
|
2878
2878
|
then(e, t) {
|
|
2879
2879
|
return this._waitForOutput().then(e, t);
|
|
@@ -2884,7 +2884,7 @@ var main_L = class {
|
|
|
2884
2884
|
const e = external_node_process_cwd();
|
|
2885
2885
|
const n = this._options;
|
|
2886
2886
|
const r = {
|
|
2887
|
-
...
|
|
2887
|
+
...main_L,
|
|
2888
2888
|
...n.nodeOptions
|
|
2889
2889
|
};
|
|
2890
2890
|
const i = [];
|
|
@@ -2892,19 +2892,20 @@ var main_L = class {
|
|
|
2892
2892
|
if (void 0 !== n.timeout) i.push(AbortSignal.timeout(n.timeout));
|
|
2893
2893
|
if (void 0 !== n.signal) i.push(n.signal);
|
|
2894
2894
|
if (true === n.persist) r.detached = true;
|
|
2895
|
-
if (i.length > 0) r.signal =
|
|
2896
|
-
r.env =
|
|
2897
|
-
const { command: a, args:
|
|
2898
|
-
const c = (0,
|
|
2895
|
+
if (i.length > 0) r.signal = main_z(i);
|
|
2896
|
+
r.env = main_(e, r.env);
|
|
2897
|
+
const { command: a, args: o } = main_R(this._command, this._args);
|
|
2898
|
+
const c = (0, main_M._parse)(a, o, r);
|
|
2899
2899
|
const l = spawn(c.command, c.args, c.options);
|
|
2900
2900
|
if (l.stderr) this._streamErr = l.stderr;
|
|
2901
2901
|
if (l.stdout) this._streamOut = l.stdout;
|
|
2902
2902
|
this._process = l;
|
|
2903
2903
|
l.once("error", this._onError);
|
|
2904
2904
|
l.once("close", this._onClose);
|
|
2905
|
-
if (
|
|
2906
|
-
const {
|
|
2907
|
-
if (e)
|
|
2905
|
+
if (l.stdin) {
|
|
2906
|
+
const { stdin: e } = n;
|
|
2907
|
+
if ("string" == typeof e) l.stdin.end(e);
|
|
2908
|
+
else e?.process?.stdout?.pipe(l.stdin);
|
|
2908
2909
|
}
|
|
2909
2910
|
}
|
|
2910
2911
|
_resetState() {
|
|
@@ -2925,13 +2926,13 @@ var main_L = class {
|
|
|
2925
2926
|
if (this._resolveClose) this._resolveClose();
|
|
2926
2927
|
};
|
|
2927
2928
|
};
|
|
2928
|
-
const
|
|
2929
|
-
const r = new
|
|
2929
|
+
const main_U = (e, t, n)=>{
|
|
2930
|
+
const r = new main_V(e, t, n);
|
|
2930
2931
|
r.spawn();
|
|
2931
2932
|
return r;
|
|
2932
2933
|
};
|
|
2933
|
-
const
|
|
2934
|
-
const dist_0 = __webpack_require__("./node_modules/.pnpm/@vercel+detect-agent@1.2.
|
|
2934
|
+
const main_W = main_U;
|
|
2935
|
+
const dist_0 = __webpack_require__("./node_modules/.pnpm/@vercel+detect-agent@1.2.2/node_modules/@vercel/detect-agent/dist/index.js");
|
|
2935
2936
|
const cjs = __webpack_require__("./node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js");
|
|
2936
2937
|
var cjs_default = /*#__PURE__*/ __webpack_require__.n(cjs);
|
|
2937
2938
|
const minimist = __webpack_require__("./node_modules/.pnpm/minimist@1.2.8/node_modules/minimist/index.js");
|
|
@@ -2981,8 +2982,9 @@ function parseSkillsOption(skills) {
|
|
|
2981
2982
|
return skillsArr.flatMap((skill)=>skill.split(',')).map((skill)=>skill.trim()).filter(Boolean);
|
|
2982
2983
|
}
|
|
2983
2984
|
const BUILTIN_TOOLS = [
|
|
2984
|
-
'biome',
|
|
2985
2985
|
'eslint',
|
|
2986
|
+
'rslint',
|
|
2987
|
+
'biome',
|
|
2986
2988
|
'prettier'
|
|
2987
2989
|
];
|
|
2988
2990
|
function logHelpMessage(name, templates, extraTools, extraSkills) {
|
|
@@ -3022,7 +3024,9 @@ async function getTools({ tools, dir, template }, extraTools, templateName) {
|
|
|
3022
3024
|
const parsedTools = parseToolsOption(tools);
|
|
3023
3025
|
const filteredExtraTools = extraTools?.filter((tool)=>{
|
|
3024
3026
|
const when = tool.when ?? (()=>true);
|
|
3025
|
-
return templateName ? when(
|
|
3027
|
+
return templateName ? when({
|
|
3028
|
+
templateName
|
|
3029
|
+
}) : true;
|
|
3026
3030
|
});
|
|
3027
3031
|
if (null !== parsedTools) {
|
|
3028
3032
|
const toolsArr = parsedTools.filter((tool)=>BUILTIN_TOOLS.includes(tool) || filteredExtraTools?.some((extraTool)=>extraTool.value === tool));
|
|
@@ -3030,17 +3034,21 @@ async function getTools({ tools, dir, template }, extraTools, templateName) {
|
|
|
3030
3034
|
}
|
|
3031
3035
|
if (dir && template) return [];
|
|
3032
3036
|
const options = [
|
|
3033
|
-
{
|
|
3034
|
-
value: 'biome',
|
|
3035
|
-
label: 'Biome - linting & formatting'
|
|
3036
|
-
},
|
|
3037
3037
|
{
|
|
3038
3038
|
value: 'eslint',
|
|
3039
3039
|
label: 'ESLint - linting'
|
|
3040
3040
|
},
|
|
3041
|
+
{
|
|
3042
|
+
value: 'rslint',
|
|
3043
|
+
label: 'Rslint - linting (experimental)'
|
|
3044
|
+
},
|
|
3041
3045
|
{
|
|
3042
3046
|
value: 'prettier',
|
|
3043
3047
|
label: 'Prettier - formatting'
|
|
3048
|
+
},
|
|
3049
|
+
{
|
|
3050
|
+
value: 'biome',
|
|
3051
|
+
label: 'Biome - linting & formatting'
|
|
3044
3052
|
}
|
|
3045
3053
|
];
|
|
3046
3054
|
if (filteredExtraTools) {
|
|
@@ -3058,10 +3066,13 @@ async function getTools({ tools, dir, template }, extraTools, templateName) {
|
|
|
3058
3066
|
required: false
|
|
3059
3067
|
}));
|
|
3060
3068
|
}
|
|
3061
|
-
function filterExtraSkills(extraSkills, templateName) {
|
|
3069
|
+
function filterExtraSkills(extraSkills, templateName, tools = []) {
|
|
3062
3070
|
return extraSkills?.filter((extraSkill)=>{
|
|
3063
3071
|
const when = extraSkill.when ?? (()=>true);
|
|
3064
|
-
return templateName ? when(
|
|
3072
|
+
return templateName ? when({
|
|
3073
|
+
templateName,
|
|
3074
|
+
tools
|
|
3075
|
+
}) : true;
|
|
3065
3076
|
});
|
|
3066
3077
|
}
|
|
3067
3078
|
function orderExtraSkills(extraSkills) {
|
|
@@ -3072,10 +3083,10 @@ function orderExtraSkills(extraSkills) {
|
|
|
3072
3083
|
...extraSkills.filter((extraSkill)=>'post' === extraSkill.order)
|
|
3073
3084
|
];
|
|
3074
3085
|
}
|
|
3075
|
-
async function getSkills({ skill, dir, template }, extraSkills, templateName, promptMultiselect = yt) {
|
|
3086
|
+
async function getSkills({ skill, dir, template }, extraSkills, templateName, tools = [], promptMultiselect = yt) {
|
|
3076
3087
|
const parsedSkills = parseSkillsOption(skill);
|
|
3077
|
-
const filteredExtraSkills = filterExtraSkills(extraSkills, templateName);
|
|
3078
|
-
if (null !== parsedSkills) return parsedSkills.filter((value)=>
|
|
3088
|
+
const filteredExtraSkills = filterExtraSkills(extraSkills, templateName, tools);
|
|
3089
|
+
if (null !== parsedSkills) return parsedSkills.filter((value)=>extraSkills?.some((extraSkill)=>extraSkill.value === value));
|
|
3079
3090
|
if (dir && template) return [];
|
|
3080
3091
|
if (!filteredExtraSkills?.length) return [];
|
|
3081
3092
|
const orderedExtraSkills = orderExtraSkills(filteredExtraSkills);
|
|
@@ -3118,7 +3129,7 @@ async function runCommand(command, cwd, packageManager) {
|
|
|
3118
3129
|
if (replacement) command = command.replace('npm create ', replacement).replace(' -- --', ' --');
|
|
3119
3130
|
if ('yarn' === packageManager) command = command.replace('@latest', '');
|
|
3120
3131
|
}
|
|
3121
|
-
const result = await
|
|
3132
|
+
const result = await main_U(command, [], {
|
|
3122
3133
|
nodeOptions: {
|
|
3123
3134
|
shell: true,
|
|
3124
3135
|
stdio: 'inherit',
|
|
@@ -3133,25 +3144,31 @@ async function runCommand(command, cwd, packageManager) {
|
|
|
3133
3144
|
throw new Error(`Failed to run command: ${command}${details ? `\n${details}` : ''}`);
|
|
3134
3145
|
}
|
|
3135
3146
|
}
|
|
3136
|
-
async function runSkillCommand(
|
|
3147
|
+
async function runSkillCommand(skills, cwd) {
|
|
3148
|
+
const [firstSkill] = skills;
|
|
3149
|
+
const installArgs = skills.flatMap((skill)=>[
|
|
3150
|
+
'--skill',
|
|
3151
|
+
skill.skill ?? skill.value
|
|
3152
|
+
]);
|
|
3137
3153
|
const args = [
|
|
3138
3154
|
'-y',
|
|
3139
3155
|
'skills',
|
|
3140
3156
|
'add',
|
|
3141
|
-
|
|
3157
|
+
firstSkill.source,
|
|
3142
3158
|
'--agent',
|
|
3143
3159
|
'universal',
|
|
3144
3160
|
'--yes',
|
|
3145
3161
|
'--copy',
|
|
3146
|
-
|
|
3147
|
-
skill.skill ?? skill.value
|
|
3162
|
+
...installArgs
|
|
3148
3163
|
];
|
|
3149
3164
|
const command = `npx ${args.join(' ')}`;
|
|
3150
3165
|
dist_O.info(`Running skill install command: ${color.dim(command)}`);
|
|
3166
|
+
const skillLabel = skills.map((skill)=>skill.value).join(', ');
|
|
3167
|
+
const skillNoun = 1 === skills.length ? 'skill' : 'skills';
|
|
3151
3168
|
const installationTaskLog = Gt({
|
|
3152
|
-
title: `Installing
|
|
3169
|
+
title: `Installing ${skillNoun} ${skillLabel}`
|
|
3153
3170
|
});
|
|
3154
|
-
const proc =
|
|
3171
|
+
const proc = main_U('npx', args, {
|
|
3155
3172
|
nodeOptions: {
|
|
3156
3173
|
cwd,
|
|
3157
3174
|
stdio: 'pipe'
|
|
@@ -3160,11 +3177,12 @@ async function runSkillCommand(skill, cwd) {
|
|
|
3160
3177
|
for await (const line of proc)installationTaskLog.message(line);
|
|
3161
3178
|
const result = await proc;
|
|
3162
3179
|
if (0 !== result.exitCode) {
|
|
3163
|
-
const
|
|
3180
|
+
const quotedSkillLabel = skills.map((skill)=>`"${skill.value}"`).join(', ');
|
|
3181
|
+
const message = `Failed to install ${skillNoun} ${quotedSkillLabel} from "${firstSkill.source}" using command: ${command}`;
|
|
3164
3182
|
installationTaskLog.error(message);
|
|
3165
3183
|
throw new Error(message);
|
|
3166
3184
|
}
|
|
3167
|
-
installationTaskLog.success(`Installed
|
|
3185
|
+
installationTaskLog.success(`Installed ${skillNoun} ${skillLabel}`);
|
|
3168
3186
|
}
|
|
3169
3187
|
async function create({ name, root, templates, skipFiles, getTemplateName, mapESLintTemplate, version, noteInformation, extraTools, extraSkills, argv: processArgv = process.argv }) {
|
|
3170
3188
|
src_logger.greet(`\n◆ Create ${upperFirst(name)} Project`);
|
|
@@ -3212,8 +3230,7 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
|
|
|
3212
3230
|
}
|
|
3213
3231
|
const templateName = await getTemplateName(argv);
|
|
3214
3232
|
const tools = await getTools(argv, extraTools, templateName);
|
|
3215
|
-
const
|
|
3216
|
-
const skills = await getSkills(argv, filteredExtraSkills, templateName, yt);
|
|
3233
|
+
const skills = await getSkills(argv, extraSkills, templateName, tools, yt);
|
|
3217
3234
|
const srcFolder = node_path.join(root, `template-${templateName}`);
|
|
3218
3235
|
const commonFolder = node_path.join(root, 'template-common');
|
|
3219
3236
|
if (!node_fs.existsSync(srcFolder)) throw new Error(`Invalid input: template "${templateName}" not found.`);
|
|
@@ -3232,10 +3249,22 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
|
|
|
3232
3249
|
templateParameters,
|
|
3233
3250
|
skipFiles
|
|
3234
3251
|
});
|
|
3252
|
+
const skillsByValue = new Map((extraSkills ?? []).map((extraSkill)=>[
|
|
3253
|
+
extraSkill.value,
|
|
3254
|
+
extraSkill
|
|
3255
|
+
]));
|
|
3256
|
+
let currentSkillBatch = [];
|
|
3235
3257
|
for (const skillValue of skills){
|
|
3236
|
-
const matchedSkill =
|
|
3237
|
-
if (matchedSkill)
|
|
3258
|
+
const matchedSkill = skillsByValue.get(skillValue);
|
|
3259
|
+
if (matchedSkill) {
|
|
3260
|
+
if (currentSkillBatch.length > 0 && currentSkillBatch[0].source !== matchedSkill.source) {
|
|
3261
|
+
await runSkillCommand(currentSkillBatch, distFolder);
|
|
3262
|
+
currentSkillBatch = [];
|
|
3263
|
+
}
|
|
3264
|
+
currentSkillBatch.push(matchedSkill);
|
|
3265
|
+
}
|
|
3238
3266
|
}
|
|
3267
|
+
if (currentSkillBatch.length > 0) await runSkillCommand(currentSkillBatch, distFolder);
|
|
3239
3268
|
const packageRoot = node_path.resolve(src_dirname, '..');
|
|
3240
3269
|
const agentsMdSearchDirs = [
|
|
3241
3270
|
commonFolder,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-rstack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Create a new Rstack project",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -19,13 +19,15 @@
|
|
|
19
19
|
"files": [
|
|
20
20
|
"template-biome",
|
|
21
21
|
"template-eslint",
|
|
22
|
+
"template-rslint",
|
|
22
23
|
"template-prettier",
|
|
23
24
|
"dist"
|
|
24
25
|
],
|
|
25
26
|
"scripts": {
|
|
26
27
|
"build": "rslib",
|
|
27
28
|
"dev": "rslib --watch",
|
|
28
|
-
"lint": "rslint",
|
|
29
|
+
"lint": "rslint && prettier . --check",
|
|
30
|
+
"lint:fix": "rslint --fix && prettier . --write",
|
|
29
31
|
"prepare": "simple-git-hooks && rslib",
|
|
30
32
|
"test": "rstest",
|
|
31
33
|
"bump": "npx bumpp"
|
|
@@ -35,27 +37,28 @@
|
|
|
35
37
|
},
|
|
36
38
|
"nano-staged": {
|
|
37
39
|
"*.{js,jsx,ts,tsx,mjs,cjs}": [
|
|
38
|
-
"rslint
|
|
40
|
+
"rslint",
|
|
41
|
+
"prettier --write"
|
|
39
42
|
]
|
|
40
43
|
},
|
|
41
44
|
"devDependencies": {
|
|
42
45
|
"@clack/prompts": "^1.2.0",
|
|
43
|
-
"@microsoft/api-extractor": "^7.58.
|
|
44
|
-
"@rslib/core": "0.
|
|
45
|
-
"@rslint/core": "^0.
|
|
46
|
-
"@rstest/core": "0.9.
|
|
46
|
+
"@microsoft/api-extractor": "^7.58.2",
|
|
47
|
+
"@rslib/core": "0.21.0",
|
|
48
|
+
"@rslint/core": "^0.4.2",
|
|
49
|
+
"@rstest/core": "0.9.7",
|
|
47
50
|
"@types/fs-extra": "^11.0.4",
|
|
48
51
|
"@types/minimist": "^1.2.5",
|
|
49
52
|
"@types/node": "24.12.2",
|
|
50
|
-
"@vercel/detect-agent": "^1.2.
|
|
53
|
+
"@vercel/detect-agent": "^1.2.2",
|
|
51
54
|
"deepmerge": "^4.3.1",
|
|
52
55
|
"fs-extra": "^11.3.4",
|
|
53
56
|
"minimist": "^1.2.8",
|
|
54
|
-
"prettier": "^3.8.
|
|
57
|
+
"prettier": "^3.8.2",
|
|
55
58
|
"rimraf": "^6.1.3",
|
|
56
59
|
"rslog": "^2.1.1",
|
|
57
60
|
"simple-git-hooks": "^2.13.1",
|
|
58
|
-
"tinyexec": "^1.
|
|
61
|
+
"tinyexec": "^1.1.1",
|
|
59
62
|
"typescript": "^6.0.2"
|
|
60
63
|
},
|
|
61
64
|
"engines": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-react-js",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
11
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
12
12
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
13
|
-
"globals": "^17.
|
|
13
|
+
"globals": "^17.5.0"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-react-ts",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
11
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
12
12
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
13
|
-
"globals": "^17.
|
|
14
|
-
"typescript-eslint": "^8.58.
|
|
13
|
+
"globals": "^17.5.0",
|
|
14
|
+
"typescript-eslint": "^8.58.1"
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-svelte-js",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"@eslint/js": "^9.39.4",
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
11
|
"eslint-plugin-svelte": "^3.17.0",
|
|
12
|
-
"globals": "^17.
|
|
12
|
+
"globals": "^17.5.0"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-svelte-ts",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"@eslint/js": "^9.39.4",
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
11
|
"eslint-plugin-svelte": "^3.17.0",
|
|
12
|
-
"globals": "^17.
|
|
13
|
-
"typescript-eslint": "^8.58.
|
|
12
|
+
"globals": "^17.5.0",
|
|
13
|
+
"typescript-eslint": "^8.58.1"
|
|
14
14
|
},
|
|
15
15
|
"type": "module"
|
|
16
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-common-js",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@eslint/js": "^9.39.4",
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
|
-
"globals": "^17.
|
|
11
|
+
"globals": "^17.5.0"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-common-ts",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@eslint/js": "^9.39.4",
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
|
-
"globals": "^17.
|
|
12
|
-
"typescript-eslint": "^8.58.
|
|
11
|
+
"globals": "^17.5.0",
|
|
12
|
+
"typescript-eslint": "^8.58.1"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-vue-js",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
"@eslint/js": "^9.39.4",
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
11
|
"eslint-plugin-vue": "^10.8.0",
|
|
12
|
-
"globals": "^17.
|
|
12
|
+
"globals": "^17.5.0"
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "eslint-vue-ts",
|
|
3
3
|
"private": true,
|
|
4
4
|
"version": "1.0.0",
|
|
5
5
|
"scripts": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@vue/eslint-config-typescript": "^14.7.0",
|
|
10
10
|
"eslint": "^9.39.4",
|
|
11
11
|
"eslint-plugin-vue": "^10.8.0",
|
|
12
|
-
"globals": "^17.
|
|
13
|
-
"typescript-eslint": "^8.58.
|
|
12
|
+
"globals": "^17.5.0",
|
|
13
|
+
"typescript-eslint": "^8.58.1"
|
|
14
14
|
}
|
|
15
15
|
}
|