From bf333c5789f8221a2649a56168e7e9d2f2b18788 Mon Sep 17 00:00:00 2001 From: nishida <42875682+nishidayoshikatsu@users.noreply.github.com> Date: Fri, 29 Dec 2023 16:40:41 +0900 Subject: [PATCH 1/3] :bug: Fix gh-pages bug --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index df103c6..3591238 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,7 +5,7 @@ import react from '@vitejs/plugin-react-swc' export default defineConfig(({ mode }) => { return { base: mode === "production" - ? "/luma-three-testbed/" + ? "/luma-web-r3f-sample/" : "/", plugins: [react()], } From 0f04393420adf8648eb084736259596467bba6d1 Mon Sep 17 00:00:00 2001 From: nishida <42875682+nishidayoshikatsu@users.noreply.github.com> Date: Fri, 29 Dec 2023 16:48:08 +0900 Subject: [PATCH 2/3] :memo: Add README.md --- README.md | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 0d6babe..5e83dab 100644 --- a/README.md +++ b/README.md @@ -1,30 +1,3 @@ -# React + TypeScript + Vite +# luma-web-r3f-sample -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 -export default { - // other rules... - 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 +[`@lumaai/luma-web`](https://lumalabs.ai/luma-web-library) + react-three-fiber(r3f) sample From 3908d86c040ac4072dda8334816736a5bc7e6d0b Mon Sep 17 00:00:00 2001 From: Yoshikatsu Nishida <42875682+nisshi-dev@users.noreply.github.com> Date: Fri, 29 Dec 2023 16:49:50 +0900 Subject: [PATCH 3/3] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7d89573 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 nisshi-dev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.