Skip to content

Commit

Permalink
删除无用包,使用pnpm打包运行
Browse files Browse the repository at this point in the history
  • Loading branch information
more-strive committed Sep 8, 2024
1 parent fcfc68e commit f9a3201
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 161 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:

- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built.
run: |
npm install
npm run build
npm install pnpm -g
pnpm install
pnpm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@
# 🚀 项目运行
```
node >= 16+
npm install
npm run dev
npm run build
pnpm install
pnpm run dev
pnpm run build
```

# 📖 项目结构
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"number-precision": "^1.6.0",
"opentype.js": "^1.3.4",
"pako": "^2.1.0",
"pdf-lib": "^1.17.1",
"perfect-freehand": "^1.2.0",
"pinia": "^2.1.7",
"pixi-filters": "^5.2.1",
Expand Down
32 changes: 0 additions & 32 deletions pnpm-lock.yaml

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

6 changes: 6 additions & 0 deletions src/types/components.d.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ declare module 'vue' {
Contextmenu: typeof import('./../components/Contextmenu/index.vue')['default']
EditableInput: typeof import('./../components/ColorPicker/EditableInput.vue')['default']
ElAffix: typeof import('element-plus/es')['ElAffix']
ElAside: typeof import('element-plus/es')['ElAside']
ElButton: typeof import('element-plus/es')['ElButton']
ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup']
ElCarousel: typeof import('element-plus/es')['ElCarousel']
Expand All @@ -23,6 +24,7 @@ declare module 'vue' {
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
ElCol: typeof import('element-plus/es')['ElCol']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElContainer: typeof import('element-plus/es')['ElContainer']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElDrawer: typeof import('element-plus/es')['ElDrawer']
Expand All @@ -31,10 +33,14 @@ declare module 'vue' {
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElHeader: typeof import('element-plus/es')['ElHeader']
ElIcon: typeof import('element-plus/es')['ElIcon']
ElImage: typeof import('element-plus/es')['ElImage']
ElInput: typeof import('element-plus/es')['ElInput']
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
ElMain: typeof import('element-plus/es')['ElMain']
ElMenu: typeof import('element-plus/es')['ElMenu']
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
ElOption: typeof import('element-plus/es')['ElOption']
ElOptionGroup: typeof import('element-plus/es')['ElOptionGroup']
ElPopover: typeof import('element-plus/es')['ElPopover']
Expand Down
123 changes: 0 additions & 123 deletions src/worker/pdf.ts

This file was deleted.

0 comments on commit f9a3201

Please sign in to comment.