Skip to content

Commit

Permalink
Merge pull request #4679 from techienickb/react-pages-hieracrchy-spfx…
Browse files Browse the repository at this point in the history
…1.18.2-update
  • Loading branch information
hugoabernier authored Jan 20, 2024
2 parents 352850b + 3be484c commit d6b9df3
Show file tree
Hide file tree
Showing 32 changed files with 31,764 additions and 26,250 deletions.
8 changes: 4 additions & 4 deletions samples/react-pages-hierarchy/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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.14.0",
"image": "docker.io/m365pnp/spfx:1.14.0",
"name": "SPFx 1.18.2",
"image": "docker.io/m365pnp/spfx:1.18.2",
// Set *default* container specific settings.json values on container create.
"settings": {},
// Add the IDs of extensions you want installed when the container is created.
Expand All @@ -21,7 +21,7 @@
"onAutoForward": "silent",
"requireLocalPort": true
},
// Not needed for SPFx>= 1.12.1
// Not needed for SPFx>= 1.12.1
// "5432": {
// "protocol": "https",
// "label": "Workbench",
Expand All @@ -36,4 +36,4 @@
},
"postCreateCommand": "bash .devcontainer/spfx-startup.sh",
"remoteUser": "node"
}
}
352 changes: 352 additions & 0 deletions samples/react-pages-hierarchy/.eslintrc.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions samples/react-pages-hierarchy/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ release# .CER Certificates
*.cer
# .PEM Certificates
*.pem
#heft
.heft
1 change: 1 addition & 0 deletions samples/react-pages-hierarchy/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18.18.0
9 changes: 7 additions & 2 deletions samples/react-pages-hierarchy/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
"@microsoft/generator-sharepoint": {
"isCreatingSolution": true,
"environment": "spo",
"version": "1.14.0",
"version": "1.18.2",
"libraryName": "react-pages-hierarchy",
"libraryId": "89758fb6-85e2-4e2b-ac88-4f4e7e5f60cb",
"packageManager": "npm",
"isDomainIsolated": false,
"componentType": "webpart"
"componentType": "webpart",
"sdkVersions": {
"@microsoft/teams-js": "2.12.0",
"@microsoft/microsoft-graph-client": "3.0.2"
},
"nodeVersion": "18.19.0"
}
}
7 changes: 4 additions & 3 deletions samples/react-pages-hierarchy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ This web part allows users to create a faux page hierarchy in their pages librar
| 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.14](https://img.shields.io/badge/SPFx-1.14.0-green.svg)
![Node.js v14](https://img.shields.io/badge/Node.js-v14-green.svg)
![SPFx 1.18.2](https://img.shields.io/badge/SPFx-1.18.2.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)
![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")
Expand Down Expand Up @@ -50,7 +50,8 @@ Version|Date|Comments
1.3|March 31, 2022|Added a Tree View
1.4|July 29, 2022|Updated Tree View Functionality
1.5|March 29, 2023|Added support for non-English SitePages library paths
1.6|May 11, Uses treeFrom/expandTo web part properties
1.6|May 11,2023|Uses treeFrom/expandTo web part properties
1.7|January 08|Updated to SPFX 1.18.2 + Node 18

## Minimal path to awesome

Expand Down
4 changes: 2 additions & 2 deletions samples/react-pages-hierarchy/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"This web part allows users to create a faux page hierarchy in their pages library and use it for page-to-page navigation."
],
"creationDateTime": "2020-04-30",
"updateDateTime": "2023-05-11",
"updateDateTime": "2024-01-11",
"products": [
"SharePoint"
],
Expand All @@ -20,7 +20,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.14.0"
"value": "1.18.2"
},
{
"key": "SPFX-SUPPORTSTHEMEVARIANTS",
Expand Down
4 changes: 2 additions & 2 deletions samples/react-pages-hierarchy/config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"name": "react-pages-hierarchy",
"id": "89758fb6-85e2-4e2b-ac88-4f4e7e5f60cb",
"title": "Pages Hierarchy",
"version": "1.0.3.2",
"version": "1.0.7.0",
"includeClientSideAssets": true,
"isDomainIsolated": false,
"developer": {
"name": "Bo George",
"privacyUrl": "",
"termsOfUseUrl": "",
"websiteUrl": "https://github.com/bogeorge",
"mpnId": "Undefined-1.14.0"
"mpnId": "Undefined-1.18.2"
},
"metadata": {
"shortDescription": {
Expand Down
3 changes: 3 additions & 0 deletions samples/react-pages-hierarchy/config/sass.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json"
}
4 changes: 2 additions & 2 deletions samples/react-pages-hierarchy/config/serve.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
"port": 4321,
"https": true,
"initialPage": "https://enter-your-SharePoint-site/_layouts/workbench.aspx",
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx",
"api": {
"port": 5432,
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/"
Expand Down
Loading

0 comments on commit d6b9df3

Please sign in to comment.