Skip to content

Commit 1b8b5b6

Browse files
committed
Support dockerized bundling, add tests
1 parent c13ed85 commit 1b8b5b6

10 files changed

+2265
-32
lines changed

Diff for: .eslintrc.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
module.exports = {
2+
env: {
3+
es6: true,
4+
node: true
5+
},
6+
extends: "eslint:recommended",
7+
parserOptions: {
8+
sourceType: "module"
9+
},
10+
rules: {
11+
indent: ["error", 2],
12+
"linebreak-style": ["error", "unix"],
13+
quotes: ["warn", "double", { avoidEscape: true }],
14+
semi: ["error", "always"]
15+
}
16+
};

Diff for: .gitignore

+43
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
dist
11+
12+
# Directory for instrumented libs generated by jscoverage/JSCover
13+
lib-cov
14+
15+
# Coverage directory used by tools like istanbul
116
coverage
17+
.coverage
18+
htmlcov
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directory
30+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
231
node_modules
32+
33+
#IDE Stuff
34+
**/.idea
35+
36+
#OS STUFF
37+
.DS_Store
38+
.tmp
39+
40+
#SERVERLESS STUFF
41+
admin.env
42+
.env
43+
44+
#RUBY STUFF
45+
simplecov
346
vendor

Diff for: Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM lambci/lambda:build-ruby2.5
2+
CMD ["/bin/bash", "-c", "bundle install --path vendor/bundle && chown -Rf `stat -c \"%u:%g\" .` .bundle vendor"]

0 commit comments

Comments
 (0)