Skip to content

#939: drop dead postinstall.js and stale patch#949

Open
nacNAC333 wants to merge 1 commit into
objectionary:masterfrom
nacNAC333:939
Open

#939: drop dead postinstall.js and stale patch#949
nacNAC333 wants to merge 1 commit into
objectionary:masterfrom
nacNAC333:939

Conversation

@nacNAC333
Copy link
Copy Markdown

The grunt-mocha-cli devDependency was replaced by grunt-mocha-test
in #892, but scripts/postinstall.js still checked for
node_modules/grunt-mocha-cli to decide whether to run
patch-package. That check was always false, so the Windows
shell-fix patch in patches/grunt-mocha-cli+7.0.0.patch was
never applied. grunt-mocha-test runs mocha in-process and
does not need the patch.

Removed:

  • scripts/postinstall.js (dead conditional logic)
  • patches/grunt-mocha-cli+7.0.0.patch (targets absent package)
  • patch-package devDependency (no remaining patches)
  • postinstall npm script entry

Closes #939.

…ckage dep

The `grunt-mocha-cli` devDependency was replaced by `grunt-mocha-test`
in objectionary#892, but `scripts/postinstall.js` still checked for
`node_modules/grunt-mocha-cli` to decide whether to run
`patch-package`.  That check was always false, so the Windows
shell-fix patch in `patches/grunt-mocha-cli+7.0.0.patch` was
never applied.  `grunt-mocha-test` runs mocha in-process and
does not need the patch.

Removed:
- `scripts/postinstall.js` (dead conditional logic)
- `patches/grunt-mocha-cli+7.0.0.patch` (targets absent package)
- `patch-package` devDependency (no remaining patches)
- `postinstall` npm script entry
@nacNAC333 nacNAC333 changed the title fix(#939): drop dead postinstall.js and stale grunt-mocha-cli patch #939: drop dead postinstall.js and stale patch May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

postinstall.js skips patch-package due to outdated grunt-mocha-cli dependency check

1 participant