fix(babel): Use scoped react-bootstrap for babel@7

pull/18095/head
Bouncey 2018-09-05 13:39:23 +01:00 committed by Stuart Taylor
parent f698dcf79c
commit 4c73ebbfef
11 changed files with 569 additions and 741 deletions

1286
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -10,10 +10,11 @@
"@fortawesome/free-regular-svg-icons": "^5.2.0",
"@fortawesome/free-solid-svg-icons": "^5.2.0",
"@fortawesome/react-fontawesome": "0.0.20",
"@freecodecamp/react-bootstrap": "^0.32.3",
"@reach/router": "^1.1.1",
"axios": "^0.18.0",
"gatsby": "^2.0.0-rc.1",
"gatsby-link": "^2.0.0-rc.1",
"gatsby": "^2.0.0-rc.10",
"gatsby-link": "^2.0.0-rc.2",
"gatsby-plugin-create-client-paths": "^2.0.0-rc.1",
"gatsby-plugin-manifest": "next",
"gatsby-plugin-react-helmet": "next",
@ -22,7 +23,6 @@
"nanoid": "^1.2.2",
"query-string": "^6.1.0",
"react": "^16.4.2",
"react-bootstrap": "^0.32.3",
"react-dom": "^16.4.2",
"react-freecodecamp-search": "^2.0.2",
"react-helmet": "^5.2.0",

View File

@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { Grid, Row, Col, Image } from 'react-bootstrap';
import { Grid, Row, Col, Image } from '@freecodecamp/react-bootstrap';
import {
showCertSelector,

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Alert } from 'react-bootstrap';
import { Alert } from '@freecodecamp/react-bootstrap';
import './flash.css';

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Button } from 'react-bootstrap';
import { Button } from '@freecodecamp/react-bootstrap';
import { Link } from 'gatsby';
import './login.css';

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Row, Col } from 'react-bootstrap';
import { Row, Col } from '@freecodecamp/react-bootstrap';
function FullWidthRow({ children }) {
return (

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { Row, Col } from 'react-bootstrap';
import { Row, Col } from '@freecodecamp/react-bootstrap';
function SlimWidthRow({ children, ...restProps }) {
return (

View File

@ -10,7 +10,7 @@ import {
FormGroup,
ControlLabel,
Checkbox
} from 'react-bootstrap';
} from '@freecodecamp/react-bootstrap';
import Helmet from 'react-helmet';
import Layout from '../components/Layout';

View File

@ -1,5 +1,5 @@
import React from 'react';
import { Grid, Row, Col, Image } from 'react-bootstrap';
import { Grid, Row, Col, Image } from '@freecodecamp/react-bootstrap';
import FontAwesomeIcon from '@fortawesome/react-fontawesome';
import {
faHtml5,

View File

@ -13,7 +13,7 @@ import {
Row,
Col,
Button
} from 'react-bootstrap';
} from '@freecodecamp/react-bootstrap';
import Layout from '../components/Layout';
import { Spacer } from '../components/helpers';

View File

@ -4,7 +4,7 @@ import { navigateTo } from 'gatsby';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { Grid, Row, Col, Button } from 'react-bootstrap';
import { Grid, Row, Col, Button } from '@freecodecamp/react-bootstrap';
import { Loader, Spacer } from '../components/helpers';
import Layout from '../components/Layout';