Skip to content

Commit ce32431

Browse files
Merge pull request #136 from microsoftgraph/dev
Merging release branch with master
2 parents 97cefe8 + 22d1bad commit ce32431

File tree

210 files changed

+16216
-6627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

210 files changed

+16216
-6627
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
# Bug Report
10+
11+
## Prerequisites
12+
13+
- [ ] Can you reproduce the problem?
14+
- [ ] Are you running the latest version?
15+
- [ ] Are you reporting to the correct repository?
16+
- [ ] Did you perform a cursory search?
17+
18+
For more information, see the `CONTRIBUTING` guide.
19+
20+
## Description
21+
22+
[Description of the bug or feature]
23+
24+
**Console Errors:** [Is there any console error]
25+
26+
**Screenshots:** [If applicable, add screenshots to help explain your problem]
27+
28+
## Steps to Reproduce
29+
30+
1. [First Step]
31+
2. [Second Step]
32+
3. [and so on...]
33+
34+
**Expected behavior:** [What you expected to happen]
35+
36+
**Actual behavior:** [What actually happened]
37+
38+
## Additional context
39+
40+
Add any other context about the problem here..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ""
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
# Feature Request
10+
11+
## Is your feature request related to a problem? Please describe
12+
13+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
14+
15+
## Describe the solution you'd like
16+
17+
A clear and concise description of what you want to happen.
18+
19+
## Describe alternatives you've considered
20+
21+
A clear and concise description of any alternative solutions or features you've considered.
22+
23+
## Additional context
24+
25+
Add any other context or screenshots about the feature request here.

.github/pull_request_template.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
A similar PR may already be submitted! Please search among the [Pull request](https://github.com/microsoftgraph/msgraph-sdk-javascript/pulls) before creating one.
2+
3+
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request.
4+
5+
**NOTE: PR's will be accepted only in case of appropriate information is provided below**
6+
7+
## Summary
8+
9+
<!-- Summary of the PR -->
10+
11+
## Motivation
12+
13+
Explain the **motivation** for making this change. What existing problem does the pull request solve?
14+
15+
<!-- Example: When "Adding a function to do X", explain why it is necessary to have a way to do X. -->
16+
17+
## Test plan
18+
19+
Demonstrate the code is solid. Example: The exact commands you ran and their output.
20+
21+
<!-- Make sure tests pass on Travis CI. -->
22+
23+
## Closing issues
24+
25+
<!-- Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). -->
26+
27+
Fixes #
28+
29+
## Types of changes
30+
31+
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
32+
33+
- [ ] Bug fix (non-breaking change which fixes an issue)
34+
- [ ] New feature (non-breaking change which adds functionality)
35+
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
36+
37+
## Checklist
38+
39+
- [ ] I have read the **CONTRIBUTING** document.
40+
- [ ] My code follows the code style of this project.
41+
- [ ] My change requires a change to the documentation.
42+
- [ ] I have updated the documentation accordingly.
43+
- [ ] I have added tests to cover my changes.
44+
- [ ] All new and existing tests passed.

.gitignore

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
/.vscode/*
22
!/.vscode/launch.json
3+
!/.vscode/tasks.json
4+
35
.DS_Store
46
.tmp
57
tmp
68
node_modules
79
typings
10+
coverage
11+
**/*.tgz
12+
npm-debug.log
13+
14+
/lib/*
15+
!/lib/.npmignore
16+
817
src/**/*.js
918
src/**/*.js.map
1019
src/**/*.d.ts
11-
coverage
12-
**/*.tgz
20+
1321
samples/node/secrets.json
14-
samples/browser/secrets.js
15-
npm-debug.log
16-
samples/typescript/sample.js
17-
samples/typescript/sample.d.ts
18-
samples/typescript/graph-typings.d.ts
19-
samples/typescript/sample.js.map
20-
src/index.d.ts
22+
samples/browser/src/secrets.js
23+
samples/browser/src/graph-js-sdk-core.js
24+
samples/browser/src/graph-js-sdk-web.js
2125

2226
spec/**/*.js
2327
spec/**/*.d.ts
2428
spec/**/*.js.map
29+
spec/**/secrets.ts

.huskyrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "lint-staged && npm run lint && npm run test"
4+
}
5+
}

.jshintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"esnext": "true"
3-
}
2+
"esnext": "true"
3+
}

.lintstagedrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"*.css": ["npm run format:css", "git add"],
3+
"*.html": ["npm run format:html", "git add"],
4+
"*.js": ["npm run format:js", "git add"],
5+
"*.json": ["npm run format:json", "git add"],
6+
"*.md": ["npm run format:md", "git add"],
7+
".*rc": ["npm run format:rc", "git add"],
8+
"*.ts": ["npm run format:ts", "git add"]
9+
}

.prettierignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
lib/
2+
3+
src/**/*.js
4+
src/**/*.js.map
5+
src/**/*.d.ts
6+
7+
spec/**/*.js
8+
spec/**/*.js.map
9+
spec/**/*.d.ts

.prettierrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"jsxBracketSameLine": true,
5+
"jsxSingleQuote": false,
6+
"printWidth": 5000,
7+
"proseWrap": "never",
8+
"semi": true,
9+
"singleQuote": false,
10+
"tabWidth": 4,
11+
"trailingComma": "all",
12+
"useTabs": true
13+
}

.travis.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
language: node_js
22
node_js:
33
- "node"
4-
- "6"
5-
- "6.1"
6-
- "6.9"
7-
- "7.2"
8-
- "5"
9-
- "4"
4+
- "lts/*"
5+
- "10.15.1"
6+
- "10.0.0"
7+
- "9.11.2"
8+
- "9.0.0"
9+
- "8.15.0"
10+
- "8.0.0"
11+
- "7.10.1"
12+
- "7.0.0"
13+
- "6.16.0"
14+
- "6.0.0"

0 commit comments

Comments
 (0)