You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
I've made a simple fix in the "support for build optimizers" part of intro.js since it tried to require the non-existent "rx" bower package. As the result of the fix now it depends on the existing "rxjs" bower package thus it's possible to use rxjs-dom with browserify.
@aokros it was rx because the main NPM package is rx not rxjs, but Bower differs here. So, what's the right answer? Do we need to support both or just Bower?
it's a straight facade over GitHub. If someone kills their repo or a tag you were pointing at, it breaks your builds.
it has weird features around conflicted dependency resolution. Just because I tell it "!3" (use selection 3 and persist it), it doesn't actually seem to persist for others working on my project. This means I could be working with a different version of a library than the developer sitting next to me.
@mattpodwysocki This is a tricky question since the way we use browserify is not the "standard" way, if there is a "standard" way at all. We use it with "debowerify" and the npm packages are on a different path, so the browserify can only access the "debowerified" packages.
Another aspect of this: we are using rx-dom as a bower package, so it's natural to expect the dependencies as bower packages. The "rx-dom" bower package has to depend on "rxjs" bower package, and the "rx-dom" npm package has to depend on "rx" npm package. These dependencies are correctly captured in the bower.json and package.json files, but the intro.js still has to be adjusted.
After I thought this over it seems my change is not the best. What do you think?
This file contains hidden or 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
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
4 participants
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.
I've made a simple fix in the "support for build optimizers" part of intro.js since it tried to require the non-existent "rx" bower package. As the result of the fix now it depends on the existing "rxjs" bower package thus it's possible to use rxjs-dom with browserify.