Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Commit

Permalink
fix: fix npm postinstall script (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarTawfik authored Mar 7, 2019
1 parent d0146fb commit c9a1e00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"semantic-release-vsce",
{
"path": "./out/vscode"
}
],
"@semantic-release/github"
]
}
7 changes: 7 additions & 0 deletions scripts/gulp-linter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ gulp.task(PackageTasks.generatePackageJson, () => {
.pipe(
merge({
fileName: "package.json",
edit: contents => {
if (contents.scripts) {
// vscode postinstall step will break NPM users
delete contents.scripts.postinstall;
}
return contents;
},
}),
)
.pipe(gulp.dest(linterPath));
Expand Down

0 comments on commit c9a1e00

Please sign in to comment.