This commit is contained in:
Daniel Gaeta 2016-09-09 11:56:54 -07:00
commit 4b7f7ef3ff
6 changed files with 19 additions and 15 deletions

View File

@ -22,6 +22,7 @@ angular-ngofficeuifabric-todo|Waldek Mastykarz (MVP, Rencore, @waldekm)
Version|Date|Comments
-------|----|--------
1.1|September 9, 2016|Updated sample to SPFx v0.2.0 and changed to loading Angular and ngOfficeUIFabric from CDN
1.0|August 29, 2016|Initial release
## Disclaimer

View File

@ -13,9 +13,14 @@
"office-ui-fabric-react": "node_modules/office-ui-fabric-react/dist/office-ui-fabric-react.js",
"react": "node_modules/react/dist/react.min.js",
"react-dom": "node_modules/react-dom/dist/react-dom.min.js",
"react-dom/server": "node_modules/react-dom/dist/react-dom-server.min.js"
"react-dom/server": "node_modules/react-dom/dist/react-dom-server.min.js",
"angular": {
"path": "https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.8/angular.min.js",
"globalName": "angular"
},
"ng-office-ui-fabric": "https://cdnjs.cloudflare.com/ajax/libs/ngOfficeUiFabric/0.12.3/ngOfficeUiFabric.js"
},
"localizedResources": {
"mystrings": "webparts/toDo/loc/{locale}.js"
"toDoStrings": "webparts/toDo/loc/{locale}.js"
}
}

View File

@ -1,20 +1,18 @@
{
"name": "angular-ngofficeuifabric-todo",
"version": "0.0.1",
"version": "1.1.0",
"private": true,
"engines": {
"node": ">=0.10.0"
},
"dependencies": {
"@microsoft/sp-client-base": "~0.1.12",
"@microsoft/sp-client-preview": "~0.1.12",
"angular": "^1.5.8",
"ng-office-ui-fabric": "^0.12.3"
"@microsoft/sp-client-base": "~0.2.0",
"@microsoft/sp-client-preview": "~0.2.0"
},
"devDependencies": {
"@microsoft/sp-build-web": "~0.4.32",
"@microsoft/sp-module-interfaces": "~0.1.8",
"@microsoft/sp-webpart-workbench": "~0.1.12",
"@microsoft/sp-build-web": "~0.5.0",
"@microsoft/sp-module-interfaces": "~0.2.0",
"@microsoft/sp-webpart-workbench": "~0.2.0",
"gulp": "~3.9.1"
},
"scripts": {

View File

@ -3,7 +3,7 @@
"id": "46f8b70d-55c4-4b4e-8454-053ff5e426fa",
"componentType": "WebPart",
"version": "0.0.1",
"version": "0.0.2",
"manifestVersion": 2,
"preconfiguredEntries": [{

View File

@ -8,7 +8,7 @@ import {
import ModuleLoader from '@microsoft/sp-module-loader';
import styles from './ToDo.module.scss';
import * as strings from 'mystrings';
import * as strings from 'toDoStrings';
import { IToDoWebPartProps } from './IToDoWebPartProps';
import * as angular from 'angular';

View File

@ -1,10 +1,10 @@
declare interface IStrings {
declare interface IToDoStrings {
PropertyPaneDescription: string;
ViewGroupName: string;
HideFinishedTasksFieldLabel: string;
}
declare module 'mystrings' {
const strings: IStrings;
declare module 'toDoStrings' {
const strings: IToDoStrings;
export = strings;
}