mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-13 00:15:35 +00:00
Merge Refresh Rangers PR - Update Modern Script Editor to SPFx v1.20.0 (#5273)
* Update Modern Script Editor to SPFx v1.20.0 * Update samples/react-script-editor/package.json Co-authored-by: Adam Wójcik <58668583+Adam-it@users.noreply.github.com> * chore: Add List of Contributors --------- Co-authored-by: Adam Wójcik <58668583+Adam-it@users.noreply.github.com>
This commit is contained in:
parent
e289eac9a6
commit
7742268b61
@ -1,7 +1,7 @@
|
||||
{
|
||||
"@microsoft/generator-sharepoint": {
|
||||
"libraryName": "pnp-script-editor",
|
||||
"version": "1.19.0",
|
||||
"version": "1.20.0",
|
||||
"environment": "spo",
|
||||
"isDomainIsolated": false,
|
||||
"libraryId": "1425175f-3ed8-44d2-8fc4-dd1497191294",
|
||||
@ -10,7 +10,7 @@
|
||||
"componentType": "webpart",
|
||||
"nodeVersion": "16.20.0",
|
||||
"sdkVersions": {
|
||||
"@microsoft/teams-js": "2.12.0",
|
||||
"@microsoft/teams-js": "2.24.0",
|
||||
"@microsoft/microsoft-graph-client": "3.0.2"
|
||||
}
|
||||
}
|
||||
|
@ -153,8 +153,8 @@ In order to make it available to absolutely all sites you need apply the *Deploy
|
||||
|
||||
This sample is optimally compatible with the following environment configuration:
|
||||
|
||||
![SPFx 1.16.1](https://img.shields.io/badge/SPFx-1.16.1-green.svg)
|
||||
![Node.js v16 | v14 | v12](https://img.shields.io/badge/Node.js-v16%20%7C%20v14%20%7C%20v12-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)
|
||||
![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 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")
|
||||
@ -173,6 +173,7 @@ This sample is optimally compatible with the following environment configuration
|
||||
* [Felix Bohnacker](https://github.com/felixbohnackerfelixbohnacker)
|
||||
* [salascz](https://github.com/salascz)
|
||||
* [Waldek Mastykarz](https://github.com/waldekmastykarz)
|
||||
* [Luccas Castro](https://github.com/devpio)
|
||||
|
||||
## Version history
|
||||
|
||||
@ -204,7 +205,7 @@ Version|Date|Comments
|
||||
1.0.23.0|September 7, 2023|Upgrade to SPFx 1.17.4
|
||||
1.0.24.0|March 8, 2024|Upgrade to SPFx 1.18.2
|
||||
1.0.25.0|September 25, 2024|Upgrade to SPFx 1.19.0, added support for audience targeting using SharePoint Groups, Entra Groups and individuals.
|
||||
|
||||
1.0.26.0|October 1, 2024|Upgrade to SPFx 1.20.0
|
||||
|
||||
## Minimal Path to Awesome
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
"Coming from old classic SharePoint pages you might have existing script solutions you want to re-use on a modern page without having to repackage it as a new SharePoint Framework web part."
|
||||
],
|
||||
"creationDateTime": "2019-10-13",
|
||||
"updateDateTime": "2023-04-24",
|
||||
"updateDateTime": "2024-10-01",
|
||||
"products": [
|
||||
"SharePoint"
|
||||
],
|
||||
@ -20,7 +20,7 @@
|
||||
},
|
||||
{
|
||||
"key": "SPFX-VERSION",
|
||||
"value": "1.16.1"
|
||||
"value": "1.20.0"
|
||||
},
|
||||
{
|
||||
"key": "SPFX-FULLPAGEAPP",
|
||||
@ -64,10 +64,10 @@
|
||||
"pictureUrl": "https://github.com/salascz.png"
|
||||
},
|
||||
{
|
||||
"gitHubAccount": "wobba",
|
||||
"name": "Mikael Svenson",
|
||||
"pictureUrl": "https://github.com/wobba.png"
|
||||
}
|
||||
"gitHubAccount": "wobba",
|
||||
"name": "Mikael Svenson",
|
||||
"pictureUrl": "https://github.com/wobba.png"
|
||||
}
|
||||
],
|
||||
"references": [
|
||||
{
|
||||
@ -87,4 +87,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
@ -3,7 +3,7 @@
|
||||
"solution": {
|
||||
"name": "Modern Script Editor web part by mikaelsvenson",
|
||||
"id": "1425175f-3ed8-44d2-8fc4-dd1497191294",
|
||||
"version": "1.0.25.0",
|
||||
"version": "1.0.26.0",
|
||||
"includeClientSideAssets": true,
|
||||
"skipFeatureDeployment": false,
|
||||
"isDomainIsolated": false,
|
||||
@ -30,7 +30,7 @@
|
||||
"title": "PnP Modern Script Editor Web Part Feature",
|
||||
"description": "The feature that activates ScriptEditorWebPart from the pnp-script-editor solution.",
|
||||
"id": "3a328f0a-99c4-4b28-95ab-fe0847f657a3",
|
||||
"version": "1.0.25.0",
|
||||
"version": "1.0.26.0",
|
||||
"componentIds": [
|
||||
"3a328f0a-99c4-4b28-95ab-fe0847f657a3"
|
||||
]
|
||||
|
23299
samples/react-script-editor/package-lock.json
generated
23299
samples/react-script-editor/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,16 +7,16 @@
|
||||
"@types/react": "16.8.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0"
|
||||
"node": ">=18.17.1 <19.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fluentui/react": "8.106.4",
|
||||
"@microsoft/sp-adaptive-card-extension-base": "1.19.0",
|
||||
"@microsoft/sp-core-library": "1.19.0",
|
||||
"@microsoft/sp-loader": "1.19.0",
|
||||
"@microsoft/sp-lodash-subset": "1.19.0",
|
||||
"@microsoft/sp-property-pane": "1.19.0",
|
||||
"@microsoft/sp-webpart-base": "1.19.0",
|
||||
"@microsoft/sp-adaptive-card-extension-base": "1.20.0",
|
||||
"@microsoft/sp-core-library": "1.20.0",
|
||||
"@microsoft/sp-loader": "1.20.0",
|
||||
"@microsoft/sp-lodash-subset": "1.20.0",
|
||||
"@microsoft/sp-property-pane": "1.20.0",
|
||||
"@microsoft/sp-webpart-base": "1.20.0",
|
||||
"@pnp/sp": "^2.5.0",
|
||||
"@pnp/spfx-controls-react": "3.19.0",
|
||||
"@pnp/spfx-property-controls": "3.18.0",
|
||||
@ -25,18 +25,17 @@
|
||||
"tslib": "2.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@microsoft/eslint-config-spfx": "1.20.1",
|
||||
"@microsoft/eslint-plugin-spfx": "1.20.1",
|
||||
"@microsoft/rush-stack-compiler-4.5": "0.5.0",
|
||||
"@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.1",
|
||||
"@microsoft/sp-module-interfaces": "1.20.1",
|
||||
"@rushstack/eslint-config": "2.5.1",
|
||||
"@microsoft/sp-build-web": "1.20.2",
|
||||
"@microsoft/sp-module-interfaces": "1.20.2",
|
||||
"@rushstack/eslint-config": "4.0.1",
|
||||
"@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.7.4",
|
||||
@ -47,4 +46,4 @@
|
||||
"clean": "gulp clean",
|
||||
"test": "gulp test"
|
||||
}
|
||||
}
|
||||
}
|
@ -146,7 +146,7 @@ export default class ScriptEditorWebPart extends BaseClientSideWebPart<IScriptEd
|
||||
allowDuplicate: false,
|
||||
principalType: [PrincipalType.SharePoint, PrincipalType.Users, PrincipalType.Security],
|
||||
onPropertyChange: this.onPropertyPaneFieldChanged,
|
||||
context: this.context,
|
||||
context: this.context as any,
|
||||
properties: this.properties,
|
||||
onGetErrorMessage: null,
|
||||
deferredValidationTime: 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user