fix(babel): Use scoped react-bootstrap for babel@7
This commit is contained in:
1286
client/package-lock.json
generated
1286
client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,10 +10,11 @@
|
|||||||
"@fortawesome/free-regular-svg-icons": "^5.2.0",
|
"@fortawesome/free-regular-svg-icons": "^5.2.0",
|
||||||
"@fortawesome/free-solid-svg-icons": "^5.2.0",
|
"@fortawesome/free-solid-svg-icons": "^5.2.0",
|
||||||
"@fortawesome/react-fontawesome": "0.0.20",
|
"@fortawesome/react-fontawesome": "0.0.20",
|
||||||
|
"@freecodecamp/react-bootstrap": "^0.32.3",
|
||||||
"@reach/router": "^1.1.1",
|
"@reach/router": "^1.1.1",
|
||||||
"axios": "^0.18.0",
|
"axios": "^0.18.0",
|
||||||
"gatsby": "^2.0.0-rc.1",
|
"gatsby": "^2.0.0-rc.10",
|
||||||
"gatsby-link": "^2.0.0-rc.1",
|
"gatsby-link": "^2.0.0-rc.2",
|
||||||
"gatsby-plugin-create-client-paths": "^2.0.0-rc.1",
|
"gatsby-plugin-create-client-paths": "^2.0.0-rc.1",
|
||||||
"gatsby-plugin-manifest": "next",
|
"gatsby-plugin-manifest": "next",
|
||||||
"gatsby-plugin-react-helmet": "next",
|
"gatsby-plugin-react-helmet": "next",
|
||||||
@ -22,7 +23,6 @@
|
|||||||
"nanoid": "^1.2.2",
|
"nanoid": "^1.2.2",
|
||||||
"query-string": "^6.1.0",
|
"query-string": "^6.1.0",
|
||||||
"react": "^16.4.2",
|
"react": "^16.4.2",
|
||||||
"react-bootstrap": "^0.32.3",
|
|
||||||
"react-dom": "^16.4.2",
|
"react-dom": "^16.4.2",
|
||||||
"react-freecodecamp-search": "^2.0.2",
|
"react-freecodecamp-search": "^2.0.2",
|
||||||
"react-helmet": "^5.2.0",
|
"react-helmet": "^5.2.0",
|
||||||
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|||||||
import { bindActionCreators } from 'redux';
|
import { bindActionCreators } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { createSelector } from 'reselect';
|
import { createSelector } from 'reselect';
|
||||||
import { Grid, Row, Col, Image } from 'react-bootstrap';
|
import { Grid, Row, Col, Image } from '@freecodecamp/react-bootstrap';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
showCertSelector,
|
showCertSelector,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Alert } from 'react-bootstrap';
|
import { Alert } from '@freecodecamp/react-bootstrap';
|
||||||
|
|
||||||
import './flash.css';
|
import './flash.css';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Button } from 'react-bootstrap';
|
import { Button } from '@freecodecamp/react-bootstrap';
|
||||||
import { Link } from 'gatsby';
|
import { Link } from 'gatsby';
|
||||||
|
|
||||||
import './login.css';
|
import './login.css';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Row, Col } from 'react-bootstrap';
|
import { Row, Col } from '@freecodecamp/react-bootstrap';
|
||||||
|
|
||||||
function FullWidthRow({ children }) {
|
function FullWidthRow({ children }) {
|
||||||
return (
|
return (
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Row, Col } from 'react-bootstrap';
|
import { Row, Col } from '@freecodecamp/react-bootstrap';
|
||||||
|
|
||||||
function SlimWidthRow({ children, ...restProps }) {
|
function SlimWidthRow({ children, ...restProps }) {
|
||||||
return (
|
return (
|
||||||
|
@ -10,7 +10,7 @@ import {
|
|||||||
FormGroup,
|
FormGroup,
|
||||||
ControlLabel,
|
ControlLabel,
|
||||||
Checkbox
|
Checkbox
|
||||||
} from 'react-bootstrap';
|
} from '@freecodecamp/react-bootstrap';
|
||||||
import Helmet from 'react-helmet';
|
import Helmet from 'react-helmet';
|
||||||
|
|
||||||
import Layout from '../components/Layout';
|
import Layout from '../components/Layout';
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import React from 'react';
|
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 FontAwesomeIcon from '@fortawesome/react-fontawesome';
|
||||||
import {
|
import {
|
||||||
faHtml5,
|
faHtml5,
|
||||||
|
@ -13,7 +13,7 @@ import {
|
|||||||
Row,
|
Row,
|
||||||
Col,
|
Col,
|
||||||
Button
|
Button
|
||||||
} from 'react-bootstrap';
|
} from '@freecodecamp/react-bootstrap';
|
||||||
|
|
||||||
import Layout from '../components/Layout';
|
import Layout from '../components/Layout';
|
||||||
import { Spacer } from '../components/helpers';
|
import { Spacer } from '../components/helpers';
|
||||||
|
@ -4,7 +4,7 @@ import { navigateTo } from 'gatsby';
|
|||||||
import { bindActionCreators } from 'redux';
|
import { bindActionCreators } from 'redux';
|
||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { createSelector } from 'reselect';
|
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 { Loader, Spacer } from '../components/helpers';
|
||||||
import Layout from '../components/Layout';
|
import Layout from '../components/Layout';
|
||||||
|
Reference in New Issue
Block a user