Skip to content

Commit

Permalink
fix: update deps and config
Browse files Browse the repository at this point in the history
  • Loading branch information
itschip committed Mar 2, 2024
1 parent de284bb commit 7d2f2ca
Show file tree
Hide file tree
Showing 3 changed files with 964 additions and 962 deletions.
20 changes: 9 additions & 11 deletions npwd.config.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import App from './src/App';
import { ServicesIcon } from './icon';
import { theme } from './src/app.theme';
import App from "./src/App";
import { ServicesIcon } from "./icon";
import { theme } from "./src/app.theme";

export const externalAppConfig = () => ({
id: 'services',
nameLocale: 'Services',
color: '#fff',
backgroundColor: '#333',
path: '/services',
export default (settings: any) => ({
id: "services",
nameLocale: "Services",
color: "#fff",
backgroundColor: "#333",
path: "/services",
icon: ServicesIcon,
app: App,
theme: theme,
});

export default externalAppConfig;
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"@babel/preset-react": "7.16.7",
"@citizenfx/client": "^2.0.5369-1",
"@citizenfx/server": "^2.0.5369-1",
"@emotion/react": "^11.7.0",
"@emotion/styled": "^11.6.0",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.3",
"@originjs/vite-plugin-federation": "^1.3.4",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
"@types/node": "^18.6.4",
Expand Down Expand Up @@ -36,10 +40,6 @@
"watch:nui": "esbuild src/index.tsx --outdir=dist/html --watch --target=es6 --bundle --loader:.png=dataurl"
},
"dependencies": {
"@emotion/react": "^11.7.0",
"@emotion/styled": "^11.6.0",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.3",
"@project-error/npwd-types": "^1.3.4",
"esbuild": "^0.14.23",
"eslint": "^8.10.0",
Expand Down
Loading

0 comments on commit 7d2f2ca

Please sign in to comment.