From 1925e03d0329fcad21c0ef86af95b0ba13540d77 Mon Sep 17 00:00:00 2001 From: emilkowalski Date: Wed, 4 Oct 2023 02:19:51 +0200 Subject: [PATCH 1/3] Update docs repo base url --- website/theme.config.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/theme.config.jsx b/website/theme.config.jsx index 0822846..608b7b8 100644 --- a/website/theme.config.jsx +++ b/website/theme.config.jsx @@ -3,7 +3,7 @@ export default { project: { link: 'https://github.com/emilkowalski/sonner', }, - docsRepositoryBase: 'https://github.com/emilkowalski/sonner', + docsRepositoryBase: 'https://github.com/emilkowalski/sonner/tree/main', useNextSeoProps() { return { titleTemplate: '%s – Sonner', From 26f01d96719e7eba27473c13507be3742db18da9 Mon Sep 17 00:00:00 2001 From: emilkowalski Date: Wed, 4 Oct 2023 02:22:51 +0200 Subject: [PATCH 2/3] Revert package json changes --- package.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 8cfb134..19f1816 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,9 @@ "version": "1.0.3", "description": "An opinionated toast component for React.", "exports": { - "import": { - "default": "./dist/index.mjs", - "types": "./dist/index.d.ts" - }, - "require": { - "default": "./dist/index.js", - "types": "./dist/index.d.ts" - } + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "require": "./dist/index.js" }, "types": "./dist/index.d.ts", "files": [ From 27d8a3748a56c1771e3ee75f648c046925456d68 Mon Sep 17 00:00:00 2001 From: emilkowalski Date: Wed, 4 Oct 2023 02:31:33 +0200 Subject: [PATCH 3/3] Update docs repo url --- website/theme.config.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/theme.config.jsx b/website/theme.config.jsx index 608b7b8..4028020 100644 --- a/website/theme.config.jsx +++ b/website/theme.config.jsx @@ -3,7 +3,7 @@ export default { project: { link: 'https://github.com/emilkowalski/sonner', }, - docsRepositoryBase: 'https://github.com/emilkowalski/sonner/tree/main', + docsRepositoryBase: 'https://github.com/emilkowalski/sonner/tree/main/website', useNextSeoProps() { return { titleTemplate: '%s – Sonner',