From cb8ca67eda464624587414daa609ec1213df94d3 Mon Sep 17 00:00:00 2001 From: taga3s Date: Thu, 19 Sep 2024 14:56:30 +0900 Subject: [PATCH] chore --- app/{modules => packages}/rehype-momiji/README.md | 2 +- .../rehype-momiji/buildCodeBlockHTML.ts | 0 app/{modules => packages}/rehype-momiji/colors.ts | 0 .../docs}/assets/rehype-momiji-sample.png | Bin .../rehype-momiji/highlighter.ts | 0 app/{modules => packages}/rehype-momiji/parser.ts | 0 .../rehype-momiji/rehypeMomiji.ts | 0 .../rehype-momiji/utils/checkTypeOfOperandValue.ts | 0 .../remark-momiji/remarkMomijiCodeFilename.ts | 0 vite.config.ts | 4 ++-- 10 files changed, 3 insertions(+), 3 deletions(-) rename app/{modules => packages}/rehype-momiji/README.md (79%) rename app/{modules => packages}/rehype-momiji/buildCodeBlockHTML.ts (100%) rename app/{modules => packages}/rehype-momiji/colors.ts (100%) rename app/{modules => packages/rehype-momiji/docs}/assets/rehype-momiji-sample.png (100%) rename app/{modules => packages}/rehype-momiji/highlighter.ts (100%) rename app/{modules => packages}/rehype-momiji/parser.ts (100%) rename app/{modules => packages}/rehype-momiji/rehypeMomiji.ts (100%) rename app/{modules => packages}/rehype-momiji/utils/checkTypeOfOperandValue.ts (100%) rename app/{modules => packages}/remark-momiji/remarkMomijiCodeFilename.ts (100%) diff --git a/app/modules/rehype-momiji/README.md b/app/packages/rehype-momiji/README.md similarity index 79% rename from app/modules/rehype-momiji/README.md rename to app/packages/rehype-momiji/README.md index 550f48d..b204e56 100644 --- a/app/modules/rehype-momiji/README.md +++ b/app/packages/rehype-momiji/README.md @@ -11,4 +11,4 @@ When you want only highlighting code block, just use this package. If you want to display a filename, you need to install `remark-momiji`. -example usage of rehype-momiji +example usage of rehype-momiji diff --git a/app/modules/rehype-momiji/buildCodeBlockHTML.ts b/app/packages/rehype-momiji/buildCodeBlockHTML.ts similarity index 100% rename from app/modules/rehype-momiji/buildCodeBlockHTML.ts rename to app/packages/rehype-momiji/buildCodeBlockHTML.ts diff --git a/app/modules/rehype-momiji/colors.ts b/app/packages/rehype-momiji/colors.ts similarity index 100% rename from app/modules/rehype-momiji/colors.ts rename to app/packages/rehype-momiji/colors.ts diff --git a/app/modules/assets/rehype-momiji-sample.png b/app/packages/rehype-momiji/docs/assets/rehype-momiji-sample.png similarity index 100% rename from app/modules/assets/rehype-momiji-sample.png rename to app/packages/rehype-momiji/docs/assets/rehype-momiji-sample.png diff --git a/app/modules/rehype-momiji/highlighter.ts b/app/packages/rehype-momiji/highlighter.ts similarity index 100% rename from app/modules/rehype-momiji/highlighter.ts rename to app/packages/rehype-momiji/highlighter.ts diff --git a/app/modules/rehype-momiji/parser.ts b/app/packages/rehype-momiji/parser.ts similarity index 100% rename from app/modules/rehype-momiji/parser.ts rename to app/packages/rehype-momiji/parser.ts diff --git a/app/modules/rehype-momiji/rehypeMomiji.ts b/app/packages/rehype-momiji/rehypeMomiji.ts similarity index 100% rename from app/modules/rehype-momiji/rehypeMomiji.ts rename to app/packages/rehype-momiji/rehypeMomiji.ts diff --git a/app/modules/rehype-momiji/utils/checkTypeOfOperandValue.ts b/app/packages/rehype-momiji/utils/checkTypeOfOperandValue.ts similarity index 100% rename from app/modules/rehype-momiji/utils/checkTypeOfOperandValue.ts rename to app/packages/rehype-momiji/utils/checkTypeOfOperandValue.ts diff --git a/app/modules/remark-momiji/remarkMomijiCodeFilename.ts b/app/packages/remark-momiji/remarkMomijiCodeFilename.ts similarity index 100% rename from app/modules/remark-momiji/remarkMomijiCodeFilename.ts rename to app/packages/remark-momiji/remarkMomijiCodeFilename.ts diff --git a/vite.config.ts b/vite.config.ts index 2d76de4..166b19a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -8,8 +8,8 @@ import remarkBreaks from 'remark-breaks'; import remarkFrontmatter from 'remark-frontmatter'; import remarkMdxFrontmatter from 'remark-mdx-frontmatter'; import remarkGfm from 'remark-gfm' -import rehypeMomiji from './app/modules/rehype-momiji/rehypeMomiji' -import remarkMomijiCodeFilename from './app/modules/remark-momiji/remarkMomijiCodeFilename' +import rehypeMomiji from './app/packages/rehype-momiji/rehypeMomiji' +import remarkMomijiCodeFilename from './app/packages/remark-momiji/remarkMomijiCodeFilename' export default defineConfig(() => { return {