Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing new version to NPM? #417

Open
zacharybussey opened this issue Nov 25, 2020 · 4 comments
Open

Publishing new version to NPM? #417

zacharybussey opened this issue Nov 25, 2020 · 4 comments

Comments

@zacharybussey
Copy link

Hello,

We are currently using this library in our application, and have ran into some issues with the reference that this library has on D3 version 4. We've worked around the issue for now by forcing it to use v5, but we are wondering if there are any reasons why the current master has not been published as a release to NPM yet? It seems there were no major changes needed to support D3 version 5, but we would like ensure we don't run into any unforeseen issues.

@alfredocovaDS
Copy link

Hi, how did you forced the v5? I'm about to start working with this library and I have the feeling that I'll run into the same issue.

@zacharybussey
Copy link
Author

In the webpack configuration, I added an alias to resolve the version that the rest of the app uses.

{
	resolve: {
		alias: { d3: path.resolve('./node_modules/d3/index.js') }
	}
}

@tbo47
Copy link

tbo47 commented Jan 6, 2022

just FYI I ported the project with ES modules
https://github.com/tbo47/dagre-es

@zacharybussey
Copy link
Author

Cool.

We ended up making a local fork, for this and other reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants