Skip to content

Commit b01fcc0

Browse files
committed
initial commit
0 parents  commit b01fcc0

35 files changed

+7797
-0
lines changed

.eslintignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# http://eslint.org/docs/user-guide/configuring#ignoring-files-and-directories
2+
jsdoc/
3+
doc/
4+
coverage/
5+
dist/
6+
node_modules/
7+
examples/**/node_modules/
8+
9+
test/resources/auth.js
10+
# ignore emitted js
11+
**/*v*.js
12+
!test/**/*.js
13+
lib/*.js
14+
scripts/typedoc/

.eslintrc.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
"env": {
3+
"node": true
4+
},
5+
"plugins": [
6+
"node",
7+
"prettier",
8+
],
9+
"extends": [
10+
"eslint:recommended",
11+
"google",
12+
"plugin:node/recommended",
13+
"prettier",
14+
],
15+
"rules": {
16+
"prettier/prettier": ["error", {"singleQuote": true, "printWidth": 100}],
17+
"prefer-const": "error",
18+
"prefer-rest-params": "off", // https://github.com/mysticatea/eslint-plugin-node/issues/63
19+
// The rest of these override rules that are enabled by one of the configs we extend but not compatible with current codebase
20+
// todo: fix issues and then remove overrides here
21+
"valid-jsdoc": "off", // too many issues; drowns out everything else
22+
"camelcase": "off", // todo: determine if we should keep this off globally, or disable it on a per-line basis
23+
}
24+
};

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.enc binary
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
List the steps that can be used to demonstrate the bug. Include the name of the service and operation that you're trying to invoke, if applicable. Be sure to describe any relevant info regarding parameter values used with your API invocation.
15+
16+
**Expected behavior**
17+
A clear and concise description of what you expected to happen.
18+
19+
**Screenshots**
20+
If applicable, add screenshots to help explain your problem.
21+
22+
**Must gather (please complete the following information):**
23+
- SDK Version [e.g. 1.2.1]
24+
- Node Version [e.g. 12.2]
25+
- Name of service that you're trying to use (if applicable)
26+
- Name of operation that you're trying to invoke (if applicable)
27+
28+
**Additional context**
29+
Add any other context about the problem here.
30+
Were you able to avoid the problem by changing your application code slightly?
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/pull_request_template.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## PR summary
2+
<!-- please include a brief summary of the changes in this PR -->
3+
4+
**Fixes:** <! -- link to issue -->
5+
6+
## PR Checklist
7+
Please make sure that your PR fulfills the following requirements:
8+
- [ ] The commit message follows the [Angular Commit Message Guidelines](https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines).
9+
- [ ] Tests for the changes have been added (for bug fixes / features)
10+
- [ ] Docs have been added / updated (for bug fixes / features)
11+
12+
## PR Type
13+
<!-- Please check the one that applies to this PR using "x". -->
14+
- [ ] Bugfix
15+
- [ ] Feature
16+
- [ ] Code style update (formatting, local variables)
17+
- [ ] Refactoring (no functional changes, no api changes)
18+
- [ ] New tests
19+
- [ ] Build/CI related changes
20+
- [ ] Documentation content changes
21+
- [ ] Other (please describe)
22+
23+
## What is the current behavior?
24+
<!-- Please describe the current behavior that you are modifying. -->
25+
26+
## What is the new behavior?
27+
<!-- Please describe the new behavior after your change. -->
28+
29+
## Does this PR introduce a breaking change?
30+
- [ ] Yes
31+
- [ ] No
32+
33+
<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
34+
35+
## Other information
36+
<!-- Please add any additional information that would help reviewers evaluate your PR -->

.gitignore

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
### Specific to this repository ###
2+
# tsc outputs
3+
lib/*.js
4+
auth/*.js
5+
**/*.d.ts
6+
**/*.js.map
7+
8+
# service-specific tsc outputs (js files)
9+
# IGNORE YOUR SERVICE FILES HERE
10+
direct-link/*.js
11+
transit-gateway/*.js
12+
13+
# file holding service credentials
14+
test/resources/auth.js
15+
16+
# release folder for typescript-generated source files
17+
dist/
18+
19+
### GitHub recommended ###
20+
# Logs
21+
logs
22+
*.log
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
27+
# Runtime data
28+
pids
29+
*.pid
30+
*.seed
31+
*.pid.lock
32+
33+
# Directory for instrumented libs generated by jscoverage/JSCover
34+
lib-cov
35+
36+
# Coverage directory used by tools like istanbul
37+
coverage
38+
39+
# nyc test coverage
40+
.nyc_output
41+
42+
# Compiled binary addons (https://nodejs.org/api/addons.html)
43+
build/Release
44+
45+
# Dependency directories
46+
node_modules/
47+
48+
# TypeScript v1 declaration files
49+
typings/
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional REPL history
58+
.node_repl_history
59+
60+
# Output of 'npm pack'
61+
*.tgz
62+
63+
# Yarn Integrity file
64+
.yarn-integrity
65+
66+
# dotenv environment variables file
67+
*.env
68+
69+
# next.js build output
70+
.next
71+
72+
# MacOS
73+
.DS_Store
74+
75+
# IDE files
76+
.idea
77+
.vscode/
78+
79+
# secrets.tar produced by scripts/update-auth-file.sh
80+
secrets.tar
81+
82+
.project
83+
.classpath
84+
85+
# SDK generator
86+
.openapi-generator*
87+
88+
# package locks
89+
yarn.lock
90+
package-lock.json

.npmignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
test
2+
coverage
3+
.travis.yml
4+
scripts/
5+
tslint.json
6+
.eslintrc.js
7+
.eslintcache
8+
.eslintignore
9+
.github
10+
*.ts
11+
!*.d.ts

.prettierrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
trailingComma: "es5",
3+
singleQuote: true,
4+
printWidth: 100,
5+
quoteProps: 'preserve',
6+
};

.releaserc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"branch": "master",
3+
"verifyConditions": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"],
4+
"prepare": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"],
5+
"publish": [
6+
["@semantic-release/npm", {
7+
"pkgRoot": "dist"
8+
}],
9+
{
10+
"path": "@semantic-release/github"
11+
}
12+
]
13+
}

0 commit comments

Comments
 (0)