Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 优化authorInfo信息展示配置 #370

Merged
merged 1 commit into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/egg-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"cov": "egg-bin cov",
"ci": "npm run lint && npm run cov"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/egg-mysql": "workspace:*",
"egg": "3.17.5",
Expand Down
8 changes: 7 additions & 1 deletion apps/nest-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"name": "nest-demo",
"version": "0.0.1-alpha.0",
"private": true
"private": true,
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
}
}
6 changes: 6 additions & 0 deletions apps/vitepress-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
"build": "npx vitepress build --minify && pnpm build:proxy",
"build:proxy": "NEED_PROXY=true vitepress build --minify"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"devDependencies": {
"@142vip/utils": "workspace:*",
"@142vip/vitepress": "workspace:*"
Expand Down
6 changes: 6 additions & 0 deletions packages/axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"files": [
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
6 changes: 6 additions & 0 deletions packages/changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
"*.mjs",
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"engines": {
"node": ">=16.0.0"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-axios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
"eggPlugin",
"egg"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"files": [
"agent.js",
"app.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-grpc-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"core",
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/egg": "workspace:*",
"@142vip/grpc": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-grpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"core",
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/egg": "workspace:*",
"@142vip/grpc": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"core",
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/egg": "workspace:*",
"@142vip/utils": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"core",
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/egg": "workspace:*",
"@142vip/utils": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-sequelize/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@
"eggPlugin",
"egg"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"files": [
"agent.js",
"app.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-swagger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"core",
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/egg": "workspace:*",
"@142vip/utils": "workspace:*"
Expand Down
6 changes: 6 additions & 0 deletions packages/egg-validate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"core",
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/egg": "workspace:*",
"@142vip/utils": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/egg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"@142vip/egg",
"egg"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"sideEffects": false,
"exports": {
".": {
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
"build": "unbuild",
"typecheck": "tsc --noEmit"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@antfu/eslint-config": "2.27.3",
"eslint": "8.55.0"
Expand Down
6 changes: 6 additions & 0 deletions packages/fairy-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
"build": "unbuild",
"typecheck": "tsc --noEmit"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/release-version": "workspace:*",
"@142vip/utils": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/grpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"files": [
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
6 changes: 6 additions & 0 deletions packages/nest-redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@
"require": "./dist/index.cjs"
}
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/nest-typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
"files": [
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"scripts": {
"build-test": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
6 changes: 6 additions & 0 deletions packages/nest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"files": [
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
6 changes: 6 additions & 0 deletions packages/oauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
"files": [
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"scripts": {
"build": "unbuild",
"typecheck": "tsc --noEmit"
Expand Down
6 changes: 6 additions & 0 deletions packages/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
"build": "unbuild",
"typecheck": "tsc --noEmit"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"ioredis": "5.4.1"
},
Expand Down
6 changes: 6 additions & 0 deletions packages/release-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
"build": "unbuild",
"typecheck": "tsc --noEmit"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"@142vip/changelog": "workspace:*",
"@142vip/utils": "workspace:*",
Expand Down
8 changes: 7 additions & 1 deletion packages/typeorm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@
"files": [
"dist"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"scripts": {
"build-test": "unbuild",
"build": "unbuild",
"typecheck": "tsc --noEmit"
},
"dependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
"build": "unbuild",
"typecheck": "tsc --noEmit"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"dependencies": {
"ansi-colors": "4.1.3",
"commander": "12.1.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/vitepress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
"@142vip/vuepress",
"vuepress"
],
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"sideEffects": false,
"exports": {
".": {
Expand Down
6 changes: 6 additions & 0 deletions packages/vuepress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@
"build": "unbuild",
"typecheck": "tsc --noEmit"
},
"authorInfo": {
"name": "微信公众号:储凡",
"email": "[email protected]",
"url": "https://github.com/142vip",
"homePage": "https://142vip.cn"
},
"peerDependencies": {
"@vue/repl": "4.5.0",
"@vuepress/bundler-vite": "2.0.0-rc.19",
Expand Down
6 changes: 3 additions & 3 deletions scripts/bundle
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
import {
OPEN_SOURCE_ADDRESS,
OPEN_SOURCE_AUTHOR,
VipGit,
VipDocker,
VipGit,
VipNodeJS,
VipPackageJSON
VipPackageJSON,
} from '@142vip/utils'

(async () => {
try {
// 获取package.json文件
const {name,version,description,authorInfo} =VipPackageJSON.getPackageJSON()
const { name, version, description } = VipPackageJSON.getPackageJSON()

// 镜像地址
const imageName = `${OPEN_SOURCE_ADDRESS.DOCKER_ALIYUNCS_VIP}/docs:${name.split('/')[1]}-${version}`
Expand Down
Loading