mirror of
https://github.com/antebudimir/feishin.git
synced 2025-12-31 10:03:33 +00:00
migrate to pnpm
This commit is contained in:
parent
91715ebf7d
commit
faadff0211
5 changed files with 10397 additions and 16458 deletions
|
|
@ -10,6 +10,9 @@ const config: UserConfig = {
|
||||||
main: {
|
main: {
|
||||||
build: {
|
build: {
|
||||||
outDir: './release/app/dist/main',
|
outDir: './release/app/dist/main',
|
||||||
|
rollupOptions: {
|
||||||
|
external: ['source-map-support'],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
define: {
|
define: {
|
||||||
'import.meta.env.IS_LINUX': JSON.stringify(currentOSEnv === 'linux'),
|
'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",
|
"name": "jeffvli",
|
||||||
"url": "https://github.com/jeffvli/"
|
"url": "https://github.com/jeffvli/"
|
||||||
},
|
},
|
||||||
"main": "./out/main/index.js",
|
"main": "./release/app/dist/main/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run typecheck && electron-vite build",
|
"build": "pnpm run typecheck && electron-vite build",
|
||||||
"dev": "electron-vite dev",
|
"dev": "electron-vite dev",
|
||||||
"dev:watch": "electron-vite dev --watch",
|
"dev:watch": "electron-vite dev --watch",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"i18next": "i18next -c src/i18n/i18next-parser.config.js",
|
"i18next": "i18next -c src/i18n/i18next-parser.config.js",
|
||||||
"postinstall": "electron-builder install-app-deps",
|
"postinstall": "electron-builder install-app-deps",
|
||||||
"lint": "eslint --cache --fix .",
|
"lint": "eslint --cache --fix .",
|
||||||
"package": "npm run build && electron-builder",
|
"package": "pnpm run build && electron-builder",
|
||||||
"package:dev": "npm run build && electron-builder --dir",
|
"package:dev": "pnpm run build && electron-builder --dir",
|
||||||
"package:linux": "electron-vite build && electron-builder --linux",
|
"package:linux": "electron-vite build && electron-builder --linux",
|
||||||
"package:mac": "electron-vite build && electron-builder --mac",
|
"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",
|
"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:node": "tsc --noEmit -p tsconfig.node.json --composite false",
|
||||||
"typecheck:web": "tsc --noEmit -p tsconfig.web.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/eslint-config-ts": "^3.0.0",
|
||||||
"@electron-toolkit/tsconfig": "^1.0.1",
|
"@electron-toolkit/tsconfig": "^1.0.1",
|
||||||
"@stylelint/postcss-css-in-js": "^0.38.0",
|
"@stylelint/postcss-css-in-js": "^0.38.0",
|
||||||
"@types/dompurify": "^3.0.5",
|
|
||||||
"@types/electron-localshortcut": "^3.1.0",
|
"@types/electron-localshortcut": "^3.1.0",
|
||||||
"@types/lodash": "^4.14.188",
|
"@types/lodash": "^4.14.188",
|
||||||
"@types/md5": "^2.3.2",
|
"@types/md5": "^2.3.2",
|
||||||
"@types/node": "^22.14.1",
|
"@types/node": "^22.14.1",
|
||||||
"@types/react": "^18.3.1",
|
"@types/react": "^18.3.1",
|
||||||
"@types/react-dom": "^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": "^1.8.5",
|
||||||
"@types/react-window-infinite-loader": "^1.0.6",
|
"@types/react-window-infinite-loader": "^1.0.6",
|
||||||
"@types/source-map-support": "^0.5.10",
|
"@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"
|
"package.json"
|
||||||
],
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"typeRoots": ["./node_modules/@types"],
|
|
||||||
"outDir": "./out",
|
|
||||||
"composite": true,
|
"composite": true,
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue