Upgraded React-MyTasks Solution to SPFx 1.11.0

This commit is contained in:
Swaminathan-Sriram 2020-09-09 17:10:28 +00:00
parent d4f41552ee
commit 8e63048f5d
7 changed files with 11155 additions and 3183 deletions

View File

@ -1,6 +1,6 @@
{
"@microsoft/generator-sharepoint": {
"version": "1.9.1",
"version": "1.11.0",
"libraryName": "react-my-task",
"libraryId": "7cd3a77c-8a8d-4742-9585-e17ca19bfe5d",
"environment": "spo",

View File

@ -20,7 +20,14 @@
"resource": "Microsoft Graph",
"scope": "Directory.AccessAsUser.All"
}
]
],
"developer": {
"name": "",
"privacyUrl": "",
"termsOfUseUrl": "",
"websiteUrl": "",
"mpnId": ""
}
},
"paths": {
"zippedPackage": "solution/react-my-task.sppkg"

File diff suppressed because it is too large Load Diff

View File

@ -15,12 +15,12 @@
"test:watch": "./node_modules/.bin/jest --config ./config/jest.config.json --watchAll"
},
"dependencies": {
"@microsoft/sp-core-library": "1.9.1",
"@microsoft/sp-http": "^1.9.1",
"@microsoft/sp-lodash-subset": "1.9.1",
"@microsoft/sp-office-ui-fabric-core": "1.9.1",
"@microsoft/sp-property-pane": "1.9.1",
"@microsoft/sp-webpart-base": "1.9.1",
"@microsoft/sp-core-library": "1.11.0",
"@microsoft/sp-http": "1.11.0",
"@microsoft/sp-lodash-subset": "1.11.0",
"@microsoft/sp-office-ui-fabric-core": "1.11.0",
"@microsoft/sp-property-pane": "1.11.0",
"@microsoft/sp-webpart-base": "1.11.0",
"@pnp/common": "^1.3.6",
"@pnp/graph": "^1.3.6",
"@pnp/logging": "^1.3.6",
@ -29,15 +29,12 @@
"@pnp/sp": "^1.3.6",
"@pnp/spfx-controls-react": "1.13.2",
"@pnp/spfx-property-controls": "1.15.0",
"@types/es6-promise": "0.0.33",
"@types/jquery": "^3.3.30",
"@types/react-dom": "16.8.3",
"@types/webpack-env": "1.13.1",
"@uifabric/fluent-theme": "^0.16.21",
"date-fns": "^2.5.1",
"jquery": "^3.4.1",
"moment": "^2.24.0",
"office-ui-fabric-react": "^6.209.0",
"office-ui-fabric-react": "6.214.0",
"react": "16.8.5",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "16.8.5",
@ -50,14 +47,17 @@
"devDependencies": {
"@microsoft/microsoft-graph-types": "^1.12.0",
"@microsoft/rush-stack-compiler-2.9": "0.7.16",
"@microsoft/rush-stack-compiler-3.3": "^0.2.37",
"@microsoft/sp-build-web": "1.9.1",
"@microsoft/sp-module-interfaces": "1.9.1",
"@microsoft/sp-tslint-rules": "1.9.1",
"@microsoft/sp-webpart-workbench": "1.9.1",
"@microsoft/rush-stack-compiler-3.3": "0.3.5",
"@microsoft/sp-build-web": "1.11.0",
"@microsoft/sp-module-interfaces": "1.11.0",
"@microsoft/sp-tslint-rules": "1.11.0",
"@microsoft/sp-webpart-workbench": "1.11.0",
"@types/chai": "3.4.34",
"@types/es6-promise": "0.0.33",
"@types/mocha": "2.2.38",
"@types/react": "16.8.8",
"@types/react-dom": "16.8.3",
"@types/webpack-env": "1.13.1",
"@voitanos/jest-preset-spfx-react16": "^1.3.2",
"ajv": "~5.2.2",
"gulp": "~3.9.1",

View File

@ -11,7 +11,8 @@ import { ITaskDetails } from './ITaskDetails';
import { ITaskProperty } from './ITaskProperty';
import { IUser } from './IUser';
import { MSGraphClient, SPHttpClient, SPHttpClientResponse } from '@microsoft/sp-http';
import { PropertyPaneDynamicFieldSet, WebPartContext } from '@microsoft/sp-webpart-base';
import { WebPartContext } from "@microsoft/sp-webpart-base";
import { PropertyPaneDynamicFieldSet } from "@microsoft/sp-property-pane";
import {
SearchProperty,
SearchQuery,

View File

@ -3,10 +3,10 @@ import { IAssign } from "./IAssign";
export interface IAssignsState{
unAssigns: JSX.Element[];
assigns:JSX.Element[];
nonMembers:JSX.Element[];
nonMembers?:JSX.Element[];
hasMoreMembers:boolean;
hasError:boolean;
messageError: string;
isloading: boolean;
searchValue:string;
searchValue?:string;
}

View File

@ -29,7 +29,7 @@
]
},
"include": [
"src/**/*.ts", "src/webparts/myTasks/components/CheckList/CheckList.tsx"
"src/**/*.ts", "src/webparts/myTasks/components/CheckList/CheckList.tsx", "src/**/*.tsx"
],
"exclude": [
"node_modules",