mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2025-01-19 23:12:44 +08:00
chore: Migrate to PNPM (#1418)
* refactor: migrate to PNPM * refactor: remove unused import * chore: update lock * refactor!: remove yarn.lock * fix(config/electron-builder): ignore pnpm-lock.yaml * chore: upgrade dependencies
This commit is contained in:
parent
f54d2ded5c
commit
d96bd2a547
|
@ -55,7 +55,7 @@ module.exports = {
|
|||
'!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}',
|
||||
'!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}',
|
||||
'!**/{appveyor.yml,.travis.yml,circle.yml}',
|
||||
'!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}',
|
||||
'!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json,pnpm-lock.yaml}',
|
||||
'!**/node_modules/realm/react-native/**/*',
|
||||
],
|
||||
}
|
||||
|
|
37
package.json
37
package.json
|
@ -26,8 +26,8 @@
|
|||
"cookie-parser": "^1.4.6",
|
||||
"electron-log": "^4.4.6",
|
||||
"electron-store": "^8.0.1",
|
||||
"realm": "^10.13.0",
|
||||
"express": "^4.17.3"
|
||||
"express": "^4.17.3",
|
||||
"realm": "^10.13.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
|
||||
|
@ -38,31 +38,33 @@
|
|||
"@types/lodash-es": "^4.17.6",
|
||||
"@types/md5": "^2.3.2",
|
||||
"@types/qrcode": "^1.4.2",
|
||||
"@types/react": "^17.0.39",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
||||
"@typescript-eslint/parser": "^5.13.0",
|
||||
"@types/react": "^17.0.40",
|
||||
"@types/react-dom": "^17.0.13",
|
||||
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
||||
"@typescript-eslint/parser": "^5.15.0",
|
||||
"@vitejs/plugin-react": "^1.2.0",
|
||||
"ahooks": "^3.1.13",
|
||||
"ansi-styles": "^6.1.0",
|
||||
"autoprefixer": "^10.4.2",
|
||||
"axios": "^0.26.0",
|
||||
"autoprefixer": "^10.4.4",
|
||||
"axios": "^0.26.1",
|
||||
"classnames": "^2.3.1",
|
||||
"color.js": "^1.2.0",
|
||||
"colord": "^2.9.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"dayjs": "^1.10.8",
|
||||
"electron": "^17.0.0",
|
||||
"csstype": "^3.0.11",
|
||||
"dayjs": "^1.11.0",
|
||||
"dotenv": "^16.0.0",
|
||||
"electron": "^17.1.2",
|
||||
"electron-builder": "^22.14.13",
|
||||
"electron-devtools-installer": "^3.2.0",
|
||||
"eslint": "^8.10.0",
|
||||
"eslint-plugin-react": "^7.29.3",
|
||||
"eslint": "^8.11.0",
|
||||
"eslint-plugin-react": "^7.29.4",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"howler": "^2.2.3",
|
||||
"js-cookie": "^3.0.1",
|
||||
"lodash-es": "^4.17.21",
|
||||
"md5": "^2.3.0",
|
||||
"postcss": "^8.4.7",
|
||||
"postcss": "^8.4.12",
|
||||
"prettier": "2.5.1",
|
||||
"prettier-plugin-tailwindcss": "^0.1.8",
|
||||
"qrcode": "^1.5.0",
|
||||
|
@ -72,15 +74,16 @@
|
|||
"react-query": "^3.34.16",
|
||||
"react-router-dom": "^6.2.2",
|
||||
"react-use": "^17.3.2",
|
||||
"rollup": "^2.70.1",
|
||||
"rollup-plugin-visualizer": "^5.6.0",
|
||||
"sass": "^1.49.9",
|
||||
"tailwindcss": "^3.0.23",
|
||||
"typescript": "^4.6.2",
|
||||
"unplugin-auto-import": "^0.6.4",
|
||||
"valtio": "^1.3.1",
|
||||
"unplugin-auto-import": "^0.6.6",
|
||||
"valtio": "^1.4.0",
|
||||
"valtio-persist": "^1.0.2",
|
||||
"vite": "^2.8.0",
|
||||
"vite-plugin-resolve": "^1.5.2",
|
||||
"vite": "^2.8.6",
|
||||
"vite-plugin-resolve": "^1.8.0",
|
||||
"vite-plugin-svg-icons": "^2.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ import path from 'path'
|
|||
import { visualizer } from 'rollup-plugin-visualizer'
|
||||
import { defineConfig } from 'vite'
|
||||
import pkg from '../../package.json'
|
||||
import esm2cjs from '../../scripts/vite-plugin-esm2cjs'
|
||||
|
||||
dotenv.config({
|
||||
path: path.resolve(process.cwd(), '.env'),
|
||||
|
|
7368
pnpm-lock.yaml
Normal file
7368
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user