diff --git a/invokeai/frontend/web/index.d.ts b/invokeai/frontend/web/index.d.ts index a1cfa5a0c7..7c40c796dd 100644 --- a/invokeai/frontend/web/index.d.ts +++ b/invokeai/frontend/web/index.d.ts @@ -39,3 +39,6 @@ declare global { } /* eslint-enable @typescript-eslint/no-explicit-any */ } + +declare function Invoke(): React.JSX; +export = Invoke; diff --git a/invokeai/frontend/web/package.json b/invokeai/frontend/web/package.json index 96dc558b7c..1c37b68156 100644 --- a/invokeai/frontend/web/package.json +++ b/invokeai/frontend/web/package.json @@ -6,6 +6,7 @@ "prepare": "cd ../../../ && husky install invokeai/frontend/web/.husky", "dev": "concurrently \"vite dev\" \"yarn run theme:watch\"", "build": "yarn run lint && vite build", + "build:package": "vite build --mode=package", "preview": "vite preview", "lint:madge": "madge --circular src/main.tsx", "lint:eslint": "eslint --max-warnings=0 .", @@ -36,6 +37,7 @@ }, "dependencies": { "@chakra-ui/anatomy": "^2.1.1", + "@chakra-ui/cli": "^2.3.0", "@chakra-ui/icons": "^2.0.17", "@chakra-ui/react": "^2.5.1", "@chakra-ui/styled-system": "^2.6.1", @@ -52,6 +54,7 @@ "i18next-http-backend": "^2.1.1", "konva": "^8.4.2", "lodash": "^4.17.21", + "patch-package": "^6.5.1", "re-resizable": "^6.9.9", "react": "^18.2.0", "react-colorful": "^5.6.1", @@ -72,7 +75,6 @@ "uuid": "^9.0.0" }, "devDependencies": { - "@chakra-ui/cli": "^2.3.0", "@fontsource/inter": "^4.5.15", "@types/dateformat": "^5.0.0", "@types/react": "^18.0.28", @@ -92,7 +94,6 @@ "husky": "^8.0.3", "lint-staged": "^13.1.2", "madge": "^6.0.0", - "patch-package": "^6.5.1", "postinstall-postinstall": "^2.1.0", "prettier": "^2.8.4", "rollup-plugin-visualizer": "^5.9.0", diff --git a/invokeai/frontend/web/stats.html b/invokeai/frontend/web/stats.html index 69ded64174..0e83f2bee4 100644 --- a/invokeai/frontend/web/stats.html +++ b/invokeai/frontend/web/stats.html @@ -6157,7 +6157,7 @@ var drawChart = (function (exports) {