Merge pull request #4699 from a1mery/react-graph-webpart-report-upgrade-spfx-1.18.2
React graph webpart report upgrade to SPFx v1.18.2
This commit is contained in:
commit
072059a663
|
@ -0,0 +1 @@
|
||||||
|
v18.18.0
|
|
@ -5,9 +5,9 @@
|
||||||
"nodeVersion": "14.18.2",
|
"nodeVersion": "14.18.2",
|
||||||
"sdksVersions": {
|
"sdksVersions": {
|
||||||
"@microsoft/microsoft-graph-client": "3.0.2",
|
"@microsoft/microsoft-graph-client": "3.0.2",
|
||||||
"@microsoft/teams-js": "2.4.1"
|
"@microsoft/teams-js": "2.12.0"
|
||||||
},
|
},
|
||||||
"version": "1.16.1",
|
"version": "1.18.2",
|
||||||
"libraryName": "react-graph-webpart-report",
|
"libraryName": "react-graph-webpart-report",
|
||||||
"libraryId": "d5339db5-8abe-451a-8afe-57a16de5d286",
|
"libraryId": "d5339db5-8abe-451a-8afe-57a16de5d286",
|
||||||
"environment": "spo",
|
"environment": "spo",
|
||||||
|
|
|
@ -19,8 +19,8 @@ This sample web part shows a report of the web parts used on the current site.
|
||||||
|
|
||||||
This sample is optimally compatible with the following environment configuration:
|
This sample is optimally compatible with the following environment configuration:
|
||||||
|
|
||||||
![SPFx 1.17.1](https://img.shields.io/badge/SPFx-1.17.1-green.svg)
|
![SPFx 1.18.2](https://img.shields.io/badge/SPFx-1.18.2-green.svg)
|
||||||
![Node.js v16.13+](https://img.shields.io/badge/Node.js-v16.13+-green.svg)
|
![Node.js v18 | v16](https://img.shields.io/badge/Node.js-v18%20%7C%20v16-green.svg)
|
||||||
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg)
|
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg)
|
||||||
![Does not work with SharePoint 2019](https://img.shields.io/badge/SharePoint%20Server%202019-Incompatible-red.svg "SharePoint Server 2019 requires SPFx 1.4.1 or lower")
|
![Does not work with SharePoint 2019](https://img.shields.io/badge/SharePoint%20Server%202019-Incompatible-red.svg "SharePoint Server 2019 requires SPFx 1.4.1 or lower")
|
||||||
![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%20Server%202016%20(Feature%20Pack%202)-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
|
![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%20Server%202016%20(Feature%20Pack%202)-Incompatible-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
|
||||||
|
@ -51,6 +51,7 @@ Microsoft Graph permission:
|
||||||
| ------- | ---------------- | --------------- |
|
| ------- | ---------------- | --------------- |
|
||||||
| 1.0 | March 23, 2023 | Initial release |
|
| 1.0 | March 23, 2023 | Initial release |
|
||||||
| 2.0 | July 11, 2023 | Add minor features|
|
| 2.0 | July 11, 2023 | Add minor features|
|
||||||
|
| 3.0 | February 12, 2024 | Upgrade to SPFx 1.18.2 |
|
||||||
|
|
||||||
## Minimal Path to Awesome
|
## Minimal Path to Awesome
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"solution": {
|
"solution": {
|
||||||
"name": "react-graph-webpart-report-client-side-solution",
|
"name": "react-graph-webpart-report-client-side-solution",
|
||||||
"id": "d5339db5-8abe-451a-8afe-57a16de5d286",
|
"id": "d5339db5-8abe-451a-8afe-57a16de5d286",
|
||||||
"version": "2.0.0.0",
|
"version": "3.0.0.0",
|
||||||
"includeClientSideAssets": true,
|
"includeClientSideAssets": true,
|
||||||
"skipFeatureDeployment": true,
|
"skipFeatureDeployment": true,
|
||||||
"isDomainIsolated": false,
|
"isDomainIsolated": false,
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
|
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
|
||||||
"port": 4321,
|
"port": 4321,
|
||||||
"https": true,
|
"https": true,
|
||||||
"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx"
|
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx"
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"name": "react-graph-webpart-report",
|
"name": "react-graph-webpart-report",
|
||||||
"version": "2.0.0",
|
"version": "3.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.13.0 <17.0.0"
|
"node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0"
|
||||||
},
|
},
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -12,14 +12,15 @@
|
||||||
"test": "gulp test"
|
"test": "gulp test"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fluentui/react": "^8.108.1",
|
"@fluentui/react": "8.106.4",
|
||||||
"@microsoft/sp-core-library": "^1.17.1",
|
"@microsoft/sp-adaptive-card-extension-base": "1.18.2",
|
||||||
"@microsoft/sp-http": "^1.17.1",
|
"@microsoft/sp-core-library": "1.18.2",
|
||||||
"@microsoft/sp-lodash-subset": "^1.17.1",
|
"@microsoft/sp-http": "1.18.2",
|
||||||
"@microsoft/sp-office-ui-fabric-core": "^1.17.1",
|
"@microsoft/sp-lodash-subset": "1.18.2",
|
||||||
"@microsoft/sp-property-pane": "^1.17.1",
|
"@microsoft/sp-office-ui-fabric-core": "1.18.2",
|
||||||
|
"@microsoft/sp-property-pane": "1.18.2",
|
||||||
"@microsoft/sp-top-actions": "^1.17.1",
|
"@microsoft/sp-top-actions": "^1.17.1",
|
||||||
"@microsoft/sp-webpart-base": "^1.17.1",
|
"@microsoft/sp-webpart-base": "1.18.2",
|
||||||
"@pnp/spfx-controls-react": "^3.13.0",
|
"@pnp/spfx-controls-react": "^3.13.0",
|
||||||
"chart.js": "^4.2.1",
|
"chart.js": "^4.2.1",
|
||||||
"react": "17.0.1",
|
"react": "17.0.1",
|
||||||
|
@ -27,18 +28,20 @@
|
||||||
"tslib": "2.3.1"
|
"tslib": "2.3.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/eslint-config-spfx": "^1.17.1",
|
"@microsoft/eslint-config-spfx": "1.18.2",
|
||||||
"@microsoft/eslint-plugin-spfx": "^1.17.1",
|
"@microsoft/eslint-plugin-spfx": "1.18.2",
|
||||||
"@microsoft/rush-stack-compiler-4.5": "0.2.2",
|
"@microsoft/rush-stack-compiler-4.5": "0.2.2",
|
||||||
"@microsoft/sp-build-web": "^1.17.1",
|
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
|
||||||
"@microsoft/sp-module-interfaces": "^1.17.1",
|
"@microsoft/sp-build-web": "1.18.2",
|
||||||
|
"@microsoft/sp-module-interfaces": "1.18.2",
|
||||||
"@rushstack/eslint-config": "2.5.1",
|
"@rushstack/eslint-config": "2.5.1",
|
||||||
"@types/react": "17.0.45",
|
"@types/react": "17.0.45",
|
||||||
"@types/react-dom": "17.0.17",
|
"@types/react-dom": "17.0.17",
|
||||||
"@types/webpack-env": "~1.15.2",
|
"@types/webpack-env": "~1.15.2",
|
||||||
"ajv": "^6.12.5",
|
"ajv": "^6.12.5",
|
||||||
|
"eslint": "8.7.0",
|
||||||
"eslint-plugin-react-hooks": "4.3.0",
|
"eslint-plugin-react-hooks": "4.3.0",
|
||||||
"gulp": "4.0.2",
|
"gulp": "4.0.2",
|
||||||
"typescript": "4.5.5"
|
"typescript": "4.7.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,7 +118,7 @@ export default class WebPartReportWebPart extends BaseClientSideWebPart<IWebPart
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
onExecute: (actionName, newValue) =>{
|
onExecute: (actionName, newValue) =>{
|
||||||
this.properties.displayOption = newValue;
|
this.properties.displayOption = newValue.toString();
|
||||||
this.render();
|
this.render();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"extends": "./node_modules/@microsoft/rush-stack-compiler-4.5/includes/tsconfig-web.json",
|
"extends": "./node_modules/@microsoft/rush-stack-compiler-4.7/includes/tsconfig-web.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"forceConsistentCasingInFileNames": true,
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
|
Loading…
Reference in New Issue