Skip to content

Commit

Permalink
Build react-cache from source as recommended in facebook/react#14780 …
Browse files Browse the repository at this point in the history
  • Loading branch information
luontola committed May 2, 2019
1 parent 6764461 commit 2496343
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -11,6 +11,7 @@
"url": "https://github.com/luontola/territory-bro.git"
},
"dependencies": {
"@luontola/react-cache": "2.0.0-alpha.2019-05-02",
"alphanum-sort": "1.0.2",
"auth0-js": "9.10.2",
"axios": "0.18.0",
Expand Down Expand Up @@ -71,6 +72,7 @@
"defaults"
],
"scripts": {
"build-react-cache": "git clone git@github.com:facebook/react.git --depth=1 && cd react && yarn install --frozen-lockfile && npm run build react-cache && cd .. && npm pack ./react/build/node_modules/react-cache && rm -rf react",
"test": "cross-env NODE_ENV=test mocha --require @babel/register --require ./web/js/test_setup.js 'web/js/**/*.test.js'",
"autotest": "yarn run test --watch",
"build": "webpack --mode=production --progress --colors -p",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Expand Up @@ -827,6 +827,11 @@
lodash "^4.17.11"
to-fast-properties "^2.0.0"

"@luontola/react-cache@2.0.0-alpha.2019-05-02":
version "2.0.0-alpha.2019-05-02"
resolved "https://registry.yarnpkg.com/@luontola/react-cache/-/react-cache-2.0.0-alpha.2019-05-02.tgz#07e75dd12fbe292100bd05d0607e1833e9c4416b"
integrity sha512-J+mCugRpLKyS9BKUMvYtwy7fvZGTDVkGrHxFWdTNgzrD6XSljReyV/2BDYk9uRspBpGmd/PaTeXc7UUixMplmQ==

"@octokit/rest@^15.2.6":
version "15.15.1"
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-15.15.1.tgz#7863f50f7c5753211ea3e29e10b84c93159e9e37"
Expand Down

0 comments on commit 2496343

Please sign in to comment.