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
Infrastructure upgrade #449
Conversation
19a9e0b
to
e57b7a4
Compare
90ad87b
to
72d2b2d
Compare
I'm ready to declare success on this. Does anyone see anything glaring that should be addressed before I bring this into master? I'd like to bring this in by end of day tomorrow, baring any revelations by the community. |
cc97728
to
df23269
Compare
Really glad to see this update. 👍 I pulled down the source and have been doing some smoke testing. I'm seeing some funky styling /scrolling issues with CodeMirror. I also ran into an issue with eslint not finding a rule (I have latest eslint). Double checking that its not a local issue. |
.cm-s-solarized .cm-comment { color: #93a1a1; } | ||
|
||
.CodeMirror { | ||
height: auto; |
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.
Looks like this line is the cause of the extra-tall editor height, through removing it causes other issues (scrolbars).
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.
Ya, we fixed this on the last pull request that came in and I forgot to apply it here. I need to do this: https://github.com/react-bootstrap/react-bootstrap/blob/master/docs/assets/style.css#L71-L73. Thanks for the find, I'll update that.
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 ran into that eslint issue as well at one point. I made sure that everything was up to date and it went away. Is it likely that one of your global eslint installs is causing problems? Do you see it when you run |
I may not have the global react plugin mac side. Checking that. |
It should just work if you do it through |
No, I get the error using |
|
Since CI passes, I can only guess this is a local issue for me. I would be fine with you pulling this in while I figure this out. |
A lot has happened since this projects inception and newer tools are available that can facilitate a better development environment. This work gives the project structure a facelift to meet the current trends of the broader React community. - Source cleanup - Rename all js files to *.js - Use [Babel](http://babeljs.io/) for our es6 -> es5 transpilation - Update all js to es6 standards - src - test - docs - doc examples - ie8 visual test - [ESLint](http://eslint.org/) all .js files - Build - Use [Webpack](http://webpack.github.io/) - This should provide more control on how we build our pre-concatenated and minified releases. - Drop Grunt, use npm scripts and shell scripts where needed. - Promise based release process (faster) - Update README to explain how to run. - Test - Single karma config file - Not dependent on building src to disk to run, use [karma-webpack](https://github.com/webpack/karma-webpack) which will build the src in memory. - Better test watcher that re-runs tests when changing src files. Current watcher only runs if test files change. - Fail on linting errors - Pull `es5-shim` from npm - Docs - Pull `bootstrap` from npm - Pull `codemirror` from npm - Use in browser Babel transformer for doc examples - Consolidate package.json deps and scripts to repo root. Leads to less confusion on how to run the docs locally. - Update README for local setup.
df23269
to
98ee978
Compare
Turns out the eslint problem for @joemcbride was with the |
A lot has happened since this projects inception and newer tools are available that can facilitate a better development environment. I have started some work to give the project structure a facelift to meet the current trends of the broader React community. My goals:
Use Flow for static type checking??(Striking for now, can be another PR)es5-shim
from npmbootstrap
from npmcodemirror
from npmChange router to react-router, which tends to be up to date with React quicker.(Taken care of in 0.13 Compatibility and Migration #424)This is still a work in progress so I'm open to suggestions for improvement. I am planning to continually rebase and force push this branch, until it's complete.