From a67a1dbdd4317d7b006328c463add725e3d6c50d Mon Sep 17 00:00:00 2001 From: oasis-cloud Date: Wed, 27 Nov 2024 11:32:26 +0800 Subject: [PATCH] chore: reconstruct directory structure --- README.md | 36 +- .../v2/create-app/README.md | 0 nutui-react/v2/create-app/craco.config.js | 16 + nutui-react/v2/create-app/package.json | 43 + nutui-react/v2/create-app/public/favicon.ico | Bin 0 -> 3870 bytes nutui-react/v2/create-app/public/index.html | 43 + nutui-react/v2/create-app/public/logo192.png | Bin 0 -> 5347 bytes nutui-react/v2/create-app/public/logo512.png | Bin 0 -> 9664 bytes .../v2/create-app/public/manifest.json | 25 + nutui-react/v2/create-app/public/robots.txt | 3 + nutui-react/v2/create-app/src/App.css | 28 + nutui-react/v2/create-app/src/App.js | 30 + nutui-react/v2/create-app/src/App.test.js | 8 + nutui-react/v2/create-app/src/index.css | 33 + nutui-react/v2/create-app/src/index.js | 17 + nutui-react/v2/create-app/src/logo.svg | 1 + .../v2/create-app/src/reportWebVitals.js | 13 + nutui-react/v2/create-app/src/setupTests.js | 5 + nutui-react/v2/next/.babelrc | 13 + nutui-react/v2/next/.gitignore | 2 + nutui-react/v2/next/README.md | 38 + nutui-react/v2/next/next-env.d.ts | 5 + nutui-react/v2/next/next.config.js | 7 + nutui-react/v2/next/package.json | 28 + nutui-react/v2/next/public/favicon.ico | Bin 0 -> 25931 bytes nutui-react/v2/next/public/next.svg | 1 + nutui-react/v2/next/public/vercel.svg | 1 + nutui-react/v2/next/src/pages/_app.tsx | 6 + nutui-react/v2/next/src/pages/index.tsx | 37 + .../v2/next/src/styles/Home.module.css | 23 + nutui-react/v2/next/src/styles/globals.css | 33 + nutui-react/v2/next/tsconfig.json | 23 + .../v2/rsbuild}/.gitignore | 0 nutui-react/v2/rsbuild/README.md | 29 + nutui-react/v2/rsbuild/package.json | 23 + nutui-react/v2/rsbuild/pnpm-lock.yaml | 1266 +++++++++++++++++ nutui-react/v2/rsbuild/rsbuild.config.ts | 29 + nutui-react/v2/rsbuild/src/App.css | 28 + nutui-react/v2/rsbuild/src/App.tsx | 37 + nutui-react/v2/rsbuild/src/env.d.ts | 1 + nutui-react/v2/rsbuild/src/index.css | 33 + nutui-react/v2/rsbuild/src/index.tsx | 11 + nutui-react/v2/rsbuild/tsconfig.json | 14 + nutui-react/v2/vite/.gitignore | 1 + nutui-react/v2/vite/README.md | 27 + nutui-react/v2/vite/index.html | 13 + nutui-react/v2/vite/package.json | 31 + .../v2/vite}/public/vite.svg | 0 nutui-react/v2/vite/src/App.css | 23 + nutui-react/v2/vite/src/App.tsx | 29 + nutui-react/v2/vite/src/index.css | 33 + nutui-react/v2/vite/src/main.tsx | 10 + .../v2/vite}/src/vite-env.d.ts | 0 nutui-react/v2/vite/tsconfig.json | 25 + nutui-react/v2/vite/tsconfig.node.json | 10 + nutui-react/v2/vite/vite.config.ts | 22 + {cdn => nutui/v4/cdn}/4.0.html | 0 nutui/v4/rsbuild/.gitignore | 13 + {rsbuild => nutui/v4/rsbuild}/README.md | 0 {rsbuild => nutui/v4/rsbuild}/components.d.ts | 0 {rsbuild => nutui/v4/rsbuild}/package.json | 0 {rsbuild => nutui/v4/rsbuild}/pnpm-lock.yaml | 0 .../v4/rsbuild}/rsbuild.config.ts | 0 {rsbuild => nutui/v4/rsbuild}/src/App.vue | 0 {rsbuild => nutui/v4/rsbuild}/src/env.d.ts | 0 .../v4/rsbuild/src/index.css | 0 {rsbuild => nutui/v4/rsbuild}/src/index.ts | 0 {rsbuild => nutui/v4/rsbuild}/tsconfig.json | 0 {taro-jdt => nutui/v4/taro-jdt}/.gitignore | 0 .../v4/taro-jdt}/babel.config.js | 0 .../v4/taro-jdt}/components.d.ts | 0 {taro-jdt => nutui/v4/taro-jdt}/config/dev.js | 0 .../v4/taro-jdt}/config/index.js | 0 .../v4/taro-jdt}/config/prod.js | 0 {taro-jdt => nutui/v4/taro-jdt}/package.json | 0 .../v4/taro-jdt}/pnpm-lock.yaml | 0 .../v4/taro-jdt}/project.config.json | 0 .../v4/taro-jdt}/project.tt.json | 0 .../v4/taro-jdt}/src/app.config.ts | 0 {taro-tsx => nutui/v4/taro-jdt}/src/app.scss | 0 {taro-jdt => nutui/v4/taro-jdt}/src/app.ts | 0 .../v4/taro-jdt}/src/index.html | 0 .../taro-jdt}/src/pages/index/index.config.ts | 0 .../v4/taro-jdt}/src/pages/index/index.vue | 0 {taro-jdt => nutui/v4/taro-jdt}/tsconfig.json | 0 .../v4/taro-jdt}/types/global.d.ts | 0 .../v4/taro-jdt}/types/vue.d.ts | 0 .../v4/taro-tsx}/babel.config.js | 0 .../v4/taro-tsx}/components.d.ts | 0 {taro-tsx => nutui/v4/taro-tsx}/config/dev.js | 0 .../v4/taro-tsx}/config/index.js | 0 .../v4/taro-tsx}/config/prod.js | 0 {taro-tsx => nutui/v4/taro-tsx}/package.json | 0 .../v4/taro-tsx}/pnpm-lock.yaml | 0 .../v4/taro-tsx}/project.config.json | 0 .../v4/taro-tsx}/project.tt.json | 0 .../v4/taro-tsx}/src/app.config.ts | 0 {taro => nutui/v4/taro-tsx}/src/app.scss | 0 {taro-tsx => nutui/v4/taro-tsx}/src/app.ts | 0 .../v4/taro-tsx}/src/index.html | 0 .../taro-tsx}/src/pages/index/index.config.ts | 0 .../v4/taro-tsx}/src/pages/index/index.tsx | 0 {taro-tsx => nutui/v4/taro-tsx}/tsconfig.json | 0 .../v4/taro-tsx}/types/global.d.ts | 0 .../v4/taro-tsx}/types/vue.d.ts | 0 {taro => nutui/v4/taro}/.gitignore | 0 {taro => nutui/v4/taro}/babel.config.js | 0 {taro => nutui/v4/taro}/components.d.ts | 0 {taro => nutui/v4/taro}/config/dev.js | 0 {taro => nutui/v4/taro}/config/index.js | 0 {taro => nutui/v4/taro}/config/prod.js | 0 {taro => nutui/v4/taro}/package.json | 0 {taro => nutui/v4/taro}/pnpm-lock.yaml | 0 {taro => nutui/v4/taro}/project.config.json | 0 {taro => nutui/v4/taro}/project.tt.json | 0 {taro => nutui/v4/taro}/src/app.config.ts | 0 nutui/v4/taro/src/app.scss | 0 {taro => nutui/v4/taro}/src/app.ts | 0 {taro => nutui/v4/taro}/src/index.html | 0 .../v4/taro}/src/pages/index/index.config.ts | 0 .../v4/taro}/src/pages/index/index.vue | 0 {taro => nutui/v4/taro}/tsconfig.json | 0 {taro => nutui/v4/taro}/types/global.d.ts | 0 {taro => nutui/v4/taro}/types/vue.d.ts | 0 {vite-jdt => nutui/v4/vite-jdt}/.gitignore | 0 {vite-jdt => nutui/v4/vite-jdt}/README.md | 0 .../v4/vite-jdt}/components.d.ts | 0 {vite-jdt => nutui/v4/vite-jdt}/index.html | 0 {vite-jdt => nutui/v4/vite-jdt}/package.json | 0 .../v4/vite-jdt}/pnpm-lock.yaml | 0 {vite => nutui/v4/vite-jdt}/public/vite.svg | 0 {vite-jdt => nutui/v4/vite-jdt}/src/App.vue | 0 {vite-jdt => nutui/v4/vite-jdt}/src/main.ts | 0 {vite-jdt => nutui/v4/vite-jdt}/src/style.css | 0 {vite => nutui/v4/vite-jdt}/src/vite-env.d.ts | 0 {vite-jdt => nutui/v4/vite-jdt}/tsconfig.json | 0 .../v4/vite-jdt}/tsconfig.node.json | 0 .../v4/vite-jdt}/vite.config.ts | 0 {vite => nutui/v4/vite}/.gitignore | 0 {vite => nutui/v4/vite}/README.md | 0 {vite => nutui/v4/vite}/components.d.ts | 0 {vite => nutui/v4/vite}/index.html | 0 {vite => nutui/v4/vite}/package.json | 0 {vite => nutui/v4/vite}/pnpm-lock.yaml | 0 nutui/v4/vite/public/vite.svg | 1 + {vite => nutui/v4/vite}/src/App.vue | 0 {vite => nutui/v4/vite}/src/main.ts | 0 {vite => nutui/v4/vite}/src/style.css | 0 nutui/v4/vite/src/vite-env.d.ts | 1 + {vite => nutui/v4/vite}/tsconfig.json | 0 {vite => nutui/v4/vite}/tsconfig.node.json | 0 {vite => nutui/v4/vite}/vite.config.ts | 0 {vue-cli => nutui/v4/vue-cli}/.gitignore | 0 {vue-cli => nutui/v4/vue-cli}/README.md | 0 {vue-cli => nutui/v4/vue-cli}/babel.config.js | 0 {vue-cli => nutui/v4/vue-cli}/components.d.ts | 0 {vue-cli => nutui/v4/vue-cli}/jsconfig.json | 0 {vue-cli => nutui/v4/vue-cli}/package.json | 0 {vue-cli => nutui/v4/vue-cli}/pnpm-lock.yaml | 0 .../v4/vue-cli}/public/favicon.ico | Bin .../v4/vue-cli}/public/index.html | 0 {vue-cli => nutui/v4/vue-cli}/src/App.vue | 0 .../v4/vue-cli}/src/assets/logo.png | Bin {vue-cli => nutui/v4/vue-cli}/src/main.js | 0 {vue-cli => nutui/v4/vue-cli}/vue.config.js | 0 165 files changed, 2216 insertions(+), 12 deletions(-) rename rsbuild/src/index.css => nutui-react/v2/create-app/README.md (100%) create mode 100644 nutui-react/v2/create-app/craco.config.js create mode 100644 nutui-react/v2/create-app/package.json create mode 100644 nutui-react/v2/create-app/public/favicon.ico create mode 100644 nutui-react/v2/create-app/public/index.html create mode 100644 nutui-react/v2/create-app/public/logo192.png create mode 100644 nutui-react/v2/create-app/public/logo512.png create mode 100644 nutui-react/v2/create-app/public/manifest.json create mode 100644 nutui-react/v2/create-app/public/robots.txt create mode 100644 nutui-react/v2/create-app/src/App.css create mode 100644 nutui-react/v2/create-app/src/App.js create mode 100644 nutui-react/v2/create-app/src/App.test.js create mode 100644 nutui-react/v2/create-app/src/index.css create mode 100644 nutui-react/v2/create-app/src/index.js create mode 100644 nutui-react/v2/create-app/src/logo.svg create mode 100644 nutui-react/v2/create-app/src/reportWebVitals.js create mode 100644 nutui-react/v2/create-app/src/setupTests.js create mode 100644 nutui-react/v2/next/.babelrc create mode 100644 nutui-react/v2/next/.gitignore create mode 100644 nutui-react/v2/next/README.md create mode 100644 nutui-react/v2/next/next-env.d.ts create mode 100644 nutui-react/v2/next/next.config.js create mode 100644 nutui-react/v2/next/package.json create mode 100644 nutui-react/v2/next/public/favicon.ico create mode 100644 nutui-react/v2/next/public/next.svg create mode 100644 nutui-react/v2/next/public/vercel.svg create mode 100644 nutui-react/v2/next/src/pages/_app.tsx create mode 100644 nutui-react/v2/next/src/pages/index.tsx create mode 100644 nutui-react/v2/next/src/styles/Home.module.css create mode 100644 nutui-react/v2/next/src/styles/globals.css create mode 100644 nutui-react/v2/next/tsconfig.json rename {rsbuild => nutui-react/v2/rsbuild}/.gitignore (100%) create mode 100644 nutui-react/v2/rsbuild/README.md create mode 100644 nutui-react/v2/rsbuild/package.json create mode 100644 nutui-react/v2/rsbuild/pnpm-lock.yaml create mode 100644 nutui-react/v2/rsbuild/rsbuild.config.ts create mode 100644 nutui-react/v2/rsbuild/src/App.css create mode 100644 nutui-react/v2/rsbuild/src/App.tsx create mode 100644 nutui-react/v2/rsbuild/src/env.d.ts create mode 100644 nutui-react/v2/rsbuild/src/index.css create mode 100644 nutui-react/v2/rsbuild/src/index.tsx create mode 100644 nutui-react/v2/rsbuild/tsconfig.json create mode 100644 nutui-react/v2/vite/.gitignore create mode 100644 nutui-react/v2/vite/README.md create mode 100644 nutui-react/v2/vite/index.html create mode 100644 nutui-react/v2/vite/package.json rename {vite-jdt => nutui-react/v2/vite}/public/vite.svg (100%) create mode 100644 nutui-react/v2/vite/src/App.css create mode 100644 nutui-react/v2/vite/src/App.tsx create mode 100644 nutui-react/v2/vite/src/index.css create mode 100644 nutui-react/v2/vite/src/main.tsx rename {vite-jdt => nutui-react/v2/vite}/src/vite-env.d.ts (100%) create mode 100644 nutui-react/v2/vite/tsconfig.json create mode 100644 nutui-react/v2/vite/tsconfig.node.json create mode 100644 nutui-react/v2/vite/vite.config.ts rename {cdn => nutui/v4/cdn}/4.0.html (100%) create mode 100644 nutui/v4/rsbuild/.gitignore rename {rsbuild => nutui/v4/rsbuild}/README.md (100%) rename {rsbuild => nutui/v4/rsbuild}/components.d.ts (100%) rename {rsbuild => nutui/v4/rsbuild}/package.json (100%) rename {rsbuild => nutui/v4/rsbuild}/pnpm-lock.yaml (100%) rename {rsbuild => nutui/v4/rsbuild}/rsbuild.config.ts (100%) rename {rsbuild => nutui/v4/rsbuild}/src/App.vue (100%) rename {rsbuild => nutui/v4/rsbuild}/src/env.d.ts (100%) rename taro-jdt/src/app.scss => nutui/v4/rsbuild/src/index.css (100%) rename {rsbuild => nutui/v4/rsbuild}/src/index.ts (100%) rename {rsbuild => nutui/v4/rsbuild}/tsconfig.json (100%) rename {taro-jdt => nutui/v4/taro-jdt}/.gitignore (100%) rename {taro-jdt => nutui/v4/taro-jdt}/babel.config.js (100%) rename {taro-jdt => nutui/v4/taro-jdt}/components.d.ts (100%) rename {taro-jdt => nutui/v4/taro-jdt}/config/dev.js (100%) rename {taro-jdt => nutui/v4/taro-jdt}/config/index.js (100%) rename {taro-jdt => nutui/v4/taro-jdt}/config/prod.js (100%) rename {taro-jdt => nutui/v4/taro-jdt}/package.json (100%) rename {taro-jdt => nutui/v4/taro-jdt}/pnpm-lock.yaml (100%) rename {taro-jdt => nutui/v4/taro-jdt}/project.config.json (100%) rename {taro-jdt => nutui/v4/taro-jdt}/project.tt.json (100%) rename {taro-jdt => nutui/v4/taro-jdt}/src/app.config.ts (100%) rename {taro-tsx => nutui/v4/taro-jdt}/src/app.scss (100%) rename {taro-jdt => nutui/v4/taro-jdt}/src/app.ts (100%) rename {taro-jdt => nutui/v4/taro-jdt}/src/index.html (100%) rename {taro-jdt => nutui/v4/taro-jdt}/src/pages/index/index.config.ts (100%) rename {taro-jdt => nutui/v4/taro-jdt}/src/pages/index/index.vue (100%) rename {taro-jdt => nutui/v4/taro-jdt}/tsconfig.json (100%) rename {taro-jdt => nutui/v4/taro-jdt}/types/global.d.ts (100%) rename {taro-jdt => nutui/v4/taro-jdt}/types/vue.d.ts (100%) rename {taro-tsx => nutui/v4/taro-tsx}/babel.config.js (100%) rename {taro-tsx => nutui/v4/taro-tsx}/components.d.ts (100%) rename {taro-tsx => nutui/v4/taro-tsx}/config/dev.js (100%) rename {taro-tsx => nutui/v4/taro-tsx}/config/index.js (100%) rename {taro-tsx => nutui/v4/taro-tsx}/config/prod.js (100%) rename {taro-tsx => nutui/v4/taro-tsx}/package.json (100%) rename {taro-tsx => nutui/v4/taro-tsx}/pnpm-lock.yaml (100%) rename {taro-tsx => nutui/v4/taro-tsx}/project.config.json (100%) rename {taro-tsx => nutui/v4/taro-tsx}/project.tt.json (100%) rename {taro-tsx => nutui/v4/taro-tsx}/src/app.config.ts (100%) rename {taro => nutui/v4/taro-tsx}/src/app.scss (100%) rename {taro-tsx => nutui/v4/taro-tsx}/src/app.ts (100%) rename {taro-tsx => nutui/v4/taro-tsx}/src/index.html (100%) rename {taro-tsx => nutui/v4/taro-tsx}/src/pages/index/index.config.ts (100%) rename {taro-tsx => nutui/v4/taro-tsx}/src/pages/index/index.tsx (100%) rename {taro-tsx => nutui/v4/taro-tsx}/tsconfig.json (100%) rename {taro-tsx => nutui/v4/taro-tsx}/types/global.d.ts (100%) rename {taro-tsx => nutui/v4/taro-tsx}/types/vue.d.ts (100%) rename {taro => nutui/v4/taro}/.gitignore (100%) rename {taro => nutui/v4/taro}/babel.config.js (100%) rename {taro => nutui/v4/taro}/components.d.ts (100%) rename {taro => nutui/v4/taro}/config/dev.js (100%) rename {taro => nutui/v4/taro}/config/index.js (100%) rename {taro => nutui/v4/taro}/config/prod.js (100%) rename {taro => nutui/v4/taro}/package.json (100%) rename {taro => nutui/v4/taro}/pnpm-lock.yaml (100%) rename {taro => nutui/v4/taro}/project.config.json (100%) rename {taro => nutui/v4/taro}/project.tt.json (100%) rename {taro => nutui/v4/taro}/src/app.config.ts (100%) create mode 100644 nutui/v4/taro/src/app.scss rename {taro => nutui/v4/taro}/src/app.ts (100%) rename {taro => nutui/v4/taro}/src/index.html (100%) rename {taro => nutui/v4/taro}/src/pages/index/index.config.ts (100%) rename {taro => nutui/v4/taro}/src/pages/index/index.vue (100%) rename {taro => nutui/v4/taro}/tsconfig.json (100%) rename {taro => nutui/v4/taro}/types/global.d.ts (100%) rename {taro => nutui/v4/taro}/types/vue.d.ts (100%) rename {vite-jdt => nutui/v4/vite-jdt}/.gitignore (100%) rename {vite-jdt => nutui/v4/vite-jdt}/README.md (100%) rename {vite-jdt => nutui/v4/vite-jdt}/components.d.ts (100%) rename {vite-jdt => nutui/v4/vite-jdt}/index.html (100%) rename {vite-jdt => nutui/v4/vite-jdt}/package.json (100%) rename {vite-jdt => nutui/v4/vite-jdt}/pnpm-lock.yaml (100%) rename {vite => nutui/v4/vite-jdt}/public/vite.svg (100%) rename {vite-jdt => nutui/v4/vite-jdt}/src/App.vue (100%) rename {vite-jdt => nutui/v4/vite-jdt}/src/main.ts (100%) rename {vite-jdt => nutui/v4/vite-jdt}/src/style.css (100%) rename {vite => nutui/v4/vite-jdt}/src/vite-env.d.ts (100%) rename {vite-jdt => nutui/v4/vite-jdt}/tsconfig.json (100%) rename {vite-jdt => nutui/v4/vite-jdt}/tsconfig.node.json (100%) rename {vite-jdt => nutui/v4/vite-jdt}/vite.config.ts (100%) rename {vite => nutui/v4/vite}/.gitignore (100%) rename {vite => nutui/v4/vite}/README.md (100%) rename {vite => nutui/v4/vite}/components.d.ts (100%) rename {vite => nutui/v4/vite}/index.html (100%) rename {vite => nutui/v4/vite}/package.json (100%) rename {vite => nutui/v4/vite}/pnpm-lock.yaml (100%) create mode 100644 nutui/v4/vite/public/vite.svg rename {vite => nutui/v4/vite}/src/App.vue (100%) rename {vite => nutui/v4/vite}/src/main.ts (100%) rename {vite => nutui/v4/vite}/src/style.css (100%) create mode 100644 nutui/v4/vite/src/vite-env.d.ts rename {vite => nutui/v4/vite}/tsconfig.json (100%) rename {vite => nutui/v4/vite}/tsconfig.node.json (100%) rename {vite => nutui/v4/vite}/vite.config.ts (100%) rename {vue-cli => nutui/v4/vue-cli}/.gitignore (100%) rename {vue-cli => nutui/v4/vue-cli}/README.md (100%) rename {vue-cli => nutui/v4/vue-cli}/babel.config.js (100%) rename {vue-cli => nutui/v4/vue-cli}/components.d.ts (100%) rename {vue-cli => nutui/v4/vue-cli}/jsconfig.json (100%) rename {vue-cli => nutui/v4/vue-cli}/package.json (100%) rename {vue-cli => nutui/v4/vue-cli}/pnpm-lock.yaml (100%) rename {vue-cli => nutui/v4/vue-cli}/public/favicon.ico (100%) rename {vue-cli => nutui/v4/vue-cli}/public/index.html (100%) rename {vue-cli => nutui/v4/vue-cli}/src/App.vue (100%) rename {vue-cli => nutui/v4/vue-cli}/src/assets/logo.png (100%) rename {vue-cli => nutui/v4/vue-cli}/src/main.js (100%) rename {vue-cli => nutui/v4/vue-cli}/vue.config.js (100%) diff --git a/README.md b/README.md index 3446f48..6e4b855 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,32 @@ # NutUI 示例 -本目录下包含 NutUI Vue 版本的相关示例 +本目录下包含 NutUI Vue 和 NutUID React 版本的相关示例 ## 目录结构 ```bash -├── vite NutUI + Vite -├── rsbuild NutUI + Rsbuild -├── vue-cli NutUI + Vue CLI -├── -├── taro NutUI + Taro -├── taro-tsx NutUI + Taro + TSX -├── -├── cdn NutUI CDN -├── -├── vite-jdt NutUI JDT 主题 -├── taro-jdt NutUI + Taro JDT 主题 +├── nutui + ├── v4 + ├── vite NutUI + Vite + ├── rsbuild NutUI + Rsbuild + ├── vue-cli NutUI + Vue CLI + ├── + ├── taro NutUI + Taro + ├── taro-tsx NutUI + Taro + TSX + ├── + ├── cdn NutUI CDN + ├── + ├── vite-jdt NutUI JDT 主题 + ├── taro-jdt NutUI + Taro JDT 主题 + +``` + +```bash +├── nutui-react + ├── v2 + ├── create-app NutUI React + Create React App + ├── rsbuild NutUI React + Rsbuild + ├── next NutUI React + Next.js + ├── vite NutUI React + Vite ``` diff --git a/rsbuild/src/index.css b/nutui-react/v2/create-app/README.md similarity index 100% rename from rsbuild/src/index.css rename to nutui-react/v2/create-app/README.md diff --git a/nutui-react/v2/create-app/craco.config.js b/nutui-react/v2/create-app/craco.config.js new file mode 100644 index 0000000..7bc499b --- /dev/null +++ b/nutui-react/v2/create-app/craco.config.js @@ -0,0 +1,16 @@ +module.exports = { + babel: { + plugins: [ + [ + "import", + { + "libraryName": "@nutui/nutui-react", + "libraryDirectory": "dist/esm", + "style": "css", + "camel2DashComponentName": false + }, + "nutui-react" + ] + ] + }, +}; \ No newline at end of file diff --git a/nutui-react/v2/create-app/package.json b/nutui-react/v2/create-app/package.json new file mode 100644 index 0000000..e3cf32e --- /dev/null +++ b/nutui-react/v2/create-app/package.json @@ -0,0 +1,43 @@ +{ + "name": "@nutui/nutui-cra-demo", + "version": "0.1.0", + "private": true, + "dependencies": { + "@nutui/icons-react": "^1.0.1", + "@nutui/nutui-react": "^2.4.0", + "@testing-library/jest-dom": "^5.17.0", + "@testing-library/react": "^13.4.0", + "@testing-library/user-event": "^13.5.0", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-scripts": "5.0.1", + "web-vitals": "^2.1.4" + }, + "scripts": { + "start": "craco start", + "build": "craco build", + "test": "craco build" + }, + "eslintConfig": { + "extends": [ + "react-app", + "react-app/jest" + ] + }, + "browserslist": { + "production": [ + ">0.2%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 1 chrome version", + "last 1 firefox version", + "last 1 safari version" + ] + }, + "devDependencies": { + "@craco/craco": "^7.1.0", + "babel-plugin-import": "^1.13.8" + } +} diff --git a/nutui-react/v2/create-app/public/favicon.ico b/nutui-react/v2/create-app/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a11777cc471a4344702741ab1c8a588998b1311a GIT binary patch literal 3870 zcma);c{J4h9>;%nil|2-o+rCuEF-(I%-F}ijC~o(k~HKAkr0)!FCj~d>`RtpD?8b; zXOC1OD!V*IsqUwzbMF1)-gEDD=A573Z-&G7^LoAC9|WO7Xc0Cx1g^Zu0u_SjAPB3vGa^W|sj)80f#V0@M_CAZTIO(t--xg= z!sii`1giyH7EKL_+Wi0ab<)&E_0KD!3Rp2^HNB*K2@PHCs4PWSA32*-^7d{9nH2_E zmC{C*N*)(vEF1_aMamw2A{ZH5aIDqiabnFdJ|y0%aS|64E$`s2ccV~3lR!u<){eS` z#^Mx6o(iP1Ix%4dv`t@!&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YY-l zTfEsOqsi#f9^FoLO;ChK<554qkri&Av~SIM*{fEYRE?vH7pTAOmu2pz3X?Wn*!ROX ztd54huAk&mFBemMooL33RV-*1f0Q3_(7hl$<#*|WF9P!;r;4_+X~k~uKEqdzZ$5Al zV63XN@)j$FN#cCD;ek1R#l zv%pGrhB~KWgoCj%GT?%{@@o(AJGt*PG#l3i>lhmb_twKH^EYvacVY-6bsCl5*^~L0 zonm@lk2UvvTKr2RS%}T>^~EYqdL1q4nD%0n&Xqr^cK^`J5W;lRRB^R-O8b&HENO||mo0xaD+S=I8RTlIfVgqN@SXDr2&-)we--K7w= zJVU8?Z+7k9dy;s;^gDkQa`0nz6N{T?(A&Iz)2!DEecLyRa&FI!id#5Z7B*O2=PsR0 zEvc|8{NS^)!d)MDX(97Xw}m&kEO@5jqRaDZ!+%`wYOI<23q|&js`&o4xvjP7D_xv@ z5hEwpsp{HezI9!~6O{~)lLR@oF7?J7i>1|5a~UuoN=q&6N}EJPV_GD`&M*v8Y`^2j zKII*d_@Fi$+i*YEW+Hbzn{iQk~yP z>7N{S4)r*!NwQ`(qcN#8SRQsNK6>{)X12nbF`*7#ecO7I)Q$uZsV+xS4E7aUn+U(K baj7?x%VD!5Cxk2YbYLNVeiXvvpMCWYo=by@ literal 0 HcmV?d00001 diff --git a/nutui-react/v2/create-app/public/index.html b/nutui-react/v2/create-app/public/index.html new file mode 100644 index 0000000..aa069f2 --- /dev/null +++ b/nutui-react/v2/create-app/public/index.html @@ -0,0 +1,43 @@ + + + + + + + + + + + + + React App + + + +
+ + + diff --git a/nutui-react/v2/create-app/public/logo192.png b/nutui-react/v2/create-app/public/logo192.png new file mode 100644 index 0000000000000000000000000000000000000000..fc44b0a3796c0e0a64c3d858ca038bd4570465d9 GIT binary patch literal 5347 zcmZWtbyO6NvR-oO24RV%BvuJ&=?+<7=`LvyB&A_#M7mSDYw1v6DJkiYl9XjT!%$dLEBTQ8R9|wd3008in6lFF3GV-6mLi?MoP_y~}QUnaDCHI#t z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C6{V9y{v&VT#^1L04vDrLM9qBoZ4@ z6DBN#m57hX7$C(=#$Y5$bJmwA$T8jKD8+6A!-IJwA{WOfs%s}yxUw^?MRZjF$n_KN z6`_bGXcmE#5e4Ym)aQJ)xg3Pg0@k`iGuHe?f(5LtuzSq=nS^5z>vqU0EuZ&75V%Z{ zYyhRLN^)$c6Ds{f7*FBpE;n5iglx5PkHfWrj3`x^j^t z7ntuV`g!9Xg#^3!x)l*}IW=(Tz3>Y5l4uGaB&lz{GDjm2D5S$CExLT`I1#n^lBH7Y zDgpMag@`iETKAI=p<5E#LTkwzVR@=yY|uBVI1HG|8h+d;G-qfuj}-ZR6fN>EfCCW z9~wRQoAPEa#aO?3h?x{YvV*d+NtPkf&4V0k4|L=uj!U{L+oLa(z#&iuhJr3-PjO3R z5s?=nn_5^*^Rawr>>Nr@K(jwkB#JK-=+HqwfdO<+P5byeim)wvqGlP-P|~Nse8=XF zz`?RYB|D6SwS}C+YQv+;}k6$-%D(@+t14BL@vM z2q%q?f6D-A5s$_WY3{^G0F131bbh|g!}#BKw=HQ7mx;Dzg4Z*bTLQSfo{ed{4}NZW zfrRm^Ca$rlE{Ue~uYv>R9{3smwATcdM_6+yWIO z*ZRH~uXE@#p$XTbCt5j7j2=86e{9>HIB6xDzV+vAo&B?KUiMP|ttOElepnl%|DPqL b{|{}U^kRn2wo}j7|0ATu<;8xA7zX}7|B6mN literal 0 HcmV?d00001 diff --git a/nutui-react/v2/create-app/public/manifest.json b/nutui-react/v2/create-app/public/manifest.json new file mode 100644 index 0000000..080d6c7 --- /dev/null +++ b/nutui-react/v2/create-app/public/manifest.json @@ -0,0 +1,25 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + }, + { + "src": "logo192.png", + "type": "image/png", + "sizes": "192x192" + }, + { + "src": "logo512.png", + "type": "image/png", + "sizes": "512x512" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/nutui-react/v2/create-app/public/robots.txt b/nutui-react/v2/create-app/public/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/nutui-react/v2/create-app/public/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/nutui-react/v2/create-app/src/App.css b/nutui-react/v2/create-app/src/App.css new file mode 100644 index 0000000..09990c3 --- /dev/null +++ b/nutui-react/v2/create-app/src/App.css @@ -0,0 +1,28 @@ +.indexHeader { + display: flex; + align-items: center; + padding: 0 34px; + height: 117px; +} + +.image { + width: 67px; + height: 67px; + margin-right: 18px; + flex-shrink: 0; +} + +.nut-img { + width: 100%; + height: 100%; +} + +.info { + display: flex; + flex-direction: column; +} + +.flexCenter { + display: flex; + justify-content: center; +} \ No newline at end of file diff --git a/nutui-react/v2/create-app/src/App.js b/nutui-react/v2/create-app/src/App.js new file mode 100644 index 0000000..0578be8 --- /dev/null +++ b/nutui-react/v2/create-app/src/App.js @@ -0,0 +1,30 @@ +import React from 'react' +import './App.css' +import { Star } from '@nutui/icons-react' +import { Row, Col, Image, Button } from '@nutui/nutui-react' + +const Home = () => { + return ( +
+
+ +
+

