Uh oh!
There was an error while loading. Please reload this page.
Merge cli repo for better dependency management #139 - #169
Conversation
Ensures that users of the npm package use the forked version of htmlparser2
acjh
commented
Mar 17, 2018
It should be easy to merge changes from MarkBind/markbind-cli when existing PRs there are merged. |
acjh
commented
Mar 17, 2018
If this PR is merged, I can release markbind-cli@1.6.1 from this merged repo tomorrow (or Monday). |
acjh
commented
Mar 18, 2018
Or we could sync the release versions, and then we can use the same Milestone and tags for both! |
nicholaschuayunzhi
commented
Mar 18, 2018
To clarify
If we're using local markbind in c36f595 we don't have to run the |
acjh
commented
Mar 18, 2018
You should have run it before, but that was the unmerged markbind-cli folder:
|
Gisonrg
commented
Mar 18, 2018
Thanks @acjh for the efforts!!! The merge is not easy 👏
Also we need to migrate the Wiki page, which works similar to change a git remote address (Wikis are just a repo). |
There was a problem hiding this comment.
Migration looks good to me. But make sure we test:
- All functions are working, including publish.
- Try publish the
markbind-corein the merged repo, after that try install it (using a new node project) to see if it could correctly identify the package.
Also might need to mark the markbind-cli repo as deprecated (remove the code and update the README).
| }, | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/MarkBind/markbind-cli.git" |
There was a problem hiding this comment.
Should change this to MarkBind/markbind
acjh
commented
Mar 18, 2018
Published markbind@1.6.0 and tested like this: $ cd~/Desktop
$ mkdir tmp
$ cd tmp
$ npm init
$ # Press enter 10 times.
$ npm install markbind@1.6.0
$ echo"const MarkBind = require('markbind');"> index.js
$ echo"console.log(new MarkBind());">> index.js
$ node index.jsOutput: Parser{_options: {},_onError: [Function: boundconsoleCall],_fileCache: {},dynamicIncludeSrc: [],staticIncludeSrc: [],boilerplateIncludeSrc: [],missingIncludeSrc: []} |
Add htmlparser2 as a dependency
Ignore updates to source files while live-reloading is in progress MarkBind#155
# Conflicts: # package.json
acjh
commented
Mar 18, 2018
Merge worked fine. |
acjh
commented
Mar 18, 2018
I was thinking of going straight to #135. Easier to track future changes and PRs.
I updated the README. I'll remove the code when the remaining PRs are closed. |
acjh
commented
Mar 18, 2018
@Gisonrg Can you activate Travis on this repo? 🙈 |
Resolves#139
I did
git merge cli --allow-unrelated-historiesto preserve histories from both repos.As such, there are 200+ commits. Here are the newest commits that are specific to this PR:
9962681 Use local markbind(overwritten by force-push)cdto themarkbindfolder, pull this branch, and then run (sudo)npm link.npm version, tagging is now committed for cli but not the core library.