Skip to content

Commit

Permalink
Modified assets/sample.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AdminGkim committed Oct 22, 2024
1 parent d3d3189 commit 5ebc2dd
Show file tree
Hide file tree
Showing 12 changed files with 43,668 additions and 26,034 deletions.
9,878 changes: 6,240 additions & 3,638 deletions samples/react-my-dashboard/package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions samples/react-pnp-js-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ This implementation refactors to take aspects out and utilize and showcase PnPjs
| 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.15.2](https://img.shields.io/badge/SPFx-1.15.2-green.svg)
![Node.js v14 | v12| v16](https://img.shields.io/badge/Node.js-v12%20%7C%20v14%20%7C%20v16-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-v12%20%7C%20v14%20%7C%20v16-green.svg)
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-green.svg)
![Incompatible 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 @@ -47,7 +47,7 @@ For more information about SPFx compatibility, please refer to <https://aka.ms/s

Version|Date|Comments
-------|----|--------
1.3|Oct 5, 2024|Updated to SPFx 1.20
1.3|Oct 20, 2024|Updated to SPFx 1.20
1.2|Feb 14, 2023|Fixed context handling
1.1|Aug 29, 2022|Bug fix & dependency updates
1.0|Jan 13, 2022|Initial release
Expand Down
4 changes: 2 additions & 2 deletions samples/react-pnp-js-sample/assets/sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"Shows how to use PnPjs in a React web part"
],
"creationDateTime": "2023-02-18",
"updateDateTime": "2023-02-18",
"updateDateTime": "2024-10-22",
"products": [
"SharePoint"
],
Expand All @@ -21,7 +21,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.15.2"
"value": "1.20.0"
}
],
"thumbnails": [
Expand Down
8 changes: 8 additions & 0 deletions samples/react-securitygrid/.hintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": [
"development"
],
"hints": {
"no-inline-styles": "off"
}
}
17 changes: 11 additions & 6 deletions samples/react-securitygrid/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
'use strict';

const gulp = require('gulp');
const build = require('@microsoft/sp-build-web');

build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
build.addSuppression(`Warning - [sass] The local CSS class 'ms-DetailsHeader' is not camelCase and will not be type-safe.`);
build.addSuppression(`Warning - [sass] The local CSS class 'ms-DetailsHeader-cell' is not camelCase and will not be type-safe.`);
build.addSuppression(`Warning - [sass] The local CSS class 'ms-List-cell' is not camelCase and will not be type-safe.`);
build.addSuppression(`Warning - [sass] The local CSS class 'ms-DetailsRow' is not camelCase and will not be type-safe.`);

build.initialize(gulp);
var getTasks = build.rig.getTasks;
build.rig.getTasks = function () {
var result = getTasks.call(build.rig);

result.set('serve', result.get('serve-deprecated'));

return result;
};

build.initialize(require('gulp'));
59,152 changes: 37,032 additions & 22,120 deletions samples/react-securitygrid/package-lock.json

Large diffs are not rendered by default.

98 changes: 45 additions & 53 deletions samples/react-securitygrid/package.json
Original file line number Diff line number Diff line change
@@ -1,55 +1,47 @@
{
"main": "lib/index.js",
"name": "spsecurity-webpart-3",
"version": "1.0.4",
"private": true,
"engines": {
"node": ">=0.10.0"
},
"resolutions": {
"@types/react": "16.8.8"
},
"dependencies": {
"@microsoft/microsoft-graph-types": "^1.31.0",
"@pnp/common": "1.3.3",
"@pnp/logging": "1.3.3",
"@pnp/odata": "1.3.3",
"@pnp/sp": "1.3.3",
"@pnp/spfx-property-controls": "1.0.0",
"@types/es6-promise": "0.0.33",
"@types/react": "16.8.8",
"@types/react-dom": "16.8.3",
"@types/webpack-env": "1.13.1",
"@uifabric/file-type-icons": "7.6.16",
"lodash": "^4.17.4",
"natives": "^1.1.6",
"office-ui-fabric-react": "7.148.1",
"react": "16.8.5",
"react-dom": "16.8.5"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-3.2": "0.6.8",
"@microsoft/rush-stack-compiler-3.3": "0.3.5",
"@microsoft/sp-build-web": "1.10.0",
"@microsoft/sp-core-library": "1.10.0",
"@microsoft/sp-lodash-subset": "1.10.0",
"@microsoft/sp-module-interfaces": "1.10.0",
"@microsoft/sp-office-ui-fabric-core": "1.10.0",
"@microsoft/sp-property-pane": "1.10.0",
"@microsoft/sp-tslint-rules": "1.10.0",
"@microsoft/sp-webpart-base": "1.10.0",
"@microsoft/sp-webpart-workbench": "1.10.0",
"@types/chai": "3.4.34",
"@types/mocha": "2.2.38",
"ajv": "~5.2.2",
"gulp": "~3.9.1",
"i": "0.3.7",
"npm": "6.14.6",
"tslint-microsoft-contrib": "5.0.0"
},
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
}
"name": "spsecurity-webpart-3",
"version": "1.0.4",
"private": true,
"engines": {
"node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0"
},
"main": "lib/index.js",
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
},
"dependencies": {
"@fluentui/react-file-type-icons": "^8.12.3",
"@microsoft/microsoft-graph-types": "^2.40.0",
"@microsoft/sp-component-base": "^1.20.0",
"@microsoft/sp-core-library": "^1.20.0",
"@microsoft/sp-lodash-subset": "^1.20.0",
"@microsoft/sp-office-ui-fabric-core": "^1.20.0",
"@microsoft/sp-property-pane": "1.20.0",
"@microsoft/sp-webpart-base": "^1.20.0",
"@pnp/sp": "^4.6.0",
"i": "^0.3.7",
"npm": "^10.9.0",
"react": "17.0.1",
"react-dom": "17.0.1"
},
"devDependencies": {
"@microsoft/eslint-config-spfx": "^1.20.0",
"@microsoft/eslint-plugin-spfx": "^1.20.0",
"@microsoft/generator-sharepoint": "^1.20.0",
"@microsoft/rush-stack-compiler-4.7": "0.1.0",
"@microsoft/sp-build-web": "^1.20.2",
"@microsoft/sp-module-interfaces": "^1.20.2",
"@rushstack/eslint-config": "^2.6.2",
"@rushstack/eslint-plugin": "^0.16.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-plugin-react-hooks": "4.3.0",
"gulp": "4.0.2",
"typescript": "4.7.4"
}
}
Loading

0 comments on commit 5ebc2dd

Please sign in to comment.