From fba26ac182c75ae3c1164c9e0bf7bc7f58ea5f66 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 18 Oct 2024 14:23:17 -0700 Subject: [PATCH] add rimraf glob option to restore removal of unused sources --- CHANGELOG.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e4a65d..9adf261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # changelog * 2.6.9 _Oct.18.2024_ + * [added --glob option for rimraf](https://github.com/iambumblehead/esmock/pull/317) usage removing un-used sources * [added node v23 to test matrix](https://github.com/iambumblehead/esmock/pull/316) * [resolve v23-related error](https://github.com/iambumblehead/esmock/pull/316) when `module.exports` is exported * 2.6.8 _Oct.17.2024_ diff --git a/package.json b/package.json index b987579..81d610b 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "lint": "eslint .", "lint-fix": "eslint --fix .", "mini:pkg": "npm pkg delete scripts devDependencies dependencies", - "mini:src": "cd src && npx rimraf \"!(esmock|esmockLoader).js\"", + "mini:src": "cd src && npx rimraf --glob \"!(esmock|esmockLoader).js\"", "mini": "npm run mini:src && npm run mini:pkg", "prepublishOnly": "npm run lint && npm run test-ci && npm run mini" }