NutUI-React

+

京东风格的轻量级移动端 React 组件库

+
+
+ + + + + + + + +
+ ) +} + +export default Home diff --git a/nutui-react/v2/create-app/src/App.test.js b/nutui-react/v2/create-app/src/App.test.js new file mode 100644 index 0000000..1f03afe --- /dev/null +++ b/nutui-react/v2/create-app/src/App.test.js @@ -0,0 +1,8 @@ +import { render, screen } from '@testing-library/react'; +import App from './App'; + +test('renders learn react link', () => { + render(); + const linkElement = screen.getByText(/learn react/i); + expect(linkElement).toBeInTheDocument(); +}); diff --git a/nutui-react/v2/create-app/src/index.css b/nutui-react/v2/create-app/src/index.css new file mode 100644 index 0000000..d480ba3 --- /dev/null +++ b/nutui-react/v2/create-app/src/index.css @@ -0,0 +1,33 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +h1 { + height: 48px; + line-height: 48px; + font-size: 26px; + color: #333; +} + +p { + height: 18px; + line-height: 18px; + font-size: 13px; + color: #9a9b9d; + white-space: nowrap; +} \ No newline at end of file diff --git a/nutui-react/v2/create-app/src/index.js b/nutui-react/v2/create-app/src/index.js new file mode 100644 index 0000000..d563c0f --- /dev/null +++ b/nutui-react/v2/create-app/src/index.js @@ -0,0 +1,17 @@ +import React from 'react'; +import ReactDOM from 'react-dom/client'; +import './index.css'; +import App from './App'; +import reportWebVitals from './reportWebVitals'; + +const root = ReactDOM.createRoot(document.getElementById('root')); +root.render( + + + +); + +// If you want to start measuring performance in your app, pass a function +// to log results (for example: reportWebVitals(console.log)) +// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals +reportWebVitals(); diff --git a/nutui-react/v2/create-app/src/logo.svg b/nutui-react/v2/create-app/src/logo.svg new file mode 100644 index 0000000..9dfc1c0 --- /dev/null +++ b/nutui-react/v2/create-app/src/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/nutui-react/v2/create-app/src/reportWebVitals.js b/nutui-react/v2/create-app/src/reportWebVitals.js new file mode 100644 index 0000000..5253d3a --- /dev/null +++ b/nutui-react/v2/create-app/src/reportWebVitals.js @@ -0,0 +1,13 @@ +const reportWebVitals = onPerfEntry => { + if (onPerfEntry && onPerfEntry instanceof Function) { + import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { + getCLS(onPerfEntry); + getFID(onPerfEntry); + getFCP(onPerfEntry); + getLCP(onPerfEntry); + getTTFB(onPerfEntry); + }); + } +}; + +export default reportWebVitals; diff --git a/nutui-react/v2/create-app/src/setupTests.js b/nutui-react/v2/create-app/src/setupTests.js new file mode 100644 index 0000000..8f2609b --- /dev/null +++ b/nutui-react/v2/create-app/src/setupTests.js @@ -0,0 +1,5 @@ +// jest-dom adds custom jest matchers for asserting on DOM nodes. +// allows you to do things like: +// expect(element).toHaveTextContent(/react/i) +// learn more: https://github.com/testing-library/jest-dom +import '@testing-library/jest-dom'; diff --git a/nutui-react/v2/next/.babelrc b/nutui-react/v2/next/.babelrc new file mode 100644 index 0000000..e088077 --- /dev/null +++ b/nutui-react/v2/next/.babelrc @@ -0,0 +1,13 @@ +{ + "presets": ["next/babel"], + "plugins": [[ + "import", + { + "libraryName": "@nutui/nutui-react", + "libraryDirectory": "dist/esm", + "style": "css", + "camel2DashComponentName": false + }, + "nutui-react" + ]] +} \ No newline at end of file diff --git a/nutui-react/v2/next/.gitignore b/nutui-react/v2/next/.gitignore new file mode 100644 index 0000000..db5ddae --- /dev/null +++ b/nutui-react/v2/next/.gitignore @@ -0,0 +1,2 @@ +.next +node_modules \ No newline at end of file diff --git a/nutui-react/v2/next/README.md b/nutui-react/v2/next/README.md new file mode 100644 index 0000000..965a122 --- /dev/null +++ b/nutui-react/v2/next/README.md @@ -0,0 +1,38 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +First, run the development server: + +```bash +npm run dev +# or +yarn dev +# or +pnpm dev +``` + +Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. + +You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. + +[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. + +The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. + +This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font. + +## Learn More + +To learn more about Next.js, take a look at the following resources: + +- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. +- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. + +You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! + +## Deploy on Vercel + +The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. + +Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/nutui-react/v2/next/next-env.d.ts b/nutui-react/v2/next/next-env.d.ts new file mode 100644 index 0000000..4f11a03 --- /dev/null +++ b/nutui-react/v2/next/next-env.d.ts @@ -0,0 +1,5 @@ +/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/nutui-react/v2/next/next.config.js b/nutui-react/v2/next/next.config.js new file mode 100644 index 0000000..e04d90c --- /dev/null +++ b/nutui-react/v2/next/next.config.js @@ -0,0 +1,7 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + reactStrictMode: true, + transpilePackages: ['@nutui/nutui-react', '@nutui/icons-react'], +} + +module.exports = nextConfig diff --git a/nutui-react/v2/next/package.json b/nutui-react/v2/next/package.json new file mode 100644 index 0000000..c43ef64 --- /dev/null +++ b/nutui-react/v2/next/package.json @@ -0,0 +1,28 @@ +{ + "name": "@nutui/nutui-next-demo", + "version": "0.1.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint" + }, + "dependencies": { + "@nutui/icons-react": "^1.0.1", + "@nutui/nutui-react": "^2.4.0", + "@types/node": "20.5.0", + "@types/react": "18.2.20", + "@types/react-dom": "18.2.7", + "eslint": "8.47.0", + "eslint-config-next": "13.4.16", + "next": "13.4.16", + "react": "18.2.0", + "react-dom": "18.2.0", + "typescript": "5.1.6" + }, + "devDependencies": { + "babel-plugin-import": "^1.13.8", + "sass": "^1.65.1" + } +} diff --git a/nutui-react/v2/next/public/favicon.ico b/nutui-react/v2/next/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..718d6fea4835ec2d246af9800eddb7ffb276240c GIT binary patch literal 25931 zcmeHv30#a{`}aL_*G&7qml|y<+KVaDM2m#dVr!KsA!#An?kSQM(q<_dDNCpjEux83 zLb9Z^XxbDl(w>%i@8hT6>)&Gu{h#Oeyszu?xtw#Zb1mO{pgX9699l+Qppw7jXaYf~-84xW z)w4x8?=youko|}Vr~(D$UXIbiXABHh`p1?nn8Po~fxRJv}|0e(BPs|G`(TT%kKVJAdg5*Z|x0leQq0 zkdUBvb#>9F()jo|T~kx@OM8$9wzs~t2l;K=woNssA3l6|sx2r3+kdfVW@e^8e*E}v zA1y5{bRi+3Z`uD3{F7LgFJDdvm;nJilkzDku>BwXH(8ItVCXk*-lSJnR?-2UN%hJ){&rlvg`CDTj z)Bzo!3v7Ou#83zEDEFcKt(f1E0~=rqeEbTnMvWR#{+9pg%7G8y>u1OVRUSoox-ovF z2Ydma(;=YuBY(eI|04{hXzZD6_f(v~H;C~y5=DhAC{MMS>2fm~1H_t2$56pc$NH8( z5bH|<)71dV-_oCHIrzrT`2s-5w_+2CM0$95I6X8p^r!gHp+j_gd;9O<1~CEQQGS8) zS9Qh3#p&JM-G8rHekNmKVewU;pJRcTAog68KYo^dRo}(M>36U4Us zfgYWSiHZL3;lpWT=zNAW>Dh#mB!_@Lg%$ms8N-;aPqMn+C2HqZgz&9~Eu z4|Kp<`$q)Uw1R?y(~S>ePdonHxpV1#eSP1B;Ogo+-Pk}6#0GsZZ5!||ev2MGdh}_m z{DeR7?0-1^zVs&`AV6Vt;r3`I`OI_wgs*w=eO%_#7Kepl{B@xiyCANc(l zzIyd4y|c6PXWq9-|KM8(zIk8LPk(>a)zyFWjhT!$HJ$qX1vo@d25W<fvZQ2zUz5WRc(UnFMKHwe1| zWmlB1qdbiA(C0jmnV<}GfbKtmcu^2*P^O?MBLZKt|As~ge8&AAO~2K@zbXelK|4T<{|y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%Smb7==vE}dDI8K7cKz!vs^73o9f>2sgiTzWcwY|BMYHH5%Vn7#kiw&eItCqa zIkR2~Q}>X=Ar8W|^Ms41Fm8o6IB2_j60eOeBB1Br!boW7JnoeX6Gs)?7rW0^5psc- zjS16yb>dFn>KPOF;imD}e!enuIniFzv}n$m2#gCCv4jM#ArwlzZ$7@9&XkFxZ4n!V zj3dyiwW4Ki2QG{@i>yuZXQizw_OkZI^-3otXC{!(lUpJF33gI60ak;Uqitp74|B6I zgg{b=Iz}WkhCGj1M=hu4#Aw173YxIVbISaoc z-nLZC*6Tgivd5V`K%GxhBsp@SUU60-rfc$=wb>zdJzXS&-5(NRRodFk;Kxk!S(O(a0e7oY=E( zAyS;Ow?6Q&XA+cnkCb{28_1N8H#?J!*$MmIwLq^*T_9-z^&UE@A(z9oGYtFy6EZef LrJugUA?W`A8`#=m literal 0 HcmV?d00001 diff --git a/nutui-react/v2/next/public/next.svg b/nutui-react/v2/next/public/next.svg new file mode 100644 index 0000000..5174b28 --- /dev/null +++ b/nutui-react/v2/next/public/next.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/nutui-react/v2/next/public/vercel.svg b/nutui-react/v2/next/public/vercel.svg new file mode 100644 index 0000000..d2f8422 --- /dev/null +++ b/nutui-react/v2/next/public/vercel.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/nutui-react/v2/next/src/pages/_app.tsx b/nutui-react/v2/next/src/pages/_app.tsx new file mode 100644 index 0000000..2e1707b --- /dev/null +++ b/nutui-react/v2/next/src/pages/_app.tsx @@ -0,0 +1,6 @@ +import type { AppProps } from 'next/app' +import '../styles/globals.css' + +export default function App({ Component, pageProps }: AppProps) { + return +} \ No newline at end of file diff --git a/nutui-react/v2/next/src/pages/index.tsx b/nutui-react/v2/next/src/pages/index.tsx new file mode 100644 index 0000000..fa912db --- /dev/null +++ b/nutui-react/v2/next/src/pages/index.tsx @@ -0,0 +1,37 @@ +import type { NextPage } from 'next' +import Head from 'next/head' +import styles from '../styles/Home.module.css' +import { Star } from '@nutui/icons-react' +import { Row, Col, Image, Button } from '@nutui/nutui-react' + +const Home: NextPage = () => { + return ( +
+ + Create Next App + + + + +
+ +
+

NutUI-React

+

京东风格的轻量级移动端 React 组件库

+
+
+ + + + + + + + +
+ ) +} + +export default Home diff --git a/nutui-react/v2/next/src/styles/Home.module.css b/nutui-react/v2/next/src/styles/Home.module.css new file mode 100644 index 0000000..eb7d562 --- /dev/null +++ b/nutui-react/v2/next/src/styles/Home.module.css @@ -0,0 +1,23 @@ +.indexHeader { + display: flex; + align-items: center; + padding: 0 34px; + height: 117px; +} + +.image { + width: 67px; + height: 67px; + margin-right: 18px; + flex-shrink: 0; +} + +.info { + display: flex; + flex-direction: column; +} + +.flexCenter { + display: flex; + justify-content: center; +} \ No newline at end of file diff --git a/nutui-react/v2/next/src/styles/globals.css b/nutui-react/v2/next/src/styles/globals.css new file mode 100644 index 0000000..d480ba3 --- /dev/null +++ b/nutui-react/v2/next/src/styles/globals.css @@ -0,0 +1,33 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +h1 { + height: 48px; + line-height: 48px; + font-size: 26px; + color: #333; +} + +p { + height: 18px; + line-height: 18px; + font-size: 13px; + color: #9a9b9d; + white-space: nowrap; +} \ No newline at end of file diff --git a/nutui-react/v2/next/tsconfig.json b/nutui-react/v2/next/tsconfig.json new file mode 100644 index 0000000..f749b03 --- /dev/null +++ b/nutui-react/v2/next/tsconfig.json @@ -0,0 +1,23 @@ +{ + "compilerOptions": { + "target": "es5", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], + "exclude": ["node_modules"] +} diff --git a/rsbuild/.gitignore b/nutui-react/v2/rsbuild/.gitignore similarity index 100% rename from rsbuild/.gitignore rename to nutui-react/v2/rsbuild/.gitignore diff --git a/nutui-react/v2/rsbuild/README.md b/nutui-react/v2/rsbuild/README.md new file mode 100644 index 0000000..6fdf2ed --- /dev/null +++ b/nutui-react/v2/rsbuild/README.md @@ -0,0 +1,29 @@ +# nutui-with-rsbuild + +## Setup + +Install the dependencies: + +```bash +pnpm install +``` + +## Get Started + +Start the dev server: + +```bash +pnpm dev +``` + +Build the app for production: + +```bash +pnpm build +``` + +Preview the production build locally: + +```bash +pnpm preview +``` diff --git a/nutui-react/v2/rsbuild/package.json b/nutui-react/v2/rsbuild/package.json new file mode 100644 index 0000000..127986c --- /dev/null +++ b/nutui-react/v2/rsbuild/package.json @@ -0,0 +1,23 @@ +{ + "name": "nutui-with-rsbuild", + "private": true, + "version": "1.0.0", + "scripts": { + "dev": "rsbuild dev --open", + "build": "rsbuild build", + "preview": "rsbuild preview" + }, + "dependencies": { + "@nutui/icons-react": "^1.0.1", + "@nutui/nutui-react": "^2.4.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" + }, + "devDependencies": { + "@rsbuild/core": "^0.0.27", + "@rsbuild/plugin-react": "^0.0.27", + "@types/react": "^18", + "@types/react-dom": "^18", + "typescript": "^5.2.2" + } +} diff --git a/nutui-react/v2/rsbuild/pnpm-lock.yaml b/nutui-react/v2/rsbuild/pnpm-lock.yaml new file mode 100644 index 0000000..76b3d48 --- /dev/null +++ b/nutui-react/v2/rsbuild/pnpm-lock.yaml @@ -0,0 +1,1266 @@ +lockfileVersion: '6.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +dependencies: + '@nutui/icons-react': + specifier: ^0.0.4 + version: 0.0.4 + '@nutui/nutui-react': + specifier: ^2.1.0 + version: 2.1.0(react-dom@18.2.0)(react@18.2.0) + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) + +devDependencies: + '@rsbuild/core': + specifier: ^0.0.27 + version: 0.0.27 + '@rsbuild/plugin-react': + specifier: ^0.0.27 + version: 0.0.27(webpack@5.89.0) + '@types/react': + specifier: ^18 + version: 18.2.37 + '@types/react-dom': + specifier: ^18 + version: 18.2.15 + typescript: + specifier: ^5.2.2 + version: 5.3.2 + +packages: + + /@babel/runtime@7.23.4: + resolution: {integrity: sha512-2Yv65nlWnWlSpe3fXEyX5i7fx5kIKo4Qbcj+hMO0odwaneFjfXw5fdum+4yL20O0QiaHpia0cYQ9xpNMqrBwHg==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.14.0 + dev: false + + /@jridgewell/gen-mapping@0.3.3: + resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/set-array': 1.1.2 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.20 + dev: true + + /@jridgewell/resolve-uri@3.1.1: + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/set-array@1.1.2: + resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/source-map@0.3.5: + resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.20 + dev: true + + /@jridgewell/sourcemap-codec@1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + dev: true + + /@jridgewell/trace-mapping@0.3.20: + resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + + /@nutui/icons-react@0.0.4: + resolution: {integrity: sha512-QHqPCSV1s3Hxs++OvSlsu3UvpuWe/jkIbBuyhBUaTianuNqe/ahXS7/6Ub3HAySspbm6rZh/gy0u2NhZoULRtw==} + dev: false + + /@nutui/nutui-react@2.1.0(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-ATbnHbgYfyJ4BkSofw6POPYgqNrbEOc7gALOAVtf3WsBT7COMPkquvS5ax4uOPE7E6mj8bC42ZQ25Ba688z05g==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@babel/runtime': 7.23.4 + '@nutui/icons-react': 0.0.4 + '@nutui/touch-emulator': 1.0.0 + '@react-spring/web': 9.6.1(react-dom@18.2.0)(react@18.2.0) + '@use-gesture/react': 10.2.20(react@18.2.0) + async-validator: 4.2.5 + classnames: 2.3.2 + lodash.isequal: 4.5.0 + lodash.kebabcase: 4.1.1 + react: 18.2.0 + react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) + transitivePeerDependencies: + - react-dom + dev: false + + /@nutui/touch-emulator@1.0.0: + resolution: {integrity: sha512-k2hvI/9LlRA7Ph1Chni27pTuvPmKPt+/I10sWWd2sWzqiCOYRerD79eIwCMRGUF/q6WVDEKVnv00t9CEUL4sPA==} + dev: false + + /@pmmmwh/react-refresh-webpack-plugin@0.5.10(react-refresh@0.14.0)(webpack@5.89.0): + resolution: {integrity: sha512-j0Ya0hCFZPd4x40qLzbhGsh9TMtdb+CJQiso+WxLOPNasohq9cc5SNUcwsZaRH6++Xh91Xkm/xHCkuIiIu0LUA==} + engines: {node: '>= 10.13'} + peerDependencies: + '@types/webpack': 4.x || 5.x + react-refresh: '>=0.10.0 <1.0.0' + sockjs-client: ^1.4.0 + type-fest: '>=0.17.0 <4.0.0' + webpack: '>=4.43.0 <6.0.0' + webpack-dev-server: 3.x || 4.x + webpack-hot-middleware: 2.x + webpack-plugin-serve: 0.x || 1.x + peerDependenciesMeta: + '@types/webpack': + optional: true + sockjs-client: + optional: true + type-fest: + optional: true + webpack-dev-server: + optional: true + webpack-hot-middleware: + optional: true + webpack-plugin-serve: + optional: true + dependencies: + ansi-html-community: 0.0.8 + common-path-prefix: 3.0.0 + core-js-pure: 3.33.3 + error-stack-parser: 2.1.4 + find-up: 5.0.0 + html-entities: 2.4.0 + loader-utils: 2.0.4 + react-refresh: 0.14.0 + schema-utils: 3.3.0 + source-map: 0.7.4 + webpack: 5.89.0 + dev: true + + /@react-spring/animated@9.6.1(react@18.2.0): + resolution: {integrity: sha512-ls/rJBrAqiAYozjLo5EPPLLOb1LM0lNVQcXODTC1SMtS6DbuBCPaKco5svFUQFMP2dso3O+qcC4k9FsKc0KxMQ==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@react-spring/shared': 9.6.1(react@18.2.0) + '@react-spring/types': 9.6.1 + react: 18.2.0 + dev: false + + /@react-spring/core@9.6.1(react@18.2.0): + resolution: {integrity: sha512-3HAAinAyCPessyQNNXe5W0OHzRfa8Yo5P748paPcmMowZ/4sMfaZ2ZB6e5x5khQI8NusOHj8nquoutd6FRY5WQ==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@react-spring/animated': 9.6.1(react@18.2.0) + '@react-spring/rafz': 9.6.1 + '@react-spring/shared': 9.6.1(react@18.2.0) + '@react-spring/types': 9.6.1 + react: 18.2.0 + dev: false + + /@react-spring/rafz@9.6.1: + resolution: {integrity: sha512-v6qbgNRpztJFFfSE3e2W1Uz+g8KnIBs6SmzCzcVVF61GdGfGOuBrbjIcp+nUz301awVmREKi4eMQb2Ab2gGgyQ==} + dev: false + + /@react-spring/shared@9.6.1(react@18.2.0): + resolution: {integrity: sha512-PBFBXabxFEuF8enNLkVqMC9h5uLRBo6GQhRMQT/nRTnemVENimgRd+0ZT4yFnAQ0AxWNiJfX3qux+bW2LbG6Bw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@react-spring/rafz': 9.6.1 + '@react-spring/types': 9.6.1 + react: 18.2.0 + dev: false + + /@react-spring/types@9.6.1: + resolution: {integrity: sha512-POu8Mk0hIU3lRXB3bGIGe4VHIwwDsQyoD1F394OK7STTiX9w4dG3cTLljjYswkQN+hDSHRrj4O36kuVa7KPU8Q==} + dev: false + + /@react-spring/web@9.6.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-X2zR6q2Z+FjsWfGAmAXlQaoUHbPmfuCaXpuM6TcwXPpLE1ZD4A1eys/wpXboFQmDkjnrlTmKvpVna1MjWpZ5Hw==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + dependencies: + '@react-spring/animated': 9.6.1(react@18.2.0) + '@react-spring/core': 9.6.1(react@18.2.0) + '@react-spring/shared': 9.6.1(react@18.2.0) + '@react-spring/types': 9.6.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@rsbuild/core@0.0.27: + resolution: {integrity: sha512-fZFlfJwyaI/hHbYjkC86RRiHGYORGzvmwBwSTBsR5FgRMPugfUVtZoPuiH/oIploJrIi/7Nmw9BA9aPGEy80Xw==} + engines: {node: '>=14.0.0'} + hasBin: true + dependencies: + '@rsbuild/shared': 0.0.27 + '@rspack/core': 0.3.14 + core-js: 3.32.2 + html-webpack-plugin: /html-rspack-plugin@5.5.7 + postcss: 8.4.31 + semver: 7.5.4 + ws: 8.14.2 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: true + + /@rsbuild/plugin-react@0.0.27(webpack@5.89.0): + resolution: {integrity: sha512-OQylr8RMHZOCchSoyYSDnZKlP0dR6U2SkedIBHpmmYiGI5euYF25iy/GRe1kyw8isD+PKPUnXv/UnDe1+5JTug==} + dependencies: + '@rsbuild/shared': 0.0.27 + '@rspack/plugin-react-refresh': 0.3.14(react-refresh@0.14.0)(webpack@5.89.0) + react-refresh: 0.14.0 + semver: 7.5.4 + transitivePeerDependencies: + - '@types/webpack' + - sockjs-client + - type-fest + - webpack + - webpack-dev-server + - webpack-hot-middleware + - webpack-plugin-serve + dev: true + + /@rsbuild/shared@0.0.27: + resolution: {integrity: sha512-tOj8FNpe8MWaXdprjFlX3qS66KB7TnSYEdfm/jVnPwiQl4yy1+OGo1OBDGwhkHeTwV/QLqmGbLAMAfprssFcDw==} + dependencies: + '@rspack/core': 0.3.14 + caniuse-lite: 1.0.30001563 + line-diff: 2.1.1 + lodash: 4.17.21 + postcss: 8.4.31 + dev: true + + /@rspack/binding-darwin-arm64@0.3.14: + resolution: {integrity: sha512-mUljW63ljx7gDn8ZFov+7AHTbQ6afU7CGwQFdpyoBW8XKFdHz6DPBllpMq5mMv2gDhQdpJUhdU0b/fNDl7d9QQ==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-darwin-x64@0.3.14: + resolution: {integrity: sha512-3/TplaFuUfukvR+50xHdAkRRAjZWuT4+V4xn8puel22Qx53gGi2Bh6pdAKXDDeoSEvF2bozrOeKZm04lPaAQOQ==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-linux-arm64-gnu@0.3.14: + resolution: {integrity: sha512-HPTWqZZlPsjS489ByX8RtgYoodn4IcSFrdTdi8gyLCKNfq7hf7uwWP5/dJQK/EW+wVch8HkrOJECxdXHRCDFIg==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-linux-arm64-musl@0.3.14: + resolution: {integrity: sha512-8d0VFLlUatZJp/Z/udpV7kW3g3Uyrenr5bu6w5oETIv7Bv1T6IR3as7R0s2dONa7JkuAw4gQB0c1k9X44SxoBQ==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-linux-x64-gnu@0.3.14: + resolution: {integrity: sha512-Hy7z+orffDzQ5Jt3CSF9kncCPPGWyDS6Bs4FgSbYiOgoB314tdpgBSkdrh6wiG5inXLbOFI5Mc3Gct5hK0ok/w==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-linux-x64-musl@0.3.14: + resolution: {integrity: sha512-m/DEip/dJhUuFCLZggOllBAHsRtBmUfRk/YyzxaHLNEImR7/ZV2SIEU1krnicNsz5pO8pQ7mjPeFpio/XsHciQ==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-win32-arm64-msvc@0.3.14: + resolution: {integrity: sha512-Mpj5on9HWHcQ2BnAXWm/OhwbrEtNYSr3Ab1v/0sGxFdufcqI5u7xRjFlLbgEUDmDb4Cfr4/VoWMvAKCIsilc6A==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-win32-ia32-msvc@0.3.14: + resolution: {integrity: sha512-JwMCL+l2UicDPgQG6GCtDfxjahcCIMyWc+CCvFH9BeI4/XWU6O6m1kXbJfx0qLXRWAZQhALlpW9o8BE8Sr73dg==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding-win32-x64-msvc@0.3.14: + resolution: {integrity: sha512-QqcPv2II8YTRybuhMCnJXlz7xIvknwyaIlhflDcC2hNBGIo8H866A66cMY/r3bDVcrrVpgx79yFeJ+a/pyjdHQ==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rspack/binding@0.3.14: + resolution: {integrity: sha512-kcbhfvrXqxf2NQsidnRxZ4ab/Vvxm2timNZIWu5BgXi8hPAXayG+JyDEQMVC0xj5qlDrJid+z7J4U0IIHi5RrQ==} + optionalDependencies: + '@rspack/binding-darwin-arm64': 0.3.14 + '@rspack/binding-darwin-x64': 0.3.14 + '@rspack/binding-linux-arm64-gnu': 0.3.14 + '@rspack/binding-linux-arm64-musl': 0.3.14 + '@rspack/binding-linux-x64-gnu': 0.3.14 + '@rspack/binding-linux-x64-musl': 0.3.14 + '@rspack/binding-win32-arm64-msvc': 0.3.14 + '@rspack/binding-win32-ia32-msvc': 0.3.14 + '@rspack/binding-win32-x64-msvc': 0.3.14 + dev: true + + /@rspack/core@0.3.14: + resolution: {integrity: sha512-B76vRdbKXMi/Xjd8Q0f/4xrlqp4mFELH2w+6ROoAscGVgS8eDsWmJHa7ddIB3FELizzDvI3BjGfBeGftZjSg3g==} + dependencies: + '@rspack/binding': 0.3.14 + '@swc/helpers': 0.5.1 + browserslist: 4.22.1 + compare-versions: 6.0.0-rc.1 + enhanced-resolve: 5.12.0 + fast-querystring: 1.1.2 + graceful-fs: 4.2.10 + json-parse-even-better-errors: 3.0.0 + neo-async: 2.6.2 + react-refresh: 0.14.0 + tapable: 2.2.1 + terminal-link: 2.1.1 + watchpack: 2.4.0 + webpack-sources: 3.2.3 + zod: 3.22.4 + zod-validation-error: 1.2.0(zod@3.22.4) + dev: true + + /@rspack/plugin-react-refresh@0.3.14(react-refresh@0.14.0)(webpack@5.89.0): + resolution: {integrity: sha512-xHMDOHpQdI7aTJHdVUJMDyE5KM+5bGNcDCY+kptITTrIfiL4RtpIQYa0w0kSZR+/JqgFgviZgqJLW8gnnS1b8Q==} + peerDependencies: + react-refresh: '>=0.10.0 <1.0.0' + peerDependenciesMeta: + react-refresh: + optional: true + dependencies: + '@pmmmwh/react-refresh-webpack-plugin': 0.5.10(react-refresh@0.14.0)(webpack@5.89.0) + react-refresh: 0.14.0 + transitivePeerDependencies: + - '@types/webpack' + - sockjs-client + - type-fest + - webpack + - webpack-dev-server + - webpack-hot-middleware + - webpack-plugin-serve + dev: true + + /@swc/helpers@0.5.1: + resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==} + dependencies: + tslib: 2.6.2 + dev: true + + /@types/eslint-scope@3.7.7: + resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} + dependencies: + '@types/eslint': 8.44.7 + '@types/estree': 1.0.5 + dev: true + + /@types/eslint@8.44.7: + resolution: {integrity: sha512-f5ORu2hcBbKei97U73mf+l9t4zTGl74IqZ0GQk4oVea/VS8tQZYkUveSYojk+frraAVYId0V2WC9O4PTNru2FQ==} + dependencies: + '@types/estree': 1.0.5 + '@types/json-schema': 7.0.15 + dev: true + + /@types/estree@1.0.5: + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + dev: true + + /@types/json-schema@7.0.15: + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + dev: true + + /@types/node@20.9.2: + resolution: {integrity: sha512-WHZXKFCEyIUJzAwh3NyyTHYSR35SevJ6mZ1nWwJafKtiQbqRTIKSRcw3Ma3acqgsent3RRDqeVwpHntMk+9irg==} + dependencies: + undici-types: 5.26.5 + dev: true + + /@types/prop-types@15.7.11: + resolution: {integrity: sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==} + dev: true + + /@types/react-dom@18.2.15: + resolution: {integrity: sha512-HWMdW+7r7MR5+PZqJF6YFNSCtjz1T0dsvo/f1BV6HkV+6erD/nA7wd9NM00KVG83zf2nJ7uATPO9ttdIPvi3gg==} + dependencies: + '@types/react': 18.2.37 + dev: true + + /@types/react@18.2.37: + resolution: {integrity: sha512-RGAYMi2bhRgEXT3f4B92WTohopH6bIXw05FuGlmJEnv/omEn190+QYEIYxIAuIBdKgboYYdVved2p1AxZVQnaw==} + dependencies: + '@types/prop-types': 15.7.11 + '@types/scheduler': 0.16.7 + csstype: 3.1.2 + dev: true + + /@types/scheduler@0.16.7: + resolution: {integrity: sha512-8g25Nl3AuB1KulTlSUsUhUo/oBgBU6XIXQ+XURpeioEbEJvkO7qI4vDfREv3vJYHHzqXjcAHvoJy4pTtSQNZtA==} + dev: true + + /@use-gesture/core@10.2.20: + resolution: {integrity: sha512-4lFhHc8so4yIHkBEs641DnEsBxPyhJ5GEjB4PURFDH4p/FcZriH6w99knZgI63zN/MBFfylMyb8+PDuj6RIXKQ==} + dev: false + + /@use-gesture/react@10.2.20(react@18.2.0): + resolution: {integrity: sha512-KnJq9ZSqprWA6uNhWTUHZqTCh+rfa0j8ehTzqeBhktUPrmTj7yVOBvEQ/vSFU/7d72cGgWSsJ0f5T6GQCHXnvg==} + peerDependencies: + react: '>= 16.8.0' + dependencies: + '@use-gesture/core': 10.2.20 + react: 18.2.0 + dev: false + + /@webassemblyjs/ast@1.11.6: + resolution: {integrity: sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==} + dependencies: + '@webassemblyjs/helper-numbers': 1.11.6 + '@webassemblyjs/helper-wasm-bytecode': 1.11.6 + dev: true + + /@webassemblyjs/floating-point-hex-parser@1.11.6: + resolution: {integrity: sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==} + dev: true + + /@webassemblyjs/helper-api-error@1.11.6: + resolution: {integrity: sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==} + dev: true + + /@webassemblyjs/helper-buffer@1.11.6: + resolution: {integrity: sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA==} + dev: true + + /@webassemblyjs/helper-numbers@1.11.6: + resolution: {integrity: sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==} + dependencies: + '@webassemblyjs/floating-point-hex-parser': 1.11.6 + '@webassemblyjs/helper-api-error': 1.11.6 + '@xtuc/long': 4.2.2 + dev: true + + /@webassemblyjs/helper-wasm-bytecode@1.11.6: + resolution: {integrity: sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA==} + dev: true + + /@webassemblyjs/helper-wasm-section@1.11.6: + resolution: {integrity: sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g==} + dependencies: + '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/helper-buffer': 1.11.6 + '@webassemblyjs/helper-wasm-bytecode': 1.11.6 + '@webassemblyjs/wasm-gen': 1.11.6 + dev: true + + /@webassemblyjs/ieee754@1.11.6: + resolution: {integrity: sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg==} + dependencies: + '@xtuc/ieee754': 1.2.0 + dev: true + + /@webassemblyjs/leb128@1.11.6: + resolution: {integrity: sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ==} + dependencies: + '@xtuc/long': 4.2.2 + dev: true + + /@webassemblyjs/utf8@1.11.6: + resolution: {integrity: sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA==} + dev: true + + /@webassemblyjs/wasm-edit@1.11.6: + resolution: {integrity: sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw==} + dependencies: + '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/helper-buffer': 1.11.6 + '@webassemblyjs/helper-wasm-bytecode': 1.11.6 + '@webassemblyjs/helper-wasm-section': 1.11.6 + '@webassemblyjs/wasm-gen': 1.11.6 + '@webassemblyjs/wasm-opt': 1.11.6 + '@webassemblyjs/wasm-parser': 1.11.6 + '@webassemblyjs/wast-printer': 1.11.6 + dev: true + + /@webassemblyjs/wasm-gen@1.11.6: + resolution: {integrity: sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA==} + dependencies: + '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/helper-wasm-bytecode': 1.11.6 + '@webassemblyjs/ieee754': 1.11.6 + '@webassemblyjs/leb128': 1.11.6 + '@webassemblyjs/utf8': 1.11.6 + dev: true + + /@webassemblyjs/wasm-opt@1.11.6: + resolution: {integrity: sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g==} + dependencies: + '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/helper-buffer': 1.11.6 + '@webassemblyjs/wasm-gen': 1.11.6 + '@webassemblyjs/wasm-parser': 1.11.6 + dev: true + + /@webassemblyjs/wasm-parser@1.11.6: + resolution: {integrity: sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ==} + dependencies: + '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/helper-api-error': 1.11.6 + '@webassemblyjs/helper-wasm-bytecode': 1.11.6 + '@webassemblyjs/ieee754': 1.11.6 + '@webassemblyjs/leb128': 1.11.6 + '@webassemblyjs/utf8': 1.11.6 + dev: true + + /@webassemblyjs/wast-printer@1.11.6: + resolution: {integrity: sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A==} + dependencies: + '@webassemblyjs/ast': 1.11.6 + '@xtuc/long': 4.2.2 + dev: true + + /@xtuc/ieee754@1.2.0: + resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + dev: true + + /@xtuc/long@4.2.2: + resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + dev: true + + /acorn-import-assertions@1.9.0(acorn@8.11.2): + resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} + peerDependencies: + acorn: ^8 + dependencies: + acorn: 8.11.2 + dev: true + + /acorn@8.11.2: + resolution: {integrity: sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /ajv-keywords@3.5.2(ajv@6.12.6): + resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} + peerDependencies: + ajv: ^6.9.1 + dependencies: + ajv: 6.12.6 + dev: true + + /ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + dev: true + + /ansi-escapes@4.3.2: + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} + dependencies: + type-fest: 0.21.3 + dev: true + + /ansi-html-community@0.0.8: + resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} + engines: {'0': node >= 0.8.0} + hasBin: true + dev: true + + /async-validator@4.2.5: + resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} + dev: false + + /big.js@5.2.2: + resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==} + dev: true + + /browserslist@4.22.1: + resolution: {integrity: sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001563 + electron-to-chromium: 1.4.589 + node-releases: 2.0.13 + update-browserslist-db: 1.0.13(browserslist@4.22.1) + dev: true + + /buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: true + + /caniuse-lite@1.0.30001563: + resolution: {integrity: sha512-na2WUmOxnwIZtwnFI2CZ/3er0wdNzU7hN+cPYz/z2ajHThnkWjNBOpEPP4n+4r2WPM847JaMotaJE3bnfzjyKw==} + dev: true + + /chrome-trace-event@1.0.3: + resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} + engines: {node: '>=6.0'} + dev: true + + /classnames@2.3.2: + resolution: {integrity: sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==} + dev: false + + /commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: true + + /common-path-prefix@3.0.0: + resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} + dev: true + + /compare-versions@6.0.0-rc.1: + resolution: {integrity: sha512-cFhkjbGY1jLFWIV7KegECbfuyYPxSGvgGkdkfM+ibboQDoPwg2FRHm5BSNTOApiauRBzJIQH7qvOJs2sW5ueKQ==} + dev: true + + /core-js-pure@3.33.3: + resolution: {integrity: sha512-taJ00IDOP+XYQEA2dAe4ESkmHt1fL8wzYDo3mRWQey8uO9UojlBFMneA65kMyxfYP7106c6LzWaq7/haDT6BCQ==} + requiresBuild: true + dev: true + + /core-js@3.32.2: + resolution: {integrity: sha512-pxXSw1mYZPDGvTQqEc5vgIb83jGQKFGYWY76z4a7weZXUolw3G+OvpZqSRcfYOoOVUQJYEPsWeQK8pKEnUtWxQ==} + requiresBuild: true + dev: true + + /csstype@3.1.2: + resolution: {integrity: sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==} + + /dom-helpers@5.2.1: + resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} + dependencies: + '@babel/runtime': 7.23.4 + csstype: 3.1.2 + dev: false + + /electron-to-chromium@1.4.589: + resolution: {integrity: sha512-zF6y5v/YfoFIgwf2dDfAqVlPPsyQeWNpEWXbAlDUS8Ax4Z2VoiiZpAPC0Jm9hXEkJm2vIZpwB6rc4KnLTQffbQ==} + dev: true + + /emojis-list@3.0.0: + resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} + engines: {node: '>= 4'} + dev: true + + /enhanced-resolve@5.12.0: + resolution: {integrity: sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==} + engines: {node: '>=10.13.0'} + dependencies: + graceful-fs: 4.2.10 + tapable: 2.2.1 + dev: true + + /enhanced-resolve@5.15.0: + resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} + engines: {node: '>=10.13.0'} + dependencies: + graceful-fs: 4.2.11 + tapable: 2.2.1 + dev: true + + /error-stack-parser@2.1.4: + resolution: {integrity: sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==} + dependencies: + stackframe: 1.3.4 + dev: true + + /es-module-lexer@1.4.1: + resolution: {integrity: sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w==} + dev: true + + /escalade@3.1.1: + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} + dev: true + + /eslint-scope@5.1.1: + resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} + engines: {node: '>=8.0.0'} + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + dev: true + + /esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + dependencies: + estraverse: 5.3.0 + dev: true + + /estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + dev: true + + /estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + dev: true + + /events@3.3.0: + resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + engines: {node: '>=0.8.x'} + dev: true + + /fast-decode-uri-component@1.0.1: + resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==} + dev: true + + /fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + dev: true + + /fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + dev: true + + /fast-querystring@1.1.2: + resolution: {integrity: sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==} + dependencies: + fast-decode-uri-component: 1.0.1 + dev: true + + /find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + dev: true + + /glob-to-regexp@0.4.1: + resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} + dev: true + + /graceful-fs@4.2.10: + resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==} + dev: true + + /graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + dev: true + + /has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + dev: true + + /html-entities@2.4.0: + resolution: {integrity: sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ==} + dev: true + + /html-rspack-plugin@5.5.7: + resolution: {integrity: sha512-7dNAURj9XBHWoYg59F8VU6hT7J7w+od4Lr5hc/rrgN6sy6QfqVpoPqW9Qw4IGFOgit8Pul7iQp1yysBSIhOlsg==} + engines: {node: '>=10.13.0'} + dependencies: + lodash: 4.17.21 + tapable: 2.2.1 + dev: true + + /jest-worker@27.5.1: + resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} + engines: {node: '>= 10.13.0'} + dependencies: + '@types/node': 20.9.2 + merge-stream: 2.0.0 + supports-color: 8.1.1 + dev: true + + /js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: false + + /json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + dev: true + + /json-parse-even-better-errors@3.0.0: + resolution: {integrity: sha512-iZbGHafX/59r39gPwVPRBGw0QQKnA7tte5pSMrhWOW7swGsVvVTjmfyAV9pNqk8YGT7tRCdxRu8uzcgZwoDooA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + dev: true + + /json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + dev: true + + /json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + dev: true + + /levdist@1.0.0: + resolution: {integrity: sha512-YguwC2spb0pqpJM3a5OsBhih/GG2ZHoaSHnmBqhEI7997a36buhqcRTegEjozHxyxByIwLpZHZTVYMThq+Zd3g==} + dev: true + + /line-diff@2.1.1: + resolution: {integrity: sha512-vswdynAI5AMPJacOo2o+JJ4caDJbnY2NEqms4MhMW0NJbjh3skP/brpVTAgBxrg55NRZ2Vtw88ef18hnagIpYQ==} + dependencies: + levdist: 1.0.0 + dev: true + + /loader-runner@4.3.0: + resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} + engines: {node: '>=6.11.5'} + dev: true + + /loader-utils@2.0.4: + resolution: {integrity: sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==} + engines: {node: '>=8.9.0'} + dependencies: + big.js: 5.2.2 + emojis-list: 3.0.0 + json5: 2.2.3 + dev: true + + /locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + dependencies: + p-locate: 5.0.0 + dev: true + + /lodash.isequal@4.5.0: + resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} + dev: false + + /lodash.kebabcase@4.1.1: + resolution: {integrity: sha512-N8XRTIMMqqDgSy4VLKPnJ/+hpGZN+PHQiJnSenYqPaVV/NCqEogTnAdZLQiGKhxX+JCs8waWq2t1XHWKOmlY8g==} + dev: false + + /lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + dev: true + + /loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + dependencies: + js-tokens: 4.0.0 + dev: false + + /lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + dependencies: + yallist: 4.0.0 + dev: true + + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true + + /mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + dev: true + + /mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.52.0 + dev: true + + /nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + dev: true + + /neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + dev: true + + /node-releases@2.0.13: + resolution: {integrity: sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ==} + dev: true + + /object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + dev: false + + /p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 + dev: true + + /p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 + dev: true + + /path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + dev: true + + /picocolors@1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + dev: true + + /postcss@8.4.31: + resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: true + + /prop-types@15.8.1: + resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} + dependencies: + loose-envify: 1.4.0 + object-assign: 4.1.1 + react-is: 16.13.1 + dev: false + + /punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + dev: true + + /randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /react-dom@18.2.0(react@18.2.0): + resolution: {integrity: sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==} + peerDependencies: + react: ^18.2.0 + dependencies: + loose-envify: 1.4.0 + react: 18.2.0 + scheduler: 0.23.0 + dev: false + + /react-is@16.13.1: + resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} + dev: false + + /react-refresh@0.14.0: + resolution: {integrity: sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==} + engines: {node: '>=0.10.0'} + dev: true + + /react-transition-group@4.4.5(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} + peerDependencies: + react: '>=16.6.0' + react-dom: '>=16.6.0' + dependencies: + '@babel/runtime': 7.23.4 + dom-helpers: 5.2.1 + loose-envify: 1.4.0 + prop-types: 15.8.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /react@18.2.0: + resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} + engines: {node: '>=0.10.0'} + dependencies: + loose-envify: 1.4.0 + dev: false + + /regenerator-runtime@0.14.0: + resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} + dev: false + + /safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + dev: true + + /scheduler@0.23.0: + resolution: {integrity: sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==} + dependencies: + loose-envify: 1.4.0 + dev: false + + /schema-utils@3.3.0: + resolution: {integrity: sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg==} + engines: {node: '>= 10.13.0'} + dependencies: + '@types/json-schema': 7.0.15 + ajv: 6.12.6 + ajv-keywords: 3.5.2(ajv@6.12.6) + dev: true + + /semver@7.5.4: + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: true + + /serialize-javascript@6.0.1: + resolution: {integrity: sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==} + dependencies: + randombytes: 2.1.0 + dev: true + + /source-map-js@1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + dev: true + + /source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + dev: true + + /source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + dev: true + + /source-map@0.7.4: + resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} + engines: {node: '>= 8'} + dev: true + + /stackframe@1.3.4: + resolution: {integrity: sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==} + dev: true + + /supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + dependencies: + has-flag: 4.0.0 + dev: true + + /supports-color@8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + dependencies: + has-flag: 4.0.0 + dev: true + + /supports-hyperlinks@2.3.0: + resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} + engines: {node: '>=8'} + dependencies: + has-flag: 4.0.0 + supports-color: 7.2.0 + dev: true + + /tapable@2.2.1: + resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} + engines: {node: '>=6'} + dev: true + + /terminal-link@2.1.1: + resolution: {integrity: sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==} + engines: {node: '>=8'} + dependencies: + ansi-escapes: 4.3.2 + supports-hyperlinks: 2.3.0 + dev: true + + /terser-webpack-plugin@5.3.9(webpack@5.89.0): + resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + dependencies: + '@jridgewell/trace-mapping': 0.3.20 + jest-worker: 27.5.1 + schema-utils: 3.3.0 + serialize-javascript: 6.0.1 + terser: 5.24.0 + webpack: 5.89.0 + dev: true + + /terser@5.24.0: + resolution: {integrity: sha512-ZpGR4Hy3+wBEzVEnHvstMvqpD/nABNelQn/z2r0fjVWGQsN3bpOLzQlqDxmb4CDZnXq5lpjnQ+mHQLAOpfM5iw==} + engines: {node: '>=10'} + hasBin: true + dependencies: + '@jridgewell/source-map': 0.3.5 + acorn: 8.11.2 + commander: 2.20.3 + source-map-support: 0.5.21 + dev: true + + /tslib@2.6.2: + resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + dev: true + + /type-fest@0.21.3: + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} + dev: true + + /typescript@5.3.2: + resolution: {integrity: sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ==} + engines: {node: '>=14.17'} + hasBin: true + dev: true + + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + dev: true + + /update-browserslist-db@1.0.13(browserslist@4.22.1): + resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.22.1 + escalade: 3.1.1 + picocolors: 1.0.0 + dev: true + + /uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + dependencies: + punycode: 2.3.1 + dev: true + + /watchpack@2.4.0: + resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} + engines: {node: '>=10.13.0'} + dependencies: + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.10 + dev: true + + /webpack-sources@3.2.3: + resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} + engines: {node: '>=10.13.0'} + dev: true + + /webpack@5.89.0: + resolution: {integrity: sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + dependencies: + '@types/eslint-scope': 3.7.7 + '@types/estree': 1.0.5 + '@webassemblyjs/ast': 1.11.6 + '@webassemblyjs/wasm-edit': 1.11.6 + '@webassemblyjs/wasm-parser': 1.11.6 + acorn: 8.11.2 + acorn-import-assertions: 1.9.0(acorn@8.11.2) + browserslist: 4.22.1 + chrome-trace-event: 1.0.3 + enhanced-resolve: 5.15.0 + es-module-lexer: 1.4.1 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.3.0 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.9(webpack@5.89.0) + watchpack: 2.4.0 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + dev: true + + /ws@8.14.2: + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + + /yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + dev: true + + /yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + dev: true + + /zod-validation-error@1.2.0(zod@3.22.4): + resolution: {integrity: sha512-laJkD/ugwEh8CpuH+xXv5L9Z+RLz3lH8alNxolfaHZJck611OJj97R4Rb+ZqA7WNly2kNtTo4QwjdjXw9scpiw==} + engines: {node: ^14.17 || >=16.0.0} + peerDependencies: + zod: ^3.18.0 + dependencies: + zod: 3.22.4 + dev: true + + /zod@3.22.4: + resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} + dev: true diff --git a/nutui-react/v2/rsbuild/rsbuild.config.ts b/nutui-react/v2/rsbuild/rsbuild.config.ts new file mode 100644 index 0000000..c849994 --- /dev/null +++ b/nutui-react/v2/rsbuild/rsbuild.config.ts @@ -0,0 +1,29 @@ +import { defineConfig } from "@rsbuild/core"; +import { pluginReact } from "@rsbuild/plugin-react"; + +export default defineConfig({ + plugins: [pluginReact()], + tools: { + bundlerChain: (chain, { bundler, CHAIN_ID }) => { + chain.module + .rule(CHAIN_ID.RULE.JS) + .use(CHAIN_ID.USE.SWC) + .tap((options) => { + options.rspackExperiments = { + import: [ + { + libraryName: "@nutui/nutui-react", + customName: "@nutui/nutui-react/dist/esm/{{ member }}", + style: "{{ member }}/style/style.css", + }, + ], + }; + return options; + }); + }, + rspack: (config, { appendPlugins, rspack }) => { + appendPlugins(new rspack.ProgressPlugin({ prefix: "🐹 Rspack" })); + return config; + }, + }, +}); diff --git a/nutui-react/v2/rsbuild/src/App.css b/nutui-react/v2/rsbuild/src/App.css new file mode 100644 index 0000000..09990c3 --- /dev/null +++ b/nutui-react/v2/rsbuild/src/App.css @@ -0,0 +1,28 @@ +.indexHeader { + display: flex; + align-items: center; + padding: 0 34px; + height: 117px; +} + +.image { + width: 67px; + height: 67px; + margin-right: 18px; + flex-shrink: 0; +} + +.nut-img { + width: 100%; + height: 100%; +} + +.info { + display: flex; + flex-direction: column; +} + +.flexCenter { + display: flex; + justify-content: center; +} \ No newline at end of file diff --git a/nutui-react/v2/rsbuild/src/App.tsx b/nutui-react/v2/rsbuild/src/App.tsx new file mode 100644 index 0000000..931d748 --- /dev/null +++ b/nutui-react/v2/rsbuild/src/App.tsx @@ -0,0 +1,37 @@ +import { Button, Image, Row, Col } from "@nutui/nutui-react"; +import "./App.css"; +import { Star } from "@nutui/icons-react"; + +const App = () => { + return ( +
+
+ +
+

NutUI-React

+

京东风格的轻量级移动端 React 组件库

+
+
+ + + + + + + + +
+ ); +}; + +export default App; diff --git a/nutui-react/v2/rsbuild/src/env.d.ts b/nutui-react/v2/rsbuild/src/env.d.ts new file mode 100644 index 0000000..b0ac762 --- /dev/null +++ b/nutui-react/v2/rsbuild/src/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/nutui-react/v2/rsbuild/src/index.css b/nutui-react/v2/rsbuild/src/index.css new file mode 100644 index 0000000..d480ba3 --- /dev/null +++ b/nutui-react/v2/rsbuild/src/index.css @@ -0,0 +1,33 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +h1 { + height: 48px; + line-height: 48px; + font-size: 26px; + color: #333; +} + +p { + height: 18px; + line-height: 18px; + font-size: 13px; + color: #9a9b9d; + white-space: nowrap; +} \ No newline at end of file diff --git a/nutui-react/v2/rsbuild/src/index.tsx b/nutui-react/v2/rsbuild/src/index.tsx new file mode 100644 index 0000000..d110feb --- /dev/null +++ b/nutui-react/v2/rsbuild/src/index.tsx @@ -0,0 +1,11 @@ +import React from "react"; +import ReactDOM from "react-dom/client"; +import App from "./App"; +import "./index.css"; + +const root = ReactDOM.createRoot(document.getElementById("root")!); +root.render( + + + +); diff --git a/nutui-react/v2/rsbuild/tsconfig.json b/nutui-react/v2/rsbuild/tsconfig.json new file mode 100644 index 0000000..c1a7cb5 --- /dev/null +++ b/nutui-react/v2/rsbuild/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": ["DOM", "ES2020"], + "module": "ESNext", + "jsx": "react-jsx", + "strict": true, + "skipLibCheck": true, + "isolatedModules": true, + "resolveJsonModule": true, + "moduleResolution": "bundler" + }, + "include": ["src"] +} diff --git a/nutui-react/v2/vite/.gitignore b/nutui-react/v2/vite/.gitignore new file mode 100644 index 0000000..b512c09 --- /dev/null +++ b/nutui-react/v2/vite/.gitignore @@ -0,0 +1 @@ +node_modules \ No newline at end of file diff --git a/nutui-react/v2/vite/README.md b/nutui-react/v2/vite/README.md new file mode 100644 index 0000000..1ebe379 --- /dev/null +++ b/nutui-react/v2/vite/README.md @@ -0,0 +1,27 @@ +# React + TypeScript + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh + +## Expanding the ESLint configuration + +If you are developing a production application, we recommend updating the configuration to enable type aware lint rules: + +- Configure the top-level `parserOptions` property like this: + +```js + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + project: ['./tsconfig.json', './tsconfig.node.json'], + tsconfigRootDir: __dirname, + }, +``` + +- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked` +- Optionally add `plugin:@typescript-eslint/stylistic-type-checked` +- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` & `plugin:react/jsx-runtime` to the `extends` list diff --git a/nutui-react/v2/vite/index.html b/nutui-react/v2/vite/index.html new file mode 100644 index 0000000..e4b78ea --- /dev/null +++ b/nutui-react/v2/vite/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite + React + TS + + +
+ + + diff --git a/nutui-react/v2/vite/package.json b/nutui-react/v2/vite/package.json new file mode 100644 index 0000000..1409cdf --- /dev/null +++ b/nutui-react/v2/vite/package.json @@ -0,0 +1,31 @@ +{ + "name": "@nutui/nutui-vite-demo", + "private": true, + "version": "0.1.0", + "type": "module", + "scripts": { + "dev": "vite", + "build": "tsc && vite build", + "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", + "preview": "vite preview" + }, + "dependencies": { + "@nutui/icons-react": "^1.0.1", + "@nutui/nutui-react": "^2.4.0", + "react": "^18.2.0", + "react-dom": "^18.2.0" + }, + "devDependencies": { + "@types/react": "^18.2.15", + "@types/react-dom": "^18.2.7", + "@typescript-eslint/eslint-plugin": "^6.0.0", + "@typescript-eslint/parser": "^6.0.0", + "@vitejs/plugin-react": "^4.0.4", + "eslint": "^8.45.0", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-react-refresh": "^0.4.3", + "typescript": "^5.0.2", + "vite": "^4.4.5", + "vite-plugin-imp": "^2.4.0" + } +} \ No newline at end of file diff --git a/vite-jdt/public/vite.svg b/nutui-react/v2/vite/public/vite.svg similarity index 100% rename from vite-jdt/public/vite.svg rename to nutui-react/v2/vite/public/vite.svg diff --git a/nutui-react/v2/vite/src/App.css b/nutui-react/v2/vite/src/App.css new file mode 100644 index 0000000..eb7d562 --- /dev/null +++ b/nutui-react/v2/vite/src/App.css @@ -0,0 +1,23 @@ +.indexHeader { + display: flex; + align-items: center; + padding: 0 34px; + height: 117px; +} + +.image { + width: 67px; + height: 67px; + margin-right: 18px; + flex-shrink: 0; +} + +.info { + display: flex; + flex-direction: column; +} + +.flexCenter { + display: flex; + justify-content: center; +} \ No newline at end of file diff --git a/nutui-react/v2/vite/src/App.tsx b/nutui-react/v2/vite/src/App.tsx new file mode 100644 index 0000000..ee01084 --- /dev/null +++ b/nutui-react/v2/vite/src/App.tsx @@ -0,0 +1,29 @@ +import './App.css' +import { Star } from '@nutui/icons-react' +import { Row, Col, Image, Button } from '@nutui/nutui-react' + +const Home = () => { + return ( +
+
+ +
+

NutUI-React

+

京东风格的轻量级移动端 React 组件库

+
+
+ + + + + + + + +
+ ) +} + +export default Home diff --git a/nutui-react/v2/vite/src/index.css b/nutui-react/v2/vite/src/index.css new file mode 100644 index 0000000..d480ba3 --- /dev/null +++ b/nutui-react/v2/vite/src/index.css @@ -0,0 +1,33 @@ +html, +body { + padding: 0; + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, + Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; +} + +a { + color: inherit; + text-decoration: none; +} + +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} + +h1 { + height: 48px; + line-height: 48px; + font-size: 26px; + color: #333; +} + +p { + height: 18px; + line-height: 18px; + font-size: 13px; + color: #9a9b9d; + white-space: nowrap; +} \ No newline at end of file diff --git a/nutui-react/v2/vite/src/main.tsx b/nutui-react/v2/vite/src/main.tsx new file mode 100644 index 0000000..3d7150d --- /dev/null +++ b/nutui-react/v2/vite/src/main.tsx @@ -0,0 +1,10 @@ +import React from 'react' +import ReactDOM from 'react-dom/client' +import App from './App.tsx' +import './index.css' + +ReactDOM.createRoot(document.getElementById('root')!).render( + + + , +) diff --git a/vite-jdt/src/vite-env.d.ts b/nutui-react/v2/vite/src/vite-env.d.ts similarity index 100% rename from vite-jdt/src/vite-env.d.ts rename to nutui-react/v2/vite/src/vite-env.d.ts diff --git a/nutui-react/v2/vite/tsconfig.json b/nutui-react/v2/vite/tsconfig.json new file mode 100644 index 0000000..a7fc6fb --- /dev/null +++ b/nutui-react/v2/vite/tsconfig.json @@ -0,0 +1,25 @@ +{ + "compilerOptions": { + "target": "ES2020", + "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", + "skipLibCheck": true, + + /* Bundler mode */ + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", + + /* Linting */ + "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/nutui-react/v2/vite/tsconfig.node.json b/nutui-react/v2/vite/tsconfig.node.json new file mode 100644 index 0000000..42872c5 --- /dev/null +++ b/nutui-react/v2/vite/tsconfig.node.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", + "moduleResolution": "bundler", + "allowSyntheticDefaultImports": true + }, + "include": ["vite.config.ts"] +} diff --git a/nutui-react/v2/vite/vite.config.ts b/nutui-react/v2/vite/vite.config.ts new file mode 100644 index 0000000..0e812fa --- /dev/null +++ b/nutui-react/v2/vite/vite.config.ts @@ -0,0 +1,22 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' +import vitePluginImp from 'vite-plugin-imp' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [ + react(), + vitePluginImp({ + libList: [ + { + libName: '@nutui/nutui-react', + style: (name) => { + return `@nutui/nutui-react/dist/esm/${name}/style/css` + }, + replaceOldImport: false, + camel2DashComponentName: false, + } + ] + }) + ], +}) diff --git a/cdn/4.0.html b/nutui/v4/cdn/4.0.html similarity index 100% rename from cdn/4.0.html rename to nutui/v4/cdn/4.0.html diff --git a/nutui/v4/rsbuild/.gitignore b/nutui/v4/rsbuild/.gitignore new file mode 100644 index 0000000..38d7344 --- /dev/null +++ b/nutui/v4/rsbuild/.gitignore @@ -0,0 +1,13 @@ +# Local +.DS_Store +*.local +*.log* + +# Dist +node_modules +dist/ + +# IDE +.vscode/* +!.vscode/extensions.json +.idea diff --git a/rsbuild/README.md b/nutui/v4/rsbuild/README.md similarity index 100% rename from rsbuild/README.md rename to nutui/v4/rsbuild/README.md diff --git a/rsbuild/components.d.ts b/nutui/v4/rsbuild/components.d.ts similarity index 100% rename from rsbuild/components.d.ts rename to nutui/v4/rsbuild/components.d.ts diff --git a/rsbuild/package.json b/nutui/v4/rsbuild/package.json similarity index 100% rename from rsbuild/package.json rename to nutui/v4/rsbuild/package.json diff --git a/rsbuild/pnpm-lock.yaml b/nutui/v4/rsbuild/pnpm-lock.yaml similarity index 100% rename from rsbuild/pnpm-lock.yaml rename to nutui/v4/rsbuild/pnpm-lock.yaml diff --git a/rsbuild/rsbuild.config.ts b/nutui/v4/rsbuild/rsbuild.config.ts similarity index 100% rename from rsbuild/rsbuild.config.ts rename to nutui/v4/rsbuild/rsbuild.config.ts diff --git a/rsbuild/src/App.vue b/nutui/v4/rsbuild/src/App.vue similarity index 100% rename from rsbuild/src/App.vue rename to nutui/v4/rsbuild/src/App.vue diff --git a/rsbuild/src/env.d.ts b/nutui/v4/rsbuild/src/env.d.ts similarity index 100% rename from rsbuild/src/env.d.ts rename to nutui/v4/rsbuild/src/env.d.ts diff --git a/taro-jdt/src/app.scss b/nutui/v4/rsbuild/src/index.css similarity index 100% rename from taro-jdt/src/app.scss rename to nutui/v4/rsbuild/src/index.css diff --git a/rsbuild/src/index.ts b/nutui/v4/rsbuild/src/index.ts similarity index 100% rename from rsbuild/src/index.ts rename to nutui/v4/rsbuild/src/index.ts diff --git a/rsbuild/tsconfig.json b/nutui/v4/rsbuild/tsconfig.json similarity index 100% rename from rsbuild/tsconfig.json rename to nutui/v4/rsbuild/tsconfig.json diff --git a/taro-jdt/.gitignore b/nutui/v4/taro-jdt/.gitignore similarity index 100% rename from taro-jdt/.gitignore rename to nutui/v4/taro-jdt/.gitignore diff --git a/taro-jdt/babel.config.js b/nutui/v4/taro-jdt/babel.config.js similarity index 100% rename from taro-jdt/babel.config.js rename to nutui/v4/taro-jdt/babel.config.js diff --git a/taro-jdt/components.d.ts b/nutui/v4/taro-jdt/components.d.ts similarity index 100% rename from taro-jdt/components.d.ts rename to nutui/v4/taro-jdt/components.d.ts diff --git a/taro-jdt/config/dev.js b/nutui/v4/taro-jdt/config/dev.js similarity index 100% rename from taro-jdt/config/dev.js rename to nutui/v4/taro-jdt/config/dev.js diff --git a/taro-jdt/config/index.js b/nutui/v4/taro-jdt/config/index.js similarity index 100% rename from taro-jdt/config/index.js rename to nutui/v4/taro-jdt/config/index.js diff --git a/taro-jdt/config/prod.js b/nutui/v4/taro-jdt/config/prod.js similarity index 100% rename from taro-jdt/config/prod.js rename to nutui/v4/taro-jdt/config/prod.js diff --git a/taro-jdt/package.json b/nutui/v4/taro-jdt/package.json similarity index 100% rename from taro-jdt/package.json rename to nutui/v4/taro-jdt/package.json diff --git a/taro-jdt/pnpm-lock.yaml b/nutui/v4/taro-jdt/pnpm-lock.yaml similarity index 100% rename from taro-jdt/pnpm-lock.yaml rename to nutui/v4/taro-jdt/pnpm-lock.yaml diff --git a/taro-jdt/project.config.json b/nutui/v4/taro-jdt/project.config.json similarity index 100% rename from taro-jdt/project.config.json rename to nutui/v4/taro-jdt/project.config.json diff --git a/taro-jdt/project.tt.json b/nutui/v4/taro-jdt/project.tt.json similarity index 100% rename from taro-jdt/project.tt.json rename to nutui/v4/taro-jdt/project.tt.json diff --git a/taro-jdt/src/app.config.ts b/nutui/v4/taro-jdt/src/app.config.ts similarity index 100% rename from taro-jdt/src/app.config.ts rename to nutui/v4/taro-jdt/src/app.config.ts diff --git a/taro-tsx/src/app.scss b/nutui/v4/taro-jdt/src/app.scss similarity index 100% rename from taro-tsx/src/app.scss rename to nutui/v4/taro-jdt/src/app.scss diff --git a/taro-jdt/src/app.ts b/nutui/v4/taro-jdt/src/app.ts similarity index 100% rename from taro-jdt/src/app.ts rename to nutui/v4/taro-jdt/src/app.ts diff --git a/taro-jdt/src/index.html b/nutui/v4/taro-jdt/src/index.html similarity index 100% rename from taro-jdt/src/index.html rename to nutui/v4/taro-jdt/src/index.html diff --git a/taro-jdt/src/pages/index/index.config.ts b/nutui/v4/taro-jdt/src/pages/index/index.config.ts similarity index 100% rename from taro-jdt/src/pages/index/index.config.ts rename to nutui/v4/taro-jdt/src/pages/index/index.config.ts diff --git a/taro-jdt/src/pages/index/index.vue b/nutui/v4/taro-jdt/src/pages/index/index.vue similarity index 100% rename from taro-jdt/src/pages/index/index.vue rename to nutui/v4/taro-jdt/src/pages/index/index.vue diff --git a/taro-jdt/tsconfig.json b/nutui/v4/taro-jdt/tsconfig.json similarity index 100% rename from taro-jdt/tsconfig.json rename to nutui/v4/taro-jdt/tsconfig.json diff --git a/taro-jdt/types/global.d.ts b/nutui/v4/taro-jdt/types/global.d.ts similarity index 100% rename from taro-jdt/types/global.d.ts rename to nutui/v4/taro-jdt/types/global.d.ts diff --git a/taro-jdt/types/vue.d.ts b/nutui/v4/taro-jdt/types/vue.d.ts similarity index 100% rename from taro-jdt/types/vue.d.ts rename to nutui/v4/taro-jdt/types/vue.d.ts diff --git a/taro-tsx/babel.config.js b/nutui/v4/taro-tsx/babel.config.js similarity index 100% rename from taro-tsx/babel.config.js rename to nutui/v4/taro-tsx/babel.config.js diff --git a/taro-tsx/components.d.ts b/nutui/v4/taro-tsx/components.d.ts similarity index 100% rename from taro-tsx/components.d.ts rename to nutui/v4/taro-tsx/components.d.ts diff --git a/taro-tsx/config/dev.js b/nutui/v4/taro-tsx/config/dev.js similarity index 100% rename from taro-tsx/config/dev.js rename to nutui/v4/taro-tsx/config/dev.js diff --git a/taro-tsx/config/index.js b/nutui/v4/taro-tsx/config/index.js similarity index 100% rename from taro-tsx/config/index.js rename to nutui/v4/taro-tsx/config/index.js diff --git a/taro-tsx/config/prod.js b/nutui/v4/taro-tsx/config/prod.js similarity index 100% rename from taro-tsx/config/prod.js rename to nutui/v4/taro-tsx/config/prod.js diff --git a/taro-tsx/package.json b/nutui/v4/taro-tsx/package.json similarity index 100% rename from taro-tsx/package.json rename to nutui/v4/taro-tsx/package.json diff --git a/taro-tsx/pnpm-lock.yaml b/nutui/v4/taro-tsx/pnpm-lock.yaml similarity index 100% rename from taro-tsx/pnpm-lock.yaml rename to nutui/v4/taro-tsx/pnpm-lock.yaml diff --git a/taro-tsx/project.config.json b/nutui/v4/taro-tsx/project.config.json similarity index 100% rename from taro-tsx/project.config.json rename to nutui/v4/taro-tsx/project.config.json diff --git a/taro-tsx/project.tt.json b/nutui/v4/taro-tsx/project.tt.json similarity index 100% rename from taro-tsx/project.tt.json rename to nutui/v4/taro-tsx/project.tt.json diff --git a/taro-tsx/src/app.config.ts b/nutui/v4/taro-tsx/src/app.config.ts similarity index 100% rename from taro-tsx/src/app.config.ts rename to nutui/v4/taro-tsx/src/app.config.ts diff --git a/taro/src/app.scss b/nutui/v4/taro-tsx/src/app.scss similarity index 100% rename from taro/src/app.scss rename to nutui/v4/taro-tsx/src/app.scss diff --git a/taro-tsx/src/app.ts b/nutui/v4/taro-tsx/src/app.ts similarity index 100% rename from taro-tsx/src/app.ts rename to nutui/v4/taro-tsx/src/app.ts diff --git a/taro-tsx/src/index.html b/nutui/v4/taro-tsx/src/index.html similarity index 100% rename from taro-tsx/src/index.html rename to nutui/v4/taro-tsx/src/index.html diff --git a/taro-tsx/src/pages/index/index.config.ts b/nutui/v4/taro-tsx/src/pages/index/index.config.ts similarity index 100% rename from taro-tsx/src/pages/index/index.config.ts rename to nutui/v4/taro-tsx/src/pages/index/index.config.ts diff --git a/taro-tsx/src/pages/index/index.tsx b/nutui/v4/taro-tsx/src/pages/index/index.tsx similarity index 100% rename from taro-tsx/src/pages/index/index.tsx rename to nutui/v4/taro-tsx/src/pages/index/index.tsx diff --git a/taro-tsx/tsconfig.json b/nutui/v4/taro-tsx/tsconfig.json similarity index 100% rename from taro-tsx/tsconfig.json rename to nutui/v4/taro-tsx/tsconfig.json diff --git a/taro-tsx/types/global.d.ts b/nutui/v4/taro-tsx/types/global.d.ts similarity index 100% rename from taro-tsx/types/global.d.ts rename to nutui/v4/taro-tsx/types/global.d.ts diff --git a/taro-tsx/types/vue.d.ts b/nutui/v4/taro-tsx/types/vue.d.ts similarity index 100% rename from taro-tsx/types/vue.d.ts rename to nutui/v4/taro-tsx/types/vue.d.ts diff --git a/taro/.gitignore b/nutui/v4/taro/.gitignore similarity index 100% rename from taro/.gitignore rename to nutui/v4/taro/.gitignore diff --git a/taro/babel.config.js b/nutui/v4/taro/babel.config.js similarity index 100% rename from taro/babel.config.js rename to nutui/v4/taro/babel.config.js diff --git a/taro/components.d.ts b/nutui/v4/taro/components.d.ts similarity index 100% rename from taro/components.d.ts rename to nutui/v4/taro/components.d.ts diff --git a/taro/config/dev.js b/nutui/v4/taro/config/dev.js similarity index 100% rename from taro/config/dev.js rename to nutui/v4/taro/config/dev.js diff --git a/taro/config/index.js b/nutui/v4/taro/config/index.js similarity index 100% rename from taro/config/index.js rename to nutui/v4/taro/config/index.js diff --git a/taro/config/prod.js b/nutui/v4/taro/config/prod.js similarity index 100% rename from taro/config/prod.js rename to nutui/v4/taro/config/prod.js diff --git a/taro/package.json b/nutui/v4/taro/package.json similarity index 100% rename from taro/package.json rename to nutui/v4/taro/package.json diff --git a/taro/pnpm-lock.yaml b/nutui/v4/taro/pnpm-lock.yaml similarity index 100% rename from taro/pnpm-lock.yaml rename to nutui/v4/taro/pnpm-lock.yaml diff --git a/taro/project.config.json b/nutui/v4/taro/project.config.json similarity index 100% rename from taro/project.config.json rename to nutui/v4/taro/project.config.json diff --git a/taro/project.tt.json b/nutui/v4/taro/project.tt.json similarity index 100% rename from taro/project.tt.json rename to nutui/v4/taro/project.tt.json diff --git a/taro/src/app.config.ts b/nutui/v4/taro/src/app.config.ts similarity index 100% rename from taro/src/app.config.ts rename to nutui/v4/taro/src/app.config.ts diff --git a/nutui/v4/taro/src/app.scss b/nutui/v4/taro/src/app.scss new file mode 100644 index 0000000..e69de29 diff --git a/taro/src/app.ts b/nutui/v4/taro/src/app.ts similarity index 100% rename from taro/src/app.ts rename to nutui/v4/taro/src/app.ts diff --git a/taro/src/index.html b/nutui/v4/taro/src/index.html similarity index 100% rename from taro/src/index.html rename to nutui/v4/taro/src/index.html diff --git a/taro/src/pages/index/index.config.ts b/nutui/v4/taro/src/pages/index/index.config.ts similarity index 100% rename from taro/src/pages/index/index.config.ts rename to nutui/v4/taro/src/pages/index/index.config.ts diff --git a/taro/src/pages/index/index.vue b/nutui/v4/taro/src/pages/index/index.vue similarity index 100% rename from taro/src/pages/index/index.vue rename to nutui/v4/taro/src/pages/index/index.vue diff --git a/taro/tsconfig.json b/nutui/v4/taro/tsconfig.json similarity index 100% rename from taro/tsconfig.json rename to nutui/v4/taro/tsconfig.json diff --git a/taro/types/global.d.ts b/nutui/v4/taro/types/global.d.ts similarity index 100% rename from taro/types/global.d.ts rename to nutui/v4/taro/types/global.d.ts diff --git a/taro/types/vue.d.ts b/nutui/v4/taro/types/vue.d.ts similarity index 100% rename from taro/types/vue.d.ts rename to nutui/v4/taro/types/vue.d.ts diff --git a/vite-jdt/.gitignore b/nutui/v4/vite-jdt/.gitignore similarity index 100% rename from vite-jdt/.gitignore rename to nutui/v4/vite-jdt/.gitignore diff --git a/vite-jdt/README.md b/nutui/v4/vite-jdt/README.md similarity index 100% rename from vite-jdt/README.md rename to nutui/v4/vite-jdt/README.md diff --git a/vite-jdt/components.d.ts b/nutui/v4/vite-jdt/components.d.ts similarity index 100% rename from vite-jdt/components.d.ts rename to nutui/v4/vite-jdt/components.d.ts diff --git a/vite-jdt/index.html b/nutui/v4/vite-jdt/index.html similarity index 100% rename from vite-jdt/index.html rename to nutui/v4/vite-jdt/index.html diff --git a/vite-jdt/package.json b/nutui/v4/vite-jdt/package.json similarity index 100% rename from vite-jdt/package.json rename to nutui/v4/vite-jdt/package.json diff --git a/vite-jdt/pnpm-lock.yaml b/nutui/v4/vite-jdt/pnpm-lock.yaml similarity index 100% rename from vite-jdt/pnpm-lock.yaml rename to nutui/v4/vite-jdt/pnpm-lock.yaml diff --git a/vite/public/vite.svg b/nutui/v4/vite-jdt/public/vite.svg similarity index 100% rename from vite/public/vite.svg rename to nutui/v4/vite-jdt/public/vite.svg diff --git a/vite-jdt/src/App.vue b/nutui/v4/vite-jdt/src/App.vue similarity index 100% rename from vite-jdt/src/App.vue rename to nutui/v4/vite-jdt/src/App.vue diff --git a/vite-jdt/src/main.ts b/nutui/v4/vite-jdt/src/main.ts similarity index 100% rename from vite-jdt/src/main.ts rename to nutui/v4/vite-jdt/src/main.ts diff --git a/vite-jdt/src/style.css b/nutui/v4/vite-jdt/src/style.css similarity index 100% rename from vite-jdt/src/style.css rename to nutui/v4/vite-jdt/src/style.css diff --git a/vite/src/vite-env.d.ts b/nutui/v4/vite-jdt/src/vite-env.d.ts similarity index 100% rename from vite/src/vite-env.d.ts rename to nutui/v4/vite-jdt/src/vite-env.d.ts diff --git a/vite-jdt/tsconfig.json b/nutui/v4/vite-jdt/tsconfig.json similarity index 100% rename from vite-jdt/tsconfig.json rename to nutui/v4/vite-jdt/tsconfig.json diff --git a/vite-jdt/tsconfig.node.json b/nutui/v4/vite-jdt/tsconfig.node.json similarity index 100% rename from vite-jdt/tsconfig.node.json rename to nutui/v4/vite-jdt/tsconfig.node.json diff --git a/vite-jdt/vite.config.ts b/nutui/v4/vite-jdt/vite.config.ts similarity index 100% rename from vite-jdt/vite.config.ts rename to nutui/v4/vite-jdt/vite.config.ts diff --git a/vite/.gitignore b/nutui/v4/vite/.gitignore similarity index 100% rename from vite/.gitignore rename to nutui/v4/vite/.gitignore diff --git a/vite/README.md b/nutui/v4/vite/README.md similarity index 100% rename from vite/README.md rename to nutui/v4/vite/README.md diff --git a/vite/components.d.ts b/nutui/v4/vite/components.d.ts similarity index 100% rename from vite/components.d.ts rename to nutui/v4/vite/components.d.ts diff --git a/vite/index.html b/nutui/v4/vite/index.html similarity index 100% rename from vite/index.html rename to nutui/v4/vite/index.html diff --git a/vite/package.json b/nutui/v4/vite/package.json similarity index 100% rename from vite/package.json rename to nutui/v4/vite/package.json diff --git a/vite/pnpm-lock.yaml b/nutui/v4/vite/pnpm-lock.yaml similarity index 100% rename from vite/pnpm-lock.yaml rename to nutui/v4/vite/pnpm-lock.yaml diff --git a/nutui/v4/vite/public/vite.svg b/nutui/v4/vite/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/nutui/v4/vite/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/vite/src/App.vue b/nutui/v4/vite/src/App.vue similarity index 100% rename from vite/src/App.vue rename to nutui/v4/vite/src/App.vue diff --git a/vite/src/main.ts b/nutui/v4/vite/src/main.ts similarity index 100% rename from vite/src/main.ts rename to nutui/v4/vite/src/main.ts diff --git a/vite/src/style.css b/nutui/v4/vite/src/style.css similarity index 100% rename from vite/src/style.css rename to nutui/v4/vite/src/style.css diff --git a/nutui/v4/vite/src/vite-env.d.ts b/nutui/v4/vite/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/nutui/v4/vite/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/vite/tsconfig.json b/nutui/v4/vite/tsconfig.json similarity index 100% rename from vite/tsconfig.json rename to nutui/v4/vite/tsconfig.json diff --git a/vite/tsconfig.node.json b/nutui/v4/vite/tsconfig.node.json similarity index 100% rename from vite/tsconfig.node.json rename to nutui/v4/vite/tsconfig.node.json diff --git a/vite/vite.config.ts b/nutui/v4/vite/vite.config.ts similarity index 100% rename from vite/vite.config.ts rename to nutui/v4/vite/vite.config.ts diff --git a/vue-cli/.gitignore b/nutui/v4/vue-cli/.gitignore similarity index 100% rename from vue-cli/.gitignore rename to nutui/v4/vue-cli/.gitignore diff --git a/vue-cli/README.md b/nutui/v4/vue-cli/README.md similarity index 100% rename from vue-cli/README.md rename to nutui/v4/vue-cli/README.md diff --git a/vue-cli/babel.config.js b/nutui/v4/vue-cli/babel.config.js similarity index 100% rename from vue-cli/babel.config.js rename to nutui/v4/vue-cli/babel.config.js diff --git a/vue-cli/components.d.ts b/nutui/v4/vue-cli/components.d.ts similarity index 100% rename from vue-cli/components.d.ts rename to nutui/v4/vue-cli/components.d.ts diff --git a/vue-cli/jsconfig.json b/nutui/v4/vue-cli/jsconfig.json similarity index 100% rename from vue-cli/jsconfig.json rename to nutui/v4/vue-cli/jsconfig.json diff --git a/vue-cli/package.json b/nutui/v4/vue-cli/package.json similarity index 100% rename from vue-cli/package.json rename to nutui/v4/vue-cli/package.json diff --git a/vue-cli/pnpm-lock.yaml b/nutui/v4/vue-cli/pnpm-lock.yaml similarity index 100% rename from vue-cli/pnpm-lock.yaml rename to nutui/v4/vue-cli/pnpm-lock.yaml diff --git a/vue-cli/public/favicon.ico b/nutui/v4/vue-cli/public/favicon.ico similarity index 100% rename from vue-cli/public/favicon.ico rename to nutui/v4/vue-cli/public/favicon.ico diff --git a/vue-cli/public/index.html b/nutui/v4/vue-cli/public/index.html similarity index 100% rename from vue-cli/public/index.html rename to nutui/v4/vue-cli/public/index.html diff --git a/vue-cli/src/App.vue b/nutui/v4/vue-cli/src/App.vue similarity index 100% rename from vue-cli/src/App.vue rename to nutui/v4/vue-cli/src/App.vue diff --git a/vue-cli/src/assets/logo.png b/nutui/v4/vue-cli/src/assets/logo.png similarity index 100% rename from vue-cli/src/assets/logo.png rename to nutui/v4/vue-cli/src/assets/logo.png diff --git a/vue-cli/src/main.js b/nutui/v4/vue-cli/src/main.js similarity index 100% rename from vue-cli/src/main.js rename to nutui/v4/vue-cli/src/main.js diff --git a/vue-cli/vue.config.js b/nutui/v4/vue-cli/vue.config.js similarity index 100% rename from vue-cli/vue.config.js rename to nutui/v4/vue-cli/vue.config.js