mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00: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
5 changed files with 7389 additions and 7323 deletions
|
|
@ -55,7 +55,7 @@ module.exports = {
|
||||||
'!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}',
|
'!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}',
|
||||||
'!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}',
|
'!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}',
|
||||||
'!**/{appveyor.yml,.travis.yml,circle.yml}',
|
'!**/{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/**/*',
|
'!**/node_modules/realm/react-native/**/*',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
|
||||||
37
package.json
37
package.json
|
|
@ -26,8 +26,8 @@
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"electron-log": "^4.4.6",
|
"electron-log": "^4.4.6",
|
||||||
"electron-store": "^8.0.1",
|
"electron-store": "^8.0.1",
|
||||||
"realm": "^10.13.0",
|
"express": "^4.17.3",
|
||||||
"express": "^4.17.3"
|
"realm": "^10.13.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
|
"@trivago/prettier-plugin-sort-imports": "^3.2.0",
|
||||||
|
|
@ -38,31 +38,33 @@
|
||||||
"@types/lodash-es": "^4.17.6",
|
"@types/lodash-es": "^4.17.6",
|
||||||
"@types/md5": "^2.3.2",
|
"@types/md5": "^2.3.2",
|
||||||
"@types/qrcode": "^1.4.2",
|
"@types/qrcode": "^1.4.2",
|
||||||
"@types/react": "^17.0.39",
|
"@types/react": "^17.0.40",
|
||||||
"@types/react-dom": "^17.0.11",
|
"@types/react-dom": "^17.0.13",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.13.0",
|
"@typescript-eslint/eslint-plugin": "^5.15.0",
|
||||||
"@typescript-eslint/parser": "^5.13.0",
|
"@typescript-eslint/parser": "^5.15.0",
|
||||||
"@vitejs/plugin-react": "^1.2.0",
|
"@vitejs/plugin-react": "^1.2.0",
|
||||||
"ahooks": "^3.1.13",
|
"ahooks": "^3.1.13",
|
||||||
"ansi-styles": "^6.1.0",
|
"ansi-styles": "^6.1.0",
|
||||||
"autoprefixer": "^10.4.2",
|
"autoprefixer": "^10.4.4",
|
||||||
"axios": "^0.26.0",
|
"axios": "^0.26.1",
|
||||||
"classnames": "^2.3.1",
|
"classnames": "^2.3.1",
|
||||||
"color.js": "^1.2.0",
|
"color.js": "^1.2.0",
|
||||||
"colord": "^2.9.2",
|
"colord": "^2.9.2",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"dayjs": "^1.10.8",
|
"csstype": "^3.0.11",
|
||||||
"electron": "^17.0.0",
|
"dayjs": "^1.11.0",
|
||||||
|
"dotenv": "^16.0.0",
|
||||||
|
"electron": "^17.1.2",
|
||||||
"electron-builder": "^22.14.13",
|
"electron-builder": "^22.14.13",
|
||||||
"electron-devtools-installer": "^3.2.0",
|
"electron-devtools-installer": "^3.2.0",
|
||||||
"eslint": "^8.10.0",
|
"eslint": "^8.11.0",
|
||||||
"eslint-plugin-react": "^7.29.3",
|
"eslint-plugin-react": "^7.29.4",
|
||||||
"eslint-plugin-react-hooks": "^4.3.0",
|
"eslint-plugin-react-hooks": "^4.3.0",
|
||||||
"howler": "^2.2.3",
|
"howler": "^2.2.3",
|
||||||
"js-cookie": "^3.0.1",
|
"js-cookie": "^3.0.1",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"md5": "^2.3.0",
|
"md5": "^2.3.0",
|
||||||
"postcss": "^8.4.7",
|
"postcss": "^8.4.12",
|
||||||
"prettier": "2.5.1",
|
"prettier": "2.5.1",
|
||||||
"prettier-plugin-tailwindcss": "^0.1.8",
|
"prettier-plugin-tailwindcss": "^0.1.8",
|
||||||
"qrcode": "^1.5.0",
|
"qrcode": "^1.5.0",
|
||||||
|
|
@ -72,15 +74,16 @@
|
||||||
"react-query": "^3.34.16",
|
"react-query": "^3.34.16",
|
||||||
"react-router-dom": "^6.2.2",
|
"react-router-dom": "^6.2.2",
|
||||||
"react-use": "^17.3.2",
|
"react-use": "^17.3.2",
|
||||||
|
"rollup": "^2.70.1",
|
||||||
"rollup-plugin-visualizer": "^5.6.0",
|
"rollup-plugin-visualizer": "^5.6.0",
|
||||||
"sass": "^1.49.9",
|
"sass": "^1.49.9",
|
||||||
"tailwindcss": "^3.0.23",
|
"tailwindcss": "^3.0.23",
|
||||||
"typescript": "^4.6.2",
|
"typescript": "^4.6.2",
|
||||||
"unplugin-auto-import": "^0.6.4",
|
"unplugin-auto-import": "^0.6.6",
|
||||||
"valtio": "^1.3.1",
|
"valtio": "^1.4.0",
|
||||||
"valtio-persist": "^1.0.2",
|
"valtio-persist": "^1.0.2",
|
||||||
"vite": "^2.8.0",
|
"vite": "^2.8.6",
|
||||||
"vite-plugin-resolve": "^1.5.2",
|
"vite-plugin-resolve": "^1.8.0",
|
||||||
"vite-plugin-svg-icons": "^2.0.1"
|
"vite-plugin-svg-icons": "^2.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@ import path from 'path'
|
||||||
import { visualizer } from 'rollup-plugin-visualizer'
|
import { visualizer } from 'rollup-plugin-visualizer'
|
||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import pkg from '../../package.json'
|
import pkg from '../../package.json'
|
||||||
import esm2cjs from '../../scripts/vite-plugin-esm2cjs'
|
|
||||||
|
|
||||||
dotenv.config({
|
dotenv.config({
|
||||||
path: path.resolve(process.cwd(), '.env'),
|
path: path.resolve(process.cwd(), '.env'),
|
||||||
|
|
|
||||||
7368
pnpm-lock.yaml
generated
Normal file
7368
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue