Updated readme, sample.json; devcontainer
This commit is contained in:
parent
8a0ba0747f
commit
815f20519f
|
@ -1,39 +1,38 @@
|
||||||
// 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.10.0",
|
"name": "SPFx 1.20.0",
|
||||||
"image": "docker.io/m365pnp/spfx:1.10.0",
|
"image": "docker.io/m365pnp/spfx:1.20.0",
|
||||||
// Set *default* container specific settings.json values on container create.
|
"customizations": {
|
||||||
"settings": {},
|
"vscode": {
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
"extensions": [
|
||||||
"extensions": [
|
"editorconfig.editorconfig",
|
||||||
"editorconfig.editorconfig",
|
"dbaeumer.vscode-eslint"
|
||||||
"dbaeumer.vscode-eslint"
|
]
|
||||||
],
|
}
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
},
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
4321,
|
4321,
|
||||||
35729,
|
35729,
|
||||||
5432
|
5432
|
||||||
],
|
],
|
||||||
"portsAttributes": {
|
"portsAttributes": {
|
||||||
"4321": {
|
"4321": {
|
||||||
"protocol": "https",
|
"protocol": "https",
|
||||||
"label": "Manifest",
|
"label": "Manifest",
|
||||||
"onAutoForward": "silent",
|
"onAutoForward": "silent",
|
||||||
"requireLocalPort": true
|
"requireLocalPort": true
|
||||||
},
|
},
|
||||||
"5432": {
|
"5432": {
|
||||||
"protocol": "https",
|
"protocol": "https",
|
||||||
"label": "Workbench",
|
"label": "Workbench",
|
||||||
"onAutoForward": "silent"
|
"onAutoForward": "silent"
|
||||||
},
|
},
|
||||||
"35729": {
|
"35729": {
|
||||||
"protocol": "https",
|
"protocol": "https",
|
||||||
"label": "LiveReload",
|
"label": "LiveReload",
|
||||||
"onAutoForward": "silent",
|
"onAutoForward": "silent",
|
||||||
"requireLocalPort": true
|
"requireLocalPort": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"postCreateCommand": "bash .devcontainer/spfx-startup.sh",
|
"postCreateCommand": "bash .devcontainer/spfx-startup.sh",
|
||||||
"remoteUser": "node"
|
"remoteUser": "node"
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,9 +7,11 @@ echo
|
||||||
echo -e "\e[1;94mGenerating dev certificate\e[0m"
|
echo -e "\e[1;94mGenerating dev certificate\e[0m"
|
||||||
gulp trust-dev-cert
|
gulp trust-dev-cert
|
||||||
|
|
||||||
|
# Convert the generated PEM certificate to a CER certificate
|
||||||
|
openssl x509 -inform PEM -in ~/.rushstack/rushstack-serve.pem -outform DER -out ./spfx-dev-cert.cer
|
||||||
|
|
||||||
cp ~/.gcb-serve-data/gcb-serve.cer ./spfx-dev-cert.cer
|
# Copy the PEM ecrtificate for non-Windows hosts
|
||||||
cp ~/.gcb-serve-data/gcb-serve.cer ./spfx-dev-cert.pem
|
cp ~/.rushstack/rushstack-serve.pem ./spfx-dev-cert.pem
|
||||||
|
|
||||||
## add *.cer to .gitignore to prevent certificates from being saved in repo
|
## add *.cer to .gitignore to prevent certificates from being saved in repo
|
||||||
if ! grep -Fxq '*.cer' ./.gitignore
|
if ! grep -Fxq '*.cer' ./.gitignore
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
v18.18.2
|
|
@ -1,19 +1,3 @@
|
||||||
---
|
|
||||||
page_type: sample
|
|
||||||
products:
|
|
||||||
- office-sp
|
|
||||||
languages:
|
|
||||||
- javascript
|
|
||||||
- typescript
|
|
||||||
extensions:
|
|
||||||
contentType: samples
|
|
||||||
technologies:
|
|
||||||
- SharePoint Framework
|
|
||||||
platforms:
|
|
||||||
- React
|
|
||||||
createdDate: 1/8/2018 12:00:00 AM
|
|
||||||
---
|
|
||||||
|
|
||||||
# Using React Accordion plugin with SPFx
|
# Using React Accordion plugin with SPFx
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
@ -30,7 +14,7 @@ This is a sample web Part that illustrates the use of React Accessible Accordion
|
||||||
|Refer to <https://aka.ms/spfx-matrix> for more information on SPFx compatibility. |
|
|Refer to <https://aka.ms/spfx-matrix> for more information on SPFx compatibility. |
|
||||||
|
|
||||||
![SPFx 1.20.0](https://img.shields.io/badge/SPFx-1.20.0-green.svg)
|
![SPFx 1.20.0](https://img.shields.io/badge/SPFx-1.20.0-green.svg)
|
||||||
![Node.js v16 | v18](https://img.shields.io/badge/Node.js-v16%20%7C%20v18-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)
|
||||||
![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 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")
|
![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")
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"This is a sample web Part that illustrates the use of React Accessible Accordion plugin for building SharePoint Framework client-side web parts to show SharePoint list data in Accordion format."
|
"This is a sample web Part that illustrates the use of React Accessible Accordion plugin for building SharePoint Framework client-side web parts to show SharePoint list data in Accordion format."
|
||||||
],
|
],
|
||||||
"creationDateTime": "2020-06-22",
|
"creationDateTime": "2020-06-22",
|
||||||
"updateDateTime": "2021-09-30",
|
"updateDateTime": "2024-10-13",
|
||||||
"products": [
|
"products": [
|
||||||
"SharePoint"
|
"SharePoint"
|
||||||
],
|
],
|
||||||
|
@ -38,17 +38,13 @@
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"gitHubAccount": "gautamdsheth",
|
"gitHubAccount": "gautamdsheth",
|
||||||
"company": "Valo Intranet",
|
|
||||||
"pictureUrl": "https://github.com/gautamdsheth.png",
|
"pictureUrl": "https://github.com/gautamdsheth.png",
|
||||||
"name": "Gautam Sheth",
|
"name": "Gautam Sheth"
|
||||||
"twitter": "gautamdsheth"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"gitHubAccount": "AbhishekGarg",
|
"gitHubAccount": "AbhishekGarg",
|
||||||
"company": "Atos",
|
|
||||||
"pictureUrl": "https://avatars.githubusercontent.com/u/5449154?s=400\u0026v=4",
|
"pictureUrl": "https://avatars.githubusercontent.com/u/5449154?s=400\u0026v=4",
|
||||||
"name": "Abhishek Garg",
|
"name": "Abhishek Garg"
|
||||||
"twitter": "abhig89"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"references": [
|
"references": [
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "react-accordion",
|
"name": "react-accordion",
|
||||||
"version": "2.3.0",
|
"version": "3.0.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "react-accordion",
|
"name": "react-accordion",
|
||||||
"version": "2.3.0",
|
"version": "3.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fluentui/react": "8.106.4",
|
"@fluentui/react": "8.106.4",
|
||||||
"@microsoft/sp-core-library": "1.20.0",
|
"@microsoft/sp-core-library": "1.20.0",
|
||||||
|
|
Loading…
Reference in New Issue