Skip to content

Commit 53fd003

Browse files
authored
chore: fix missing @types/node dependency (#13318)
1 parent 32f6a4f commit 53fd003

File tree

3 files changed

+66
-70
lines changed

3 files changed

+66
-70
lines changed

packages/create-vant-cli-app/package.json

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,45 @@
22
"name": "create-vant-cli-app",
33
"version": "3.0.0",
44
"description": "Create Vant CLI App",
5+
"keywords": [
6+
"vant"
7+
],
8+
"bugs": "https://github.com/vant-ui/vant/issues",
9+
"repository": {
10+
"type": "git",
11+
"url": "https://github.com/vant-ui/vant.git",
12+
"directory": "packages/create-vant-cli-app"
13+
},
14+
"license": "MIT",
15+
"author": "chenjiahan",
516
"main": "lib/index.js",
617
"bin": {
718
"create-vant-cli-app": "./lib/index.js"
819
},
9-
"scripts": {
10-
"dev": "tsc --watch",
11-
"build": "rimraf ./lib && tsc",
12-
"release": "vant-cli release",
13-
"prepare": "pnpm build"
14-
},
1520
"files": [
1621
"lib",
1722
"generators"
1823
],
19-
"keywords": [
20-
"vant"
21-
],
22-
"publishConfig": {
23-
"registry": "https://registry.npmjs.org/"
24+
"scripts": {
25+
"build": "rimraf ./lib && tsc",
26+
"dev": "tsc --watch",
27+
"prepare": "pnpm build",
28+
"release": "vant-cli release"
2429
},
25-
"repository": {
26-
"type": "git",
27-
"url": "https://github.com/vant-ui/vant.git",
28-
"directory": "packages/create-vant-cli-app"
30+
"dependencies": {
31+
"enquirer": "2.4.1",
32+
"fast-glob": "^3.3.3",
33+
"fs-extra": "^11.2.0",
34+
"picocolors": "^1.1.1",
35+
"rslog": "^1.2.3"
2936
},
30-
"bugs": "https://github.com/vant-ui/vant/issues",
31-
"author": "chenjiahan",
32-
"license": "MIT",
3337
"devDependencies": {
3438
"@types/fs-extra": "^11.0.4",
39+
"@types/node": "^22.10.5",
3540
"rimraf": "^6.0.1",
3641
"typescript": "^5.7.3"
3742
},
38-
"dependencies": {
39-
"rslog": "^1.2.3",
40-
"fast-glob": "^3.3.3",
41-
"fs-extra": "^11.2.0",
42-
"enquirer": "2.4.1",
43-
"picocolors": "^1.1.1"
43+
"publishConfig": {
44+
"registry": "https://registry.npmjs.org/"
4445
}
4546
}

packages/vant-cli/package.json

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,34 @@
11
{
22
"name": "@vant/cli",
33
"version": "7.1.0",
4+
"keywords": [
5+
"vant"
6+
],
7+
"bugs": "https://github.com/vant-ui/vant/issues",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/vant-ui/vant.git",
11+
"directory": "packages/vant-cli"
12+
},
13+
"license": "MIT",
14+
"author": "chenjiahan",
415
"type": "module",
516
"main": "lib/index.js",
617
"typings": "lib/index.d.ts",
718
"bin": {
819
"vant-cli": "./bin.js"
920
},
10-
"engines": {
11-
"node": ">=16.0.0"
12-
},
13-
"scripts": {
14-
"dev": "tsc --watch",
15-
"build": "rimraf ./lib && tsc",
16-
"release": "rm -rf ./site/node_modules && vant-cli release",
17-
"prepare": "pnpm build"
18-
},
1921
"files": [
2022
"lib",
2123
"cjs",
2224
"site",
2325
"bin.js"
2426
],
25-
"keywords": [
26-
"vant"
27-
],
28-
"publishConfig": {
29-
"access": "public",
30-
"registry": "https://registry.npmjs.org/"
31-
},
32-
"repository": {
33-
"type": "git",
34-
"url": "https://github.com/vant-ui/vant.git",
35-
"directory": "packages/vant-cli"
36-
},
37-
"bugs": "https://github.com/vant-ui/vant/issues",
38-
"author": "chenjiahan",
39-
"license": "MIT",
40-
"devDependencies": {
41-
"@types/fs-extra": "^11.0.4",
42-
"@types/less": "^3.0.7",
43-
"@types/lodash": "^4.17.14",
44-
"@types/markdown-it": "^14.1.2",
45-
"rimraf": "^6.0.1",
46-
"vue": "^3.5.13"
27+
"scripts": {
28+
"build": "rimraf ./lib && tsc",
29+
"dev": "tsc --watch",
30+
"prepare": "pnpm build",
31+
"release": "rm -rf ./site/node_modules && vant-cli release"
4732
},
4833
"dependencies": {
4934
"@babel/core": "^7.26.0",
@@ -61,10 +46,9 @@
6146
"@vue/babel-plugin-jsx": "^1.2.5",
6247
"autoprefixer": "^10.4.20",
6348
"commander": "^13.0.0",
64-
"rslog": "^1.2.3",
49+
"enquirer": "2.4.1",
6550
"esbuild": "^0.24.2",
6651
"eslint": "^8.57.1",
67-
"enquirer": "2.4.1",
6852
"fast-glob": "^3.3.3",
6953
"fs-extra": "^11.2.0",
7054
"hash-sum": "^2.0.0",
@@ -79,11 +63,28 @@
7963
"postcss": "^8.4.49",
8064
"postcss-load-config": "^6.0.1",
8165
"prettier": "^3.4.2",
66+
"rslog": "^1.2.3",
8267
"rspack-plugin-virtual-module": "^0.1.13",
8368
"terser": "^5.37.0",
8469
"transliteration": "^2.3.5",
8570
"typescript": "^5.7.3",
8671
"vite": "^5.4.11",
8772
"vue-router": "^4.5.0"
73+
},
74+
"devDependencies": {
75+
"@types/fs-extra": "^11.0.4",
76+
"@types/less": "^3.0.7",
77+
"@types/lodash": "^4.17.14",
78+
"@types/markdown-it": "^14.1.2",
79+
"@types/node": "^22.10.5",
80+
"rimraf": "^6.0.1",
81+
"vue": "^3.5.13"
82+
},
83+
"engines": {
84+
"node": ">=16.0.0"
85+
},
86+
"publishConfig": {
87+
"access": "public",
88+
"registry": "https://registry.npmjs.org/"
8889
}
8990
}

pnpm-lock.yaml

Lines changed: 7 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)