-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b5940ab
Showing
33 changed files
with
7,474 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
"targets": { | ||
"node": "6.9" | ||
} | ||
}] | ||
], | ||
"plugins": [ | ||
"transform-runtime" | ||
], | ||
"sourceMaps": true, | ||
"retainLines": true | ||
} |
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,5 @@ | ||
.git* | ||
.editorconfig | ||
.travis.yml | ||
node_modules/ | ||
/scripts |
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,20 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.js] | ||
max_line_length = 80 | ||
|
||
[*.json] | ||
indent_size = 2 | ||
max_line_length = null | ||
|
||
[*.{yaml,yml}] | ||
indent_size = 2 | ||
max_line_length = null |
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,3 @@ | ||
node_modules | ||
test/**/!(*.test.js) | ||
dist |
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,13 @@ | ||
parser: babel-eslint | ||
plugins: | ||
- babel | ||
extends: | ||
- eslint:recommended | ||
env: | ||
es6: true | ||
node: true | ||
parserOptions: | ||
sourceType: module | ||
rules: | ||
no-console: "off" |
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 @@ | ||
* text=auto eol=lf |
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,64 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# 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 | ||
|
||
# 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 (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
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 | ||
|
||
# next.js build output | ||
.next | ||
|
||
# Distribution dir | ||
/dist |
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,12 @@ | ||
**/*.js.map | ||
app/ | ||
.git* | ||
.eslint* | ||
.babelrc | ||
gulpfile.js | ||
beer-sample/ | ||
Dockerfile | ||
.dockerignore | ||
.editorconfig | ||
.travis.yml | ||
/scripts |
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,26 @@ | ||
sudo: required | ||
language: node_js | ||
node_js: | ||
- node | ||
services: | ||
- docker | ||
before_script: | ||
- scripts/set_version.sh | ||
script: | ||
- npm run-script lint | ||
- npm run-script build | ||
- docker build -t btburnett3/couchbase-index-manager:${TRAVIS_BUILD_NUMBER} . | ||
deploy: | ||
- provider: script | ||
script: scripts/docker_push.sh | ||
on: | ||
tags: true | ||
- provider: npm | ||
email: bburnett@centeredgesoftware.com | ||
api_key: | ||
secure: WaLhM7/6Kti9B671UpoYyAE+Z4tw/LyiEJq2cWaqW771qY2OM5uXlcKZHSJaszbDscKmsOJJtoM1YQ1nrOjDWyAeviaJBFkoMKPVYHH6ZMiB6RIlyFSvWoEFGO5IHQwSg4H1EXXT6FdMG8VdnZhhlVdFT1oKk16fKxRxp2b4Tuv2A4l43mezn6IV/NJ15FbFCtw/t5eWMn5tqUMCx9X5X8wP7nUDXHUiv1+erfUr7tgXO0gZmmlDgaZeFnfmTqPmC9Cd1BVF6fEpeYljqDIyoiCJz1XGBrHxXwCr6Nxqz7wb81/yBsp6tvhtfUcUwDgS+B3CKi3KlbK8e5stBVPfA0+/VagjjXFtbmqKTZAxmxSSd1HP4g/4Cwe8cIIF93i7GEWGwBPB8C6VMSaC0OFr+gwmlTFDCZ15uz9bw3amDdkSHQFVn8YTW8Hr9irBpsIaf80azMNCtXz2beBpEZ+Yblx1DwuCO7q/8HcLunhV6FWr1Was/Y6Z6ILIummaYVpIQHPD5Qh+cRSUd/Q/jiAWsWv/0lYaw0KhAxNquoRhQo2guyz+r84pisQ9AZDU4Jd8MRa08qTjxOlrY+0nNWJp4j1dc0J1QO/ADG/gdu/z3/KwkzWCsqtF6fWdQGzU1EkEjPs1P071NcU0mFTYJso8HTEQo1dfEDdeduFKeSPg6PA= | ||
on: | ||
tags: true | ||
cache: | ||
directories: | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Sync", | ||
"program": "${workspaceFolder}/dist/cli.js", | ||
"runtimeArgs": ["--nolazy"], | ||
"args": [ | ||
"-p", | ||
"password", | ||
"sync", | ||
"beer-sample", | ||
"./example/beer-sample" | ||
], | ||
"console": "integratedTerminal", | ||
"sourceMaps": true, | ||
"smartStep": true, | ||
"outFiles": ["${workspaceRoot}/dist/**/*.js"], | ||
"skipFiles": [ | ||
"${workspaceRoot}/node_modules/**/*.js", | ||
"<node_internals>/**/*.js" | ||
] | ||
} | ||
] | ||
} |
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,9 @@ | ||
// Place your settings in this file to overwrite default and user settings. | ||
{ | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.DS_Store": true, | ||
"dist/**": true, | ||
"node_modules/**": true | ||
} | ||
} |
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,21 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "gulp", | ||
"task": "build", | ||
"problemMatcher": [ | ||
"$pester" | ||
] | ||
}, | ||
{ | ||
"type": "gulp", | ||
"task": "watch", | ||
"problemMatcher": [ | ||
"$pester" | ||
] | ||
} | ||
] | ||
} |
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,14 @@ | ||
FROM node:8-alpine as build | ||
|
||
WORKDIR /app | ||
COPY package*.json ./ | ||
RUN npm install | ||
COPY ./ ./ | ||
RUN npm run-script lint && \ | ||
npm run-script build | ||
|
||
FROM node:8-alpine | ||
LABEL maintainer=bburnett@centeredgesoftware.com | ||
WORKDIR /app | ||
COPY --from=build /app ./ | ||
ENTRYPOINT ["/app/bin/couchbase-index-manager"] |
Oops, something went wrong.