This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from hvolschenk/fix/dependency-updates
fix: update dependencies use new `dubnium-alpine` base docker image update babel configuration update jest configuration use `files` section in `package.json` instead of `.npmignore`
- Loading branch information
Showing
12 changed files
with
10,960 additions
and
7,340 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,66 +1,11 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.config/ | ||
.node-gyp/ | ||
.npm/ | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
jest_0/ | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
lib/ | ||
coverage/ | ||
dist/ | ||
jest_modules/ | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# OS Specific files | ||
.DS_Store | ||
Thumbs.db | ||
|
||
# Build | ||
lib/ | ||
.ash_history |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
(function() { | ||
var MutationObserver; | ||
|
||
if (window.MutationObserver != null) { | ||
return; | ||
} | ||
|
||
MutationObserver = (function() { | ||
function MutationObserver(callBack) { | ||
this.callBack = callBack; | ||
} | ||
|
||
MutationObserver.prototype.observe = function(element, options) { | ||
this.element = element; | ||
return this.interval = setInterval((function(_this) { | ||
return function() { | ||
var html; | ||
html = _this.element.innerHTML; | ||
if (html !== _this.oldHtml) { | ||
_this.oldHtml = html; | ||
return _this.callBack.apply(null); | ||
} | ||
}; | ||
})(this), 200); | ||
}; | ||
|
||
MutationObserver.prototype.disconnect = function() { | ||
return window.clearInterval(this.interval); | ||
}; | ||
|
||
return MutationObserver; | ||
|
||
})(); | ||
|
||
window.MutationObserver = MutationObserver; | ||
|
||
}).call(this); |
This file was deleted.
Oops, something went wrong.
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,5 +1,10 @@ | ||
FROM node:carbon-alpine | ||
FROM node:dubnium-alpine | ||
|
||
WORKDIR /home/node/app | ||
ENV HOME /home/node/app | ||
|
||
CMD ["npm", "test"] | ||
WORKDIR $HOME | ||
|
||
VOLUME [$HOME] | ||
|
||
RUN chown -Rv node:node $HOME | ||
USER node |
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
module.exports = { | ||
plugins: [ | ||
'@babel/plugin-syntax-dynamic-import', | ||
'@babel/plugin-syntax-import-meta', | ||
'@babel/plugin-proposal-class-properties', | ||
'@babel/plugin-proposal-json-strings', | ||
[ | ||
'@babel/plugin-proposal-decorators', | ||
{ legacy: true }, | ||
], | ||
'@babel/plugin-proposal-function-sent', | ||
'@babel/plugin-proposal-export-namespace-from', | ||
'@babel/plugin-proposal-numeric-separator', | ||
'@babel/plugin-proposal-throw-expressions', | ||
'@babel/plugin-proposal-export-default-from', | ||
'@babel/plugin-proposal-logical-assignment-operators', | ||
'@babel/plugin-proposal-optional-chaining', | ||
[ | ||
'@babel/plugin-proposal-pipeline-operator', | ||
{ proposal: 'minimal' }, | ||
], | ||
'@babel/plugin-proposal-nullish-coalescing-operator', | ||
'@babel/plugin-proposal-do-expressions', | ||
'@babel/plugin-proposal-function-bind', | ||
], | ||
presets: [ | ||
'@babel/preset-env', | ||
'@babel/preset-react', | ||
], | ||
}; |
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 |
---|---|---|
|
@@ -2,6 +2,5 @@ version: "3.0" | |
services: | ||
app: | ||
build: "." | ||
container_name: "lifecycler" | ||
volumes: | ||
- ./:/home/node/app |
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,17 +1,37 @@ | ||
{ | ||
"cacheDirectory": "<rootDir>/jest_modules", | ||
"coveragePathIgnorePatterns": [ | ||
"/node_modules/", | ||
"<rootDir>/.jest" | ||
], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 100, | ||
"functions": 100, | ||
"lines": 100, | ||
"statements": 100 | ||
} | ||
}, | ||
"moduleDirectories": [ | ||
"node_modules", | ||
"src" | ||
], | ||
"moduleFileExtensions": [ | ||
"js", | ||
"json", | ||
"jsx" | ||
], | ||
"roots": [ | ||
"<rootDir>/src" | ||
], | ||
"setupFiles": [ | ||
"<rootDir>/.jest/mutation-observer.js", | ||
"<rootDir>/.jest/shim.js", | ||
"<rootDir>/.jest/test-setup.js" | ||
], | ||
"testPathIgnorePatterns": [ | ||
"/node_modules/", | ||
"<rootDir>/.jest" | ||
] | ||
], | ||
"testURL": "https://0.0.0.0" | ||
} |
Oops, something went wrong.