Skip to content

Commit

Permalink
chore: fix missing @types/node dep
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Jan 18, 2025
1 parent 32f6a4f commit 21ae02f
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 70 deletions.
49 changes: 25 additions & 24 deletions packages/create-vant-cli-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,45 @@
"name": "create-vant-cli-app",
"version": "3.0.0",
"description": "Create Vant CLI App",
"keywords": [
"vant"
],
"bugs": "https://github.com/vant-ui/vant/issues",
"repository": {
"type": "git",
"url": "https://github.com/vant-ui/vant.git",
"directory": "packages/create-vant-cli-app"
},
"license": "MIT",
"author": "chenjiahan",
"main": "lib/index.js",
"bin": {
"create-vant-cli-app": "./lib/index.js"
},
"scripts": {
"dev": "tsc --watch",
"build": "rimraf ./lib && tsc",
"release": "vant-cli release",
"prepare": "pnpm build"
},
"files": [
"lib",
"generators"
],
"keywords": [
"vant"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
"scripts": {
"build": "rimraf ./lib && tsc",
"dev": "tsc --watch",
"prepare": "pnpm build",
"release": "vant-cli release"
},
"repository": {
"type": "git",
"url": "https://github.com/vant-ui/vant.git",
"directory": "packages/create-vant-cli-app"
"dependencies": {
"enquirer": "2.4.1",
"fast-glob": "^3.3.3",
"fs-extra": "^11.2.0",
"picocolors": "^1.1.1",
"rslog": "^1.2.3"
},
"bugs": "https://github.com/vant-ui/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.10.5",
"rimraf": "^6.0.1",
"typescript": "^5.7.3"
},
"dependencies": {
"rslog": "^1.2.3",
"fast-glob": "^3.3.3",
"fs-extra": "^11.2.0",
"enquirer": "2.4.1",
"picocolors": "^1.1.1"
"publishConfig": {
"registry": "https://registry.npmjs.org/"
}
}
67 changes: 34 additions & 33 deletions packages/vant-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,34 @@
{
"name": "@vant/cli",
"version": "7.1.0",
"keywords": [
"vant"
],
"bugs": "https://github.com/vant-ui/vant/issues",
"repository": {
"type": "git",
"url": "https://github.com/vant-ui/vant.git",
"directory": "packages/vant-cli"
},
"license": "MIT",
"author": "chenjiahan",
"type": "module",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"bin": {
"vant-cli": "./bin.js"
},
"engines": {
"node": ">=16.0.0"
},
"scripts": {
"dev": "tsc --watch",
"build": "rimraf ./lib && tsc",
"release": "rm -rf ./site/node_modules && vant-cli release",
"prepare": "pnpm build"
},
"files": [
"lib",
"cjs",
"site",
"bin.js"
],
"keywords": [
"vant"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/vant-ui/vant.git",
"directory": "packages/vant-cli"
},
"bugs": "https://github.com/vant-ui/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/less": "^3.0.7",
"@types/lodash": "^4.17.14",
"@types/markdown-it": "^14.1.2",
"rimraf": "^6.0.1",
"vue": "^3.5.13"
"scripts": {
"build": "rimraf ./lib && tsc",
"dev": "tsc --watch",
"prepare": "pnpm build",
"release": "rm -rf ./site/node_modules && vant-cli release"
},
"dependencies": {
"@babel/core": "^7.26.0",
Expand All @@ -61,10 +46,9 @@
"@vue/babel-plugin-jsx": "^1.2.5",
"autoprefixer": "^10.4.20",
"commander": "^13.0.0",
"rslog": "^1.2.3",
"enquirer": "2.4.1",
"esbuild": "^0.24.2",
"eslint": "^8.57.1",
"enquirer": "2.4.1",
"fast-glob": "^3.3.3",
"fs-extra": "^11.2.0",
"hash-sum": "^2.0.0",
Expand All @@ -79,11 +63,28 @@
"postcss": "^8.4.49",
"postcss-load-config": "^6.0.1",
"prettier": "^3.4.2",
"rslog": "^1.2.3",
"rspack-plugin-virtual-module": "^0.1.13",
"terser": "^5.37.0",
"transliteration": "^2.3.5",
"typescript": "^5.7.3",
"vite": "^5.4.11",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/less": "^3.0.7",
"@types/lodash": "^4.17.14",
"@types/markdown-it": "^14.1.2",
"@types/node": "^22.10.5",
"rimraf": "^6.0.1",
"vue": "^3.5.13"
},
"engines": {
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
20 changes: 7 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 21ae02f

Please sign in to comment.