@ysk-kit/cli 1.4.0 → 1.5.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/doctor.js +3 -3
- package/package.json +4 -4
package/dist/doctor.js
CHANGED
|
@@ -235,13 +235,13 @@ const enginesCheck = (productRoot, nodeVersion, pnpmVersion) => {
|
|
|
235
235
|
if (problems.length > 0) {
|
|
236
236
|
const message = [...problems, ...warnings].join('; ');
|
|
237
237
|
return check('engines', 'error', message, pinned
|
|
238
|
-
? `Install Node
|
|
239
|
-
: 'Install Node
|
|
238
|
+
? `Install Node 26 and run \`corepack enable && corepack prepare pnpm@${pinned} --activate\`.`
|
|
239
|
+
: 'Install Node 26 and pnpm 12 (`corepack enable && corepack prepare pnpm@12 --activate`).');
|
|
240
240
|
}
|
|
241
241
|
if (warnings.length > 0) {
|
|
242
242
|
return check('engines', 'warn', warnings.join('; '), pinned
|
|
243
243
|
? `Run \`corepack prepare pnpm@${pinned} --activate\` so the packageManager pin matches.`
|
|
244
|
-
: 'Add engines.node >=
|
|
244
|
+
: 'Add engines.node >=26.0.0 and engines.pnpm >=12.0.0 to package.json.');
|
|
245
245
|
}
|
|
246
246
|
const nodeMsg = nodeRange ? `Node ${nodeVersion} satisfies ${nodeRange}` : `Node ${nodeVersion}`;
|
|
247
247
|
const pnpmMsg = pnpmVersion === null
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ysk-kit/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ysk-kit": "./dist/index.js",
|
|
7
7
|
"yskk": "./dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@ysk-kit/api-http": "1.
|
|
11
|
-
"@ysk-kit/contracts": "1.
|
|
10
|
+
"@ysk-kit/api-http": "1.5.0",
|
|
11
|
+
"@ysk-kit/contracts": "1.5.0",
|
|
12
12
|
"zod": "^4.6.5"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@types/node": "^
|
|
15
|
+
"@types/node": "^26.6.5",
|
|
16
16
|
"tsx": "^4.23.15",
|
|
17
17
|
"typescript": "^6.0.3",
|
|
18
18
|
"vitest": "^5.0.3"
|