Merge pull request #4450 from AriGunawan/feature/upgrade_version

This commit is contained in:
Hugo Bernier 2023-11-18 19:59:26 -08:00 committed by GitHub
commit f32fec9cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 7426 additions and 12144 deletions

View File

@ -1,39 +1,29 @@
// 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.4", "name": "SPFx 1.18.0",
"image": "docker.io/m365pnp/spfx:1.17.4", "image": "docker.io/m365pnp/spfx:1.18.0",
// Set *default* container specific settings.json values on container create. "settings": {},
"settings": {}, "extensions": [
// Add the IDs of extensions you want installed when the container is created. "editorconfig.editorconfig",
"extensions": [ "dbaeumer.vscode-eslint"
"editorconfig.editorconfig", ],
"dbaeumer.vscode-eslint" "forwardPorts": [
], 4321,
// Use 'forwardPorts' to make a list of ports inside the container available locally. 35729
"forwardPorts": [ ],
4321, "portsAttributes": {
35729 "4321": {
], "protocol": "https",
"portsAttributes": { "label": "Manifest",
"4321": { "onAutoForward": "silent",
"protocol": "https", "requireLocalPort": true
"label": "Manifest", },
"onAutoForward": "silent", "35729": {
"requireLocalPort": true "protocol": "https",
}, "label": "LiveReload",
// Not needed for SPFx>= 1.12.1 "onAutoForward": "silent",
// "5432": { "requireLocalPort": true
// "protocol": "https", }
// "label": "Workbench", },
// "onAutoForward": "silent" "postCreateCommand": "bash .devcontainer/spfx-startup.sh",
// }, "remoteUser": "node"
"35729": {
"protocol": "https",
"label": "LiveReload",
"onAutoForward": "silent",
"requireLocalPort": true
}
},
"postCreateCommand": "bash .devcontainer/spfx-startup.sh",
"remoteUser": "node"
} }

View File

@ -1 +1 @@
v14.15.0 v18.18.0

View File

@ -5,9 +5,9 @@
"nodeVersion": "16.15.1", "nodeVersion": "16.15.1",
"sdksVersions": { "sdksVersions": {
"@microsoft/microsoft-graph-client": "3.0.2", "@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.9.1" "@microsoft/teams-js": "2.12.0"
}, },
"version": "1.17.4", "version": "1.18.0",
"libraryName": "react-enhanced-page-properties", "libraryName": "react-enhanced-page-properties",
"libraryId": "54ea24ef-5714-4f81-a9e6-e22f70e0c644", "libraryId": "54ea24ef-5714-4f81-a9e6-e22f70e0c644",
"environment": "spo", "environment": "spo",

View File

