diff --git a/packages/cli/.gitignore b/packages/download-notion/.gitignore similarity index 100% rename from packages/cli/.gitignore rename to packages/download-notion/.gitignore diff --git a/packages/cli/.prettierignore b/packages/download-notion/.prettierignore similarity index 100% rename from packages/cli/.prettierignore rename to packages/download-notion/.prettierignore diff --git a/packages/cli/README.md b/packages/download-notion/README.md similarity index 100% rename from packages/cli/README.md rename to packages/download-notion/README.md diff --git a/packages/cli/downloader.json b/packages/download-notion/downloader.json similarity index 100% rename from packages/cli/downloader.json rename to packages/download-notion/downloader.json diff --git a/packages/cli/package.json b/packages/download-notion/package.json similarity index 96% rename from packages/cli/package.json rename to packages/download-notion/package.json index 14c746d..748de05 100644 --- a/packages/cli/package.json +++ b/packages/download-notion/package.json @@ -1,7 +1,7 @@ { - "name": "cli", + "name": "download-notion", "version": "0.0.1", - "description": "A variant of the official notion client that uses a cache.", + "description": "A CLI to download notion pages.", "publishConfig": { "access": "public" }, diff --git a/packages/cli/src/FileCleaner.ts b/packages/download-notion/src/FileCleaner.ts similarity index 100% rename from packages/cli/src/FileCleaner.ts rename to packages/download-notion/src/FileCleaner.ts diff --git a/packages/cli/src/FilesMap.ts b/packages/download-notion/src/FilesMap.ts similarity index 100% rename from packages/cli/src/FilesMap.ts rename to packages/download-notion/src/FilesMap.ts diff --git a/packages/cli/src/FlatLayoutStrategy.ts b/packages/download-notion/src/FlatLayoutStrategy.ts similarity index 100% rename from packages/cli/src/FlatLayoutStrategy.ts rename to packages/download-notion/src/FlatLayoutStrategy.ts diff --git a/packages/cli/src/HierarchicalLayoutStrategy.ts b/packages/download-notion/src/HierarchicalLayoutStrategy.ts similarity index 100% rename from packages/cli/src/HierarchicalLayoutStrategy.ts rename to packages/download-notion/src/HierarchicalLayoutStrategy.ts diff --git a/packages/cli/src/LayoutStrategy.ts b/packages/download-notion/src/LayoutStrategy.ts similarity index 100% rename from packages/cli/src/LayoutStrategy.ts rename to packages/download-notion/src/LayoutStrategy.ts diff --git a/packages/cli/src/MakeImagePersistencePlan.ts b/packages/download-notion/src/MakeImagePersistencePlan.ts similarity index 96% rename from packages/cli/src/MakeImagePersistencePlan.ts rename to packages/download-notion/src/MakeImagePersistencePlan.ts index a8a16f5..50f2f9e 100644 --- a/packages/cli/src/MakeImagePersistencePlan.ts +++ b/packages/download-notion/src/MakeImagePersistencePlan.ts @@ -4,10 +4,10 @@ import { exit } from "process" import { ImageSet } from "./images" import { error } from "./log" -import { DocuNotionOptions } from "./notionPull" +import { NotionPullOptions } from "./notionPull" export function makeImagePersistencePlan( - options: DocuNotionOptions, + options: NotionPullOptions, imageSet: ImageSet, imageBlockId: string, imageOutputRootPath: string, diff --git a/packages/cli/src/NotionDatabase.ts b/packages/download-notion/src/NotionDatabase.ts similarity index 100% rename from packages/cli/src/NotionDatabase.ts rename to packages/download-notion/src/NotionDatabase.ts diff --git a/packages/cli/src/NotionImage-CaptionReading.spec.ts b/packages/download-notion/src/NotionImage-CaptionReading.spec.ts similarity index 100% rename from packages/cli/src/NotionImage-CaptionReading.spec.ts rename to packages/download-notion/src/NotionImage-CaptionReading.spec.ts diff --git a/packages/cli/src/NotionPage.ts b/packages/download-notion/src/NotionPage.ts similarity index 100% rename from packages/cli/src/NotionPage.ts rename to packages/download-notion/src/NotionPage.ts diff --git a/packages/cli/src/NotionPageLegacy.spec.ts b/packages/download-notion/src/NotionPageLegacy.spec.ts similarity index 100% rename from packages/cli/src/NotionPageLegacy.spec.ts rename to packages/download-notion/src/NotionPageLegacy.spec.ts diff --git a/packages/cli/src/NotionPageLegacy.ts b/packages/download-notion/src/NotionPageLegacy.ts similarity index 100% rename from packages/cli/src/NotionPageLegacy.ts rename to packages/download-notion/src/NotionPageLegacy.ts diff --git a/packages/cli/src/commands/init.ts b/packages/download-notion/src/commands/init.ts similarity index 100% rename from packages/cli/src/commands/init.ts rename to packages/download-notion/src/commands/init.ts diff --git a/packages/cli/src/commands/pull.ts b/packages/download-notion/src/commands/pull.ts similarity index 100% rename from packages/cli/src/commands/pull.ts rename to packages/download-notion/src/commands/pull.ts diff --git a/packages/cli/src/config/configuration.ts b/packages/download-notion/src/config/configuration.ts similarity index 100% rename from packages/cli/src/config/configuration.ts rename to packages/download-notion/src/config/configuration.ts diff --git a/packages/cli/src/config/default.docunotion.config.ts b/packages/download-notion/src/config/default.docunotion.config.ts similarity index 100% rename from packages/cli/src/config/default.docunotion.config.ts rename to packages/download-notion/src/config/default.docunotion.config.ts diff --git a/packages/cli/src/config/schema.ts b/packages/download-notion/src/config/schema.ts similarity index 100% rename from packages/cli/src/config/schema.ts rename to packages/download-notion/src/config/schema.ts diff --git a/packages/cli/src/get-outline-pages-recursively.ts b/packages/download-notion/src/get-outline-pages-recursively.ts similarity index 100% rename from packages/cli/src/get-outline-pages-recursively.ts rename to packages/download-notion/src/get-outline-pages-recursively.ts diff --git a/packages/cli/src/get-tree-pages.ts b/packages/download-notion/src/get-tree-pages.ts similarity index 100% rename from packages/cli/src/get-tree-pages.ts rename to packages/download-notion/src/get-tree-pages.ts diff --git a/packages/cli/src/getBlockChildren.ts b/packages/download-notion/src/getBlockChildren.ts similarity index 100% rename from packages/cli/src/getBlockChildren.ts rename to packages/download-notion/src/getBlockChildren.ts diff --git a/packages/cli/src/getFileTreeMap.ts b/packages/download-notion/src/getFileTreeMap.ts similarity index 95% rename from packages/cli/src/getFileTreeMap.ts rename to packages/download-notion/src/getFileTreeMap.ts index d8fe6a1..1025494 100644 --- a/packages/cli/src/getFileTreeMap.ts +++ b/packages/download-notion/src/getFileTreeMap.ts @@ -3,7 +3,7 @@ import { Client } from "@notionhq/client" import { FilesMap } from "./FilesMap" import { LayoutStrategy } from "./LayoutStrategy" import { NotionPageConfig, getPageContentInfo } from "./NotionPage" -import { getNotionDatabase, getNotionPage2 } from "./notionPull" +import { getNotionDatabase, getNotionPage } from "./notionPull" export async function getFileTreeMap( incomingContext: string, @@ -40,7 +40,7 @@ export async function getFileTreeMap( ) } } else if (currentType === "page") { - const page = await getNotionPage2(client, currentID, pageConfig) + const page = await getNotionPage(client, currentID, pageConfig) filesMap.page[currentID] = layoutStrategy.getPathForPage2( page, incomingContext diff --git a/packages/cli/src/images.ts b/packages/download-notion/src/images.ts similarity index 100% rename from packages/cli/src/images.ts rename to packages/download-notion/src/images.ts diff --git a/packages/cli/src/index.ts b/packages/download-notion/src/index.ts similarity index 100% rename from packages/cli/src/index.ts rename to packages/download-notion/src/index.ts diff --git a/packages/cli/src/latex.spec.ts b/packages/download-notion/src/latex.spec.ts similarity index 100% rename from packages/cli/src/latex.spec.ts rename to packages/download-notion/src/latex.spec.ts diff --git a/packages/cli/src/log.ts b/packages/download-notion/src/log.ts similarity index 100% rename from packages/cli/src/log.ts rename to packages/download-notion/src/log.ts diff --git a/packages/cli/src/makeImagePersistencePlan.spec.ts b/packages/download-notion/src/makeImagePersistencePlan.spec.ts similarity index 93% rename from packages/cli/src/makeImagePersistencePlan.spec.ts rename to packages/download-notion/src/makeImagePersistencePlan.spec.ts index 9fd92eb..c34d63a 100644 --- a/packages/cli/src/makeImagePersistencePlan.spec.ts +++ b/packages/download-notion/src/makeImagePersistencePlan.spec.ts @@ -5,9 +5,9 @@ import { makeImagePersistencePlan, } from "./MakeImagePersistencePlan" import { ImageSet } from "./images" -import { DocuNotionOptions } from "./notionPull" +import { NotionPullOptions } from "./notionPull" -const optionsUsingDefaultNaming: DocuNotionOptions = { +const optionsUsingDefaultNaming: NotionPullOptions = { notionToken: "", rootPage: "", locales: [], @@ -99,7 +99,7 @@ test("handles encoded characters", () => { expect(imageSet.filePathToUseInMarkdown).toBe(`./my-page%281%29.ABC-123.png`) }) -const optionsUsingHashNaming: DocuNotionOptions = { +const optionsUsingHashNaming: NotionPullOptions = { ...optionsUsingDefaultNaming, imageFileNameFormat: "content-hash", } @@ -115,7 +115,7 @@ test("hash naming", () => { expect(testImageSet.outputFileName).toBe(`${expectedFileName}`) }) -const optionsUsingLegacyNaming: DocuNotionOptions = { +const optionsUsingLegacyNaming: NotionPullOptions = { ...optionsUsingDefaultNaming, imageFileNameFormat: "legacy", } diff --git a/packages/cli/src/namingStrategy.ts b/packages/download-notion/src/namingStrategy.ts similarity index 100% rename from packages/cli/src/namingStrategy.ts rename to packages/download-notion/src/namingStrategy.ts diff --git a/packages/cli/src/notionPull.ts b/packages/download-notion/src/notionPull.ts similarity index 98% rename from packages/cli/src/notionPull.ts rename to packages/download-notion/src/notionPull.ts index bb3e17e..c5b4368 100644 --- a/packages/cli/src/notionPull.ts +++ b/packages/download-notion/src/notionPull.ts @@ -37,7 +37,7 @@ import { convertToUUID, saveDataToJson } from "./utils" import { configSchema } from "./utils/get-config" import { writePage } from "./writePage" -export type DocuNotionOptions = z.infer +export type NotionPullOptions = z.infer export interface OutputCounts { output_normally: number @@ -55,7 +55,7 @@ export const counts: OutputCounts = { error_because_no_slug: 0, } -export async function getNotionPage2( +export async function getNotionPage( client: Client, currentID: string, pageConfig: NotionPageConfig @@ -83,7 +83,7 @@ function sanitizeMarkdownOutputPath(path: string) { return path.replace(/\/+$/, "") } -export async function notionPull(options: DocuNotionOptions): Promise { +export async function notionPull(options: NotionPullOptions): Promise { // It's helpful when troubleshooting CI secrets and environment variables to see what options actually made it to docu-notion. // eslint-disable-next-line @typescript-eslint/no-unsafe-call const optionsForLogging = { ...options } @@ -248,7 +248,7 @@ export async function notionPull(options: DocuNotionOptions): Promise { } async function outputPages( - options: DocuNotionOptions, + options: NotionPullOptions, config: IDocuNotionConfig, pages: Array, client: Client, diff --git a/packages/cli/src/plugins/CalloutTransformer.spec.ts b/packages/download-notion/src/plugins/CalloutTransformer.spec.ts similarity index 100% rename from packages/cli/src/plugins/CalloutTransformer.spec.ts rename to packages/download-notion/src/plugins/CalloutTransformer.spec.ts diff --git a/packages/cli/src/plugins/CalloutTransformer.ts b/packages/download-notion/src/plugins/CalloutTransformer.ts similarity index 100% rename from packages/cli/src/plugins/CalloutTransformer.ts rename to packages/download-notion/src/plugins/CalloutTransformer.ts diff --git a/packages/cli/src/plugins/ColumnListTransformer.ts b/packages/download-notion/src/plugins/ColumnListTransformer.ts similarity index 100% rename from packages/cli/src/plugins/ColumnListTransformer.ts rename to packages/download-notion/src/plugins/ColumnListTransformer.ts diff --git a/packages/cli/src/plugins/ColumnTransformer.spec.ts b/packages/download-notion/src/plugins/ColumnTransformer.spec.ts similarity index 100% rename from packages/cli/src/plugins/ColumnTransformer.spec.ts rename to packages/download-notion/src/plugins/ColumnTransformer.spec.ts diff --git a/packages/cli/src/plugins/ColumnTransformer.ts b/packages/download-notion/src/plugins/ColumnTransformer.ts similarity index 100% rename from packages/cli/src/plugins/ColumnTransformer.ts rename to packages/download-notion/src/plugins/ColumnTransformer.ts diff --git a/packages/cli/src/plugins/EscapeHtmlBlockModifier.spec.ts b/packages/download-notion/src/plugins/EscapeHtmlBlockModifier.spec.ts similarity index 100% rename from packages/cli/src/plugins/EscapeHtmlBlockModifier.spec.ts rename to packages/download-notion/src/plugins/EscapeHtmlBlockModifier.spec.ts diff --git a/packages/cli/src/plugins/EscapeHtmlBlockModifier.ts b/packages/download-notion/src/plugins/EscapeHtmlBlockModifier.ts similarity index 100% rename from packages/cli/src/plugins/EscapeHtmlBlockModifier.ts rename to packages/download-notion/src/plugins/EscapeHtmlBlockModifier.ts diff --git a/packages/cli/src/plugins/HeadingTranformer.spec.ts b/packages/download-notion/src/plugins/HeadingTranformer.spec.ts similarity index 100% rename from packages/cli/src/plugins/HeadingTranformer.spec.ts rename to packages/download-notion/src/plugins/HeadingTranformer.spec.ts diff --git a/packages/cli/src/plugins/HeadingTransformer.ts b/packages/download-notion/src/plugins/HeadingTransformer.ts similarity index 100% rename from packages/cli/src/plugins/HeadingTransformer.ts rename to packages/download-notion/src/plugins/HeadingTransformer.ts diff --git a/packages/cli/src/plugins/README.md b/packages/download-notion/src/plugins/README.md similarity index 100% rename from packages/cli/src/plugins/README.md rename to packages/download-notion/src/plugins/README.md diff --git a/packages/cli/src/plugins/TableTransformer.ts b/packages/download-notion/src/plugins/TableTransformer.ts similarity index 100% rename from packages/cli/src/plugins/TableTransformer.ts rename to packages/download-notion/src/plugins/TableTransformer.ts diff --git a/packages/cli/src/plugins/VideoTransformer.spec.ts b/packages/download-notion/src/plugins/VideoTransformer.spec.ts similarity index 100% rename from packages/cli/src/plugins/VideoTransformer.spec.ts rename to packages/download-notion/src/plugins/VideoTransformer.spec.ts diff --git a/packages/cli/src/plugins/VideoTransformer.ts b/packages/download-notion/src/plugins/VideoTransformer.ts similarity index 100% rename from packages/cli/src/plugins/VideoTransformer.ts rename to packages/download-notion/src/plugins/VideoTransformer.ts diff --git a/packages/cli/src/plugins/embedTweaks.spec.ts b/packages/download-notion/src/plugins/embedTweaks.spec.ts similarity index 100% rename from packages/cli/src/plugins/embedTweaks.spec.ts rename to packages/download-notion/src/plugins/embedTweaks.spec.ts diff --git a/packages/cli/src/plugins/embedTweaks.ts b/packages/download-notion/src/plugins/embedTweaks.ts similarity index 100% rename from packages/cli/src/plugins/embedTweaks.ts rename to packages/download-notion/src/plugins/embedTweaks.ts diff --git a/packages/cli/src/plugins/externalLinks.spec.ts b/packages/download-notion/src/plugins/externalLinks.spec.ts similarity index 100% rename from packages/cli/src/plugins/externalLinks.spec.ts rename to packages/download-notion/src/plugins/externalLinks.spec.ts diff --git a/packages/cli/src/plugins/externalLinks.ts b/packages/download-notion/src/plugins/externalLinks.ts similarity index 100% rename from packages/cli/src/plugins/externalLinks.ts rename to packages/download-notion/src/plugins/externalLinks.ts diff --git a/packages/cli/src/plugins/internalLinks.spec.ts b/packages/download-notion/src/plugins/internalLinks.spec.ts similarity index 100% rename from packages/cli/src/plugins/internalLinks.spec.ts rename to packages/download-notion/src/plugins/internalLinks.spec.ts diff --git a/packages/cli/src/plugins/internalLinks.ts b/packages/download-notion/src/plugins/internalLinks.ts similarity index 100% rename from packages/cli/src/plugins/internalLinks.ts rename to packages/download-notion/src/plugins/internalLinks.ts diff --git a/packages/cli/src/plugins/mermaidLinkPlugin.spec.ts b/packages/download-notion/src/plugins/mermaidLinkPlugin.spec.ts similarity index 100% rename from packages/cli/src/plugins/mermaidLinkPlugin.spec.ts rename to packages/download-notion/src/plugins/mermaidLinkPlugin.spec.ts diff --git a/packages/cli/src/plugins/pluginTestRun.ts b/packages/download-notion/src/plugins/pluginTestRun.ts similarity index 100% rename from packages/cli/src/plugins/pluginTestRun.ts rename to packages/download-notion/src/plugins/pluginTestRun.ts diff --git a/packages/cli/src/plugins/pluginTypes.ts b/packages/download-notion/src/plugins/pluginTypes.ts similarity index 94% rename from packages/cli/src/plugins/pluginTypes.ts rename to packages/download-notion/src/plugins/pluginTypes.ts index 6533706..645b6c5 100644 --- a/packages/cli/src/plugins/pluginTypes.ts +++ b/packages/download-notion/src/plugins/pluginTypes.ts @@ -4,7 +4,7 @@ import { ListBlockChildrenResponseResult } from "notion-to-md/build/types" import { FilesMap } from "../FilesMap" import { NotionPage } from "../NotionPage" import { ICounts, NotionBlock } from "../index" -import { DocuNotionOptions } from "../notionPull" +import { NotionPullOptions } from "../notionPull" type linkConversionFunction = ( context: IDocuNotionContext, @@ -68,7 +68,7 @@ export type ICustomNotionToMarkdownConversion = ( export type IGetBlockChildrenFn = (id: string) => Promise export type IDocuNotionContext = { - options: DocuNotionOptions + options: NotionPullOptions getBlockChildren: IGetBlockChildrenFn notionToMarkdown: NotionToMarkdown pageInfo: IDocuNotionContextPageInfo diff --git a/packages/cli/src/transform.ts b/packages/download-notion/src/transform.ts similarity index 100% rename from packages/cli/src/transform.ts rename to packages/download-notion/src/transform.ts diff --git a/packages/cli/src/types.ts b/packages/download-notion/src/types.ts similarity index 100% rename from packages/cli/src/types.ts rename to packages/download-notion/src/types.ts diff --git a/packages/cli/src/utils.ts b/packages/download-notion/src/utils.ts similarity index 100% rename from packages/cli/src/utils.ts rename to packages/download-notion/src/utils.ts diff --git a/packages/cli/src/utils/get-config.ts b/packages/download-notion/src/utils/get-config.ts similarity index 100% rename from packages/cli/src/utils/get-config.ts rename to packages/download-notion/src/utils/get-config.ts diff --git a/packages/cli/src/utils/get-package-info.ts b/packages/download-notion/src/utils/get-package-info.ts similarity index 100% rename from packages/cli/src/utils/get-package-info.ts rename to packages/download-notion/src/utils/get-package-info.ts diff --git a/packages/cli/src/utils/get-package-manager.ts b/packages/download-notion/src/utils/get-package-manager.ts similarity index 100% rename from packages/cli/src/utils/get-package-manager.ts rename to packages/download-notion/src/utils/get-package-manager.ts diff --git a/packages/cli/src/utils/get-project-info.ts b/packages/download-notion/src/utils/get-project-info.ts similarity index 100% rename from packages/cli/src/utils/get-project-info.ts rename to packages/download-notion/src/utils/get-project-info.ts diff --git a/packages/cli/src/utils/handle-error.ts b/packages/download-notion/src/utils/handle-error.ts similarity index 100% rename from packages/cli/src/utils/handle-error.ts rename to packages/download-notion/src/utils/handle-error.ts diff --git a/packages/cli/src/utils/logger.ts b/packages/download-notion/src/utils/logger.ts similarity index 100% rename from packages/cli/src/utils/logger.ts rename to packages/download-notion/src/utils/logger.ts diff --git a/packages/cli/src/utils/resolve-import.ts b/packages/download-notion/src/utils/resolve-import.ts similarity index 100% rename from packages/cli/src/utils/resolve-import.ts rename to packages/download-notion/src/utils/resolve-import.ts diff --git a/packages/cli/src/utils/templates.ts b/packages/download-notion/src/utils/templates.ts similarity index 100% rename from packages/cli/src/utils/templates.ts rename to packages/download-notion/src/utils/templates.ts diff --git a/packages/cli/src/utils/transformers/index.ts b/packages/download-notion/src/utils/transformers/index.ts similarity index 100% rename from packages/cli/src/utils/transformers/index.ts rename to packages/download-notion/src/utils/transformers/index.ts diff --git a/packages/cli/src/utils/transformers/transform-import.ts b/packages/download-notion/src/utils/transformers/transform-import.ts similarity index 100% rename from packages/cli/src/utils/transformers/transform-import.ts rename to packages/download-notion/src/utils/transformers/transform-import.ts diff --git a/packages/cli/src/utils/transformers/transform-jsx.ts b/packages/download-notion/src/utils/transformers/transform-jsx.ts similarity index 100% rename from packages/cli/src/utils/transformers/transform-jsx.ts rename to packages/download-notion/src/utils/transformers/transform-jsx.ts diff --git a/packages/cli/src/utils/transformers/transform-rsc.ts b/packages/download-notion/src/utils/transformers/transform-rsc.ts similarity index 100% rename from packages/cli/src/utils/transformers/transform-rsc.ts rename to packages/download-notion/src/utils/transformers/transform-rsc.ts diff --git a/packages/cli/src/writePage.ts b/packages/download-notion/src/writePage.ts similarity index 100% rename from packages/cli/src/writePage.ts rename to packages/download-notion/src/writePage.ts diff --git a/packages/cli/test/commands/init.test.ts b/packages/download-notion/test/commands/init.test.ts similarity index 100% rename from packages/cli/test/commands/init.test.ts rename to packages/download-notion/test/commands/init.test.ts diff --git a/packages/cli/test/fixtures/colors/neutral.json b/packages/download-notion/test/fixtures/colors/neutral.json similarity index 100% rename from packages/cli/test/fixtures/colors/neutral.json rename to packages/download-notion/test/fixtures/colors/neutral.json diff --git a/packages/cli/test/fixtures/colors/slate.json b/packages/download-notion/test/fixtures/colors/slate.json similarity index 100% rename from packages/cli/test/fixtures/colors/slate.json rename to packages/download-notion/test/fixtures/colors/slate.json diff --git a/packages/cli/test/fixtures/colors/stone.json b/packages/download-notion/test/fixtures/colors/stone.json similarity index 100% rename from packages/cli/test/fixtures/colors/stone.json rename to packages/download-notion/test/fixtures/colors/stone.json diff --git a/packages/cli/test/fixtures/colors/zinc.json b/packages/download-notion/test/fixtures/colors/zinc.json similarity index 100% rename from packages/cli/test/fixtures/colors/zinc.json rename to packages/download-notion/test/fixtures/colors/zinc.json diff --git a/packages/cli/test/fixtures/config-full/components.json b/packages/download-notion/test/fixtures/config-full/components.json similarity index 100% rename from packages/cli/test/fixtures/config-full/components.json rename to packages/download-notion/test/fixtures/config-full/components.json diff --git a/packages/cli/test/fixtures/config-full/package.json b/packages/download-notion/test/fixtures/config-full/package.json similarity index 100% rename from packages/cli/test/fixtures/config-full/package.json rename to packages/download-notion/test/fixtures/config-full/package.json diff --git a/packages/cli/test/fixtures/config-full/tsconfig.json b/packages/download-notion/test/fixtures/config-full/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/config-full/tsconfig.json rename to packages/download-notion/test/fixtures/config-full/tsconfig.json diff --git a/packages/cli/test/fixtures/config-invalid/components.json b/packages/download-notion/test/fixtures/config-invalid/components.json similarity index 100% rename from packages/cli/test/fixtures/config-invalid/components.json rename to packages/download-notion/test/fixtures/config-invalid/components.json diff --git a/packages/cli/test/fixtures/config-invalid/package.json b/packages/download-notion/test/fixtures/config-invalid/package.json similarity index 100% rename from packages/cli/test/fixtures/config-invalid/package.json rename to packages/download-notion/test/fixtures/config-invalid/package.json diff --git a/packages/cli/test/fixtures/config-jsx/components.json b/packages/download-notion/test/fixtures/config-jsx/components.json similarity index 100% rename from packages/cli/test/fixtures/config-jsx/components.json rename to packages/download-notion/test/fixtures/config-jsx/components.json diff --git a/packages/cli/test/fixtures/config-jsx/jsconfig.json b/packages/download-notion/test/fixtures/config-jsx/jsconfig.json similarity index 100% rename from packages/cli/test/fixtures/config-jsx/jsconfig.json rename to packages/download-notion/test/fixtures/config-jsx/jsconfig.json diff --git a/packages/cli/test/fixtures/config-jsx/package.json b/packages/download-notion/test/fixtures/config-jsx/package.json similarity index 100% rename from packages/cli/test/fixtures/config-jsx/package.json rename to packages/download-notion/test/fixtures/config-jsx/package.json diff --git a/packages/cli/test/fixtures/config-none/package.json b/packages/download-notion/test/fixtures/config-none/package.json similarity index 100% rename from packages/cli/test/fixtures/config-none/package.json rename to packages/download-notion/test/fixtures/config-none/package.json diff --git a/packages/cli/test/fixtures/config-partial/components.json b/packages/download-notion/test/fixtures/config-partial/components.json similarity index 100% rename from packages/cli/test/fixtures/config-partial/components.json rename to packages/download-notion/test/fixtures/config-partial/components.json diff --git a/packages/cli/test/fixtures/config-partial/package.json b/packages/download-notion/test/fixtures/config-partial/package.json similarity index 100% rename from packages/cli/test/fixtures/config-partial/package.json rename to packages/download-notion/test/fixtures/config-partial/package.json diff --git a/packages/cli/test/fixtures/config-partial/tsconfig.json b/packages/download-notion/test/fixtures/config-partial/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/config-partial/tsconfig.json rename to packages/download-notion/test/fixtures/config-partial/tsconfig.json diff --git a/packages/cli/test/fixtures/config-ui/components.json b/packages/download-notion/test/fixtures/config-ui/components.json similarity index 100% rename from packages/cli/test/fixtures/config-ui/components.json rename to packages/download-notion/test/fixtures/config-ui/components.json diff --git a/packages/cli/test/fixtures/config-ui/package.json b/packages/download-notion/test/fixtures/config-ui/package.json similarity index 100% rename from packages/cli/test/fixtures/config-ui/package.json rename to packages/download-notion/test/fixtures/config-ui/package.json diff --git a/packages/cli/test/fixtures/config-ui/tsconfig.json b/packages/download-notion/test/fixtures/config-ui/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/config-ui/tsconfig.json rename to packages/download-notion/test/fixtures/config-ui/tsconfig.json diff --git a/packages/cli/test/fixtures/next-app-js/app/favicon.ico b/packages/download-notion/test/fixtures/next-app-js/app/favicon.ico similarity index 100% rename from packages/cli/test/fixtures/next-app-js/app/favicon.ico rename to packages/download-notion/test/fixtures/next-app-js/app/favicon.ico diff --git a/packages/cli/test/fixtures/next-app-js/app/globals.css b/packages/download-notion/test/fixtures/next-app-js/app/globals.css similarity index 100% rename from packages/cli/test/fixtures/next-app-js/app/globals.css rename to packages/download-notion/test/fixtures/next-app-js/app/globals.css diff --git a/packages/cli/test/fixtures/next-app-js/app/layout.js b/packages/download-notion/test/fixtures/next-app-js/app/layout.js similarity index 100% rename from packages/cli/test/fixtures/next-app-js/app/layout.js rename to packages/download-notion/test/fixtures/next-app-js/app/layout.js diff --git a/packages/cli/test/fixtures/next-app-js/app/page.js b/packages/download-notion/test/fixtures/next-app-js/app/page.js similarity index 100% rename from packages/cli/test/fixtures/next-app-js/app/page.js rename to packages/download-notion/test/fixtures/next-app-js/app/page.js diff --git a/packages/cli/test/fixtures/next-app-js/jsconfig.json b/packages/download-notion/test/fixtures/next-app-js/jsconfig.json similarity index 100% rename from packages/cli/test/fixtures/next-app-js/jsconfig.json rename to packages/download-notion/test/fixtures/next-app-js/jsconfig.json diff --git a/packages/cli/test/fixtures/next-app-js/next.config.js b/packages/download-notion/test/fixtures/next-app-js/next.config.js similarity index 100% rename from packages/cli/test/fixtures/next-app-js/next.config.js rename to packages/download-notion/test/fixtures/next-app-js/next.config.js diff --git a/packages/cli/test/fixtures/next-app-js/package.json b/packages/download-notion/test/fixtures/next-app-js/package.json similarity index 100% rename from packages/cli/test/fixtures/next-app-js/package.json rename to packages/download-notion/test/fixtures/next-app-js/package.json diff --git a/packages/cli/test/fixtures/next-app-js/postcss.config.js b/packages/download-notion/test/fixtures/next-app-js/postcss.config.js similarity index 100% rename from packages/cli/test/fixtures/next-app-js/postcss.config.js rename to packages/download-notion/test/fixtures/next-app-js/postcss.config.js diff --git a/packages/cli/test/fixtures/next-app-js/tailwind.config.js b/packages/download-notion/test/fixtures/next-app-js/tailwind.config.js similarity index 100% rename from packages/cli/test/fixtures/next-app-js/tailwind.config.js rename to packages/download-notion/test/fixtures/next-app-js/tailwind.config.js diff --git a/packages/cli/test/fixtures/next-app-src/next-env.d.ts b/packages/download-notion/test/fixtures/next-app-src/next-env.d.ts similarity index 100% rename from packages/cli/test/fixtures/next-app-src/next-env.d.ts rename to packages/download-notion/test/fixtures/next-app-src/next-env.d.ts diff --git a/packages/cli/test/fixtures/next-app-src/next.config.js b/packages/download-notion/test/fixtures/next-app-src/next.config.js similarity index 100% rename from packages/cli/test/fixtures/next-app-src/next.config.js rename to packages/download-notion/test/fixtures/next-app-src/next.config.js diff --git a/packages/cli/test/fixtures/next-app-src/other.css b/packages/download-notion/test/fixtures/next-app-src/other.css similarity index 100% rename from packages/cli/test/fixtures/next-app-src/other.css rename to packages/download-notion/test/fixtures/next-app-src/other.css diff --git a/packages/cli/test/fixtures/next-app-src/package.json b/packages/download-notion/test/fixtures/next-app-src/package.json similarity index 100% rename from packages/cli/test/fixtures/next-app-src/package.json rename to packages/download-notion/test/fixtures/next-app-src/package.json diff --git a/packages/cli/test/fixtures/next-app-src/pnpm-lock.yaml b/packages/download-notion/test/fixtures/next-app-src/pnpm-lock.yaml similarity index 100% rename from packages/cli/test/fixtures/next-app-src/pnpm-lock.yaml rename to packages/download-notion/test/fixtures/next-app-src/pnpm-lock.yaml diff --git a/packages/cli/test/fixtures/next-app-src/postcss.config.js b/packages/download-notion/test/fixtures/next-app-src/postcss.config.js similarity index 100% rename from packages/cli/test/fixtures/next-app-src/postcss.config.js rename to packages/download-notion/test/fixtures/next-app-src/postcss.config.js diff --git a/packages/cli/test/fixtures/next-app-src/src/app/favicon.ico b/packages/download-notion/test/fixtures/next-app-src/src/app/favicon.ico similarity index 100% rename from packages/cli/test/fixtures/next-app-src/src/app/favicon.ico rename to packages/download-notion/test/fixtures/next-app-src/src/app/favicon.ico diff --git a/packages/cli/test/fixtures/next-app-src/src/app/layout.tsx b/packages/download-notion/test/fixtures/next-app-src/src/app/layout.tsx similarity index 100% rename from packages/cli/test/fixtures/next-app-src/src/app/layout.tsx rename to packages/download-notion/test/fixtures/next-app-src/src/app/layout.tsx diff --git a/packages/cli/test/fixtures/next-app-src/src/app/other.css b/packages/download-notion/test/fixtures/next-app-src/src/app/other.css similarity index 100% rename from packages/cli/test/fixtures/next-app-src/src/app/other.css rename to packages/download-notion/test/fixtures/next-app-src/src/app/other.css diff --git a/packages/cli/test/fixtures/next-app-src/src/app/page.tsx b/packages/download-notion/test/fixtures/next-app-src/src/app/page.tsx similarity index 100% rename from packages/cli/test/fixtures/next-app-src/src/app/page.tsx rename to packages/download-notion/test/fixtures/next-app-src/src/app/page.tsx diff --git a/packages/cli/test/fixtures/next-app-src/src/app/styles.css b/packages/download-notion/test/fixtures/next-app-src/src/app/styles.css similarity index 100% rename from packages/cli/test/fixtures/next-app-src/src/app/styles.css rename to packages/download-notion/test/fixtures/next-app-src/src/app/styles.css diff --git a/packages/cli/test/fixtures/next-app-src/src/other.css b/packages/download-notion/test/fixtures/next-app-src/src/other.css similarity index 100% rename from packages/cli/test/fixtures/next-app-src/src/other.css rename to packages/download-notion/test/fixtures/next-app-src/src/other.css diff --git a/packages/cli/test/fixtures/next-app-src/tailwind.config.ts b/packages/download-notion/test/fixtures/next-app-src/tailwind.config.ts similarity index 100% rename from packages/cli/test/fixtures/next-app-src/tailwind.config.ts rename to packages/download-notion/test/fixtures/next-app-src/tailwind.config.ts diff --git a/packages/cli/test/fixtures/next-app-src/tsconfig.json b/packages/download-notion/test/fixtures/next-app-src/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/next-app-src/tsconfig.json rename to packages/download-notion/test/fixtures/next-app-src/tsconfig.json diff --git a/packages/cli/test/fixtures/next-app/app/favicon.ico b/packages/download-notion/test/fixtures/next-app/app/favicon.ico similarity index 100% rename from packages/cli/test/fixtures/next-app/app/favicon.ico rename to packages/download-notion/test/fixtures/next-app/app/favicon.ico diff --git a/packages/cli/test/fixtures/next-app/app/globals.css b/packages/download-notion/test/fixtures/next-app/app/globals.css similarity index 100% rename from packages/cli/test/fixtures/next-app/app/globals.css rename to packages/download-notion/test/fixtures/next-app/app/globals.css diff --git a/packages/cli/test/fixtures/next-app/app/layout.tsx b/packages/download-notion/test/fixtures/next-app/app/layout.tsx similarity index 100% rename from packages/cli/test/fixtures/next-app/app/layout.tsx rename to packages/download-notion/test/fixtures/next-app/app/layout.tsx diff --git a/packages/cli/test/fixtures/next-app/app/other.css b/packages/download-notion/test/fixtures/next-app/app/other.css similarity index 100% rename from packages/cli/test/fixtures/next-app/app/other.css rename to packages/download-notion/test/fixtures/next-app/app/other.css diff --git a/packages/cli/test/fixtures/next-app/app/page.tsx b/packages/download-notion/test/fixtures/next-app/app/page.tsx similarity index 100% rename from packages/cli/test/fixtures/next-app/app/page.tsx rename to packages/download-notion/test/fixtures/next-app/app/page.tsx diff --git a/packages/cli/test/fixtures/next-app/next-env.d.ts b/packages/download-notion/test/fixtures/next-app/next-env.d.ts similarity index 100% rename from packages/cli/test/fixtures/next-app/next-env.d.ts rename to packages/download-notion/test/fixtures/next-app/next-env.d.ts diff --git a/packages/cli/test/fixtures/next-app/next.config.js b/packages/download-notion/test/fixtures/next-app/next.config.js similarity index 100% rename from packages/cli/test/fixtures/next-app/next.config.js rename to packages/download-notion/test/fixtures/next-app/next.config.js diff --git a/packages/cli/test/fixtures/next-app/package.json b/packages/download-notion/test/fixtures/next-app/package.json similarity index 100% rename from packages/cli/test/fixtures/next-app/package.json rename to packages/download-notion/test/fixtures/next-app/package.json diff --git a/packages/cli/test/fixtures/next-app/pnpm-lock.yaml b/packages/download-notion/test/fixtures/next-app/pnpm-lock.yaml similarity index 100% rename from packages/cli/test/fixtures/next-app/pnpm-lock.yaml rename to packages/download-notion/test/fixtures/next-app/pnpm-lock.yaml diff --git a/packages/cli/test/fixtures/next-app/postcss.config.js b/packages/download-notion/test/fixtures/next-app/postcss.config.js similarity index 100% rename from packages/cli/test/fixtures/next-app/postcss.config.js rename to packages/download-notion/test/fixtures/next-app/postcss.config.js diff --git a/packages/cli/test/fixtures/next-app/tailwind.config.ts b/packages/download-notion/test/fixtures/next-app/tailwind.config.ts similarity index 100% rename from packages/cli/test/fixtures/next-app/tailwind.config.ts rename to packages/download-notion/test/fixtures/next-app/tailwind.config.ts diff --git a/packages/cli/test/fixtures/next-app/tsconfig.json b/packages/download-notion/test/fixtures/next-app/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/next-app/tsconfig.json rename to packages/download-notion/test/fixtures/next-app/tsconfig.json diff --git a/packages/cli/test/fixtures/next-pages-src/next-env.d.ts b/packages/download-notion/test/fixtures/next-pages-src/next-env.d.ts similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/next-env.d.ts rename to packages/download-notion/test/fixtures/next-pages-src/next-env.d.ts diff --git a/packages/cli/test/fixtures/next-pages-src/next.config.js b/packages/download-notion/test/fixtures/next-pages-src/next.config.js similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/next.config.js rename to packages/download-notion/test/fixtures/next-pages-src/next.config.js diff --git a/packages/cli/test/fixtures/next-pages-src/other.css b/packages/download-notion/test/fixtures/next-pages-src/other.css similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/other.css rename to packages/download-notion/test/fixtures/next-pages-src/other.css diff --git a/packages/cli/test/fixtures/next-pages-src/package.json b/packages/download-notion/test/fixtures/next-pages-src/package.json similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/package.json rename to packages/download-notion/test/fixtures/next-pages-src/package.json diff --git a/packages/cli/test/fixtures/next-pages-src/pnpm-lock.yaml b/packages/download-notion/test/fixtures/next-pages-src/pnpm-lock.yaml similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/pnpm-lock.yaml rename to packages/download-notion/test/fixtures/next-pages-src/pnpm-lock.yaml diff --git a/packages/cli/test/fixtures/next-pages-src/postcss.config.js b/packages/download-notion/test/fixtures/next-pages-src/postcss.config.js similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/postcss.config.js rename to packages/download-notion/test/fixtures/next-pages-src/postcss.config.js diff --git a/packages/cli/test/fixtures/next-pages-src/src/other.css b/packages/download-notion/test/fixtures/next-pages-src/src/other.css similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/other.css rename to packages/download-notion/test/fixtures/next-pages-src/src/other.css diff --git a/packages/cli/test/fixtures/next-pages-src/src/pages/_app.tsx b/packages/download-notion/test/fixtures/next-pages-src/src/pages/_app.tsx similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/pages/_app.tsx rename to packages/download-notion/test/fixtures/next-pages-src/src/pages/_app.tsx diff --git a/packages/cli/test/fixtures/next-pages-src/src/pages/_document.tsx b/packages/download-notion/test/fixtures/next-pages-src/src/pages/_document.tsx similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/pages/_document.tsx rename to packages/download-notion/test/fixtures/next-pages-src/src/pages/_document.tsx diff --git a/packages/cli/test/fixtures/next-pages-src/src/pages/api/hello.ts b/packages/download-notion/test/fixtures/next-pages-src/src/pages/api/hello.ts similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/pages/api/hello.ts rename to packages/download-notion/test/fixtures/next-pages-src/src/pages/api/hello.ts diff --git a/packages/cli/test/fixtures/next-pages-src/src/pages/index.tsx b/packages/download-notion/test/fixtures/next-pages-src/src/pages/index.tsx similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/pages/index.tsx rename to packages/download-notion/test/fixtures/next-pages-src/src/pages/index.tsx diff --git a/packages/cli/test/fixtures/next-pages-src/src/pages/other.css b/packages/download-notion/test/fixtures/next-pages-src/src/pages/other.css similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/pages/other.css rename to packages/download-notion/test/fixtures/next-pages-src/src/pages/other.css diff --git a/packages/cli/test/fixtures/next-pages-src/src/styles/globals.css b/packages/download-notion/test/fixtures/next-pages-src/src/styles/globals.css similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/styles/globals.css rename to packages/download-notion/test/fixtures/next-pages-src/src/styles/globals.css diff --git a/packages/cli/test/fixtures/next-pages-src/src/styles/other.css b/packages/download-notion/test/fixtures/next-pages-src/src/styles/other.css similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/src/styles/other.css rename to packages/download-notion/test/fixtures/next-pages-src/src/styles/other.css diff --git a/packages/cli/test/fixtures/next-pages-src/tailwind.config.ts b/packages/download-notion/test/fixtures/next-pages-src/tailwind.config.ts similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/tailwind.config.ts rename to packages/download-notion/test/fixtures/next-pages-src/tailwind.config.ts diff --git a/packages/cli/test/fixtures/next-pages-src/tsconfig.json b/packages/download-notion/test/fixtures/next-pages-src/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/next-pages-src/tsconfig.json rename to packages/download-notion/test/fixtures/next-pages-src/tsconfig.json diff --git a/packages/cli/test/fixtures/next-pages/next.config.js b/packages/download-notion/test/fixtures/next-pages/next.config.js similarity index 100% rename from packages/cli/test/fixtures/next-pages/next.config.js rename to packages/download-notion/test/fixtures/next-pages/next.config.js diff --git a/packages/cli/test/fixtures/next-pages/package.json b/packages/download-notion/test/fixtures/next-pages/package.json similarity index 100% rename from packages/cli/test/fixtures/next-pages/package.json rename to packages/download-notion/test/fixtures/next-pages/package.json diff --git a/packages/cli/test/fixtures/next-pages/pages/_app.tsx b/packages/download-notion/test/fixtures/next-pages/pages/_app.tsx similarity index 100% rename from packages/cli/test/fixtures/next-pages/pages/_app.tsx rename to packages/download-notion/test/fixtures/next-pages/pages/_app.tsx diff --git a/packages/cli/test/fixtures/next-pages/pages/_document.tsx b/packages/download-notion/test/fixtures/next-pages/pages/_document.tsx similarity index 100% rename from packages/cli/test/fixtures/next-pages/pages/_document.tsx rename to packages/download-notion/test/fixtures/next-pages/pages/_document.tsx diff --git a/packages/cli/test/fixtures/next-pages/pages/api/hello.ts b/packages/download-notion/test/fixtures/next-pages/pages/api/hello.ts similarity index 100% rename from packages/cli/test/fixtures/next-pages/pages/api/hello.ts rename to packages/download-notion/test/fixtures/next-pages/pages/api/hello.ts diff --git a/packages/cli/test/fixtures/next-pages/pages/index.tsx b/packages/download-notion/test/fixtures/next-pages/pages/index.tsx similarity index 100% rename from packages/cli/test/fixtures/next-pages/pages/index.tsx rename to packages/download-notion/test/fixtures/next-pages/pages/index.tsx diff --git a/packages/cli/test/fixtures/next-pages/pages/other.css b/packages/download-notion/test/fixtures/next-pages/pages/other.css similarity index 100% rename from packages/cli/test/fixtures/next-pages/pages/other.css rename to packages/download-notion/test/fixtures/next-pages/pages/other.css diff --git a/packages/cli/test/fixtures/next-pages/pnpm-lock.yaml b/packages/download-notion/test/fixtures/next-pages/pnpm-lock.yaml similarity index 100% rename from packages/cli/test/fixtures/next-pages/pnpm-lock.yaml rename to packages/download-notion/test/fixtures/next-pages/pnpm-lock.yaml diff --git a/packages/cli/test/fixtures/next-pages/postcss.config.js b/packages/download-notion/test/fixtures/next-pages/postcss.config.js similarity index 100% rename from packages/cli/test/fixtures/next-pages/postcss.config.js rename to packages/download-notion/test/fixtures/next-pages/postcss.config.js diff --git a/packages/cli/test/fixtures/next-pages/styles/globals.css b/packages/download-notion/test/fixtures/next-pages/styles/globals.css similarity index 100% rename from packages/cli/test/fixtures/next-pages/styles/globals.css rename to packages/download-notion/test/fixtures/next-pages/styles/globals.css diff --git a/packages/cli/test/fixtures/next-pages/styles/other.css b/packages/download-notion/test/fixtures/next-pages/styles/other.css similarity index 100% rename from packages/cli/test/fixtures/next-pages/styles/other.css rename to packages/download-notion/test/fixtures/next-pages/styles/other.css diff --git a/packages/cli/test/fixtures/next-pages/tailwind.config.ts b/packages/download-notion/test/fixtures/next-pages/tailwind.config.ts similarity index 100% rename from packages/cli/test/fixtures/next-pages/tailwind.config.ts rename to packages/download-notion/test/fixtures/next-pages/tailwind.config.ts diff --git a/packages/cli/test/fixtures/next-pages/tsconfig.json b/packages/download-notion/test/fixtures/next-pages/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/next-pages/tsconfig.json rename to packages/download-notion/test/fixtures/next-pages/tsconfig.json diff --git a/packages/cli/test/fixtures/next-src/.gitignore b/packages/download-notion/test/fixtures/next-src/.gitignore similarity index 100% rename from packages/cli/test/fixtures/next-src/.gitignore rename to packages/download-notion/test/fixtures/next-src/.gitignore diff --git a/packages/cli/test/fixtures/next-src/next.config.js b/packages/download-notion/test/fixtures/next-src/next.config.js similarity index 100% rename from packages/cli/test/fixtures/next-src/next.config.js rename to packages/download-notion/test/fixtures/next-src/next.config.js diff --git a/packages/cli/test/fixtures/next-src/package.json b/packages/download-notion/test/fixtures/next-src/package.json similarity index 100% rename from packages/cli/test/fixtures/next-src/package.json rename to packages/download-notion/test/fixtures/next-src/package.json diff --git a/packages/cli/test/fixtures/next-src/src/app/globals.css b/packages/download-notion/test/fixtures/next-src/src/app/globals.css similarity index 100% rename from packages/cli/test/fixtures/next-src/src/app/globals.css rename to packages/download-notion/test/fixtures/next-src/src/app/globals.css diff --git a/packages/cli/test/fixtures/next-src/tailwind.config.js b/packages/download-notion/test/fixtures/next-src/tailwind.config.js similarity index 100% rename from packages/cli/test/fixtures/next-src/tailwind.config.js rename to packages/download-notion/test/fixtures/next-src/tailwind.config.js diff --git a/packages/cli/test/fixtures/next-src/tsconfig.json b/packages/download-notion/test/fixtures/next-src/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/next-src/tsconfig.json rename to packages/download-notion/test/fixtures/next-src/tsconfig.json diff --git a/packages/cli/test/fixtures/next/.gitignore b/packages/download-notion/test/fixtures/next/.gitignore similarity index 100% rename from packages/cli/test/fixtures/next/.gitignore rename to packages/download-notion/test/fixtures/next/.gitignore diff --git a/packages/cli/test/fixtures/next/app/globals.css b/packages/download-notion/test/fixtures/next/app/globals.css similarity index 100% rename from packages/cli/test/fixtures/next/app/globals.css rename to packages/download-notion/test/fixtures/next/app/globals.css diff --git a/packages/cli/test/fixtures/next/next.config.js b/packages/download-notion/test/fixtures/next/next.config.js similarity index 100% rename from packages/cli/test/fixtures/next/next.config.js rename to packages/download-notion/test/fixtures/next/next.config.js diff --git a/packages/cli/test/fixtures/next/package.json b/packages/download-notion/test/fixtures/next/package.json similarity index 100% rename from packages/cli/test/fixtures/next/package.json rename to packages/download-notion/test/fixtures/next/package.json diff --git a/packages/cli/test/fixtures/next/pnpm-lock.yaml b/packages/download-notion/test/fixtures/next/pnpm-lock.yaml similarity index 100% rename from packages/cli/test/fixtures/next/pnpm-lock.yaml rename to packages/download-notion/test/fixtures/next/pnpm-lock.yaml diff --git a/packages/cli/test/fixtures/next/tailwind.config.js b/packages/download-notion/test/fixtures/next/tailwind.config.js similarity index 100% rename from packages/cli/test/fixtures/next/tailwind.config.js rename to packages/download-notion/test/fixtures/next/tailwind.config.js diff --git a/packages/cli/test/fixtures/next/tsconfig.json b/packages/download-notion/test/fixtures/next/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/next/tsconfig.json rename to packages/download-notion/test/fixtures/next/tsconfig.json diff --git a/packages/cli/test/fixtures/project-bun/bun.lockb b/packages/download-notion/test/fixtures/project-bun/bun.lockb similarity index 100% rename from packages/cli/test/fixtures/project-bun/bun.lockb rename to packages/download-notion/test/fixtures/project-bun/bun.lockb diff --git a/packages/cli/test/fixtures/project-bun/package.json b/packages/download-notion/test/fixtures/project-bun/package.json similarity index 100% rename from packages/cli/test/fixtures/project-bun/package.json rename to packages/download-notion/test/fixtures/project-bun/package.json diff --git a/packages/cli/test/fixtures/project-npm/package-lock.json b/packages/download-notion/test/fixtures/project-npm/package-lock.json similarity index 100% rename from packages/cli/test/fixtures/project-npm/package-lock.json rename to packages/download-notion/test/fixtures/project-npm/package-lock.json diff --git a/packages/cli/test/fixtures/project-npm/package.json b/packages/download-notion/test/fixtures/project-npm/package.json similarity index 100% rename from packages/cli/test/fixtures/project-npm/package.json rename to packages/download-notion/test/fixtures/project-npm/package.json diff --git a/packages/cli/test/fixtures/project-pnpm/package.json b/packages/download-notion/test/fixtures/project-pnpm/package.json similarity index 100% rename from packages/cli/test/fixtures/project-pnpm/package.json rename to packages/download-notion/test/fixtures/project-pnpm/package.json diff --git a/packages/cli/test/fixtures/project-pnpm/pnpm-lock.yaml b/packages/download-notion/test/fixtures/project-pnpm/pnpm-lock.yaml similarity index 100% rename from packages/cli/test/fixtures/project-pnpm/pnpm-lock.yaml rename to packages/download-notion/test/fixtures/project-pnpm/pnpm-lock.yaml diff --git a/packages/cli/test/fixtures/project-src/components.json b/packages/download-notion/test/fixtures/project-src/components.json similarity index 100% rename from packages/cli/test/fixtures/project-src/components.json rename to packages/download-notion/test/fixtures/project-src/components.json diff --git a/packages/cli/test/fixtures/project-src/package-lock.json b/packages/download-notion/test/fixtures/project-src/package-lock.json similarity index 100% rename from packages/cli/test/fixtures/project-src/package-lock.json rename to packages/download-notion/test/fixtures/project-src/package-lock.json diff --git a/packages/cli/test/fixtures/project-src/package.json b/packages/download-notion/test/fixtures/project-src/package.json similarity index 100% rename from packages/cli/test/fixtures/project-src/package.json rename to packages/download-notion/test/fixtures/project-src/package.json diff --git a/packages/cli/test/fixtures/project-yarn/package.json b/packages/download-notion/test/fixtures/project-yarn/package.json similarity index 100% rename from packages/cli/test/fixtures/project-yarn/package.json rename to packages/download-notion/test/fixtures/project-yarn/package.json diff --git a/packages/cli/test/fixtures/project-yarn/yarn.lock b/packages/download-notion/test/fixtures/project-yarn/yarn.lock similarity index 100% rename from packages/cli/test/fixtures/project-yarn/yarn.lock rename to packages/download-notion/test/fixtures/project-yarn/yarn.lock diff --git a/packages/cli/test/fixtures/project/components.json b/packages/download-notion/test/fixtures/project/components.json similarity index 100% rename from packages/cli/test/fixtures/project/components.json rename to packages/download-notion/test/fixtures/project/components.json diff --git a/packages/cli/test/fixtures/project/package.json b/packages/download-notion/test/fixtures/project/package.json similarity index 100% rename from packages/cli/test/fixtures/project/package.json rename to packages/download-notion/test/fixtures/project/package.json diff --git a/packages/cli/test/fixtures/project/pnpm-lock.yaml b/packages/download-notion/test/fixtures/project/pnpm-lock.yaml similarity index 100% rename from packages/cli/test/fixtures/project/pnpm-lock.yaml rename to packages/download-notion/test/fixtures/project/pnpm-lock.yaml diff --git a/packages/cli/test/fixtures/t3-app/.eslintrc.cjs b/packages/download-notion/test/fixtures/t3-app/.eslintrc.cjs similarity index 100% rename from packages/cli/test/fixtures/t3-app/.eslintrc.cjs rename to packages/download-notion/test/fixtures/t3-app/.eslintrc.cjs diff --git a/packages/cli/test/fixtures/t3-app/.gitignore b/packages/download-notion/test/fixtures/t3-app/.gitignore similarity index 100% rename from packages/cli/test/fixtures/t3-app/.gitignore rename to packages/download-notion/test/fixtures/t3-app/.gitignore diff --git a/packages/cli/test/fixtures/t3-app/next.config.mjs b/packages/download-notion/test/fixtures/t3-app/next.config.mjs similarity index 100% rename from packages/cli/test/fixtures/t3-app/next.config.mjs rename to packages/download-notion/test/fixtures/t3-app/next.config.mjs diff --git a/packages/cli/test/fixtures/t3-app/package.json b/packages/download-notion/test/fixtures/t3-app/package.json similarity index 100% rename from packages/cli/test/fixtures/t3-app/package.json rename to packages/download-notion/test/fixtures/t3-app/package.json diff --git a/packages/cli/test/fixtures/t3-app/src/env.mjs b/packages/download-notion/test/fixtures/t3-app/src/env.mjs similarity index 100% rename from packages/cli/test/fixtures/t3-app/src/env.mjs rename to packages/download-notion/test/fixtures/t3-app/src/env.mjs diff --git a/packages/cli/test/fixtures/t3-app/src/pages/_app.tsx b/packages/download-notion/test/fixtures/t3-app/src/pages/_app.tsx similarity index 100% rename from packages/cli/test/fixtures/t3-app/src/pages/_app.tsx rename to packages/download-notion/test/fixtures/t3-app/src/pages/_app.tsx diff --git a/packages/cli/test/fixtures/t3-app/src/pages/index.tsx b/packages/download-notion/test/fixtures/t3-app/src/pages/index.tsx similarity index 100% rename from packages/cli/test/fixtures/t3-app/src/pages/index.tsx rename to packages/download-notion/test/fixtures/t3-app/src/pages/index.tsx diff --git a/packages/cli/test/fixtures/t3-app/src/styles/globals.css b/packages/download-notion/test/fixtures/t3-app/src/styles/globals.css similarity index 100% rename from packages/cli/test/fixtures/t3-app/src/styles/globals.css rename to packages/download-notion/test/fixtures/t3-app/src/styles/globals.css diff --git a/packages/cli/test/fixtures/t3-app/tailwind.config.ts b/packages/download-notion/test/fixtures/t3-app/tailwind.config.ts similarity index 100% rename from packages/cli/test/fixtures/t3-app/tailwind.config.ts rename to packages/download-notion/test/fixtures/t3-app/tailwind.config.ts diff --git a/packages/cli/test/fixtures/t3-app/tsconfig.json b/packages/download-notion/test/fixtures/t3-app/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/t3-app/tsconfig.json rename to packages/download-notion/test/fixtures/t3-app/tsconfig.json diff --git a/packages/cli/test/fixtures/with-base-url/tsconfig.json b/packages/download-notion/test/fixtures/with-base-url/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/with-base-url/tsconfig.json rename to packages/download-notion/test/fixtures/with-base-url/tsconfig.json diff --git a/packages/cli/test/fixtures/without-base-url/tsconfig.json b/packages/download-notion/test/fixtures/without-base-url/tsconfig.json similarity index 100% rename from packages/cli/test/fixtures/without-base-url/tsconfig.json rename to packages/download-notion/test/fixtures/without-base-url/tsconfig.json diff --git a/packages/cli/test/utils/__snapshots__/transform-css-vars.test.ts.snap b/packages/download-notion/test/utils/__snapshots__/transform-css-vars.test.ts.snap similarity index 100% rename from packages/cli/test/utils/__snapshots__/transform-css-vars.test.ts.snap rename to packages/download-notion/test/utils/__snapshots__/transform-css-vars.test.ts.snap diff --git a/packages/cli/test/utils/__snapshots__/transform-import.test.ts.snap b/packages/download-notion/test/utils/__snapshots__/transform-import.test.ts.snap similarity index 100% rename from packages/cli/test/utils/__snapshots__/transform-import.test.ts.snap rename to packages/download-notion/test/utils/__snapshots__/transform-import.test.ts.snap diff --git a/packages/cli/test/utils/__snapshots__/transform-rsc.test.ts.snap b/packages/download-notion/test/utils/__snapshots__/transform-rsc.test.ts.snap similarity index 100% rename from packages/cli/test/utils/__snapshots__/transform-rsc.test.ts.snap rename to packages/download-notion/test/utils/__snapshots__/transform-rsc.test.ts.snap diff --git a/packages/cli/test/utils/__snapshots__/transform-tw-prefix.test.ts.snap b/packages/download-notion/test/utils/__snapshots__/transform-tw-prefix.test.ts.snap similarity index 100% rename from packages/cli/test/utils/__snapshots__/transform-tw-prefix.test.ts.snap rename to packages/download-notion/test/utils/__snapshots__/transform-tw-prefix.test.ts.snap diff --git a/packages/cli/test/utils/get-config.test.ts b/packages/download-notion/test/utils/get-config.test.ts similarity index 100% rename from packages/cli/test/utils/get-config.test.ts rename to packages/download-notion/test/utils/get-config.test.ts diff --git a/packages/cli/test/utils/get-package-manager.test.ts b/packages/download-notion/test/utils/get-package-manager.test.ts similarity index 100% rename from packages/cli/test/utils/get-package-manager.test.ts rename to packages/download-notion/test/utils/get-package-manager.test.ts diff --git a/packages/cli/test/utils/get-project-type.test.ts b/packages/download-notion/test/utils/get-project-type.test.ts similarity index 100% rename from packages/cli/test/utils/get-project-type.test.ts rename to packages/download-notion/test/utils/get-project-type.test.ts diff --git a/packages/cli/test/utils/get-tailwind-css-file.test.ts b/packages/download-notion/test/utils/get-tailwind-css-file.test.ts similarity index 100% rename from packages/cli/test/utils/get-tailwind-css-file.test.ts rename to packages/download-notion/test/utils/get-tailwind-css-file.test.ts diff --git a/packages/cli/test/utils/get-ts-config-alias-prefix.test.ts b/packages/download-notion/test/utils/get-ts-config-alias-prefix.test.ts similarity index 100% rename from packages/cli/test/utils/get-ts-config-alias-prefix.test.ts rename to packages/download-notion/test/utils/get-ts-config-alias-prefix.test.ts diff --git a/packages/cli/test/utils/is-typescript-project.test.ts b/packages/download-notion/test/utils/is-typescript-project.test.ts similarity index 100% rename from packages/cli/test/utils/is-typescript-project.test.ts rename to packages/download-notion/test/utils/is-typescript-project.test.ts diff --git a/packages/cli/test/utils/resolve-import.test.ts b/packages/download-notion/test/utils/resolve-import.test.ts similarity index 100% rename from packages/cli/test/utils/resolve-import.test.ts rename to packages/download-notion/test/utils/resolve-import.test.ts diff --git a/packages/cli/tsconfig.json b/packages/download-notion/tsconfig.json similarity index 100% rename from packages/cli/tsconfig.json rename to packages/download-notion/tsconfig.json diff --git a/packages/cli/tsup.config.ts b/packages/download-notion/tsup.config.ts similarity index 100% rename from packages/cli/tsup.config.ts rename to packages/download-notion/tsup.config.ts diff --git a/packages/notion-cache-client/package.json b/packages/notion-cache-client/package.json index 57874f8..71bdc3f 100644 --- a/packages/notion-cache-client/package.json +++ b/packages/notion-cache-client/package.json @@ -13,7 +13,7 @@ "repository": { "type": "git", "url": "https://github.com/franciscomoretti/notion-downloader.git", - "directory": "packages/notion-cache-client" + "directory": "packages/notion-downloader" }, "files": [ "dist"