-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update the dependencies #27
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that would be great actually to take some time to implement the issue #10. It would simplify a lot this process.
And this is something already done in codemirror-promql. So we can just (almost) copy and past what is there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking the repo I'm still not sure how you make npm link work, is it using build.sh and then cd lib && npm link ?
Moreover it seems that you are using a slightly outdated version of your project in your example normal ? 0.11.0 instead of 0.12.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh no for the development I'm using a vanilla that doesn't require /depend of any TS framework.
It's in the /app folder actually. So no need of creating a link a so on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ... in that particular case I wanted to make sure that my examples was always working :/ so I need to
npm link
it because it is not released. And I think that even if I create a vanilla example which don't need npm link, I'll still want to make this check everytime on other examples.I will try what I said, if at least I can get rid of the final ugly manual step, it's acceptable to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well also you can said, since you are independ of a TS framework, then for sure it will work with Angular or with React.
Integration can be a bit tricky for some cases for sure, but as long as you don't depend of any lib from Angular / React and so you don't depend on a TS framework, then integration is defacto possible.
That's why you are creating a lib, and you won't test every possible framework. It's a good things to show how to integrate it. But your lib shouldn't be driven by how Angular is working. That's why it's a bit better to have a vanilla app instead to ease the development of the lib.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I spent so much time to make it work with Angular that I just wanted to provide more support than "hey look the config is that, by the way it is a nightmare to integrate, wish you all the best !"
Generally speaking I agree with you though. For example, react example was much easier and would be okay to even be removed or not as maintained as Angular example.