Skip to content

Commit e694d92

Browse files
committed
feat: add website btn and tree drop operate
1 parent 94bbacd commit e694d92

File tree

8 files changed

+247
-96
lines changed

8 files changed

+247
-96
lines changed

.erb/configs/webpack.config.base.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
import webpack from 'webpack';
6-
import TsconfigPathsPlugins from 'tsconfig-paths-webpack-plugin';
6+
// import TsconfigPathsPlugins from 'tsconfig-paths-webpack-plugin';
77
import webpackPaths from './webpack.paths';
88
import { dependencies as externals } from '../../release/app/package.json';
99

@@ -46,7 +46,9 @@ const configuration: webpack.Configuration = {
4646
extensions: ['.js', '.jsx', '.json', '.ts', '.tsx'],
4747
modules: [webpackPaths.srcPath, 'node_modules'],
4848
// There is no need to add aliases here, the paths in tsconfig get mirrored
49-
plugins: [new TsconfigPathsPlugins()],
49+
plugins: [
50+
// new TsconfigPathsPlugins()
51+
],
5052
},
5153

5254
plugins: [

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"lint": "cross-env NODE_ENV=development eslint . --ext .js,.jsx,.ts,.tsx",
4242
"package": "ts-node ./.erb/scripts/clean.js dist && npm run build && electron-builder build --publish never",
4343
"rebuild": "electron-rebuild --parallel --types prod,dev,optional --module-dir release/app",
44+
"dev": "pnpm run start",
4445
"start": "ts-node ./.erb/scripts/check-port-in-use.js && npm run start:renderer",
4546
"start:main": "cross-env NODE_ENV=development electronmon -r ts-node/register/transpile-only .",
4647
"start:preload": "cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.preload.dev.ts",
@@ -103,7 +104,9 @@
103104
"immer": "^9.0.19",
104105
"react": "^18.2.0",
105106
"react-dom": "^18.2.0",
107+
"react-is": "^18.2.0",
106108
"react-router-dom": "^6.8.0",
109+
"styled-components": "^5.3.6",
107110
"zustand": "^4.3.2"
108111
},
109112
"devDependencies": {
@@ -119,6 +122,7 @@
119122
"@types/react": "^18.0.27",
120123
"@types/react-dom": "^18.0.10",
121124
"@types/react-test-renderer": "^18.0.0",
125+
"@types/styled-components": "^5.1.26",
122126
"@types/terser-webpack-plugin": "^5.0.4",
123127
"@types/webpack-bundle-analyzer": "^4.6.0",
124128
"@typescript-eslint/eslint-plugin": "^5.50.0",

0 commit comments

Comments
 (0)