Merge pull request #5319 from DevPio/upgraded-to-spfx-issue-5240-v1.20.0

This commit is contained in:
Hugo Bernier 2024-10-28 10:55:25 -05:00 committed by GitHub
commit 457806b3fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with 21678 additions and 21554 deletions

View File

@ -21571,7 +21571,7 @@
"This SPFx app allows quick access to user agenda, ToDo Tasks, Files and News and Relevant People related to user."
],
"creationDateTime": "2023-06-23",
"updateDateTime": "2023-06-23",
"updateDateTime": "2024-10-22",
"products": [
"SharePoint"
],
@ -21582,7 +21582,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.17.2"
"value": "1.20.0"
}
],
"thumbnails": [

View File

@ -16,8 +16,8 @@ This SPFx app allows quick access to user agenda, ToDo Tasks, Files and News an
| Every SPFx version is only compatible with specific version(s) of Node.js. In order to be able to build this sample, please ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node.|
|Refer to <https://aka.ms/spfx-matrix> for more information on SPFx compatibility. |
![SPFx 1.17.2](https://img.shields.io/badge/SPFx-1.17.2-green.svg)
![Node.js v16 | v14](https://img.shields.io/badge/Node.js-v16%20|%20v14-green.svg)
![SPFx 1.20.0](https://img.shields.io/badge/SPFx-1.20.0-green.svg)
![Node.js v18 ](https://img.shields.io/badge/Node.js-v18-green.svg)
![SharePoint Online](https://img.shields.io/badge/SharePoint-Online-yellow.svg)
![Workbench Hosted: Does not work with local workbench](https://img.shields.io/badge/Workbench-Hosted-yellow.svg "Does not work with local workbench")
![Compatible with Remote Containers](https://img.shields.io/badge/Remote%20Containers-Compatible-green.svg)
@ -43,12 +43,15 @@ Please add the required Microsoft Graph Permissions. Please see [Microsoft Grap
## Contributors
* [João Mendes](https://github.com/joaojmendes)
* [Luccas Castro](https://github.com/DevPio)
## Version history
Version|Date|Comments
-------|----|--------
1.0.0|June 23, 2023|Initial release
1.0.1.0|October 22, 2024|Upgrade to SPFx 1.20.0
## Minimal Path to Awesome

View File

@ -10,7 +10,7 @@
"This SPFx app allows quick access to user agenda, ToDo Tasks, Files and News and Relevant People related to user."
],
"creationDateTime": "2023-06-23",
"updateDateTime": "2023-06-23",
"updateDateTime": "2024-10-22",
"products": [
"SharePoint"
],
@ -21,7 +21,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.17.2"
"value": "1.20.0"
}
],
"thumbnails": [

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"version": "0.0.1",
"description": "",
"engines": {
"node": "16"
"node": ">=18.17.1 <19.0.0"
},
"author": "",
"scripts": {

View File

@ -1,7 +1,7 @@
// For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer
{
"name": "SPFx 1.17.2",
"image": "docker.io/m365pnp/spfx:1.17.2",
"name": "SPFx 1.20.0",
"image": "docker.io/m365pnp/spfx:1.20.0",
// Set *default* container specific settings.json values on container create.
"settings": {},
// Add the IDs of extensions you want installed when the container is created.

View File

@ -0,0 +1 @@
v18.17.1

View File

@ -13,9 +13,9 @@
"nodeVersion": "14.15.2",
"sdksVersions": {
"@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.9.1"
"@microsoft/teams-js": "2.24.0"
},
"version": "1.17.2",
"version": "1.20.0",
"libraryName": "my-dash-board-sp-fx",
"libraryId": "300aa27b-51c6-4b0d-8f82-b9743c1f9257",
"packageManager": "npm",

View File

@ -3,7 +3,7 @@
"solution": {
"name": "my-dash-board-sp-fx",
"id": "300aa27b-51c6-4b0d-8f82-b9743c1f9257",
"version": "1.0.0.0",
"version": "1.0.1.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": false,
@ -30,7 +30,7 @@
"title": "my-dash-board-sp-fx Feature",
"description": "The feature that activates elements of the my-dash-board-sp-fx solution.",
"id": "d2d72346-382b-4d70-bfd6-e2ef988ac8fc",
"version": "1.0.0.0"
"version": "1.0.1.0"
}
]
},

File diff suppressed because it is too large Load Diff

View File

@ -3,26 +3,30 @@
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=16.13.0 <17.0.0"
"node": ">=18.17.1 <19.0.0"
},
"main": "lib/index.js",
"resolutions": {
"@types/react": "16.8.8"
},
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
},
"dependencies": {
"@fluentui/react": "^7.199.1",
"@fluentui/react": "8.106.4",
"@fluentui/react-components": "^9.20.4",
"@microsoft/load-themed-styles": "^2.0.45",
"@microsoft/mgt": "^3.0.0-rc.3",
"@microsoft/mgt-react": "^3.0.0-rc.3",
"@microsoft/sp-component-base": "1.17.2",
"@microsoft/sp-core-library": "1.17.2",
"@microsoft/sp-lodash-subset": "1.17.2",
"@microsoft/sp-office-ui-fabric-core": "1.17.2",
"@microsoft/sp-property-pane": "1.17.2",
"@microsoft/sp-webpart-base": "1.17.2",
"@microsoft/sp-adaptive-card-extension-base": "1.20.0",
"@microsoft/sp-component-base": "1.20.0",
"@microsoft/sp-core-library": "1.20.0",
"@microsoft/sp-lodash-subset": "1.20.0",
"@microsoft/sp-office-ui-fabric-core": "1.20.0",
"@microsoft/sp-property-pane": "1.20.0",
"@microsoft/sp-webpart-base": "1.20.0",
"@pnp/logging": "3.14",
"@pnp/sp": "3.16",
"@pnp/spfx-controls-react": "^3.14.0",
@ -33,7 +37,6 @@
"date-fns-tz": "^2.0.0",
"jotai": "^2.1.0",
"markdown-it": "^13.0.1",
"office-ui-fabric-react": "^7.199.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"swiper": "^8.4.7",
@ -41,21 +44,20 @@
"webpack": "^5.85.1"
},
"devDependencies": {
"@fluentui/react": "^7.199.1",
"@microsoft/eslint-config-spfx": "1.17.2",
"@microsoft/eslint-plugin-spfx": "1.17.2",
"@microsoft/rush-stack-compiler-4.5": "0.5.0",
"@microsoft/sp-build-web": "1.17.2",
"@microsoft/sp-module-interfaces": "1.17.2",
"@rushstack/eslint-config": "2.5.1",
"@microsoft/eslint-config-spfx": "1.20.2",
"@microsoft/eslint-plugin-spfx": "1.20.2",
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-build-web": "1.20.2",
"@microsoft/sp-module-interfaces": "1.20.2",
"@rushstack/eslint-config": "4.0.1",
"@types/markdown-it": "^12.2.3",
"@types/react": "17.0.45",
"@types/react-dom": "17.0.17",
"@types/webpack-env": "~1.15.2",
"ajv": "^6.12.5",
"eslint": "8.7.0",
"eslint": "8.57.0",
"eslint-plugin-react-hooks": "4.3.0",
"gulp": "4.0.2",
"typescript": "4.5.5"
"typescript": "4.7.4"
}
}

View File

@ -4,7 +4,7 @@ import * as React from 'react';
import { Spinner } from '@fluentui/react-components';
import {
SearchResults,
} from '@microsoft/mgt-react/dist/es6/generated/react-preview';
} from '@microsoft/mgt-react/dist/es6/generated/react';
import {
MgtTemplateProps,
} from '@microsoft/mgt-react/dist/es6/MgtTemplateProps';

View File

@ -22,7 +22,7 @@ import {
/**
* Creates v9 color tokens from a v8 palette.
*/
const mapAliasColors = (palette: IPalette, inverted: boolean): ColorTokens => {
const mapAliasColors = (palette: IPalette, inverted: boolean): Partial<ColorTokens> => {
return {
colorNeutralForeground1: palette.neutralPrimary,
colorNeutralForeground1Hover: palette.neutralPrimary,

View File

@ -2,7 +2,7 @@ import * as React from 'react';
import * as ReactDom from 'react-dom';
import * as strings from 'DashBoardWebPartStrings';
import { Theme } from 'office-ui-fabric-react';
import {
Providers,
@ -24,6 +24,7 @@ import { EAppHostName } from '../../models/EAppHostName';
import { getSP } from '../../pnpjs/pnpjsConfig';
import { Dashboard } from './DashBoard';
import { IDashBoardProps } from './IDashBoardProps';
import { Theme } from '@fluentui/react';
export interface IDashBoardWebPartProps {
title: string;

View File

@ -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": {
"target": "es5",
"forceConsistentCasingInFileNames": true,