Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add rimraf glob option to restore removal of unused sources #317

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading