Remove third-party dependencies#160
Remove third-party dependencies#160StephenGregory wants to merge 19 commits intoMiguelCastillo:masterfrom
Conversation
There was a problem hiding this comment.
This can possibly be cleaned up by specifying the dependency in package.json (similar to how eslint is defined)
addd415 to
b8e0933
Compare
There was a problem hiding this comment.
This should be in devDependencies instead.
|
@StephenGregory This is a fantastic PR! It will certainly help maintain dependencies. I have to go through it in details to see how you are handling JSHint and ESLint. I will try to load this one this evening and give it a try. Thank you for this PR! |
b8e0933 to
dae21b0
Compare
|
Great! In the meantime, if you could provide the resources for the remaining tools, I can work on pulling in those dependencies as well. |
|
Thanks! With respect to With respect to Also, I'll check out |
|
So for reacttools, I installed the npm package and ran browserify on it via command line.
Updating to the latest jslint sounds good to me. :)
|
|
Hmm. For reacttools, I am having issues reproducing the output in this repo (the output I get is similar, but has an extra ~500 lines). Commands I ran (picking the versions you would have had available to you when For a quick comparison, I used Also, I think I've replaced |
|
@StephenGregory I tried browserifying reactools last night and I also could not get the exact same output, but it worked just fine when I tested it. I can push up the new reactools so that you can compare outputs, if you would like me to. |
|
Sure @MiguelCastillo ! |
|
Here you go :) #162 It's already merged. |
|
Perfect. However, it's still not quite what I am getting. I posted a gist to get your thoughts. Maybe it is obvious what I'm not doing. |
c83539c to
5f8e171
Compare
|
Yeah, it's just the order in which browserify bundled the modules. Go ahead and ignore that issue. I had browserify 10.x.x when it created the one I just checked in. I upgraded to 11.x.x and I am getting a different bundle. I loaded your gist into my running instance of interactive linter, and it works well. Thanks for trying to track this issue down. :) |
5f8e171 to
3b01c19
Compare
|
Great! No problem. I used the gulpjs browserify recipe to integrate reacttools.js Now, what is remaining is JSLint. Edit: Where did |
|
@StephenGregory thank you so much. This is great! |
|
Sorry I didn't answer the question about |
3b01c19 to
0eae0e5
Compare
0eae0e5 to
bfcf527
Compare
|
Ahh, gotcha! No worries. Just making sure I tracked down everything. I added JSLint (not the latest version, the Feb 18 2013 version). I have not tested it yet, though. I have not tested all of these changes with Brackets yet. |
|
@StephenGregory I pulled down your branch and when I run |
What do you think of not storing dependencies within the repositories? I think it clearly defines the source code of this extension vs third-party software. You'll see that I'm pulling in the same versions that you have in the repository.
This is just an in-progress look at what I'm looking at.
To pull in dependencies:
Dependencies left to be removed:
libs/utils.js? - is this part of this repository or another?plugins/default/jslint/libs/jslint.js- where did you find this version?plugins/default/jsx/libs/reacttools.js- where did you find this version?Other tasks can be added to create a distributable package.