-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a `prepare` hook instead of a `postinstall` hook to generate the `highlight_alias.json` file. This means that the file is generated during the publication of package to npm or when manually running `npm install` in the project directory. The previous behavior was to generate this step on the consumer side: this was the cause of numerous hard-to-reproduce issues due to the variety of environments. Closes #20 Closes #23 Closes #24
- Loading branch information
Showing
5 changed files
with
2,396 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ coverage/ | |
gulpfile.js | ||
.idea/ | ||
appveyor.yml | ||
highlight_alias.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Next | ||
|
||
- **[Fix]** Remove postinstall step, fixes installations issues for some systems. [#24](https://github.com/hexojs/hexo-util/issues/24) |
Oops, something went wrong.