-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add lerna * added getPolicy to tweek-local-cache * refactor withTweekKeys * load dependencies only if needed * add getPolicy to withTweekKeys config * add tests * code review * add tweek-local-cache getPolicy tests * bump versions * export createProvider
- Loading branch information
Showing
31 changed files
with
7,080 additions
and
1,567 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
node_modules/ | ||
.git/ | ||
coverage-unit/ | ||
.build/ | ||
.typings/ | ||
Dockerfile | ||
dist/ | ||
**/* | ||
!js/ | ||
!lerna.json | ||
!package.json | ||
!yarn.lock | ||
**/.build/ | ||
**/.git/ | ||
**/.idea/ | ||
**/.vscode/ | ||
**/.typings/ | ||
**/coverage-unit/ | ||
**/dist/ | ||
**/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
FROM node:6.10.1-slim | ||
FROM node:8.5.0-slim | ||
|
||
ADD js/react-tweek/package.json /tmp/react-tweek/package.json | ||
RUN cd /tmp/react-tweek && yarn install | ||
RUN mkdir -p /opt/react-tweek && cd /opt/react-tweek && ln -s /tmp/react-tweek/node_modules | ||
COPY lerna.json package.json yarn.lock /opt/ | ||
COPY js/react-tweek/package.json js/react-tweek/yarn.lock /opt/js/react-tweek/ | ||
COPY js/tweek-client/package.json js/tweek-client/yarn.lock /opt/js/tweek-client/ | ||
COPY js/tweek-local-cache/package.json js/tweek-local-cache/yarn.lock /opt/js/tweek-local-cache/ | ||
|
||
ADD js/tweek-local-cache/package.json js/tweek-local-cache/yarn.lock /tmp/tweek-local-cache/ | ||
RUN cd /tmp/tweek-local-cache && yarn install | ||
RUN mkdir -p /opt/tweek-local-cache && cd /opt/tweek-local-cache && ln -s /tmp/tweek-local-cache/node_modules | ||
|
||
ADD js/tweek-client/package.json js/tweek-client/yarn.lock /tmp/tweek-client/ | ||
RUN cd /tmp/tweek-client && yarn install | ||
RUN mkdir -p /opt/tweek-client && cd /opt/tweek-client && ln -s /tmp/tweek-client/node_modules | ||
WORKDIR /opt | ||
RUN yarn && yarn bootstrap | ||
|
||
ADD ./js /opt | ||
COPY . /opt/ | ||
|
||
WORKDIR /opt | ||
CMD ["tail", "-f", "/dev/null"] | ||
CMD yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"presets": ["es2015", "es2017", "react"] | ||
"presets": ["env", "react", "stage-0"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
index.js | ||
index.test.js | ||
/src | ||
.babelrc | ||
.git | ||
node_modules | ||
.babelrc |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.