Skip to content

Commit

Permalink
add rimraf glob option to restore removal of unused sources
Browse files Browse the repository at this point in the history
  • Loading branch information
bumblehead committed Oct 18, 2024
1 parent c88fc01 commit fba26ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit fba26ac

Please sign in to comment.