From 2107256e1aa6189e0b4f78a114a06c963b56a155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Sch=C3=B6nb=C3=A4chler?= <42278642+schoero@users.noreply.github.com> Date: Sun, 12 Nov 2023 18:59:53 +0100 Subject: [PATCH 1/3] chore: auto import without file extensions --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a3ceb4e1..988a2928 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -31,7 +31,7 @@ // ES module import "typescript.preferences.importModuleSpecifier": "non-relative", - "typescript.preferences.importModuleSpecifierEnding": "js", + "typescript.preferences.importModuleSpecifierEnding": "minimal", "typescript.preferences.useAliasesForRenames": true, "typescript.preferences.autoImportFileExcludePatterns": [ "@types/node/test.d.ts" From c4ad480b78e16f851a4e400efab84f2a134a7233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Sch=C3=B6nb=C3=A4chler?= <42278642+schoero@users.noreply.github.com> Date: Sun, 12 Nov 2023 19:00:05 +0100 Subject: [PATCH 2/3] fix: node import in browser --- src/platform/logger/browser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/logger/browser.ts b/src/platform/logger/browser.ts index d289e3e7..5c0f09bc 100644 --- a/src/platform/logger/browser.ts +++ b/src/platform/logger/browser.ts @@ -1,4 +1,4 @@ -import { lineEndings } from "unwritten:platform/os/node"; +import { lineEndings } from "unwritten:platform/os/browser"; export module logger { From 54f10f7c15d08b280ea7558cd1b9197b4a48817a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Sch=C3=B6nb=C3=A4chler?= <42278642+schoero@users.noreply.github.com> Date: Sun, 12 Nov 2023 19:05:36 +0100 Subject: [PATCH 3/3] chore(release): v0.2.7 --- CHANGELOG.md | 16 ++++++++++++++++ package.json | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eed6b178..7a70f05d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## v0.2.7 + +[compare changes](https://github.com/schoero/unwritten/compare/v0.2.6...v0.2.7) + +### Fixes + +- Node import in browser ([c4ad480](https://github.com/schoero/unwritten/commit/c4ad480)) + +### Chore + +- Auto import without file extensions ([2107256](https://github.com/schoero/unwritten/commit/2107256)) + +### ❤️ Contributors + +- Roger Schönbächler + ## v0.2.6 [compare changes](https://github.com/schoero/unwritten/compare/v0.2.5...v0.2.6) diff --git a/package.json b/package.json index 25734b21..3cdc9282 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "0.2.6", + "version": "0.2.7", "type": "module", "name": "unwritten", "description": "unwritten is a cli tool that auto generates documentation from your JavaScript or TypeScript project by utilizing TSDoc or JSDoc comments.",