From 3e1bd961665d4e9f5014fe5f831f0e5e4aca7bbc Mon Sep 17 00:00:00 2001 From: Rimon Hanna Date: Sun, 3 Nov 2024 00:48:50 +0200 Subject: [PATCH] fixed pnpm dev --- examples/full/components/NotionPage.tsx | 1 - examples/minimal/components/NotionPage.tsx | 1 - packages/notion-client/package.json | 1 + packages/notion-compat/package.json | 1 + packages/notion-types/package.json | 1 + packages/notion-utils/package.json | 1 + packages/react-notion-x/package.json | 1 + 7 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/full/components/NotionPage.tsx b/examples/full/components/NotionPage.tsx index 9a27acdfe..70eb9d97e 100644 --- a/examples/full/components/NotionPage.tsx +++ b/examples/full/components/NotionPage.tsx @@ -100,7 +100,6 @@ export function NotionPage({ } const title = getPageTitle(recordMap) - console.log(title, recordMap) // useful for debugging from the dev console if (typeof window !== 'undefined') { diff --git a/examples/minimal/components/NotionPage.tsx b/examples/minimal/components/NotionPage.tsx index 7a9b7905b..8e20434ab 100644 --- a/examples/minimal/components/NotionPage.tsx +++ b/examples/minimal/components/NotionPage.tsx @@ -15,7 +15,6 @@ export function NotionPage({ } const title = getPageTitle(recordMap) - console.log(title, recordMap) return ( <> diff --git a/packages/notion-client/package.json b/packages/notion-client/package.json index 4ebe5ad81..518873bf1 100644 --- a/packages/notion-client/package.json +++ b/packages/notion-client/package.json @@ -18,6 +18,7 @@ }, "scripts": { "build": "tsup", + "dev": "tsup --watch", "watch": "tsup --watch --silent --onSuccess 'echo build successful'", "clean": "del build", "test": "run-s test:*", diff --git a/packages/notion-compat/package.json b/packages/notion-compat/package.json index f21b3e925..dc6f37ebf 100644 --- a/packages/notion-compat/package.json +++ b/packages/notion-compat/package.json @@ -18,6 +18,7 @@ }, "scripts": { "build": "tsup", + "dev": "tsup --watch", "watch": "tsup --watch --silent --onSuccess 'echo build successful'", "clean": "del build", "test": "run-s test:*", diff --git a/packages/notion-types/package.json b/packages/notion-types/package.json index 338474dfd..7d00bd62b 100644 --- a/packages/notion-types/package.json +++ b/packages/notion-types/package.json @@ -18,6 +18,7 @@ }, "scripts": { "build": "tsup", + "dev": "tsup --watch", "watch": "tsup --watch --silent --onSuccess 'echo build successful'", "clean": "del build", "test": "run-s test:*", diff --git a/packages/notion-utils/package.json b/packages/notion-utils/package.json index fee13c3c3..4b0940964 100644 --- a/packages/notion-utils/package.json +++ b/packages/notion-utils/package.json @@ -24,6 +24,7 @@ }, "scripts": { "build": "tsup", + "dev": "tsup --watch", "watch": "tsup --watch --silent --onSuccess 'echo build successful'", "clean": "del build", "test": "run-s test:*", diff --git a/packages/react-notion-x/package.json b/packages/react-notion-x/package.json index 714aa0375..cd61eba18 100644 --- a/packages/react-notion-x/package.json +++ b/packages/react-notion-x/package.json @@ -47,6 +47,7 @@ }, "scripts": { "build": "tsup", + "dev": "tsup --watch", "watch": "tsup --watch --silent --onSuccess 'echo build successful'", "clean": "del build", "test": "run-s test:*",