From 043260c1f3a9dbe2f30d0d4e5fe14ca960f4b4f1 Mon Sep 17 00:00:00 2001 From: AdminGkim Date: Thu, 3 Oct 2024 19:57:25 -0400 Subject: [PATCH] Upgrade Fluent UI 9 Demo web part to latest version of SPFx (1.20.0) --- samples/react-fluentui-9/README.md | 2 ++ samples/react-fluentui-9/package.json | 30 +++++++++++++++------------ 2 files changed, 19 insertions(+), 13 deletions(-) diff --git a/samples/react-fluentui-9/README.md b/samples/react-fluentui-9/README.md index db8e093c7..cdbc84d83 100644 --- a/samples/react-fluentui-9/README.md +++ b/samples/react-fluentui-9/README.md @@ -45,6 +45,7 @@ This demos the use of the new [Fluent UI version 9](https://github.com/microsoft * [Nick Brown](https://github.com/techienickb) + ## Version history Version|Date|Comments @@ -54,6 +55,7 @@ Version|Date|Comments 1.0.2|January 18, 2023|Updated SPFx 1.16.1 1.0.2|May 15, 2023|Updated SPFx 1.17.2, latest Fluent UI 9 1.0.4|January 6, 2023|Updated SPFx 1.18.2, latest Fluent UI 9, override to get package builds working +1.0.5|October 3, 2024|Updated to SPFx 1.20.0, latest Fluent UI 9 (9.54.17) - Clone this repository (or [download this solution as a .ZIP file](https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-fluentui-9) then unzip it) - From your command-line, change your current directory to the directory containing this sample (`react-fluentui-9`, located under `samples`) diff --git a/samples/react-fluentui-9/package.json b/samples/react-fluentui-9/package.json index 8a48aadcf..7a021e500 100644 --- a/samples/react-fluentui-9/package.json +++ b/samples/react-fluentui-9/package.json @@ -12,25 +12,29 @@ "test": "gulp test" }, "dependencies": { - "@fluentui/react-components": "^9.44.1", - "@fluentui/react-migration-v8-v9": "^9.4.43", - "@microsoft/sp-component-base": "1.18.2", - "@microsoft/sp-core-library": "1.18.2", - "@microsoft/sp-lodash-subset": "1.18.2", - "@microsoft/sp-office-ui-fabric-core": "1.18.2", - "@microsoft/sp-property-pane": "1.18.2", - "@microsoft/sp-webpart-base": "1.18.2", + "@fluentui/react-components": "^9.54.17", + "@fluentui/react-migration-v8-v9": "^9.6.33", + "@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", + "i": "^0.3.7", + "npm": "^10.9.0", "react": "17.0.1", "react-dom": "17.0.1", "tslib": "2.3.1" }, "devDependencies": { - "@microsoft/eslint-config-spfx": "1.18.2", - "@microsoft/eslint-plugin-spfx": "1.18.2", + "@microsoft/eslint-config-spfx": "^1.20.0", + "@microsoft/eslint-plugin-spfx": "^1.20.0", + "@microsoft/generator-sharepoint": "^1.20.0", "@microsoft/rush-stack-compiler-4.7": "0.1.0", - "@microsoft/sp-build-web": "1.18.2", - "@microsoft/sp-module-interfaces": "1.18.2", - "@rushstack/eslint-config": "2.5.1", + "@microsoft/sp-build-web": "^1.20.2", + "@microsoft/sp-module-interfaces": "^1.20.2", + "@rushstack/eslint-config": "^2.6.2", + "@rushstack/eslint-plugin": "^0.16.1", "@types/react": "17.0.45", "@types/react-dom": "17.0.17", "@types/webpack-env": "~1.15.2",