Skip to content

Commit

Permalink
chore(projects): remove useless packages, update lint-staged config, …
Browse files Browse the repository at this point in the history
…add githublogen
  • Loading branch information
honghuangdc committed May 30, 2023
1 parent cebbef6 commit 5aaa318
Show file tree
Hide file tree
Showing 5 changed files with 259 additions and 963 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
name: Release
on:
push:
tags:
- "v*.**"

permissions:
contents: write

on:
push:
tags:
- "v*"

jobs:
release:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x

- name: Create github releases
run: npx changelogithub
- run: npx githublogen
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 0 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
registry=https://registry.npmmirror.com/
shamefully-hoist=true
strict-peer-dependencies=false
auto-install-peers=true
21 changes: 0 additions & 21 deletions changelogithub.config.json

This file was deleted.

113 changes: 56 additions & 57 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,81 +44,79 @@
"build:vercel": "cross-env VITE_HASH_ROUTE=Y VITE_VERCEL=Y vite build",
"preview": "vite preview",
"typecheck": "vue-tsc --noEmit --skipLibCheck",
"lint": "eslint . --fix --ext .js,.jsx,.mjs,.json,.ts,.tsx,.vue",
"lint": "eslint . --fix",
"format": "soy prettier-format",
"commit": "soy git-commit",
"cleanup": "soy cleanup",
"update-pkg": "soy update-pkg",
"tsx": "tsx",
"logo": "tsx ./scripts/logo.ts",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "standard-version",
"update-version": "bumpp --commit --push --tag",
"prepare": "soy init-git-hooks"
},
"dependencies": {
"@antv/data-set": "^0.11.8",
"@antv/g2": "^4.2.10",
"@better-scroll/core": "^2.5.1",
"@soybeanjs/vue-materials": "^0.1.15",
"@vueuse/core": "^10.1.2",
"@antv/data-set": "0.11.8",
"@antv/g2": "4.2.10",
"@better-scroll/core": "2.5.1",
"@soybeanjs/vue-materials": "0.1.15",
"@vueuse/core": "10.1.2",
"axios": "1.4.0",
"clipboard": "^2.0.11",
"colord": "^2.9.3",
"crypto-js": "^4.1.1",
"dayjs": "^1.11.7",
"echarts": "^5.4.2",
"form-data": "^4.0.0",
"lodash-es": "^4.17.21",
"clipboard": "2.0.11",
"colord": "2.9.3",
"crypto-js": "4.1.1",
"dayjs": "1.11.7",
"echarts": "5.4.2",
"form-data": "4.0.0",
"lodash-es": "4.17.21",
"naive-ui": "2.34.4",
"pinia": "^2.1.3",
"print-js": "^1.6.0",
"qs": "^6.11.2",
"swiper": "^9.3.2",
"ua-parser-js": "^1.0.35",
"vditor": "^3.9.3",
"pinia": "2.1.3",
"print-js": "1.6.0",
"qs": "6.11.2",
"swiper": "9.3.2",
"ua-parser-js": "1.0.35",
"vditor": "3.9.3",
"vue": "3.3.4",
"vue-i18n": "^9.2.2",
"vue-router": "^4.2.2",
"vuedraggable": "^4.1.0",
"wangeditor": "^4.7.15",
"xgplayer": "^3.0.2"
"vue-i18n": "9.2.2",
"vue-router": "4.2.2",
"vuedraggable": "4.1.0",
"wangeditor": "4.7.15",
"xgplayer": "3.0.2"
},
"devDependencies": {
"@amap/amap-jsapi-types": "^0.0.13",
"@iconify/json": "^2.2.71",
"@iconify/vue": "^4.1.1",
"@soybeanjs/cli": "^0.3.0",
"@soybeanjs/vite-plugin-vue-page-route": "^0.0.5",
"@types/bmapgl": "^0.0.7",
"@types/crypto-js": "^4.1.1",
"@amap/amap-jsapi-types": "0.0.13",
"@iconify/json": "2.2.71",
"@iconify/vue": "4.1.1",
"@soybeanjs/cli": "0.3.2",
"@soybeanjs/vite-plugin-vue-page-route": "0.0.5",
"@types/bmapgl": "0.0.7",
"@types/crypto-js": "4.1.1",
"@types/node": "20.2.5",
"@types/qs": "^6.9.7",
"@types/ua-parser-js": "^0.7.36",
"@unocss/preset-uno": "^0.52.5",
"@unocss/transformer-directives": "^0.52.5",
"@unocss/vite": "^0.52.5",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"conventional-changelog": "^3.1.25",
"cross-env": "^7.0.3",
"eslint": "^8.41.0",
"eslint-config-soybeanjs": "^0.4.7",
"@types/qs": "6.9.7",
"@types/ua-parser-js": "0.7.36",
"@unocss/preset-uno": "0.52.5",
"@unocss/transformer-directives": "0.52.5",
"@unocss/vite": "0.52.5",
"@vitejs/plugin-vue": "4.2.3",
"@vitejs/plugin-vue-jsx": "3.0.1",
"bumpp": "9.1.0",
"cross-env": "7.0.3",
"eslint": "8.41.0",
"eslint-config-soybeanjs": "0.4.7",
"lint-staged": "13.2.2",
"mockjs": "^1.1.0",
"rollup-plugin-visualizer": "^5.9.0",
"sass": "^1.62.1",
"simple-git-hooks": "^2.8.1",
"standard-version": "^9.5.0",
"tsx": "^3.12.7",
"mockjs": "1.1.0",
"rollup-plugin-visualizer": "5.9.0",
"sass": "1.62.1",
"simple-git-hooks": "2.8.1",
"tsx": "3.12.7",
"typescript": "5.0.4",
"unplugin-icons": "^0.16.1",
"unplugin-icons": "0.16.1",
"unplugin-vue-components": "0.25.0",
"vite": "^4.3.9",
"vite-plugin-compression": "^0.5.1",
"vite": "4.3.9",
"vite-plugin-compression": "0.5.1",
"vite-plugin-mock": "2.9.8",
"vite-plugin-progress": "^0.0.7",
"vite-plugin-pwa": "^0.15.2",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-progress": "0.0.7",
"vite-plugin-pwa": "0.15.2",
"vite-plugin-svg-icons": "2.0.1",
"vue-tsc": "1.6.5"
},
"pnpm": {
Expand All @@ -131,6 +129,7 @@
"pre-commit": "pnpm typecheck && pnpm lint-staged"
},
"lint-staged": {
"*.{js,jsx,mjs,json,ts,tsx,vue}": "eslint . --fix"
"*.{js,mjs,jsx,ts,mts,tsx,json,vue,svelte,astro}": "eslint . --fix",
"*.!{js,mjs,jsx,ts,mts,tsx,json,vue,svelte,astro}": "format"
}
}
Loading

0 comments on commit 5aaa318

Please sign in to comment.