From 6bb3ab90b71b045a94da1228ac932bda1db4ed2f Mon Sep 17 00:00:00 2001 From: Joshua Date: Wed, 6 Nov 2024 03:38:44 -0800 Subject: [PATCH] chore: Update scripts. --- README.md | 1 - scripts/update-readme.mts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 6c63db1..e880b36 100644 --- a/README.md +++ b/README.md @@ -55,5 +55,4 @@ and start building something great. | [`eslint`](https://github.com/eslint/eslint) | `^9.14.0` | [`@darkobits/eslint-plugin`](https://github.com/darkobits/eslint-plugin) | `^2.1.10` | [`semantic-release`](https://github.com/semantic-release/semantic-release) | `~24.2.0` -| [`npm-check-updates`](https://github.com/raineorshine/npm-check-updates) | `~17.1.10` | [`@darkobits/nr`](https://github.com/darkobits/nr) | `~0.18.0` diff --git a/scripts/update-readme.mts b/scripts/update-readme.mts index 84ee7a7..05a05a2 100644 --- a/scripts/update-readme.mts +++ b/scripts/update-readme.mts @@ -8,7 +8,7 @@ interface DependencyInfo { url: string } -const OUR_PACKAGE_JSON_PROMISE = import('../package.json', { with: { type: 'json' }}) +const OUR_PACKAGE_JSON_PROMISE = import('../package.json', { with: { type: 'json' }}).then(mod => mod.default) /** * Gets the current local version of the provided dependency.