@ -5,6 +5,7 @@
This is a web part that goes beyond the standard SharePoint Page Properties web part, offering expanded support for various metadata types and configurations. Effortlessly display key page details based on metadata files, providing a comprehensive view of your content. Streamline information management and enhance user interaction with this versatile and customizable web part. This is a web part that goes beyond the standard SharePoint Page Properties web part, offering expanded support for various metadata types and configurations. Effortlessly display key page details based on metadata files, providing a comprehensive view of your content. Streamline information management and enhance user interaction with this versatile and customizable web part.
Currently support following types: Currently support following types:
- Single line text - Single line text
- Multiple line text - Multiple line text
- Choice - Choice
@ -29,8 +30,8 @@ Currently support following types:
## Compatibility ## Compatibility
![SPFx 1.17.4](https://img.shields.io/badge/SPFx-1.17.4-green.svg) ![SPFx 1.18.0](https://img.shields.io/badge/SPFx-1.18.0-green.svg)
![Node.js v16](https://img.shields.io/badge/Node.js-v16-green.svg) ![Node.js v18](https://img.shields.io/badge/Node.js-v18-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)
![Local Workbench Unsupported](https://img.shields.io/badge/Local%20Workbench-Unsupported-red.svg "Local workbench is no longer available as of SPFx 1.13 and above") ![Local Workbench Unsupported](https://img.shields.io/badge/Local%20Workbench-Unsupported-red.svg "Local workbench is no longer available as of SPFx 1.13 and above")
@ -49,6 +50,7 @@ Currently support following types:
Version|Date|Comments Version|Date|Comments
-------|----|-------- -------|----|--------
1.2|October 29, 2023|Upgrade SPFx version to 1.18
1.1|October 23, 2023|Add support for choice and date fields 1.1|October 23, 2023|Add support for choice and date fields
1.0|September 23, 2023|Initial release 1.0|September 23, 2023|Initial release

View File

@ -10,7 +10,7 @@
"This is a web part that goes beyond the standard SharePoint Page Properties web part, offering expanded support for various metadata types and configurations. Effortlessly display key page details based on metadata files, providing a comprehensive view of your content. Streamline information management and enhance user interaction with this versatile and customizable web part." "This is a web part that goes beyond the standard SharePoint Page Properties web part, offering expanded support for various metadata types and configurations. Effortlessly display key page details based on metadata files, providing a comprehensive view of your content. Streamline information management and enhance user interaction with this versatile and customizable web part."
], ],
"creationDateTime": "2023-09-23", "creationDateTime": "2023-09-23",
"updateDateTime": "2023-10-10", "updateDateTime": "2023-10-28",
"products": [ "products": [
"SharePoint" "SharePoint"
], ],
@ -21,7 +21,7 @@
}, },
{ {
"key": "SPFX-VERSION", "key": "SPFX-VERSION",
"value": "1.17.4" "value": "1.18.0"
} }
], ],
"thumbnails": [ "thumbnails": [

View File

@ -3,7 +3,7 @@
"solution": { "solution": {
"name": "Enhanced Page Properties", "name": "Enhanced Page Properties",
"id": "54ea24ef-5714-4f81-a9e6-e22f70e0c644", "id": "54ea24ef-5714-4f81-a9e6-e22f70e0c644",
"version": "1.1.0.0", "version": "1.2.0.0",
"includeClientSideAssets": true, "includeClientSideAssets": true,
"skipFeatureDeployment": true, "skipFeatureDeployment": true,
"isDomainIsolated": false, "isDomainIsolated": false,

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
"version": "0.0.1", "version": "0.0.1",
"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": {
@ -13,26 +13,27 @@
"serve": "gulp bundle --custom-serve --max_old_space_size=4096 && fast-serve" "serve": "gulp bundle --custom-serve --max_old_space_size=4096 && fast-serve"
}, },
"dependencies": { "dependencies": {
"@fluentui/react": "^7.199.1", "@fluentui/react": "8.106.4",
"@microsoft/sp-component-base": "1.17.4", "@microsoft/sp-adaptive-card-extension-base": "1.18.0",
"@microsoft/sp-core-library": "1.17.4", "@microsoft/sp-component-base": "1.18.0",
"@microsoft/sp-lodash-subset": "1.17.4", "@microsoft/sp-core-library": "1.18.0",
"@microsoft/sp-office-ui-fabric-core": "1.17.4", "@microsoft/sp-lodash-subset": "1.18.0",
"@microsoft/sp-property-pane": "1.17.4", "@microsoft/sp-office-ui-fabric-core": "1.18.0",
"@microsoft/sp-webpart-base": "1.17.4", "@microsoft/sp-property-pane": "1.18.0",
"@microsoft/sp-webpart-base": "1.18.0",
"@pnp/sp": "^3.17.0", "@pnp/sp": "^3.17.0",
"date-fns": "^2.30.0", "date-fns": "^2.30.0",
"office-ui-fabric-react": "^7.199.1",
"react": "17.0.1", "react": "17.0.1",
"react-dom": "17.0.1", "react-dom": "17.0.1",
"tslib": "2.3.1" "tslib": "2.3.1"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/eslint-config-spfx": "1.17.4", "@microsoft/eslint-config-spfx": "1.18.0",
"@microsoft/eslint-plugin-spfx": "1.17.4", "@microsoft/eslint-plugin-spfx": "1.18.0",
"@microsoft/rush-stack-compiler-4.5": "0.5.0", "@microsoft/rush-stack-compiler-4.5": "0.5.0",
"@microsoft/sp-build-web": "1.17.4", "@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-module-interfaces": "1.17.4", "@microsoft/sp-build-web": "1.18.0",
"@microsoft/sp-module-interfaces": "1.18.0",
"@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",
@ -41,7 +42,7 @@
"eslint": "8.7.0", "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",
"spfx-fast-serve-helpers": "~1.17.0", "spfx-fast-serve-helpers": "~1.18.0",
"typescript": "4.5.5" "typescript": "4.7.4"
} }
} }

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