orgajs icon indicating copy to clipboard operation
orgajs copied to clipboard

unist-builder and prismjs should be dependencies?

Open titaniumbones opened this issue 5 years ago • 3 comments

just trying out the package (working towards this issue for a vscode plugin: https://github.com/vscode-org-mode/vscode-org-mode/issues/133). Tests failed until I installed unist-builder and prismjs, so I'm assuming they need to be added to the dependencies list?

titaniumbones avatar Mar 19 '19 11:03 titaniumbones

@titaniumbones which package are you talking about? oast-to-hast is the only one who depend on unist-builder and prismjs, and they are in the dep list. orga itself doesn't have any dependency.

xiaoxinghu avatar Mar 22 '19 08:03 xiaoxinghu

When I tried to run the orgsjs test suite, most failed until I installed those two packages manually.

I will try to look at this more carefully though. I was just reporting the failure.

On Mar. 22, 2019 4:51 a.m., Xiaoxing Hu [email protected] wrote:

@titaniumboneshttps://github.com/titaniumbones which package are you talking about? oast-to-hast is the only one who depend on unist-builder and prismjs, and they are in the dep list. orga itself doesn't have any dependency.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/xiaoxinghu/orgajs/issues/21#issuecomment-475539419, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAWPNCADr9jeb04FmVj3AhCYwKwWi9b6ks5vZJl2gaJpZM4b78i9.

titaniumbones avatar Mar 22 '19 11:03 titaniumbones

I have updated the readme; please reference the Contribute part to make sure you are running the tests the right way. I think your failure is most likely due to using npm instead of yarn. I am using yarn because the workspace feature made the development of gatsby plugin easy (and possible). I'd like to switch back to npm when their equivalent of workspace feature is ready. (They said it's going to be included in the next major version.)

xiaoxinghu avatar Oct 11 '19 00:10 xiaoxinghu