From 7778d710ff1070875594fa5ec5b68039435f5c6e Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Mon, 7 Oct 2024 11:49:34 +0700 Subject: [PATCH] Meta tweaks --- .github/funding.yml | 4 ---- package.json | 14 ++++++++------ readme.md | 6 ------ 3 files changed, 8 insertions(+), 16 deletions(-) delete mode 100644 .github/funding.yml diff --git a/.github/funding.yml b/.github/funding.yml deleted file mode 100644 index b551c92..0000000 --- a/.github/funding.yml +++ /dev/null @@ -1,4 +0,0 @@ -github: sindresorhus -open_collective: sindresorhus -tidelift: npm/del -custom: https://sindresorhus.com/donate diff --git a/package.json b/package.json index 0e31f7e..df8750d 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,11 @@ "url": "https://sindresorhus.com" }, "type": "module", - "exports": "./index.js", - "types": "./index.d.ts", + "exports": { + "types": "./index.d.ts", + "default": "./index.js" + }, + "sideEffects": false, "engines": { "node": ">=18" }, @@ -49,20 +52,19 @@ "filesystem" ], "dependencies": { - "globby": "^14.0.1", + "globby": "^14.0.2", "is-glob": "^4.0.3", "is-path-cwd": "^3.0.0", "is-path-inside": "^4.0.0", "p-map": "^7.0.2", - "rimraf": "^5.0.7", "slash": "^5.1.0" }, "devDependencies": { "ava": "^6.1.3", "benchmark": "^2.1.4", "tempy": "^3.1.0", - "tsd": "^0.31.0", - "xo": "^0.58.0" + "tsd": "^0.31.2", + "xo": "^0.59.3" }, "ava": { "serial": true, diff --git a/readme.md b/readme.md index 315ff84..d772cb6 100644 --- a/readme.md +++ b/readme.md @@ -165,12 +165,6 @@ await deleteAsync(patterns, { See [del-cli](https://github.com/sindresorhus/del-cli) for a CLI for this module and [trash-cli](https://github.com/sindresorhus/trash-cli) for a safe version that is suitable for running by hand. -## del for enterprise - -Available as part of the Tidelift Subscription. - -The maintainers of del and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-del?utm_source=npm-del&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) - ## Related - [make-dir](https://github.com/sindresorhus/make-dir) - Make a directory and its parents if needed