Skip to content

Commit

Permalink
Upgraded to spfx 1.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad Amer committed Oct 21, 2024
1 parent 0a4c33f commit faa5d96
Show file tree
Hide file tree
Showing 18 changed files with 44,251 additions and 29,243 deletions.
5 changes: 5 additions & 0 deletions samples/react-datatable/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');
module.exports = {
extends: ['@microsoft/eslint-config-spfx/lib/profiles/react'],
parserOptions: { tsconfigRootDir: __dirname }
};
1 change: 1 addition & 0 deletions samples/react-datatable/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ release
solution
temp
*.sppkg
.heft

# Coverage directory used by tools like istanbul
coverage
Expand Down
1 change: 1 addition & 0 deletions samples/react-datatable/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.16.0
11 changes: 9 additions & 2 deletions samples/react-datatable/.yo-rc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"@microsoft/generator-sharepoint": {
"@microsoft/generator-sharepoint": {
"@microsoft/generator-sharepoint": {
"nodeVersion": "20.16.0"
},
"sdksVersions": {
"@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.24.0"
},
"plusBeta": false,
"isCreatingSolution": true,
"environment": "spo",
"version": "1.14.0",
"version": "1.20.0",
"libraryName": "react-datatable",
"libraryId": "35299377-f8c8-4721-bd53-05602fc0c4ee",
"packageManager": "npm",
Expand Down
6 changes: 4 additions & 2 deletions samples/react-datatable/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ This web part provides easy way to render SharePoint custom list in datatable vi
| 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-green.svg)
![Node.js v14 | v12](https://img.shields.io/badge/Node.js-v14%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")
Expand All @@ -40,6 +40,7 @@ This web part provides easy way to render SharePoint custom list in datatable vi

- [Chandani Prajapati](https://github.com/chandaniprajapati)
- [Abderahman Moujahid](https://github.com/Abderahman88)
- [Mohammad Amer](https://github.com/mohammadamer)

## Version history

Expand All @@ -54,6 +55,7 @@ Version|Date|Comments
1.6|July 16, 2021|Changed library export-to-csv with react-csv
1.7|Feb 22, 2022|Upgrade to SPFx v1.14.0
1.8|November 01, 2022|Added support for list attachments
1.9|October 20, 2024|Upgraded to SPFx v1.20.0

## Minimal Path to Awesome

Expand Down
2 changes: 1 addition & 1 deletion samples/react-datatable/config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "react-datatable-client-side-solution",
"id": "35299377-f8c8-4721-bd53-05602fc0c4ee",
"version": "1.5.0.0",
"version": "1.9.0.0",
"includeClientSideAssets": true,
"isDomainIsolated": false,
"developer": {
Expand Down
3 changes: 3 additions & 0 deletions samples/react-datatable/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"
}
6 changes: 3 additions & 3 deletions samples/react-datatable/config/serve.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$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://contoso.sharepoint.com/_layouts/workbench.aspx"
}
Loading

0 comments on commit faa5d96

Please sign in to comment.