Skip to content

Commit e2e107f

Browse files
authored
Merge pull request #28 from microsoftgraph/npm-name-migration
Update to use @microsoft npm
2 parents 77e374d + 399b96b commit e2e107f

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
> Important update for 1/13/2017! We're migrating this package to the @microsoft npm account. In the meantime, please download from https://www.npmjs.com/package/msgraph-sdk-javascript
2-
31
# Microsoft Graph JavaScript Client Library
4-
[![npm version badge](https://img.shields.io/npm/v/msgraph-sdk-javascript.svg?maxAge=86400)](https://www.npmjs.com/package/msgraph-sdk-javascript)
2+
[![npm version badge](https://img.shields.io/npm/v/@microsoft/microsoft-graph-client.svg?maxAge=86400)](https://www.npmjs.com/package/@microsoft/microsoft-graph-client)
53
[![Travis](https://img.shields.io/travis/microsoftgraph/msgraph-sdk-javascript.svg?maxAge=2592000?style=flat-square)](https://travis-ci.org/microsoftgraph/msgraph-sdk-javascript)
64

75
The Microsoft Graph JavaScript client library is a lightweight wrapper around the Microsoft Graph API that supports both Node and the browser. See the [samples](samples) folder for code examples. You can also use our [TypeScript graph types](https://github.com/microsoftgraph/msgraph-typescript-typings) with this library.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/microsoft-graph-client",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "Microsoft Graph Client Library",
55
"main": "lib/src/index.js",
66
"typings": "lib/src/index",

samples/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.2.2",
44
"description": "TypeScript Sample",
55
"devDependencies": {
6-
"msgraph-types": "https://github.com/microsoftgraph/msgraph-typescript-typings.git",
6+
"@microsoft/microsoft-graph-types": "^0.3.1",
77
"typescript": "^2.1"
88
}
99
}

samples/typescript/sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {Client as GraphClient} from "../../lib/src/index";
99
// These are the types for graph nodes that are published separetlely (User field types, messages, contacts, etc.)
1010
// To reference Microsoft Graph types, see directions at https://github.com/microsoftgraph/msgraph-typescript-typings/
1111
// The dependency has been added in package.json, so just run npm install
12-
import * as MicrosoftGraph from "microsoft-graph-typings"
12+
import * as MicrosoftGraph from "@microsoft/microsoft-graph-types"
1313

1414

1515
const client = GraphClient.init({

0 commit comments

Comments
 (0)