main代码合并到electron-main (#1834)
* upgrade electron version:11->18. upgrade electron version:11->18. Packaging failed because the original electronic version was too old. 将electron 11 改成18.因为11太老导致打包错误。 * main->electron-main合并代码 * main->electron-main合并代码 * main->electron-main合并代码
Showing
.husky/lintstagedrc.js
已删除
100644 → 0
.yarnclean
已删除
100644 → 0
build/vite/optimizer.ts
已删除
100644 → 0
build/vite/plugin/hmr.ts
已删除
100644 → 0
jest.config.mjs
已删除
100644 → 0
mock/demo/api-cascader.ts
0 → 100644
{ | ||
"name": "vben-admin", | ||
"version": "2.7.2", | ||
"version": "2.8.0", | ||
"author": { | ||
"name": "vben", | ||
"email": "anncwb@126.com", | ||
... | ... | @@ -48,12 +48,12 @@ |
} | ||
}, | ||
"scripts": { | ||
"bootstrap": "yarn install", | ||
"dev": "vite", | ||
"bootstrap": "pnpm install", | ||
"serve": "npm run dev", | ||
"dev": "vite", | ||
"build": "cross-env NODE_ENV=production vite build && esno ./build/script/postBuild.ts", | ||
"build:test": "cross-env vite build --mode test && esno ./build/script/postBuild.ts", | ||
"build:no-cache": "yarn clean:cache && npm run build", | ||
"build:no-cache": "pnpm clean:cache && npm run build", | ||
"dev:app": "esno ./build/script/startElectron.ts --env=development --watch", | ||
"build:app": "npm run build && esno ./build/script/startElectron.ts --env=production && electron-builder ", | ||
"report": "cross-env REPORT=true npm run build", | ||
... | ... | @@ -66,48 +66,53 @@ |
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", | ||
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", | ||
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", | ||
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js", | ||
"lint:pretty": "pretty-quick --staged", | ||
"lint:lint-staged": "lint-staged", | ||
"test:unit": "jest", | ||
"test:unit-coverage": "jest --coverage", | ||
"test:gzip": "http-server dist --cors --gzip -c-1", | ||
"test:br": "http-server dist --cors --brotli -c-1", | ||
"reinstall": "rimraf yarn.lock && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", | ||
"test:gzip": "npx http-server dist --cors --gzip -c-1", | ||
"test:br": "npx http-server dist --cors --brotli -c-1", | ||
"reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", | ||
"prepare": "husky install", | ||
"gen:icon": "esno ./build/generate/icon/index.ts" | ||
}, | ||
"dependencies": { | ||
"@iconify/iconify": "^2.0.4", | ||
"@ant-design/colors": "^6.0.0", | ||
"@ant-design/icons-vue": "^6.1.0", | ||
"@logicflow/core": "^0.6.16", | ||
"@logicflow/extension": "^0.6.16", | ||
"@iconify/iconify": "^2.2.1", | ||
"@vue/runtime-core": "^3.2.31", | ||
"@vue/shared": "^3.2.31", | ||
"@vueuse/core": "^6.3.3", | ||
"@zxcvbn-ts/core": "^1.0.0-beta.0", | ||
"ant-design-vue": "2.2.7", | ||
"@vueuse/shared": "^6.3.3", | ||
"@zxcvbn-ts/core": "^2.0.1", | ||
"ant-design-vue": "3.1.1", | ||
"axios": "^0.21.4", | ||
"codemirror": "^5.62.3", | ||
"cropperjs": "^1.5.12", | ||
"electron-is-dev": "^1.2.0", | ||
"crypto-js": "^4.1.1", | ||
"dayjs": "^1.11.0", | ||
"echarts": "^5.2.0", | ||
"intro.js": "^4.2.2", | ||
"lodash-es": "^4.17.21", | ||
"mockjs": "^1.1.0", | ||
"nprogress": "^0.2.0", | ||
"path-to-regexp": "^6.2.0", | ||
"pinia": "2.0.0-rc.9", | ||
"pinia": "2.0.12", | ||
"print-js": "^1.6.0", | ||
"qrcode": "^1.4.4", | ||
"qs": "^6.10.3", | ||
"resize-observer-polyfill": "^1.5.1", | ||
"showdown": "^1.9.1", | ||
"sortablejs": "^1.14.0", | ||
"tinymce": "^5.9.2", | ||
"vditor": "^3.8.6", | ||
"vue": "3.2.11", | ||
"vue-i18n": "9.1.7", | ||
"vue-json-pretty": "^2.0.4", | ||
"vue-router": "^4.0.11", | ||
"vue-types": "^4.1.0", | ||
"xlsx": "^0.17.1" | ||
"vditor": "^3.8.13", | ||
"vue": "^3.2.31", | ||
"vue-i18n": "^9.1.9", | ||
"vue-json-pretty": "^2.0.6", | ||
"vue-router": "^4.0.14", | ||
"vue-types": "^4.1.1", | ||
"xlsx": "^0.18.5" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^13.1.0", | ||
... | ... | @@ -144,7 +149,7 @@ |
"conventional-changelog-cli": "^2.1.1", | ||
"cross-env": "^7.0.3", | ||
"dotenv": "^10.0.0", | ||
"electron": "^11.0.0", | ||
"electron": "^18.0.0", | ||
"electron-builder": "^22.8.0", | ||
"electron-connect": "^0.6.3", | ||
"electron-contextmenu-middleware": "^1.0.3", | ||
... | ... | @@ -163,9 +168,12 @@ |
"is-ci": "^3.0.0", | ||
"jest": "^27.2.0", | ||
"less": "^4.1.1", | ||
"lint-staged": "^11.1.2", | ||
"lint-staged": "12.3.7", | ||
"npm-run-all": "^4.1.5", | ||
"picocolors": "^1.0.0", | ||
"postcss": "^8.3.6", | ||
"postcss-html": "^1.3.0", | ||
"postcss-less": "^6.0.0", | ||
"prettier": "^2.4.0", | ||
"pretty-quick": "^3.1.1", | ||
"rimraf": "^3.0.2", | ||
... | ... | @@ -178,15 +186,16 @@ |
"ts-jest": "^27.0.5", | ||
"ts-node": "^10.2.1", | ||
"typescript": "4.4.3", | ||
"vite": "2.5.7", | ||
"vite": "^2.9.1", | ||
"vite-plugin-compression": "^0.3.5", | ||
"vite-plugin-html": "^2.1.0", | ||
"vite-plugin-html": "^3.2.0", | ||
"vite-plugin-imagemin": "^0.4.5", | ||
"vite-plugin-mkcert": "^1.6.0", | ||
"vite-plugin-mock": "^2.9.6", | ||
"vite-plugin-purge-icons": "^0.7.0", | ||
"vite-plugin-pwa": "^0.11.2", | ||
"vite-plugin-style-import": "^1.2.1", | ||
"vite-plugin-svg-icons": "^1.0.4", | ||
"vite-plugin-style-import": "^2.0.0", | ||
"vite-plugin-svg-icons": "^2.0.1", | ||
"vite-plugin-theme": "^0.8.1", | ||
"wait-on": "^5.2.1", | ||
"vite-plugin-vue-setup-extend": "^0.1.0", | ||
... | ... | @@ -195,9 +204,9 @@ |
"vue-tsc": "^0.3.0" | ||
}, | ||
"resolutions": { | ||
"//": "Used to install imagemin dependencies, because imagemin may not be installed in China. If it is abroad, you can delete it", | ||
"bin-wrapper": "npm:bin-wrapper-china", | ||
"rollup": "^2.56.3" | ||
"rollup": "^2.56.3", | ||
"gifsicle": "5.2.0" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... |
src/api/demo/cascader.ts
0 → 100644
src/api/demo/model/areaModel.ts
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
src/utils/bem.ts
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
src/utils/props.ts
0 → 100644
此差异已折叠。
src/utils/types.ts
0 → 100644
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
tests/__mocks__/fileMock.ts
已删除
100644 → 0
此差异已折叠。
tests/__mocks__/styleMock.ts
已删除
100644 → 0
此差异已折叠。
tests/__mocks__/workerMock.ts
已删除
100644 → 0
此差异已折叠。
此差异已折叠。
tests/test.spec.ts
已删除
100644 → 0
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录