mirror of
https://github.com/jeffvli/feishin.git
synced 2025-12-22 13:17:31 +00:00
migrate to pnpm
This commit is contained in:
@@ -10,6 +10,9 @@ const config: UserConfig = {
|
||||
main: {
|
||||
build: {
|
||||
outDir: './release/app/dist/main',
|
||||
rollupOptions: {
|
||||
external: ['source-map-support'],
|
||||
},
|
||||
},
|
||||
define: {
|
||||
'import.meta.env.IS_LINUX': JSON.stringify(currentOSEnv === 'linux'),
|
||||
|
||||
16448
package-lock.json
generated
16448
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@@ -18,22 +18,22 @@
|
||||
"name": "jeffvli",
|
||||
"url": "https://github.com/jeffvli/"
|
||||
},
|
||||
"main": "./out/main/index.js",
|
||||
"main": "./release/app/dist/main/index.js",
|
||||
"scripts": {
|
||||
"build": "npm run typecheck && electron-vite build",
|
||||
"build": "pnpm run typecheck && electron-vite build",
|
||||
"dev": "electron-vite dev",
|
||||
"dev:watch": "electron-vite dev --watch",
|
||||
"format": "prettier --write .",
|
||||
"i18next": "i18next -c src/i18n/i18next-parser.config.js",
|
||||
"postinstall": "electron-builder install-app-deps",
|
||||
"lint": "eslint --cache --fix .",
|
||||
"package": "npm run build && electron-builder",
|
||||
"package:dev": "npm run build && electron-builder --dir",
|
||||
"package": "pnpm run build && electron-builder",
|
||||
"package:dev": "pnpm run build && electron-builder --dir",
|
||||
"package:linux": "electron-vite build && electron-builder --linux",
|
||||
"package:mac": "electron-vite build && electron-builder --mac",
|
||||
"package:win": "npm run build && electron-builder --win",
|
||||
"package:win": "pnpm run build && electron-builder --win",
|
||||
"start": "electron-vite preview",
|
||||
"typecheck": "npm run typecheck:node && npm run typecheck:web",
|
||||
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web",
|
||||
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false"
|
||||
},
|
||||
@@ -110,14 +110,12 @@
|
||||
"@electron-toolkit/eslint-config-ts": "^3.0.0",
|
||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||
"@stylelint/postcss-css-in-js": "^0.38.0",
|
||||
"@types/dompurify": "^3.0.5",
|
||||
"@types/electron-localshortcut": "^3.1.0",
|
||||
"@types/lodash": "^4.14.188",
|
||||
"@types/md5": "^2.3.2",
|
||||
"@types/node": "^22.14.1",
|
||||
"@types/react": "^18.3.1",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
||||
"@types/react-window": "^1.8.5",
|
||||
"@types/react-window-infinite-loader": "^1.0.6",
|
||||
"@types/source-map-support": "^0.5.10",
|
||||
|
||||
10388
pnpm-lock.yaml
generated
Normal file
10388
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -11,8 +11,6 @@
|
||||
"package.json"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"typeRoots": ["./node_modules/@types"],
|
||||
"outDir": "./out",
|
||||
"composite": true,
|
||||
"jsx": "react-jsx",
|
||||
"baseUrl": ".",
|
||||
|
||||
Reference in New Issue
Block a user