Merge pull request #793 from sharetribe/cra-fork-to-1.1.2

Update our CRA fork to 1.1.2
This commit is contained in:
Vesa Luusua 2018-04-05 17:08:26 +03:00 committed by GitHub
commit f808f0f2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 926 additions and 1173 deletions

View file

@ -13,6 +13,8 @@
"compression": "^1.7.2",
"cookie-parser": "^1.4.3",
"decimal.js": "7.2.4",
"dotenv": "4.0.0",
"dotenv-expand": "4.0.1",
"express": "^4.16.3",
"express-enforces-ssl": "^1.1.0",
"express-sitemap": "^1.8.0",
@ -40,7 +42,7 @@
"redux-form": "^6.8.0",
"redux-thunk": "^2.2.0",
"sanitize.css": "^5.0.0",
"sharetribe-scripts": "1.0.14",
"sharetribe-scripts": "1.1.2",
"sharetribe-sdk": "git+ssh://git@github.com/sharetribe/sharetribe-sdk-js#7e4d6258b057a36a1249f9cdde8f3cb4fd208ec6",
"smoothscroll-polyfill": "^0.4.0",
"source-map-support": "^0.5.4",

View file

@ -31,7 +31,11 @@ const configureEnv = () => {
dotenvFiles.forEach(dotenvFile => {
if (fs.existsSync(dotenvFile)) {
console.log('Loading env from file:' + dotenvFile);
require('dotenv').config({ path: dotenvFile });
require('dotenv-expand')(
require('dotenv').config({
path: dotenvFile,
})
);
}
});
};

2089
yarn.lock

File diff suppressed because it is too large Load diff