From b6156396c0843d1719c512989acc0622a9ccd89d Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 23 Nov 2023 22:11:56 +0700 Subject: [PATCH] Meta tweaks --- .github/funding.yml | 4 ---- .github/workflows/main.yml | 4 ++-- package.json | 12 ++++++++---- 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 .github/funding.yml diff --git a/.github/funding.yml b/.github/funding.yml deleted file mode 100644 index 9589328..0000000 --- a/.github/funding.yml +++ /dev/null @@ -1,4 +0,0 @@ -github: sindresorhus -open_collective: sindresorhus -tidelift: npm/p-map -custom: https://sindresorhus.com/donate diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c4cdca2..346585c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,8 +13,8 @@ jobs: - 20 - 18 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - run: npm install diff --git a/package.json b/package.json index 565c5fc..7ba0f9e 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,11 @@ "url": "https://sindresorhus.com" }, "type": "module", - "exports": "./index.js", + "exports": { + "types": "./index.d.ts", + "default": "./index.js" + }, + "sideEffects": false, "engines": { "node": ">=18" }, @@ -43,11 +47,11 @@ "devDependencies": { "ava": "^5.2.0", "chalk": "^5.3.0", - "delay": "^5.0.0", + "delay": "^6.0.0", "in-range": "^3.0.0", "random-int": "^3.0.0", "time-span": "^5.1.0", - "tsd": "^0.28.1", - "xo": "^0.54.1" + "tsd": "^0.29.0", + "xo": "^0.56.0" } }