Updated to drop 6 and tested with online workbench

This commit is contained in:
Vesa Juvonen 2016-12-05 16:22:08 +02:00
parent 29339cb219
commit 269d299fab
5 changed files with 10 additions and 9 deletions

View File

@ -7,8 +7,9 @@
}
],
"externals": {
"@microsoft/sp-module-loader": "node_modules/@microsoft/sp-module-loader/dist/sp-module-loader.js",
"@microsoft/sp-client-base": "node_modules/@microsoft/sp-client-base/dist/sp-client-base.js",
"@microsoft/sp-client-preview": "node_modules/@microsoft/sp-client-preview/dist/sp-client-preview.js",
"@microsoft/sp-webpart-base": "node_modules/@microsoft/sp-webpart-base/dist/sp-webpart-base.js",
"@microsoft/sp-lodash-subset": "node_modules/@microsoft/sp-lodash-subset/dist/sp-lodash-subset.js",
"office-ui-fabric-react": "node_modules/office-ui-fabric-react/dist/office-ui-fabric-react.js",
"react": "node_modules/react/dist/react.min.js",

View File

@ -44,8 +44,7 @@
"valid-typeof": true,
"variable-name": false,
"whitespace": false,
"prefer-const": true,
"a11y-role": true
"prefer-const": true
}
}
}

View File

@ -6,13 +6,13 @@
"node": ">=0.10.0"
},
"dependencies": {
"@microsoft/sp-client-base": "~0.4.0",
"@microsoft/sp-client-preview": "~0.5.0"
"@microsoft/sp-client-base": "~0.5.1",
"@microsoft/sp-webpart-base": "~0.2.1"
},
"devDependencies": {
"@microsoft/sp-build-web": "~0.7.0",
"@microsoft/sp-module-interfaces": "~0.4.0",
"@microsoft/sp-webpart-workbench": "~0.5.0",
"@microsoft/sp-build-web": "~0.8.1",
"@microsoft/sp-module-interfaces": "~0.5.1",
"@microsoft/sp-webpart-workbench": "~0.6.1",
"@types/angular": "^1.5.16",
"gulp": "~3.9.1"
},

View File

@ -2,6 +2,7 @@
"$schema": "../../../node_modules/@microsoft/sp-module-interfaces/lib/manifestSchemas/jsonSchemas/clientSideComponentManifestSchema.json",
"id": "56d31bd5-3965-4f6a-9c08-bedf6f52e587",
"alias": "ToDoWebPartAngularMigration",
"componentType": "WebPart",
"version": "0.0.1",
"manifestVersion": 2,

View File

@ -4,7 +4,7 @@ import {
IWebPartContext,
PropertyPaneTextField,
PropertyPaneToggle
} from '@microsoft/sp-client-preview';
} from '@microsoft/sp-webpart-base';
import styles from './ToDo.module.scss';
import * as strings from 'toDoStrings';