diff --git a/client/cold-reload.js b/client/cold-reload.js index 4f3fc5e63b..dc70e36a9d 100644 --- a/client/cold-reload.js +++ b/client/cold-reload.js @@ -1,4 +1,4 @@ -import store from 'store'; +import store from '@freecodecamp/store'; const key = '__cold-storage__'; export function isColdStored() { diff --git a/common/app/Toasts/Toasts.jsx b/common/app/Toasts/Toasts.jsx index f9e4b3a2d5..322712dd93 100644 --- a/common/app/Toasts/Toasts.jsx +++ b/common/app/Toasts/Toasts.jsx @@ -2,7 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; -import { NotificationStack } from 'react-notification'; +import { NotificationStack } from '@freecodecamp/react-notification'; import { removeToast } from './redux'; diff --git a/common/app/redux/night-mode-epic.js b/common/app/redux/night-mode-epic.js index 2449d1735a..90e97e75f0 100644 --- a/common/app/redux/night-mode-epic.js +++ b/common/app/redux/night-mode-epic.js @@ -1,7 +1,7 @@ import _ from 'lodash'; import { Observable } from 'rx'; import { ofType } from 'redux-epic'; -import store from 'store'; +import store from '@freecodecamp/store'; import { themes } from '../../utils/themes.js'; import { postJSON$ } from '../../utils/ajax-stream.js'; diff --git a/package-lock.json b/package-lock.json index 601dcf99f2..3b347c43d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,9 +27,9 @@ } }, "@freecodecamp/curriculum": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@freecodecamp/curriculum/-/curriculum-3.1.0.tgz", - "integrity": "sha512-T3Om4MLjCveaVKMfv1quRT/u6jlLoY9qLSdz/bg+E2MfGLcJntuiVNOhsm8X0zpu/Bkht2vxsttbUQakbExbpQ==" + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@freecodecamp/curriculum/-/curriculum-3.1.1.tgz", + "integrity": "sha512-S7i/9mteKf5PApmrxNB92Sly9t/VVOA3bTzH03RPxqLxvayVSRDTRK6axavhr2IrFZMiDmKZtxRZex9Gt8odQA==" }, "@freecodecamp/loopback-component-passport": { "version": "1.0.0", @@ -49,6 +49,16 @@ } } }, + "@freecodecamp/react-notification": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@freecodecamp/react-notification/-/react-notification-1.0.0.tgz", + "integrity": "sha512-Sbolv9GlDQLDePl2D8vc/NBNKKRto6W9k1gF7jw2eqH0WDqDsS0wMD0K0DOj1ANI1lLuElkkpOOaURk9hRKx0Q==" + }, + "@freecodecamp/store": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@freecodecamp/store/-/store-1.0.0.tgz", + "integrity": "sha512-Q/tsJkjK+Oa7M7dIxD1SaW372K0tVTe8tcT9ZzeiJrw7KHTBahY9cN/BvY7tWTpvZYvaJiXry9OR2ND/1dqskA==" + }, "@gulp-sourcemaps/identity-map": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@gulp-sourcemaps/identity-map/-/identity-map-1.0.1.tgz", @@ -15476,9 +15486,6 @@ "babel-runtime": "6.26.0" } }, - "react-notification": { - "version": "git+https://github.com/BerkeleyTrue/react-notification.git#0c503b92a92cc1db843e6f8802d6d8b292546b5e" - }, "react-overlays": { "version": "0.7.4", "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-0.7.4.tgz", @@ -17737,9 +17744,6 @@ "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", "dev": true }, - "store": { - "version": "git+https://github.com/berkeleytrue/store.js.git#562c990c2f8018b6401a640aada8e9f667554fe1" - }, "stream-browserify": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.1.tgz", diff --git a/package.json b/package.json index e7abc19c04..de0267d803 100644 --- a/package.json +++ b/package.json @@ -42,8 +42,10 @@ "dependencies": { "@fortawesome/fontawesome": "^1.1.8", "@fortawesome/react-fontawesome": "0.0.20", - "@freecodecamp/curriculum": "^3.1.0", + "@freecodecamp/curriculum": "^3.1.1", "@freecodecamp/loopback-component-passport": "^1.0.0", + "@freecodecamp/react-notification": "^1.0.0", + "@freecodecamp/store": "^1.0.0", "accepts": "^1.3.0", "auth0-js": "^9.5.1", "babel-core": "^6.26.0", @@ -125,7 +127,6 @@ "react-media": "^1.8.0", "react-motion": "^0.4.8", "react-no-ssr": "^1.0.1", - "react-notification": "git+https://github.com/BerkeleyTrue/react-notification.git#freecodecamp", "react-redux": "^4.4.8", "react-test-renderer": "^15.6.2", "react-youtube": "^7.5.0", @@ -143,7 +144,6 @@ "rx-dom": "^7.0.3", "sanitize-html": "^1.11.1", "snyk": "^1.69.1", - "store": "git+https://github.com/berkeleytrue/store.js.git#feature/noop-server", "stripe": "^6.1.0", "uuid": "^3.0.1", "validator": "^9.4.1"