From 13e242d0cae05163d532f185e3fe9a9aa558f456 Mon Sep 17 00:00:00 2001 From: Nakamura Shotaro Date: Sun, 4 Feb 2024 15:58:25 +0900 Subject: [PATCH] refactor: `note-x` to `note` --- src/islands/{note-x => note}/App.css | 0 src/islands/{note-x => note}/App.tsx | 0 src/islands/{note-x => note}/components/Fab.tsx | 0 src/islands/{note-x => note}/components/Header.tsx | 0 src/islands/{note-x => note}/components/Menu.tsx | 0 src/islands/{note-x => note}/components/Notes.tsx | 0 .../{note-x => note}/components/note-components/Controller.tsx | 0 src/islands/{note-x => note}/components/notes-utils.ts | 0 .../{note-x => note}/components/notes/ImageNote/ImageNote.tsx | 0 .../components/notes/ImageNote/components/EditorCoreX.tsx | 0 .../components/notes/ImageNote/components/Player.tsx | 0 .../components/notes/ImageNote/components/ScanedImageEditor.tsx | 0 .../components/notes/ImageNote/components/Sheet.tsx | 0 .../{note-x => note}/components/notes/ImageNote/create.ts | 0 .../{note-x => note}/components/notes/ImageNote/index.ts | 0 .../{note-x => note}/components/notes/ImageNote/types.ts | 0 .../{note-x => note}/components/notes/TextNote/Player.tsx | 0 .../{note-x => note}/components/notes/TextNote/TextNote.tsx | 0 .../components/notes/TextNote/TextNoteStyle.css | 0 .../{note-x => note}/components/notes/TextNote/create.ts | 0 .../{note-x => note}/components/notes/TextNote/index.tsx | 0 .../components/notes/TextNote/tiptap/PluginSheet.ts | 0 src/islands/{note-x => note}/components/notes/TextNote/types.ts | 0 src/islands/{note-x => note}/components/utils/Dialog.tsx | 0 src/islands/{note-x => note}/index.tsx | 0 src/islands/{note-x => note}/store.ts | 0 src/islands/{note-x => note}/utils/array/moveArray.ts | 0 src/islands/{note-x => note}/utils/file-format/index.ts | 0 .../{note-x => note}/utils/file-format/manifest-schema.ts | 0 src/islands/{note-x => note}/utils/icon/removeIconSize.tsx | 0 src/islands/{note-x => note}/utils/promise/sleep.ts | 0 src/pages/app/notes/[noteid].astro | 2 +- 32 files changed, 1 insertion(+), 1 deletion(-) rename src/islands/{note-x => note}/App.css (100%) rename src/islands/{note-x => note}/App.tsx (100%) rename src/islands/{note-x => note}/components/Fab.tsx (100%) rename src/islands/{note-x => note}/components/Header.tsx (100%) rename src/islands/{note-x => note}/components/Menu.tsx (100%) rename src/islands/{note-x => note}/components/Notes.tsx (100%) rename src/islands/{note-x => note}/components/note-components/Controller.tsx (100%) rename src/islands/{note-x => note}/components/notes-utils.ts (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/ImageNote.tsx (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/components/EditorCoreX.tsx (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/components/Player.tsx (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/components/ScanedImageEditor.tsx (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/components/Sheet.tsx (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/create.ts (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/index.ts (100%) rename src/islands/{note-x => note}/components/notes/ImageNote/types.ts (100%) rename src/islands/{note-x => note}/components/notes/TextNote/Player.tsx (100%) rename src/islands/{note-x => note}/components/notes/TextNote/TextNote.tsx (100%) rename src/islands/{note-x => note}/components/notes/TextNote/TextNoteStyle.css (100%) rename src/islands/{note-x => note}/components/notes/TextNote/create.ts (100%) rename src/islands/{note-x => note}/components/notes/TextNote/index.tsx (100%) rename src/islands/{note-x => note}/components/notes/TextNote/tiptap/PluginSheet.ts (100%) rename src/islands/{note-x => note}/components/notes/TextNote/types.ts (100%) rename src/islands/{note-x => note}/components/utils/Dialog.tsx (100%) rename src/islands/{note-x => note}/index.tsx (100%) rename src/islands/{note-x => note}/store.ts (100%) rename src/islands/{note-x => note}/utils/array/moveArray.ts (100%) rename src/islands/{note-x => note}/utils/file-format/index.ts (100%) rename src/islands/{note-x => note}/utils/file-format/manifest-schema.ts (100%) rename src/islands/{note-x => note}/utils/icon/removeIconSize.tsx (100%) rename src/islands/{note-x => note}/utils/promise/sleep.ts (100%) diff --git a/src/islands/note-x/App.css b/src/islands/note/App.css similarity index 100% rename from src/islands/note-x/App.css rename to src/islands/note/App.css diff --git a/src/islands/note-x/App.tsx b/src/islands/note/App.tsx similarity index 100% rename from src/islands/note-x/App.tsx rename to src/islands/note/App.tsx diff --git a/src/islands/note-x/components/Fab.tsx b/src/islands/note/components/Fab.tsx similarity index 100% rename from src/islands/note-x/components/Fab.tsx rename to src/islands/note/components/Fab.tsx diff --git a/src/islands/note-x/components/Header.tsx b/src/islands/note/components/Header.tsx similarity index 100% rename from src/islands/note-x/components/Header.tsx rename to src/islands/note/components/Header.tsx diff --git a/src/islands/note-x/components/Menu.tsx b/src/islands/note/components/Menu.tsx similarity index 100% rename from src/islands/note-x/components/Menu.tsx rename to src/islands/note/components/Menu.tsx diff --git a/src/islands/note-x/components/Notes.tsx b/src/islands/note/components/Notes.tsx similarity index 100% rename from src/islands/note-x/components/Notes.tsx rename to src/islands/note/components/Notes.tsx diff --git a/src/islands/note-x/components/note-components/Controller.tsx b/src/islands/note/components/note-components/Controller.tsx similarity index 100% rename from src/islands/note-x/components/note-components/Controller.tsx rename to src/islands/note/components/note-components/Controller.tsx diff --git a/src/islands/note-x/components/notes-utils.ts b/src/islands/note/components/notes-utils.ts similarity index 100% rename from src/islands/note-x/components/notes-utils.ts rename to src/islands/note/components/notes-utils.ts diff --git a/src/islands/note-x/components/notes/ImageNote/ImageNote.tsx b/src/islands/note/components/notes/ImageNote/ImageNote.tsx similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/ImageNote.tsx rename to src/islands/note/components/notes/ImageNote/ImageNote.tsx diff --git a/src/islands/note-x/components/notes/ImageNote/components/EditorCoreX.tsx b/src/islands/note/components/notes/ImageNote/components/EditorCoreX.tsx similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/components/EditorCoreX.tsx rename to src/islands/note/components/notes/ImageNote/components/EditorCoreX.tsx diff --git a/src/islands/note-x/components/notes/ImageNote/components/Player.tsx b/src/islands/note/components/notes/ImageNote/components/Player.tsx similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/components/Player.tsx rename to src/islands/note/components/notes/ImageNote/components/Player.tsx diff --git a/src/islands/note-x/components/notes/ImageNote/components/ScanedImageEditor.tsx b/src/islands/note/components/notes/ImageNote/components/ScanedImageEditor.tsx similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/components/ScanedImageEditor.tsx rename to src/islands/note/components/notes/ImageNote/components/ScanedImageEditor.tsx diff --git a/src/islands/note-x/components/notes/ImageNote/components/Sheet.tsx b/src/islands/note/components/notes/ImageNote/components/Sheet.tsx similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/components/Sheet.tsx rename to src/islands/note/components/notes/ImageNote/components/Sheet.tsx diff --git a/src/islands/note-x/components/notes/ImageNote/create.ts b/src/islands/note/components/notes/ImageNote/create.ts similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/create.ts rename to src/islands/note/components/notes/ImageNote/create.ts diff --git a/src/islands/note-x/components/notes/ImageNote/index.ts b/src/islands/note/components/notes/ImageNote/index.ts similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/index.ts rename to src/islands/note/components/notes/ImageNote/index.ts diff --git a/src/islands/note-x/components/notes/ImageNote/types.ts b/src/islands/note/components/notes/ImageNote/types.ts similarity index 100% rename from src/islands/note-x/components/notes/ImageNote/types.ts rename to src/islands/note/components/notes/ImageNote/types.ts diff --git a/src/islands/note-x/components/notes/TextNote/Player.tsx b/src/islands/note/components/notes/TextNote/Player.tsx similarity index 100% rename from src/islands/note-x/components/notes/TextNote/Player.tsx rename to src/islands/note/components/notes/TextNote/Player.tsx diff --git a/src/islands/note-x/components/notes/TextNote/TextNote.tsx b/src/islands/note/components/notes/TextNote/TextNote.tsx similarity index 100% rename from src/islands/note-x/components/notes/TextNote/TextNote.tsx rename to src/islands/note/components/notes/TextNote/TextNote.tsx diff --git a/src/islands/note-x/components/notes/TextNote/TextNoteStyle.css b/src/islands/note/components/notes/TextNote/TextNoteStyle.css similarity index 100% rename from src/islands/note-x/components/notes/TextNote/TextNoteStyle.css rename to src/islands/note/components/notes/TextNote/TextNoteStyle.css diff --git a/src/islands/note-x/components/notes/TextNote/create.ts b/src/islands/note/components/notes/TextNote/create.ts similarity index 100% rename from src/islands/note-x/components/notes/TextNote/create.ts rename to src/islands/note/components/notes/TextNote/create.ts diff --git a/src/islands/note-x/components/notes/TextNote/index.tsx b/src/islands/note/components/notes/TextNote/index.tsx similarity index 100% rename from src/islands/note-x/components/notes/TextNote/index.tsx rename to src/islands/note/components/notes/TextNote/index.tsx diff --git a/src/islands/note-x/components/notes/TextNote/tiptap/PluginSheet.ts b/src/islands/note/components/notes/TextNote/tiptap/PluginSheet.ts similarity index 100% rename from src/islands/note-x/components/notes/TextNote/tiptap/PluginSheet.ts rename to src/islands/note/components/notes/TextNote/tiptap/PluginSheet.ts diff --git a/src/islands/note-x/components/notes/TextNote/types.ts b/src/islands/note/components/notes/TextNote/types.ts similarity index 100% rename from src/islands/note-x/components/notes/TextNote/types.ts rename to src/islands/note/components/notes/TextNote/types.ts diff --git a/src/islands/note-x/components/utils/Dialog.tsx b/src/islands/note/components/utils/Dialog.tsx similarity index 100% rename from src/islands/note-x/components/utils/Dialog.tsx rename to src/islands/note/components/utils/Dialog.tsx diff --git a/src/islands/note-x/index.tsx b/src/islands/note/index.tsx similarity index 100% rename from src/islands/note-x/index.tsx rename to src/islands/note/index.tsx diff --git a/src/islands/note-x/store.ts b/src/islands/note/store.ts similarity index 100% rename from src/islands/note-x/store.ts rename to src/islands/note/store.ts diff --git a/src/islands/note-x/utils/array/moveArray.ts b/src/islands/note/utils/array/moveArray.ts similarity index 100% rename from src/islands/note-x/utils/array/moveArray.ts rename to src/islands/note/utils/array/moveArray.ts diff --git a/src/islands/note-x/utils/file-format/index.ts b/src/islands/note/utils/file-format/index.ts similarity index 100% rename from src/islands/note-x/utils/file-format/index.ts rename to src/islands/note/utils/file-format/index.ts diff --git a/src/islands/note-x/utils/file-format/manifest-schema.ts b/src/islands/note/utils/file-format/manifest-schema.ts similarity index 100% rename from src/islands/note-x/utils/file-format/manifest-schema.ts rename to src/islands/note/utils/file-format/manifest-schema.ts diff --git a/src/islands/note-x/utils/icon/removeIconSize.tsx b/src/islands/note/utils/icon/removeIconSize.tsx similarity index 100% rename from src/islands/note-x/utils/icon/removeIconSize.tsx rename to src/islands/note/utils/icon/removeIconSize.tsx diff --git a/src/islands/note-x/utils/promise/sleep.ts b/src/islands/note/utils/promise/sleep.ts similarity index 100% rename from src/islands/note-x/utils/promise/sleep.ts rename to src/islands/note/utils/promise/sleep.ts diff --git a/src/pages/app/notes/[noteid].astro b/src/pages/app/notes/[noteid].astro index 1a2bad20..aa6a6e81 100644 --- a/src/pages/app/notes/[noteid].astro +++ b/src/pages/app/notes/[noteid].astro @@ -1,6 +1,6 @@ --- import Base from "../../../layouts/Base.astro" -import NanohaNoteApp from "../../../islands/note-x/index" +import NanohaNoteApp from "../../../islands/note" ---