Skip to content

Commit

Permalink
Merge pull request #3790 from iclanton/remove-postinstall
Browse files Browse the repository at this point in the history
[jest-heft-plugin] Remove the Jest postinstall step.
  • Loading branch information
iclanton authored Nov 29, 2022
2 parents db2e737 + fe5ce8c commit 0a46e7e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 109 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@rushstack/heft-jest-plugin",
"comment": "Remove a postinstall step that patches Jest in-place. This is better achieved with a PNPM patch. See https://github.com/microsoft/rushstack/pull/3790 for more information.",
"type": "minor"
}
],
"packageName": "@rushstack/heft-jest-plugin"
}
107 changes: 0 additions & 107 deletions heft-plugins/heft-jest-plugin/includes/jestScriptTransformerPatch.js

This file was deleted.

3 changes: 1 addition & 2 deletions heft-plugins/heft-jest-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
"build": "heft build --clean",
"start": "heft test --clean --watch",
"_phase:build": "heft build --clean",
"_phase:test": "heft test --no-build",
"postinstall": "node ./includes/jestScriptTransformerPatch.js"
"_phase:test": "heft test --no-build"
},
"peerDependencies": {
"@rushstack/heft": "^0.48.8"
Expand Down

0 comments on commit 0a46e7e

Please sign in to comment.