@4399ywkf/cli 0.0.22 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +19 -637
- package/dist/templates/404/index.tsx +5 -0
- package/dist/templates/404/page.tsx +27 -0
- package/dist/templates/404.png +0 -0
- package/dist/templates/404.tsx +5 -0
- package/dist/templates/BaseLayout.tsx +15 -0
- package/dist/templates/ColorScales/ScaleRow.tsx +74 -0
- package/dist/templates/ColorScales/index.md +168 -0
- package/dist/templates/ColorScales/index.tsx +70 -0
- package/dist/templates/ColorScales/style.ts +42 -0
- package/dist/templates/ConfigProvider/index.md +63 -0
- package/dist/templates/ConfigProvider/index.tsx +42 -0
- package/dist/templates/ContentFormWrapper.tsx +11 -0
- package/dist/templates/ContentWrapper.module.less +137 -0
- package/dist/templates/ContentWrapper.tsx +13 -0
- package/dist/templates/ErrorBoundary/index.tsx +506 -0
- package/dist/templates/FontLoader/index.md +12 -0
- package/dist/templates/FontLoader/index.tsx +41 -0
- package/dist/templates/GlobalStyle/antdOverride.ts +89 -0
- package/dist/templates/GlobalStyle/global.ts +61 -0
- package/dist/templates/GlobalStyle/index.ts +10 -0
- package/dist/templates/Loading/__tests__/Loading.test.tsx +23 -0
- package/dist/templates/Loading/index.tsx +21 -0
- package/dist/templates/Loading.test.tsx +23 -0
- package/dist/templates/Locale.tsx +89 -0
- package/dist/templates/MainContentWrap.tsx +68 -0
- package/dist/templates/ManualSlave/ManualSlavePage.module.less +25 -0
- package/dist/templates/ManualSlave/ManualSlavePage.tsx +45 -0
- package/dist/templates/ManualSlave/index.ts +1 -0
- package/dist/templates/ManualSlavePage.module.less +25 -0
- package/dist/templates/ManualSlavePage.tsx +45 -0
- package/dist/templates/Meta.tsx +75 -0
- package/dist/templates/RequireAuth/RequireAuth.tsx +76 -0
- package/dist/templates/RequireAuth/index.ts +1 -0
- package/dist/templates/RequireAuth.tsx +76 -0
- package/dist/templates/RoutesConventionsRspackPlugin.js +100 -0
- package/dist/templates/ScaleRow.tsx +74 -0
- package/dist/templates/ThemeContext.tsx +132 -0
- package/dist/templates/ThemeProvider/GlobalStyle/antdOverride.ts +89 -0
- package/dist/templates/ThemeProvider/GlobalStyle/global.ts +61 -0
- package/dist/templates/ThemeProvider/GlobalStyle/index.ts +10 -0
- package/dist/templates/ThemeProvider/Meta.tsx +75 -0
- package/dist/templates/ThemeProvider/ThemeProvider.tsx +109 -0
- package/dist/templates/ThemeProvider/index.md +69 -0
- package/dist/templates/ThemeProvider/index.ts +3 -0
- package/dist/templates/ThemeProvider/type.ts +28 -0
- package/dist/templates/ThemeProvider.tsx +109 -0
- package/dist/templates/__mocks__/fileMock.js +1 -0
- package/dist/templates/__mocks__/styleMock.ts +1 -0
- package/dist/templates/__tests__/Loading.test.tsx +23 -0
- package/dist/templates/__tests__/example.test.ts +7 -0
- package/dist/templates/actions.ts +23 -0
- package/dist/templates/algorithms/darkAlgorithm.ts +47 -0
- package/dist/templates/algorithms/lightAlgorithm.ts +44 -0
- package/dist/templates/antdOverride.ts +89 -0
- package/dist/templates/antdTheme.ts +62 -0
- package/dist/templates/api.ts +5 -0
- package/dist/templates/app/.browserslistrc +5 -0
- package/dist/templates/app/.gitignore.tpl +30 -0
- package/dist/templates/app/.npmrc.tpl +2 -0
- package/dist/templates/app/.nvmrc +1 -0
- package/dist/templates/app/.vscode/settings.json +88 -0
- package/dist/templates/app/config/env/.env.development +5 -0
- package/dist/templates/app/config/env/.env.production +2 -0
- package/dist/templates/app/config/env/.env.public.tpl +31 -0
- package/dist/templates/app/config/jwt/index.ts +31 -0
- package/dist/templates/app/config/public/404.png +0 -0
- package/dist/templates/app/config/public/favicon.ico +0 -0
- package/dist/templates/app/config/public/images/banner_market_modal.webp +0 -0
- package/dist/templates/app/config/public/images/chatmode_chat_dark.webp +0 -0
- package/dist/templates/app/config/public/images/chatmode_chat_light.webp +0 -0
- package/dist/templates/app/config/public/images/chatmode_docs_dark.webp +0 -0
- package/dist/templates/app/config/public/images/chatmode_docs_light.webp +0 -0
- package/dist/templates/app/config/public/images/empty_topic_dark.webp +0 -0
- package/dist/templates/app/config/public/images/empty_topic_light.webp +0 -0
- package/dist/templates/app/config/public/images/screenshot_background.webp +0 -0
- package/dist/templates/app/config/public/images/theme_auto.webp +0 -0
- package/dist/templates/app/config/public/images/theme_dark.webp +0 -0
- package/dist/templates/app/config/public/images/theme_light.webp +0 -0
- package/dist/templates/app/config/public/index.html +29 -0
- package/dist/templates/app/config/request/index.ts +174 -0
- package/dist/templates/app/config/router/index.tsx +26 -0
- package/dist/templates/app/config/rspack/paths.js +12 -0
- package/dist/templates/app/config/rspack/plugins/RoutesConventionsRspackPlugin.js +100 -0
- package/dist/templates/app/config/rspack/rspack.config.mjs +186 -0
- package/dist/templates/app/config/rspack/rspack.dev.mjs +219 -0
- package/dist/templates/app/config/rspack/rspack.prod.mjs +254 -0
- package/dist/templates/app/config/sentry/sentry.config.ts +188 -0
- package/dist/templates/app/locales/en-US/common.json +74 -0
- package/dist/templates/app/locales/en-US/generate.json +71 -0
- package/dist/templates/app/locales/en-US/nav.json +10 -0
- package/dist/templates/app/locales/en-US/overview.json +6 -0
- package/dist/templates/app/locales/en-US/retopology.json +4 -0
- package/dist/templates/app/locales/en-US/rigging.json +21 -0
- package/dist/templates/app/locales/en-US/segmentation.json +4 -0
- package/dist/templates/app/locales/en-US/stylization.json +11 -0
- package/dist/templates/app/locales/en-US/texture.json +4 -0
- package/dist/templates/app/locales/en-US/threeModel.json +9 -0
- package/dist/templates/app/locales/en-US/toolbox.json +11 -0
- package/dist/templates/app/locales/zh-CN/common.json +74 -0
- package/dist/templates/app/locales/zh-CN/generate.json +71 -0
- package/dist/templates/app/locales/zh-CN/nav.json +10 -0
- package/dist/templates/app/locales/zh-CN/overview.json +6 -0
- package/dist/templates/app/locales/zh-CN/retopology.json +4 -0
- package/dist/templates/app/locales/zh-CN/rigging.json +21 -0
- package/dist/templates/app/locales/zh-CN/segmentation.json +4 -0
- package/dist/templates/app/locales/zh-CN/stylization.json +11 -0
- package/dist/templates/app/locales/zh-CN/texture.json +4 -0
- package/dist/templates/app/locales/zh-CN/threeModel.json +9 -0
- package/dist/templates/app/locales/zh-CN/toolbox.json +11 -0
- package/dist/templates/app/package.json.tpl +145 -0
- package/dist/templates/app/postcss.config.js +6 -0
- package/dist/templates/app/react-app-env.d.ts +14 -0
- package/dist/templates/app/scripts/convert-locales-to-json.js +47 -0
- package/dist/templates/app/src/__mocks__/fileMock.js +1 -0
- package/dist/templates/app/src/__mocks__/styleMock.ts +1 -0
- package/dist/templates/app/src/color/ColorScales/ScaleRow.tsx +74 -0
- package/dist/templates/app/src/color/ColorScales/index.md +168 -0
- package/dist/templates/app/src/color/ColorScales/index.tsx +70 -0
- package/dist/templates/app/src/color/ColorScales/style.ts +42 -0
- package/dist/templates/app/src/color/colors/blue.ts +66 -0
- package/dist/templates/app/src/color/colors/cyan.ts +66 -0
- package/dist/templates/app/src/color/colors/geekblue.ts +66 -0
- package/dist/templates/app/src/color/colors/gold.ts +66 -0
- package/dist/templates/app/src/color/colors/gray.ts +66 -0
- package/dist/templates/app/src/color/colors/green.ts +66 -0
- package/dist/templates/app/src/color/colors/index.ts +66 -0
- package/dist/templates/app/src/color/colors/lime.ts +66 -0
- package/dist/templates/app/src/color/colors/magenta.ts +66 -0
- package/dist/templates/app/src/color/colors/orange.ts +66 -0
- package/dist/templates/app/src/color/colors/primary.ts +66 -0
- package/dist/templates/app/src/color/colors/purple.ts +66 -0
- package/dist/templates/app/src/color/colors/red.ts +66 -0
- package/dist/templates/app/src/color/colors/volcano.ts +66 -0
- package/dist/templates/app/src/color/colors/yellow.ts +66 -0
- package/dist/templates/app/src/color/index.ts +4 -0
- package/dist/templates/app/src/color/neutrals/index.ts +30 -0
- package/dist/templates/app/src/color/neutrals/mauve.ts +66 -0
- package/dist/templates/app/src/color/neutrals/olive.ts +66 -0
- package/dist/templates/app/src/color/neutrals/sage.ts +66 -0
- package/dist/templates/app/src/color/neutrals/sand.ts +66 -0
- package/dist/templates/app/src/color/neutrals/slate.ts +66 -0
- package/dist/templates/app/src/color/types.ts +21 -0
- package/dist/templates/app/src/components/ConfigProvider/index.md +63 -0
- package/dist/templates/app/src/components/ConfigProvider/index.tsx +42 -0
- package/dist/templates/app/src/components/ErrorBoundary/index.tsx +506 -0
- package/dist/templates/app/src/components/FontLoader/index.md +12 -0
- package/dist/templates/app/src/components/FontLoader/index.tsx +41 -0
- package/dist/templates/app/src/components/Loading/__tests__/Loading.test.tsx +23 -0
- package/dist/templates/app/src/components/Loading/index.tsx +21 -0
- package/dist/templates/app/src/components/ManualSlave/ManualSlavePage.module.less +25 -0
- package/dist/templates/app/src/components/ManualSlave/ManualSlavePage.tsx +45 -0
- package/dist/templates/app/src/components/ManualSlave/index.ts +1 -0
- package/dist/templates/app/src/components/RequireAuth/RequireAuth.tsx +76 -0
- package/dist/templates/app/src/components/RequireAuth/index.ts +1 -0
- package/dist/templates/app/src/components/ThemeProvider/GlobalStyle/antdOverride.ts +89 -0
- package/dist/templates/app/src/components/ThemeProvider/GlobalStyle/global.ts +61 -0
- package/dist/templates/app/src/components/ThemeProvider/GlobalStyle/index.ts +10 -0
- package/dist/templates/app/src/components/ThemeProvider/Meta.tsx +75 -0
- package/dist/templates/app/src/components/ThemeProvider/ThemeProvider.tsx +109 -0
- package/dist/templates/app/src/components/ThemeProvider/index.md +69 -0
- package/dist/templates/app/src/components/ThemeProvider/index.ts +3 -0
- package/dist/templates/app/src/components/ThemeProvider/type.ts +28 -0
- package/dist/templates/app/src/const/constants.ts +0 -0
- package/dist/templates/app/src/const/locale.ts +9 -0
- package/dist/templates/app/src/const/system.ts +1 -0
- package/dist/templates/app/src/const/theme.ts +5 -0
- package/dist/templates/app/src/const/url.ts +1 -0
- package/dist/templates/app/src/hooks/useRouteTitle.tsx +36 -0
- package/dist/templates/app/src/hooks/useSentry.ts +92 -0
- package/dist/templates/app/src/index.css +2 -0
- package/dist/templates/app/src/index.tsx +56 -0
- package/dist/templates/app/src/layout/BaseLayout.tsx +15 -0
- package/dist/templates/app/src/layout/ContentFormWrapper.tsx +11 -0
- package/dist/templates/app/src/layout/ContentWrapper.module.less +137 -0
- package/dist/templates/app/src/layout/ContentWrapper.tsx +13 -0
- package/dist/templates/app/src/layout/Locale.tsx +89 -0
- package/dist/templates/app/src/layout/MainContentWrap.tsx +68 -0
- package/dist/templates/app/src/layout/ThemeContext.tsx +132 -0
- package/dist/templates/app/src/loading.tsx +52 -0
- package/dist/templates/app/src/locales/create.ts +56 -0
- package/dist/templates/app/src/locales/default/chat.ts +455 -0
- package/dist/templates/app/src/locales/default/index.ts +7 -0
- package/dist/templates/app/src/locales/resources.ts +104 -0
- package/dist/templates/app/src/pages/404/index.tsx +5 -0
- package/dist/templates/app/src/pages/404/page.tsx +27 -0
- package/dist/templates/app/src/pages/404.tsx +5 -0
- package/dist/templates/app/src/pages/base/index.tsx +32 -0
- package/dist/templates/app/src/pages/base/layout.tsx +6 -0
- package/dist/templates/app/src/pages/base/page.tsx +25 -0
- package/dist/templates/app/src/pages/index.css +282 -0
- package/dist/templates/app/src/pages/index.tsx +5 -0
- package/dist/templates/app/src/routes.tsx +18 -0
- package/dist/templates/app/src/setupTests.ts +39 -0
- package/dist/templates/app/src/styles/antdOverride.ts +24 -0
- package/dist/templates/app/src/styles/customTheme.ts +70 -0
- package/dist/templates/app/src/styles/global.ts +53 -0
- package/dist/templates/app/src/styles/highlighter.ts +34 -0
- package/dist/templates/app/src/styles/index.ts +23 -0
- package/dist/templates/app/src/styles/mermaid.ts +7 -0
- package/dist/templates/app/src/styles/text.ts +10 -0
- package/dist/templates/app/src/styles/theme/algorithms/darkAlgorithm.ts +47 -0
- package/dist/templates/app/src/styles/theme/algorithms/lightAlgorithm.ts +44 -0
- package/dist/templates/app/src/styles/theme/antdTheme.ts +62 -0
- package/dist/templates/app/src/styles/theme/customStylish.ts +189 -0
- package/dist/templates/app/src/styles/theme/customToken.ts +93 -0
- package/dist/templates/app/src/styles/theme/generateColorPalette.ts +59 -0
- package/dist/templates/app/src/styles/theme/token/base.ts +16 -0
- package/dist/templates/app/src/styles/theme/token/dark.ts +60 -0
- package/dist/templates/app/src/styles/theme/token/light.ts +60 -0
- package/dist/templates/app/src/test-utils.tsx +18 -0
- package/dist/templates/app/src/types/customStylish.ts +20 -0
- package/dist/templates/app/src/types/customToken.ts +70 -0
- package/dist/templates/app/src/types/index.ts +21 -0
- package/dist/templates/app/src/types/routes.ts +70 -0
- package/dist/templates/app/src/utils/__tests__/example.test.ts +7 -0
- package/dist/templates/app/src/utils/convert.ts +40 -0
- package/dist/templates/app/src/utils/cookie.ts +25 -0
- package/dist/templates/app/src/utils/copyToClipboard.ts +13 -0
- package/dist/templates/app/src/utils/difference.ts +26 -0
- package/dist/templates/app/src/utils/env.ts +3 -0
- package/dist/templates/app/src/utils/format.ts +21 -0
- package/dist/templates/app/src/utils/genCdnUrl.ts +30 -0
- package/dist/templates/app/src/utils/getMicroApp.ts +39 -0
- package/dist/templates/app/src/utils/index.ts +1 -0
- package/dist/templates/app/src/utils/locale.ts +46 -0
- package/dist/templates/app/src/utils/sentry.ts +187 -0
- package/dist/templates/app/src/utils/sentryDecorators.ts +34 -0
- package/dist/templates/app/src/utils/updateVersion.ts +186 -0
- package/dist/templates/app/store/auth/index.tsx +82 -0
- package/dist/templates/app/store/auth/indexApi.tsx +11 -0
- package/dist/templates/app/store/global/index.tsx +133 -0
- package/dist/templates/app/store/global/indexApi.tsx +19 -0
- package/dist/templates/app/store/global/types.ts +62 -0
- package/dist/templates/app/store/middleware/createDevtools.ts +23 -0
- package/dist/templates/app/store/middleware/createHyperStorage/index.ts +127 -0
- package/dist/templates/app/store/middleware/createHyperStorage/indexedDB.ts +31 -0
- package/dist/templates/app/store/middleware/createHyperStorage/keyMapper.ts +57 -0
- package/dist/templates/app/store/middleware/createHyperStorage/localStorage.ts +23 -0
- package/dist/templates/app/store/middleware/createHyperStorage/type.ts +27 -0
- package/dist/templates/app/store/middleware/createHyperStorage/urlStorage.ts +85 -0
- package/dist/templates/app/store/theme/index.ts +25 -0
- package/dist/templates/app/store/types.ts +83 -0
- package/dist/templates/app/store/user/index.tsx +1 -0
- package/dist/templates/app/store/user/indexApi.tsx +5 -0
- package/dist/templates/app/store/user/initialState.ts +15 -0
- package/dist/templates/app/store/user/slices/profile/actions.ts +20 -0
- package/dist/templates/app/store/user/slices/profile/api.ts +5 -0
- package/dist/templates/app/store/user/slices/profile/initialState.ts +14 -0
- package/dist/templates/app/store/user/slices/settings/actions.ts +23 -0
- package/dist/templates/app/store/user/slices/settings/initialState.ts +32 -0
- package/dist/templates/app/store/user/store.ts +39 -0
- package/dist/templates/app/tailwind.config.js +13 -0
- package/dist/templates/app/tsconfig.json +27 -0
- package/dist/templates/app//347/277/273/350/257/221.md +9 -0
- package/dist/templates/auth/index.tsx +82 -0
- package/dist/templates/auth/indexApi.tsx +11 -0
- package/dist/templates/banner_market_modal.webp +0 -0
- package/dist/templates/base/index.tsx +32 -0
- package/dist/templates/base/layout.tsx +6 -0
- package/dist/templates/base/page.tsx +25 -0
- package/dist/templates/base.ts +16 -0
- package/dist/templates/blue.ts +66 -0
- package/dist/templates/chat.ts +455 -0
- package/dist/templates/chatmode_chat_dark.webp +0 -0
- package/dist/templates/chatmode_chat_light.webp +0 -0
- package/dist/templates/chatmode_docs_dark.webp +0 -0
- package/dist/templates/chatmode_docs_light.webp +0 -0
- package/dist/templates/color/ColorScales/ScaleRow.tsx +74 -0
- package/dist/templates/color/ColorScales/index.md +168 -0
- package/dist/templates/color/ColorScales/index.tsx +70 -0
- package/dist/templates/color/ColorScales/style.ts +42 -0
- package/dist/templates/color/colors/blue.ts +66 -0
- package/dist/templates/color/colors/cyan.ts +66 -0
- package/dist/templates/color/colors/geekblue.ts +66 -0
- package/dist/templates/color/colors/gold.ts +66 -0
- package/dist/templates/color/colors/gray.ts +66 -0
- package/dist/templates/color/colors/green.ts +66 -0
- package/dist/templates/color/colors/index.ts +66 -0
- package/dist/templates/color/colors/lime.ts +66 -0
- package/dist/templates/color/colors/magenta.ts +66 -0
- package/dist/templates/color/colors/orange.ts +66 -0
- package/dist/templates/color/colors/primary.ts +66 -0
- package/dist/templates/color/colors/purple.ts +66 -0
- package/dist/templates/color/colors/red.ts +66 -0
- package/dist/templates/color/colors/volcano.ts +66 -0
- package/dist/templates/color/colors/yellow.ts +66 -0
- package/dist/templates/color/index.ts +4 -0
- package/dist/templates/color/neutrals/index.ts +30 -0
- package/dist/templates/color/neutrals/mauve.ts +66 -0
- package/dist/templates/color/neutrals/olive.ts +66 -0
- package/dist/templates/color/neutrals/sage.ts +66 -0
- package/dist/templates/color/neutrals/sand.ts +66 -0
- package/dist/templates/color/neutrals/slate.ts +66 -0
- package/dist/templates/color/types.ts +21 -0
- package/dist/templates/colors/blue.ts +66 -0
- package/dist/templates/colors/cyan.ts +66 -0
- package/dist/templates/colors/geekblue.ts +66 -0
- package/dist/templates/colors/gold.ts +66 -0
- package/dist/templates/colors/gray.ts +66 -0
- package/dist/templates/colors/green.ts +66 -0
- package/dist/templates/colors/index.ts +66 -0
- package/dist/templates/colors/lime.ts +66 -0
- package/dist/templates/colors/magenta.ts +66 -0
- package/dist/templates/colors/orange.ts +66 -0
- package/dist/templates/colors/primary.ts +66 -0
- package/dist/templates/colors/purple.ts +66 -0
- package/dist/templates/colors/red.ts +66 -0
- package/dist/templates/colors/volcano.ts +66 -0
- package/dist/templates/colors/yellow.ts +66 -0
- package/dist/templates/common.json +74 -0
- package/dist/templates/components/ConfigProvider/index.md +63 -0
- package/dist/templates/components/ConfigProvider/index.tsx +42 -0
- package/dist/templates/components/ErrorBoundary/index.tsx +506 -0
- package/dist/templates/components/FontLoader/index.md +12 -0
- package/dist/templates/components/FontLoader/index.tsx +41 -0
- package/dist/templates/components/Loading/__tests__/Loading.test.tsx +23 -0
- package/dist/templates/components/Loading/index.tsx +21 -0
- package/dist/templates/components/ManualSlave/ManualSlavePage.module.less +25 -0
- package/dist/templates/components/ManualSlave/ManualSlavePage.tsx +45 -0
- package/dist/templates/components/ManualSlave/index.ts +1 -0
- package/dist/templates/components/RequireAuth/RequireAuth.tsx +76 -0
- package/dist/templates/components/RequireAuth/index.ts +1 -0
- package/dist/templates/components/ThemeProvider/GlobalStyle/antdOverride.ts +89 -0
- package/dist/templates/components/ThemeProvider/GlobalStyle/global.ts +61 -0
- package/dist/templates/components/ThemeProvider/GlobalStyle/index.ts +10 -0
- package/dist/templates/components/ThemeProvider/Meta.tsx +75 -0
- package/dist/templates/components/ThemeProvider/ThemeProvider.tsx +109 -0
- package/dist/templates/components/ThemeProvider/index.md +69 -0
- package/dist/templates/components/ThemeProvider/index.ts +3 -0
- package/dist/templates/components/ThemeProvider/type.ts +28 -0
- package/dist/templates/config/env/.env.development +5 -0
- package/dist/templates/config/env/.env.production +2 -0
- package/dist/templates/config/env/.env.public.tpl +31 -0
- package/dist/templates/config/jwt/index.ts +31 -0
- package/dist/templates/config/public/404.png +0 -0
- package/dist/templates/config/public/favicon.ico +0 -0
- package/dist/templates/config/public/images/banner_market_modal.webp +0 -0
- package/dist/templates/config/public/images/chatmode_chat_dark.webp +0 -0
- package/dist/templates/config/public/images/chatmode_chat_light.webp +0 -0
- package/dist/templates/config/public/images/chatmode_docs_dark.webp +0 -0
- package/dist/templates/config/public/images/chatmode_docs_light.webp +0 -0
- package/dist/templates/config/public/images/empty_topic_dark.webp +0 -0
- package/dist/templates/config/public/images/empty_topic_light.webp +0 -0
- package/dist/templates/config/public/images/screenshot_background.webp +0 -0
- package/dist/templates/config/public/images/theme_auto.webp +0 -0
- package/dist/templates/config/public/images/theme_dark.webp +0 -0
- package/dist/templates/config/public/images/theme_light.webp +0 -0
- package/dist/templates/config/public/index.html +29 -0
- package/dist/templates/config/request/index.ts +174 -0
- package/dist/templates/config/router/index.tsx +26 -0
- package/dist/templates/config/rspack/paths.js +12 -0
- package/dist/templates/config/rspack/plugins/RoutesConventionsRspackPlugin.js +100 -0
- package/dist/templates/config/rspack/rspack.config.mjs +186 -0
- package/dist/templates/config/rspack/rspack.dev.mjs +219 -0
- package/dist/templates/config/rspack/rspack.prod.mjs +254 -0
- package/dist/templates/config/sentry/sentry.config.ts +188 -0
- package/dist/templates/const/constants.ts +0 -0
- package/dist/templates/const/locale.ts +9 -0
- package/dist/templates/const/system.ts +1 -0
- package/dist/templates/const/theme.ts +5 -0
- package/dist/templates/const/url.ts +1 -0
- package/dist/templates/constants.ts +0 -0
- package/dist/templates/convert-locales-to-json.js +47 -0
- package/dist/templates/convert.ts +40 -0
- package/dist/templates/cookie.ts +25 -0
- package/dist/templates/copyToClipboard.ts +13 -0
- package/dist/templates/create.ts +56 -0
- package/dist/templates/createDevtools.ts +23 -0
- package/dist/templates/createHyperStorage/index.ts +127 -0
- package/dist/templates/createHyperStorage/indexedDB.ts +31 -0
- package/dist/templates/createHyperStorage/keyMapper.ts +57 -0
- package/dist/templates/createHyperStorage/localStorage.ts +23 -0
- package/dist/templates/createHyperStorage/type.ts +27 -0
- package/dist/templates/createHyperStorage/urlStorage.ts +85 -0
- package/dist/templates/customStylish.ts +189 -0
- package/dist/templates/customTheme.ts +70 -0
- package/dist/templates/customToken.ts +93 -0
- package/dist/templates/cyan.ts +66 -0
- package/dist/templates/dark.ts +60 -0
- package/dist/templates/darkAlgorithm.ts +47 -0
- package/dist/templates/default/chat.ts +455 -0
- package/dist/templates/default/index.ts +7 -0
- package/dist/templates/difference.ts +26 -0
- package/dist/templates/empty_topic_dark.webp +0 -0
- package/dist/templates/empty_topic_light.webp +0 -0
- package/dist/templates/en-US/common.json +74 -0
- package/dist/templates/en-US/generate.json +71 -0
- package/dist/templates/en-US/nav.json +10 -0
- package/dist/templates/en-US/overview.json +6 -0
- package/dist/templates/en-US/retopology.json +4 -0
- package/dist/templates/en-US/rigging.json +21 -0
- package/dist/templates/en-US/segmentation.json +4 -0
- package/dist/templates/en-US/stylization.json +11 -0
- package/dist/templates/en-US/texture.json +4 -0
- package/dist/templates/en-US/threeModel.json +9 -0
- package/dist/templates/en-US/toolbox.json +11 -0
- package/dist/templates/env/.env.development +5 -0
- package/dist/templates/env/.env.production +2 -0
- package/dist/templates/env/.env.public.tpl +31 -0
- package/dist/templates/env.ts +3 -0
- package/dist/templates/example.test.ts +7 -0
- package/dist/templates/favicon.ico +0 -0
- package/dist/templates/fileMock.js +1 -0
- package/dist/templates/format.ts +21 -0
- package/dist/templates/geekblue.ts +66 -0
- package/dist/templates/genCdnUrl.ts +30 -0
- package/dist/templates/generate.json +71 -0
- package/dist/templates/generateColorPalette.ts +59 -0
- package/dist/templates/getMicroApp.ts +39 -0
- package/dist/templates/global/index.tsx +133 -0
- package/dist/templates/global/indexApi.tsx +19 -0
- package/dist/templates/global/types.ts +62 -0
- package/dist/templates/global.ts +61 -0
- package/dist/templates/gold.ts +66 -0
- package/dist/templates/gray.ts +66 -0
- package/dist/templates/green.ts +66 -0
- package/dist/templates/highlighter.ts +34 -0
- package/dist/templates/hooks/useRouteTitle.tsx +36 -0
- package/dist/templates/hooks/useSentry.ts +92 -0
- package/dist/templates/images/banner_market_modal.webp +0 -0
- package/dist/templates/images/chatmode_chat_dark.webp +0 -0
- package/dist/templates/images/chatmode_chat_light.webp +0 -0
- package/dist/templates/images/chatmode_docs_dark.webp +0 -0
- package/dist/templates/images/chatmode_docs_light.webp +0 -0
- package/dist/templates/images/empty_topic_dark.webp +0 -0
- package/dist/templates/images/empty_topic_light.webp +0 -0
- package/dist/templates/images/screenshot_background.webp +0 -0
- package/dist/templates/images/theme_auto.webp +0 -0
- package/dist/templates/images/theme_dark.webp +0 -0
- package/dist/templates/images/theme_light.webp +0 -0
- package/dist/templates/index.css +282 -0
- package/dist/templates/index.html +29 -0
- package/dist/templates/index.md +69 -0
- package/dist/templates/index.ts +10 -0
- package/dist/templates/index.tsx +32 -0
- package/dist/templates/indexApi.tsx +5 -0
- package/dist/templates/indexedDB.ts +31 -0
- package/dist/templates/initialState.ts +32 -0
- package/dist/templates/jwt/index.ts +31 -0
- package/dist/templates/keyMapper.ts +57 -0
- package/dist/templates/layout/BaseLayout.tsx +15 -0
- package/dist/templates/layout/ContentFormWrapper.tsx +11 -0
- package/dist/templates/layout/ContentWrapper.module.less +137 -0
- package/dist/templates/layout/ContentWrapper.tsx +13 -0
- package/dist/templates/layout/Locale.tsx +89 -0
- package/dist/templates/layout/MainContentWrap.tsx +68 -0
- package/dist/templates/layout/ThemeContext.tsx +132 -0
- package/dist/templates/layout.tsx +6 -0
- package/dist/templates/light.ts +60 -0
- package/dist/templates/lightAlgorithm.ts +44 -0
- package/dist/templates/lime.ts +66 -0
- package/dist/templates/loading.tsx +52 -0
- package/dist/templates/localStorage.ts +23 -0
- package/dist/templates/locale.ts +46 -0
- package/dist/templates/locales/create.ts +56 -0
- package/dist/templates/locales/default/chat.ts +455 -0
- package/dist/templates/locales/default/index.ts +7 -0
- package/dist/templates/locales/en-US/common.json +74 -0
- package/dist/templates/locales/en-US/generate.json +71 -0
- package/dist/templates/locales/en-US/nav.json +10 -0
- package/dist/templates/locales/en-US/overview.json +6 -0
- package/dist/templates/locales/en-US/retopology.json +4 -0
- package/dist/templates/locales/en-US/rigging.json +21 -0
- package/dist/templates/locales/en-US/segmentation.json +4 -0
- package/dist/templates/locales/en-US/stylization.json +11 -0
- package/dist/templates/locales/en-US/texture.json +4 -0
- package/dist/templates/locales/en-US/threeModel.json +9 -0
- package/dist/templates/locales/en-US/toolbox.json +11 -0
- package/dist/templates/locales/resources.ts +104 -0
- package/dist/templates/locales/zh-CN/common.json +74 -0
- package/dist/templates/locales/zh-CN/generate.json +71 -0
- package/dist/templates/locales/zh-CN/nav.json +10 -0
- package/dist/templates/locales/zh-CN/overview.json +6 -0
- package/dist/templates/locales/zh-CN/retopology.json +4 -0
- package/dist/templates/locales/zh-CN/rigging.json +21 -0
- package/dist/templates/locales/zh-CN/segmentation.json +4 -0
- package/dist/templates/locales/zh-CN/stylization.json +11 -0
- package/dist/templates/locales/zh-CN/texture.json +4 -0
- package/dist/templates/locales/zh-CN/threeModel.json +9 -0
- package/dist/templates/locales/zh-CN/toolbox.json +11 -0
- package/dist/templates/magenta.ts +66 -0
- package/dist/templates/mauve.ts +66 -0
- package/dist/templates/mermaid.ts +7 -0
- package/dist/templates/middleware/createDevtools.ts +23 -0
- package/dist/templates/middleware/createHyperStorage/index.ts +127 -0
- package/dist/templates/middleware/createHyperStorage/indexedDB.ts +31 -0
- package/dist/templates/middleware/createHyperStorage/keyMapper.ts +57 -0
- package/dist/templates/middleware/createHyperStorage/localStorage.ts +23 -0
- package/dist/templates/middleware/createHyperStorage/type.ts +27 -0
- package/dist/templates/middleware/createHyperStorage/urlStorage.ts +85 -0
- package/dist/templates/nav.json +10 -0
- package/dist/templates/neutrals/index.ts +30 -0
- package/dist/templates/neutrals/mauve.ts +66 -0
- package/dist/templates/neutrals/olive.ts +66 -0
- package/dist/templates/neutrals/sage.ts +66 -0
- package/dist/templates/neutrals/sand.ts +66 -0
- package/dist/templates/neutrals/slate.ts +66 -0
- package/dist/templates/olive.ts +66 -0
- package/dist/templates/orange.ts +66 -0
- package/dist/templates/overview.json +6 -0
- package/dist/templates/package.json.tpl +145 -0
- package/dist/templates/page.tsx +25 -0
- package/dist/templates/pages/404/index.tsx +5 -0
- package/dist/templates/pages/404/page.tsx +27 -0
- package/dist/templates/pages/404.tsx +5 -0
- package/dist/templates/pages/base/index.tsx +32 -0
- package/dist/templates/pages/base/layout.tsx +6 -0
- package/dist/templates/pages/base/page.tsx +25 -0
- package/dist/templates/pages/index.css +282 -0
- package/dist/templates/pages/index.tsx +5 -0
- package/dist/templates/paths.js +12 -0
- package/dist/templates/plugins/RoutesConventionsRspackPlugin.js +100 -0
- package/dist/templates/postcss.config.js +6 -0
- package/dist/templates/primary.ts +66 -0
- package/dist/templates/profile/actions.ts +20 -0
- package/dist/templates/profile/api.ts +5 -0
- package/dist/templates/profile/initialState.ts +14 -0
- package/dist/templates/public/404.png +0 -0
- package/dist/templates/public/favicon.ico +0 -0
- package/dist/templates/public/images/banner_market_modal.webp +0 -0
- package/dist/templates/public/images/chatmode_chat_dark.webp +0 -0
- package/dist/templates/public/images/chatmode_chat_light.webp +0 -0
- package/dist/templates/public/images/chatmode_docs_dark.webp +0 -0
- package/dist/templates/public/images/chatmode_docs_light.webp +0 -0
- package/dist/templates/public/images/empty_topic_dark.webp +0 -0
- package/dist/templates/public/images/empty_topic_light.webp +0 -0
- package/dist/templates/public/images/screenshot_background.webp +0 -0
- package/dist/templates/public/images/theme_auto.webp +0 -0
- package/dist/templates/public/images/theme_dark.webp +0 -0
- package/dist/templates/public/images/theme_light.webp +0 -0
- package/dist/templates/public/index.html +29 -0
- package/dist/templates/purple.ts +66 -0
- package/dist/templates/react-app-env.d.ts +14 -0
- package/dist/templates/red.ts +66 -0
- package/dist/templates/request/index.ts +174 -0
- package/dist/templates/resources.ts +104 -0
- package/dist/templates/retopology.json +4 -0
- package/dist/templates/rigging.json +21 -0
- package/dist/templates/router/index.tsx +26 -0
- package/dist/templates/routes.ts +70 -0
- package/dist/templates/routes.tsx +18 -0
- package/dist/templates/rspack/paths.js +12 -0
- package/dist/templates/rspack/plugins/RoutesConventionsRspackPlugin.js +100 -0
- package/dist/templates/rspack/rspack.config.mjs +186 -0
- package/dist/templates/rspack/rspack.dev.mjs +219 -0
- package/dist/templates/rspack/rspack.prod.mjs +254 -0
- package/dist/templates/rspack.config.mjs +186 -0
- package/dist/templates/rspack.dev.mjs +219 -0
- package/dist/templates/rspack.prod.mjs +254 -0
- package/dist/templates/sage.ts +66 -0
- package/dist/templates/sand.ts +66 -0
- package/dist/templates/screenshot_background.webp +0 -0
- package/dist/templates/scripts/convert-locales-to-json.js +47 -0
- package/dist/templates/segmentation.json +4 -0
- package/dist/templates/sentry/sentry.config.ts +188 -0
- package/dist/templates/sentry.config.ts +188 -0
- package/dist/templates/sentry.ts +187 -0
- package/dist/templates/sentryDecorators.ts +34 -0
- package/dist/templates/settings/actions.ts +23 -0
- package/dist/templates/settings/initialState.ts +32 -0
- package/dist/templates/setupTests.ts +39 -0
- package/dist/templates/slate.ts +66 -0
- package/dist/templates/slices/profile/actions.ts +20 -0
- package/dist/templates/slices/profile/api.ts +5 -0
- package/dist/templates/slices/profile/initialState.ts +14 -0
- package/dist/templates/slices/settings/actions.ts +23 -0
- package/dist/templates/slices/settings/initialState.ts +32 -0
- package/dist/templates/src/__mocks__/fileMock.js +1 -0
- package/dist/templates/src/__mocks__/styleMock.ts +1 -0
- package/dist/templates/src/color/ColorScales/ScaleRow.tsx +74 -0
- package/dist/templates/src/color/ColorScales/index.md +168 -0
- package/dist/templates/src/color/ColorScales/index.tsx +70 -0
- package/dist/templates/src/color/ColorScales/style.ts +42 -0
- package/dist/templates/src/color/colors/blue.ts +66 -0
- package/dist/templates/src/color/colors/cyan.ts +66 -0
- package/dist/templates/src/color/colors/geekblue.ts +66 -0
- package/dist/templates/src/color/colors/gold.ts +66 -0
- package/dist/templates/src/color/colors/gray.ts +66 -0
- package/dist/templates/src/color/colors/green.ts +66 -0
- package/dist/templates/src/color/colors/index.ts +66 -0
- package/dist/templates/src/color/colors/lime.ts +66 -0
- package/dist/templates/src/color/colors/magenta.ts +66 -0
- package/dist/templates/src/color/colors/orange.ts +66 -0
- package/dist/templates/src/color/colors/primary.ts +66 -0
- package/dist/templates/src/color/colors/purple.ts +66 -0
- package/dist/templates/src/color/colors/red.ts +66 -0
- package/dist/templates/src/color/colors/volcano.ts +66 -0
- package/dist/templates/src/color/colors/yellow.ts +66 -0
- package/dist/templates/src/color/index.ts +4 -0
- package/dist/templates/src/color/neutrals/index.ts +30 -0
- package/dist/templates/src/color/neutrals/mauve.ts +66 -0
- package/dist/templates/src/color/neutrals/olive.ts +66 -0
- package/dist/templates/src/color/neutrals/sage.ts +66 -0
- package/dist/templates/src/color/neutrals/sand.ts +66 -0
- package/dist/templates/src/color/neutrals/slate.ts +66 -0
- package/dist/templates/src/color/types.ts +21 -0
- package/dist/templates/src/components/ConfigProvider/index.md +63 -0
- package/dist/templates/src/components/ConfigProvider/index.tsx +42 -0
- package/dist/templates/src/components/ErrorBoundary/index.tsx +506 -0
- package/dist/templates/src/components/FontLoader/index.md +12 -0
- package/dist/templates/src/components/FontLoader/index.tsx +41 -0
- package/dist/templates/src/components/Loading/__tests__/Loading.test.tsx +23 -0
- package/dist/templates/src/components/Loading/index.tsx +21 -0
- package/dist/templates/src/components/ManualSlave/ManualSlavePage.module.less +25 -0
- package/dist/templates/src/components/ManualSlave/ManualSlavePage.tsx +45 -0
- package/dist/templates/src/components/ManualSlave/index.ts +1 -0
- package/dist/templates/src/components/RequireAuth/RequireAuth.tsx +76 -0
- package/dist/templates/src/components/RequireAuth/index.ts +1 -0
- package/dist/templates/src/components/ThemeProvider/GlobalStyle/antdOverride.ts +89 -0
- package/dist/templates/src/components/ThemeProvider/GlobalStyle/global.ts +61 -0
- package/dist/templates/src/components/ThemeProvider/GlobalStyle/index.ts +10 -0
- package/dist/templates/src/components/ThemeProvider/Meta.tsx +75 -0
- package/dist/templates/src/components/ThemeProvider/ThemeProvider.tsx +109 -0
- package/dist/templates/src/components/ThemeProvider/index.md +69 -0
- package/dist/templates/src/components/ThemeProvider/index.ts +3 -0
- package/dist/templates/src/components/ThemeProvider/type.ts +28 -0
- package/dist/templates/src/const/constants.ts +0 -0
- package/dist/templates/src/const/locale.ts +9 -0
- package/dist/templates/src/const/system.ts +1 -0
- package/dist/templates/src/const/theme.ts +5 -0
- package/dist/templates/src/const/url.ts +1 -0
- package/dist/templates/src/hooks/useRouteTitle.tsx +36 -0
- package/dist/templates/src/hooks/useSentry.ts +92 -0
- package/dist/templates/src/index.css +2 -0
- package/dist/templates/src/index.tsx +56 -0
- package/dist/templates/src/layout/BaseLayout.tsx +15 -0
- package/dist/templates/src/layout/ContentFormWrapper.tsx +11 -0
- package/dist/templates/src/layout/ContentWrapper.module.less +137 -0
- package/dist/templates/src/layout/ContentWrapper.tsx +13 -0
- package/dist/templates/src/layout/Locale.tsx +89 -0
- package/dist/templates/src/layout/MainContentWrap.tsx +68 -0
- package/dist/templates/src/layout/ThemeContext.tsx +132 -0
- package/dist/templates/src/loading.tsx +52 -0
- package/dist/templates/src/locales/create.ts +56 -0
- package/dist/templates/src/locales/default/chat.ts +455 -0
- package/dist/templates/src/locales/default/index.ts +7 -0
- package/dist/templates/src/locales/resources.ts +104 -0
- package/dist/templates/src/pages/404/index.tsx +5 -0
- package/dist/templates/src/pages/404/page.tsx +27 -0
- package/dist/templates/src/pages/404.tsx +5 -0
- package/dist/templates/src/pages/base/index.tsx +32 -0
- package/dist/templates/src/pages/base/layout.tsx +6 -0
- package/dist/templates/src/pages/base/page.tsx +25 -0
- package/dist/templates/src/pages/index.css +282 -0
- package/dist/templates/src/pages/index.tsx +5 -0
- package/dist/templates/src/routes.tsx +18 -0
- package/dist/templates/src/setupTests.ts +39 -0
- package/dist/templates/src/styles/antdOverride.ts +24 -0
- package/dist/templates/src/styles/customTheme.ts +70 -0
- package/dist/templates/src/styles/global.ts +53 -0
- package/dist/templates/src/styles/highlighter.ts +34 -0
- package/dist/templates/src/styles/index.ts +23 -0
- package/dist/templates/src/styles/mermaid.ts +7 -0
- package/dist/templates/src/styles/text.ts +10 -0
- package/dist/templates/src/styles/theme/algorithms/darkAlgorithm.ts +47 -0
- package/dist/templates/src/styles/theme/algorithms/lightAlgorithm.ts +44 -0
- package/dist/templates/src/styles/theme/antdTheme.ts +62 -0
- package/dist/templates/src/styles/theme/customStylish.ts +189 -0
- package/dist/templates/src/styles/theme/customToken.ts +93 -0
- package/dist/templates/src/styles/theme/generateColorPalette.ts +59 -0
- package/dist/templates/src/styles/theme/token/base.ts +16 -0
- package/dist/templates/src/styles/theme/token/dark.ts +60 -0
- package/dist/templates/src/styles/theme/token/light.ts +60 -0
- package/dist/templates/src/test-utils.tsx +18 -0
- package/dist/templates/src/types/customStylish.ts +20 -0
- package/dist/templates/src/types/customToken.ts +70 -0
- package/dist/templates/src/types/index.ts +21 -0
- package/dist/templates/src/types/routes.ts +70 -0
- package/dist/templates/src/utils/__tests__/example.test.ts +7 -0
- package/dist/templates/src/utils/convert.ts +40 -0
- package/dist/templates/src/utils/cookie.ts +25 -0
- package/dist/templates/src/utils/copyToClipboard.ts +13 -0
- package/dist/templates/src/utils/difference.ts +26 -0
- package/dist/templates/src/utils/env.ts +3 -0
- package/dist/templates/src/utils/format.ts +21 -0
- package/dist/templates/src/utils/genCdnUrl.ts +30 -0
- package/dist/templates/src/utils/getMicroApp.ts +39 -0
- package/dist/templates/src/utils/index.ts +1 -0
- package/dist/templates/src/utils/locale.ts +46 -0
- package/dist/templates/src/utils/sentry.ts +187 -0
- package/dist/templates/src/utils/sentryDecorators.ts +34 -0
- package/dist/templates/src/utils/updateVersion.ts +186 -0
- package/dist/templates/store/auth/index.tsx +82 -0
- package/dist/templates/store/auth/indexApi.tsx +11 -0
- package/dist/templates/store/global/index.tsx +133 -0
- package/dist/templates/store/global/indexApi.tsx +19 -0
- package/dist/templates/store/global/types.ts +62 -0
- package/dist/templates/store/middleware/createDevtools.ts +23 -0
- package/dist/templates/store/middleware/createHyperStorage/index.ts +127 -0
- package/dist/templates/store/middleware/createHyperStorage/indexedDB.ts +31 -0
- package/dist/templates/store/middleware/createHyperStorage/keyMapper.ts +57 -0
- package/dist/templates/store/middleware/createHyperStorage/localStorage.ts +23 -0
- package/dist/templates/store/middleware/createHyperStorage/type.ts +27 -0
- package/dist/templates/store/middleware/createHyperStorage/urlStorage.ts +85 -0
- package/dist/templates/store/theme/index.ts +25 -0
- package/dist/templates/store/types.ts +83 -0
- package/dist/templates/store/user/index.tsx +1 -0
- package/dist/templates/store/user/indexApi.tsx +5 -0
- package/dist/templates/store/user/initialState.ts +15 -0
- package/dist/templates/store/user/slices/profile/actions.ts +20 -0
- package/dist/templates/store/user/slices/profile/api.ts +5 -0
- package/dist/templates/store/user/slices/profile/initialState.ts +14 -0
- package/dist/templates/store/user/slices/settings/actions.ts +23 -0
- package/dist/templates/store/user/slices/settings/initialState.ts +32 -0
- package/dist/templates/store/user/store.ts +39 -0
- package/dist/templates/store.ts +39 -0
- package/dist/templates/style.ts +42 -0
- package/dist/templates/styleMock.ts +1 -0
- package/dist/templates/styles/antdOverride.ts +24 -0
- package/dist/templates/styles/customTheme.ts +70 -0
- package/dist/templates/styles/global.ts +53 -0
- package/dist/templates/styles/highlighter.ts +34 -0
- package/dist/templates/styles/index.ts +23 -0
- package/dist/templates/styles/mermaid.ts +7 -0
- package/dist/templates/styles/text.ts +10 -0
- package/dist/templates/styles/theme/algorithms/darkAlgorithm.ts +47 -0
- package/dist/templates/styles/theme/algorithms/lightAlgorithm.ts +44 -0
- package/dist/templates/styles/theme/antdTheme.ts +62 -0
- package/dist/templates/styles/theme/customStylish.ts +189 -0
- package/dist/templates/styles/theme/customToken.ts +93 -0
- package/dist/templates/styles/theme/generateColorPalette.ts +59 -0
- package/dist/templates/styles/theme/token/base.ts +16 -0
- package/dist/templates/styles/theme/token/dark.ts +60 -0
- package/dist/templates/styles/theme/token/light.ts +60 -0
- package/dist/templates/stylization.json +11 -0
- package/dist/templates/system.ts +1 -0
- package/dist/templates/tailwind.config.js +13 -0
- package/dist/templates/test-utils.tsx +18 -0
- package/dist/templates/text.ts +10 -0
- package/dist/templates/texture.json +4 -0
- package/dist/templates/theme/algorithms/darkAlgorithm.ts +47 -0
- package/dist/templates/theme/algorithms/lightAlgorithm.ts +44 -0
- package/dist/templates/theme/antdTheme.ts +62 -0
- package/dist/templates/theme/customStylish.ts +189 -0
- package/dist/templates/theme/customToken.ts +93 -0
- package/dist/templates/theme/generateColorPalette.ts +59 -0
- package/dist/templates/theme/index.ts +25 -0
- package/dist/templates/theme/token/base.ts +16 -0
- package/dist/templates/theme/token/dark.ts +60 -0
- package/dist/templates/theme/token/light.ts +60 -0
- package/dist/templates/theme.ts +5 -0
- package/dist/templates/theme_auto.webp +0 -0
- package/dist/templates/theme_dark.webp +0 -0
- package/dist/templates/theme_light.webp +0 -0
- package/dist/templates/threeModel.json +9 -0
- package/dist/templates/token/base.ts +16 -0
- package/dist/templates/token/dark.ts +60 -0
- package/dist/templates/token/light.ts +60 -0
- package/dist/templates/toolbox.json +11 -0
- package/dist/templates/tsconfig.json +27 -0
- package/dist/templates/type.ts +28 -0
- package/dist/templates/types/customStylish.ts +20 -0
- package/dist/templates/types/customToken.ts +70 -0
- package/dist/templates/types/index.ts +21 -0
- package/dist/templates/types/routes.ts +70 -0
- package/dist/templates/types.ts +21 -0
- package/dist/templates/updateVersion.ts +186 -0
- package/dist/templates/url.ts +1 -0
- package/dist/templates/urlStorage.ts +85 -0
- package/dist/templates/useRouteTitle.tsx +36 -0
- package/dist/templates/useSentry.ts +92 -0
- package/dist/templates/user/index.tsx +1 -0
- package/dist/templates/user/indexApi.tsx +5 -0
- package/dist/templates/user/initialState.ts +15 -0
- package/dist/templates/user/slices/profile/actions.ts +20 -0
- package/dist/templates/user/slices/profile/api.ts +5 -0
- package/dist/templates/user/slices/profile/initialState.ts +14 -0
- package/dist/templates/user/slices/settings/actions.ts +23 -0
- package/dist/templates/user/slices/settings/initialState.ts +32 -0
- package/dist/templates/user/store.ts +39 -0
- package/dist/templates/utils/__tests__/example.test.ts +7 -0
- package/dist/templates/utils/convert.ts +40 -0
- package/dist/templates/utils/cookie.ts +25 -0
- package/dist/templates/utils/copyToClipboard.ts +13 -0
- package/dist/templates/utils/difference.ts +26 -0
- package/dist/templates/utils/env.ts +3 -0
- package/dist/templates/utils/format.ts +21 -0
- package/dist/templates/utils/genCdnUrl.ts +30 -0
- package/dist/templates/utils/getMicroApp.ts +39 -0
- package/dist/templates/utils/index.ts +1 -0
- package/dist/templates/utils/locale.ts +46 -0
- package/dist/templates/utils/sentry.ts +187 -0
- package/dist/templates/utils/sentryDecorators.ts +34 -0
- package/dist/templates/utils/updateVersion.ts +186 -0
- package/dist/templates/volcano.ts +66 -0
- package/dist/templates/yellow.ts +66 -0
- package/dist/templates/zh-CN/common.json +74 -0
- package/dist/templates/zh-CN/generate.json +71 -0
- package/dist/templates/zh-CN/nav.json +10 -0
- package/dist/templates/zh-CN/overview.json +6 -0
- package/dist/templates/zh-CN/retopology.json +4 -0
- package/dist/templates/zh-CN/rigging.json +21 -0
- package/dist/templates/zh-CN/segmentation.json +4 -0
- package/dist/templates/zh-CN/stylization.json +11 -0
- package/dist/templates/zh-CN/texture.json +4 -0
- package/dist/templates/zh-CN/threeModel.json +9 -0
- package/dist/templates/zh-CN/toolbox.json +11 -0
- package/dist/templates//347/277/273/350/257/221.md +9 -0
- package/package.json +29 -21
- package/README.md +0 -180
- package/dist/api.js +0 -44
- package/dist/templates.js +0 -87
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lang": {
|
|
3
|
+
"ar": "Arabic",
|
|
4
|
+
"bg-BG": "Bulgarian",
|
|
5
|
+
"bn": "Bengali",
|
|
6
|
+
"cs-CZ": "Czech",
|
|
7
|
+
"da-DK": "Danish",
|
|
8
|
+
"de-DE": "German",
|
|
9
|
+
"el-GR": "Greek",
|
|
10
|
+
"en": "English",
|
|
11
|
+
"en-US": "English",
|
|
12
|
+
"es-ES": "Spanish",
|
|
13
|
+
"fa-IR": "Persian",
|
|
14
|
+
"fi-FI": "Finnish",
|
|
15
|
+
"fr-FR": "French",
|
|
16
|
+
"hi-IN": "Hindi",
|
|
17
|
+
"hu-HU": "Hungarian",
|
|
18
|
+
"id-ID": "Indonesian",
|
|
19
|
+
"it-IT": "Italian",
|
|
20
|
+
"ja-JP": "Japanese",
|
|
21
|
+
"ko-KR": "Korean",
|
|
22
|
+
"nl-NL": "Dutch",
|
|
23
|
+
"no-NO": "Norwegian",
|
|
24
|
+
"pl-PL": "Polish",
|
|
25
|
+
"pt-BR": "Portuguese",
|
|
26
|
+
"pt-PT": "Portuguese",
|
|
27
|
+
"ro-RO": "Romanian",
|
|
28
|
+
"ru-RU": "Russian",
|
|
29
|
+
"sk-SK": "Slovak",
|
|
30
|
+
"sr-RS": "Serbian",
|
|
31
|
+
"sv-SE": "Swedish",
|
|
32
|
+
"th-TH": "Thai",
|
|
33
|
+
"tr-TR": "Turkish",
|
|
34
|
+
"uk-UA": "Ukrainian",
|
|
35
|
+
"vi-VN": "Vietnamese",
|
|
36
|
+
"zh": "Simplified Chinese",
|
|
37
|
+
"zh-CN": "Simplified Chinese",
|
|
38
|
+
"zh-TW": "Traditional Chinese"
|
|
39
|
+
},
|
|
40
|
+
"tab": {
|
|
41
|
+
"model": "Model",
|
|
42
|
+
"generate": "Generation",
|
|
43
|
+
"overview": "Overview",
|
|
44
|
+
"segmentation": "Segmentation",
|
|
45
|
+
"retopology": "Retopology",
|
|
46
|
+
"texture": "Texture",
|
|
47
|
+
"rigging": "Rigging",
|
|
48
|
+
"stylization": "Stylization"
|
|
49
|
+
},
|
|
50
|
+
"imageUpload": {
|
|
51
|
+
"actions": "Drag or Upload Image",
|
|
52
|
+
"desc": "JPG,PNG, WEBP Size≤20MB"
|
|
53
|
+
},
|
|
54
|
+
"loading": "Loading...",
|
|
55
|
+
"processing": "Processing...",
|
|
56
|
+
"rigging": {
|
|
57
|
+
"run": "Rigging...",
|
|
58
|
+
"preRigging": "Pre Rigging...",
|
|
59
|
+
"retargeting": "Retargeting...",
|
|
60
|
+
"stylizing": "Stylizing..."
|
|
61
|
+
},
|
|
62
|
+
"tour": {
|
|
63
|
+
"one": {
|
|
64
|
+
"title": "Welcome to Tripo Studio Workspace!",
|
|
65
|
+
"desc": "Master view controls with your mouse or touchpad!"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"exportPopover": {
|
|
69
|
+
"fileName": "File Name",
|
|
70
|
+
"fileNamePlaceholder": "Please enter file name",
|
|
71
|
+
"format": "Format",
|
|
72
|
+
"export": "Export"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Generate 3D Models",
|
|
3
|
+
"desc": "Instantly generate high-quality 3D models with AI",
|
|
4
|
+
"textTo3D": "Text to 3D",
|
|
5
|
+
"imageTo3D": "Image to 3D",
|
|
6
|
+
"multiViewsTo3D": "Multi-views to 3D",
|
|
7
|
+
"batch3DGen": "Batch 3D Gen",
|
|
8
|
+
"stayTuned": "Stay Tuned",
|
|
9
|
+
"style": {
|
|
10
|
+
"title": "Style",
|
|
11
|
+
"none": "None",
|
|
12
|
+
"cartoon": "Cartoon",
|
|
13
|
+
"christmas": "Christmas",
|
|
14
|
+
"barbie": "Barbie",
|
|
15
|
+
"clay": "Clay",
|
|
16
|
+
"steam_punk": "Steam Punk",
|
|
17
|
+
"alien": "Alien",
|
|
18
|
+
"gold": "Gold",
|
|
19
|
+
"bronze": "Bronze",
|
|
20
|
+
"wood": "Wood",
|
|
21
|
+
"stone": "Stone",
|
|
22
|
+
"metal": "Metal",
|
|
23
|
+
"plastic": "Plastic"
|
|
24
|
+
},
|
|
25
|
+
"hdTexture": {
|
|
26
|
+
"title": "HD Texture",
|
|
27
|
+
"desc": "High-res textures for refined details"
|
|
28
|
+
},
|
|
29
|
+
"modelVersion": {
|
|
30
|
+
"title": "Version",
|
|
31
|
+
"desc": "V2.5-20250123 Unprecedented detail and fidelity\nV2.0-20240919 Industry-leading geometry with PBR"
|
|
32
|
+
},
|
|
33
|
+
"topology": {
|
|
34
|
+
"title": "Topology",
|
|
35
|
+
"desc": "Select quad faces to force output as FBX model.",
|
|
36
|
+
"quad": "Quad",
|
|
37
|
+
"triangle": "Triangle"
|
|
38
|
+
},
|
|
39
|
+
"polycount": {
|
|
40
|
+
"title": "Polycount",
|
|
41
|
+
"auto": "Auto"
|
|
42
|
+
},
|
|
43
|
+
"textureAlignment": {
|
|
44
|
+
"title": "Texture Alignment",
|
|
45
|
+
"desc": "Image Aligned: Highly similar to the original image, may has 3D detail variations\nStructure Aligned: Maintains precise 3D structure, may slightly differs from the original image",
|
|
46
|
+
"originalImageDesc": "Image Aligned",
|
|
47
|
+
"geometryDesc": "Structure Aligned"
|
|
48
|
+
},
|
|
49
|
+
"moreSettings": "More Settings",
|
|
50
|
+
"generate": "Generate",
|
|
51
|
+
"front": "Front",
|
|
52
|
+
"left": "Left",
|
|
53
|
+
"right": "Right",
|
|
54
|
+
"back": "Back",
|
|
55
|
+
"multiViewToModel": {
|
|
56
|
+
"imagesTip": "Please upload at least one front view plus one side / back view."
|
|
57
|
+
},
|
|
58
|
+
"setting": {
|
|
59
|
+
"autoSize": "Auto Size",
|
|
60
|
+
"modelSeed": "Model Seed",
|
|
61
|
+
"textureSeed": "Texture Seed",
|
|
62
|
+
"autoSizeDesc": "Automatically scale the model to real size, in meters.",
|
|
63
|
+
"modelSeedDesc": "Seed controls the geometry generation process, models generated with the same seed will be the same",
|
|
64
|
+
"textureSeedDesc": "Using the same seed will produce the same texture",
|
|
65
|
+
"pbrDesc": "Accurately presenting the appearance of objects by simulating physical properties"
|
|
66
|
+
},
|
|
67
|
+
"yes": "Yes",
|
|
68
|
+
"no": "No",
|
|
69
|
+
"on": "On",
|
|
70
|
+
"off": "Off"
|
|
71
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Rigging & Animations",
|
|
3
|
+
"desc": "Instantly auto‑rig any model and generate ready‑to‑use animations.",
|
|
4
|
+
"run": "Auto Rig",
|
|
5
|
+
"actions": {
|
|
6
|
+
"stand": "Stand",
|
|
7
|
+
"walk": "Walk",
|
|
8
|
+
"run": "Run",
|
|
9
|
+
"climb": "Climb",
|
|
10
|
+
"jump": "Jump",
|
|
11
|
+
"slash": "Slash",
|
|
12
|
+
"shoot": "Shoot",
|
|
13
|
+
"hurt": "Hurt",
|
|
14
|
+
"fall": "Fall",
|
|
15
|
+
"turn": "Turn",
|
|
16
|
+
"dive": "Dive",
|
|
17
|
+
"idle": "Idle"
|
|
18
|
+
},
|
|
19
|
+
"retry": "Retry",
|
|
20
|
+
"preRiggingFailed": "Auto-Rig is currently not supported for this model."
|
|
21
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lang": {
|
|
3
|
+
"ar": "阿拉伯语",
|
|
4
|
+
"bg-BG": "保加利亚语",
|
|
5
|
+
"bn": "孟加拉语",
|
|
6
|
+
"cs-CZ": "捷克语",
|
|
7
|
+
"da-DK": "丹麦语",
|
|
8
|
+
"de-DE": "德语",
|
|
9
|
+
"el-GR": "希腊语",
|
|
10
|
+
"en": "英语",
|
|
11
|
+
"en-US": "英语",
|
|
12
|
+
"es-ES": "西班牙语",
|
|
13
|
+
"fa-IR": "波斯语",
|
|
14
|
+
"fi-FI": "芬兰语",
|
|
15
|
+
"fr-FR": "法语",
|
|
16
|
+
"hi-IN": "印地语",
|
|
17
|
+
"hu-HU": "匈牙利语",
|
|
18
|
+
"id-ID": "印尼语",
|
|
19
|
+
"it-IT": "意大利语",
|
|
20
|
+
"ja-JP": "日语",
|
|
21
|
+
"ko-KR": "韩语",
|
|
22
|
+
"nl-NL": "荷兰语",
|
|
23
|
+
"no-NO": "挪威语",
|
|
24
|
+
"pl-PL": "波兰语",
|
|
25
|
+
"pt-BR": "葡萄牙语",
|
|
26
|
+
"pt-PT": "葡萄牙语",
|
|
27
|
+
"ro-RO": "罗马尼亚语",
|
|
28
|
+
"ru-RU": "俄语",
|
|
29
|
+
"sk-SK": "斯洛伐克语",
|
|
30
|
+
"sr-RS": "塞尔维亚语",
|
|
31
|
+
"sv-SE": "瑞典语",
|
|
32
|
+
"th-TH": "泰语",
|
|
33
|
+
"tr-TR": "土耳其语",
|
|
34
|
+
"uk-UA": "乌克兰语",
|
|
35
|
+
"vi-VN": "越南语",
|
|
36
|
+
"zh": "简体中文",
|
|
37
|
+
"zh-CN": "简体中文",
|
|
38
|
+
"zh-TW": "繁体中文"
|
|
39
|
+
},
|
|
40
|
+
"tab": {
|
|
41
|
+
"model": "模型",
|
|
42
|
+
"generate": "生成",
|
|
43
|
+
"overview": "模型概览",
|
|
44
|
+
"segmentation": "分割",
|
|
45
|
+
"retopology": "重拓扑",
|
|
46
|
+
"texture": "纹理",
|
|
47
|
+
"rigging": "一键绑骨",
|
|
48
|
+
"stylization": "风格化"
|
|
49
|
+
},
|
|
50
|
+
"imageUpload": {
|
|
51
|
+
"actions": "点击 / 拖拽",
|
|
52
|
+
"desc": "支持 JPG 和 PNG 格式,最大尺寸为 20 MB"
|
|
53
|
+
},
|
|
54
|
+
"loading": "加载中...",
|
|
55
|
+
"processing": "解析中...",
|
|
56
|
+
"rigging": {
|
|
57
|
+
"run": "自动绑定",
|
|
58
|
+
"preRigging": "骨骼绑定中...",
|
|
59
|
+
"retargeting": "动画中...",
|
|
60
|
+
"stylizing": "风格化中..."
|
|
61
|
+
},
|
|
62
|
+
"tour": {
|
|
63
|
+
"one": {
|
|
64
|
+
"title": "欢迎来到Tripo Studio工作区!",
|
|
65
|
+
"desc": "用鼠标或触控板熟悉视图控制!"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"exportPopover": {
|
|
69
|
+
"fileName": "文件名",
|
|
70
|
+
"fileNamePlaceholder": "请输入文件名",
|
|
71
|
+
"format": "格式",
|
|
72
|
+
"export": "导出"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "生成3D模型",
|
|
3
|
+
"desc": "使用AI技术快速生成高质量的3D模型",
|
|
4
|
+
"textTo3D": "文生模型",
|
|
5
|
+
"imageTo3D": "图生模型",
|
|
6
|
+
"multiViewsTo3D": "多视图生模型",
|
|
7
|
+
"batch3DGen": "批量图生模型",
|
|
8
|
+
"stayTuned": "即将上线",
|
|
9
|
+
"style": {
|
|
10
|
+
"title": "风格",
|
|
11
|
+
"none": "无",
|
|
12
|
+
"cartoon": "卡通",
|
|
13
|
+
"christmas": "圣诞",
|
|
14
|
+
"barbie": "芭比",
|
|
15
|
+
"clay": "粘土",
|
|
16
|
+
"steam_punk": "蒸汽朋克",
|
|
17
|
+
"alien": "外星人",
|
|
18
|
+
"gold": "黄金",
|
|
19
|
+
"bronze": "青铜",
|
|
20
|
+
"wood": "木头",
|
|
21
|
+
"stone": "石头",
|
|
22
|
+
"metal": "金属",
|
|
23
|
+
"plastic": "塑料"
|
|
24
|
+
},
|
|
25
|
+
"hdTexture": {
|
|
26
|
+
"title": "高清纹理",
|
|
27
|
+
"desc": "高分辨率纹理,细节更丰富"
|
|
28
|
+
},
|
|
29
|
+
"modelVersion": {
|
|
30
|
+
"title": "模型",
|
|
31
|
+
"desc": "V2.5-20250123 前所未有的细节与真实感\nV2.0-20240919 行业内领先的几何体与 PBR"
|
|
32
|
+
},
|
|
33
|
+
"topology": {
|
|
34
|
+
"title": "拓扑",
|
|
35
|
+
"desc": "选择四边面将强制输出为 FBX 模型。",
|
|
36
|
+
"quad": "四边面",
|
|
37
|
+
"triangle": "三角面"
|
|
38
|
+
},
|
|
39
|
+
"polycount": {
|
|
40
|
+
"title": "面数限制",
|
|
41
|
+
"auto": "自动"
|
|
42
|
+
},
|
|
43
|
+
"textureAlignment": {
|
|
44
|
+
"title": "纹理对齐",
|
|
45
|
+
"desc": "图像对齐:与原始图像高度相似,可能存在3D细节上的差异\n结构对齐:保持精确的3D结构,可能与原始图像略有不同",
|
|
46
|
+
"originalImageDesc": "图像对齐",
|
|
47
|
+
"geometryDesc": "结构对齐"
|
|
48
|
+
},
|
|
49
|
+
"moreSettings": "高级设置",
|
|
50
|
+
"generate": "生成",
|
|
51
|
+
"front": "正视图",
|
|
52
|
+
"left": "左视图",
|
|
53
|
+
"right": "右视图",
|
|
54
|
+
"back": "后视图",
|
|
55
|
+
"multiViewToModel": {
|
|
56
|
+
"imagesTip": "请上传至少一张正视图以及一张侧视图或后视图。"
|
|
57
|
+
},
|
|
58
|
+
"setting": {
|
|
59
|
+
"autoSize": "尺寸缩放",
|
|
60
|
+
"modelSeed": "模型种子",
|
|
61
|
+
"textureSeed": "纹理种子",
|
|
62
|
+
"autoSizeDesc": "自动将模型缩放到真实尺寸,单位为米。",
|
|
63
|
+
"modelSeedDesc": "种子控制几何生成过程,使用相同种子时生成的模型相同",
|
|
64
|
+
"textureSeedDesc": "使用相同的种子将产生相同的纹理",
|
|
65
|
+
"pbrDesc": "通过模拟物理特性精准呈现物体外观"
|
|
66
|
+
},
|
|
67
|
+
"yes": "是",
|
|
68
|
+
"no": "否",
|
|
69
|
+
"on": "开",
|
|
70
|
+
"off": "关"
|
|
71
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "绑定与动画",
|
|
3
|
+
"desc": "即时自动绑定模型并生成可用动画",
|
|
4
|
+
"run": "自动绑定",
|
|
5
|
+
"actions": {
|
|
6
|
+
"stand": "站立",
|
|
7
|
+
"walk": "行走",
|
|
8
|
+
"run": "跑步",
|
|
9
|
+
"climb": "攀爬",
|
|
10
|
+
"jump": "跳跃",
|
|
11
|
+
"slash": "劈砍",
|
|
12
|
+
"shoot": "射击",
|
|
13
|
+
"hurt": "受击",
|
|
14
|
+
"fall": "坠落",
|
|
15
|
+
"turn": "转身",
|
|
16
|
+
"dive": "翻滚",
|
|
17
|
+
"idle": "待机"
|
|
18
|
+
},
|
|
19
|
+
"retry": "重试",
|
|
20
|
+
"preRiggingFailed": "当前模型不支持自动绑定。"
|
|
21
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"author": "{{{ author }}}",
|
|
4
|
+
"version": "{{{ version }}}",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"start": "cross-env NODE_ENV=development rspack serve --config config/rspack/rspack.dev.mjs",
|
|
7
|
+
"dev": "pnpm run start",
|
|
8
|
+
"dev:test": "cross-env NODE_ENV=testDevelopment rspack serve --config config/rspack/rspack.dev.mjs",
|
|
9
|
+
"build:test": "cross-env NODE_ENV=test rspack build --config config/rspack/rspack.prod.mjs --mode production",
|
|
10
|
+
"build": "cross-env NODE_ENV=production rspack build --config config/rspack/rspack.prod.mjs --mode production",
|
|
11
|
+
"test": "jest",
|
|
12
|
+
"lint": "biome check",
|
|
13
|
+
"test:watch": "jest --watch",
|
|
14
|
+
"test:coverage": "jest --coverage",
|
|
15
|
+
"prepare": "husky install",
|
|
16
|
+
"test:ci": "jest --coverage --watchAll=false"
|
|
17
|
+
},
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=20.0.0",
|
|
20
|
+
"pnpm": ">=8.0.0"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@ant-design/icons": "^6.0.0",
|
|
24
|
+
"@rspack/cli": "^1.1.8",
|
|
25
|
+
"@rspack/core": "^1.6.1",
|
|
26
|
+
"@sentry/react": "^9.27.0",
|
|
27
|
+
"@sentry/webpack-plugin": "^3.5.0",
|
|
28
|
+
"@tailwindcss/postcss": "^4.1.8",
|
|
29
|
+
"@tanstack/react-query": "^5.80.6",
|
|
30
|
+
"ahooks": "^3.8.5",
|
|
31
|
+
"antd": "^6.1.1",
|
|
32
|
+
"antd-style": "^3.7.1",
|
|
33
|
+
"clsx": "^2.1.1",
|
|
34
|
+
"copy-webpack-plugin": "^13.0.1",
|
|
35
|
+
"dayjs": "^1.11.13",
|
|
36
|
+
"fast-deep-equal": "^3.1.3",
|
|
37
|
+
"garfish": "^1.19.3",
|
|
38
|
+
"i18next": "^25.2.1",
|
|
39
|
+
"i18next-browser-languagedetector": "^8.1.0",
|
|
40
|
+
"i18next-resources-to-backend": "^1.2.1",
|
|
41
|
+
"idb-keyval": "^6.2.2",
|
|
42
|
+
"lucide-react": "^0.460.0",
|
|
43
|
+
"nanoid": "^5.0.9",
|
|
44
|
+
"polished": "^4.3.1",
|
|
45
|
+
"qs": "^6.13.1",
|
|
46
|
+
"query-string": "^8.2.0",
|
|
47
|
+
"react": "^19.1.0",
|
|
48
|
+
"react-dom": "^19.1.0",
|
|
49
|
+
"react-i18next": "^15.5.2",
|
|
50
|
+
"react-layout-kit": "^2.0.0",
|
|
51
|
+
"react-refresh": "^0.14.2",
|
|
52
|
+
"react-router": "^7.6.1",
|
|
53
|
+
"resolve-accept-language": "^3.1.11",
|
|
54
|
+
"rtl-detect": "^1.1.2",
|
|
55
|
+
"rxjs": "^7.8.2",
|
|
56
|
+
"styled-components": "^5.3.11",
|
|
57
|
+
"tailwind-merge": "^3.3.0",
|
|
58
|
+
"tailwindcss": "^4.1.8",
|
|
59
|
+
"universal-cookie": "^8.0.1",
|
|
60
|
+
"url-join": "^5.0.0",
|
|
61
|
+
"uuid": "^11.0.3",
|
|
62
|
+
"zustand": "^5.0.5",
|
|
63
|
+
"zustand-utils": "^2.1.1"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@babel/core": "^7.26.0",
|
|
67
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
68
|
+
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
69
|
+
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
|
|
70
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
71
|
+
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
72
|
+
"@babel/preset-env": "^7.26.0",
|
|
73
|
+
"@babel/preset-react": "^7.25.9",
|
|
74
|
+
"@babel/runtime": "^7.26.0",
|
|
75
|
+
"@babel/runtime-corejs3": "^7.26.0",
|
|
76
|
+
"@biomejs/biome": "2.3.2",
|
|
77
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
|
|
78
|
+
"@rsdoctor/rspack-plugin": "^1.3.8",
|
|
79
|
+
"@rsdoctor/webpack-plugin": "^0.4.13",
|
|
80
|
+
"@rspack/cli": "^1.1.8",
|
|
81
|
+
"@rspack/core": "^1.1.8",
|
|
82
|
+
"@svgr/webpack": "^7.0.0",
|
|
83
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
84
|
+
"@testing-library/react": "^16.3.0",
|
|
85
|
+
"@testing-library/user-event": "^14.6.1",
|
|
86
|
+
"@types/jest": "^29.5.14",
|
|
87
|
+
"@types/lodash-es": "^4.17.12",
|
|
88
|
+
"@types/node": "^22.9.0",
|
|
89
|
+
"@types/react": "^19.1.6",
|
|
90
|
+
"@types/react-dom": "^19.1.6",
|
|
91
|
+
"@types/react-resizable": "^3.0.8",
|
|
92
|
+
"@types/styled-components": "^5.1.34",
|
|
93
|
+
"assert": "^2.1.0",
|
|
94
|
+
"autoprefixer": "^10.4.20",
|
|
95
|
+
"axios": "^1.6.8",
|
|
96
|
+
"browserify-fs": "^1.0.0",
|
|
97
|
+
"browserify-zlib": "^0.2.0",
|
|
98
|
+
"buffer": "^6.0.3",
|
|
99
|
+
"chokidar": "^4.0.3",
|
|
100
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
101
|
+
"cross-env": "^7.0.3",
|
|
102
|
+
"crypto-browserify": "^3.12.1",
|
|
103
|
+
"css-loader": "^6.11.0",
|
|
104
|
+
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
105
|
+
"dotenv": "^16.4.5",
|
|
106
|
+
"ejs-loader": "^0.5.0",
|
|
107
|
+
"esbuild-loader": "^4.2.2",
|
|
108
|
+
"esbuild-register": "^3.6.0",
|
|
109
|
+
"globals": "^16.3.0",
|
|
110
|
+
"html-webpack-plugin": "^5.6.3",
|
|
111
|
+
"husky": "^9.1.7",
|
|
112
|
+
"jest": "^29.7.0",
|
|
113
|
+
"jest-environment-jsdom": "30.0.0-beta.3",
|
|
114
|
+
"jiti": "^2.5.1",
|
|
115
|
+
"js-cookie": "^2.2.1",
|
|
116
|
+
"less": "^4.2.0",
|
|
117
|
+
"less-loader": "^12.2.0",
|
|
118
|
+
"lint-staged": "^16.1.6",
|
|
119
|
+
"lodash-es": "^4.17.21",
|
|
120
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
121
|
+
"moment": "^2.30.1",
|
|
122
|
+
"path-browserify": "^1.0.1",
|
|
123
|
+
"postcss": "^8.4.49",
|
|
124
|
+
"postcss-loader": "^7.3.4",
|
|
125
|
+
"process": "^0.11.10",
|
|
126
|
+
"querystring-es3": "^0.2.1",
|
|
127
|
+
"react-compiler-webpack": "^0.2.0",
|
|
128
|
+
"sass": "^1.92.0",
|
|
129
|
+
"sass-loader": "^16.0.5",
|
|
130
|
+
"stream-browserify": "^3.0.0",
|
|
131
|
+
"style-loader": "^3.3.4",
|
|
132
|
+
"terser-webpack-plugin": "^5.3.11",
|
|
133
|
+
"ts-jest": "^29.3.4",
|
|
134
|
+
"ts-loader": "^9.5.1",
|
|
135
|
+
"typescript": "^5.6.3",
|
|
136
|
+
"url": "^0.11.4",
|
|
137
|
+
"util": "^0.12.5",
|
|
138
|
+
"webpack-merge": "^6.0.1"
|
|
139
|
+
},
|
|
140
|
+
"lint-staged": {
|
|
141
|
+
"*.{js,ts,cjs,mjs,d.cts,d.mts,jsx,tsx,json,jsonc}": [
|
|
142
|
+
"biome check --files-ignore-unknown=true"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// typings.d.ts
|
|
2
|
+
declare module '*.css';
|
|
3
|
+
declare module '*.less';
|
|
4
|
+
declare module '*.png';
|
|
5
|
+
declare module '*.jpeg';
|
|
6
|
+
declare module '*.jpg';
|
|
7
|
+
declare module '*.scss';
|
|
8
|
+
declare module '*.svg' {
|
|
9
|
+
export function ReactComponent(
|
|
10
|
+
props: React.SVGProps<SVGSVGElement>,
|
|
11
|
+
): React.ReactElement;
|
|
12
|
+
const url: string;
|
|
13
|
+
export default url;
|
|
14
|
+
}
|