React-My-Events: Upgraded to SPFx version 1.15.0

This commit is contained in:
Chandani Prajapati 2022-03-28 20:49:31 +05:30
parent 25bfa4e146
commit 5cd7701b88
12 changed files with 6249 additions and 320 deletions

View File

@ -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.12.1",
"image": "docker.io/m365pnp/spfx:1.12.1",
"name": "SPFx 1.15.0",
"image": "docker.io/m365pnp/spfx:1.15.0",
// Set *default* container specific settings.json values on container create.
"settings": {},
// Add the IDs of extensions you want installed when the container is created.

View File

@ -32,3 +32,8 @@ obj
# Styles Generated Code
*.scss.ts
*.scss.d.ts
# .CER Certificates
*.cer
# .PEM Certificates
*.pem

View File

@ -2,7 +2,7 @@
"@microsoft/generator-sharepoint": {
"isCreatingSolution": true,
"environment": "spo",
"version": "1.12.1",
"version": "1.15.0",
"libraryName": "react-my-events",
"libraryId": "40b1d068-bda3-4bc6-8a8f-39eb17bd66ce",
"packageManager": "npm",

View File

@ -19,12 +19,12 @@ This web part provides loggedin user's outlook events with some advanced feature
## Compatibility
![SPFx 1.12.1](https://img.shields.io/badge/SPFx-1.12.1-green.svg)
![Node.js v14 | v12 | v10](https://img.shields.io/badge/Node.js-v14%20%7C%20v12%20%7C%20v10-green.svg)
![SPFx 1.15.0](https://img.shields.io/badge/SPFx-1.15.0-green.svg)
![Node.js v14 | v12](https://img.shields.io/badge/Node.js-v14%20%7C%20v12-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%202019-Not%20compatible-red.svg)
![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%202016%20(Feature%20Pack%202)-Not%20compatible-red.svg)
![Local Workbench Incompatible](https://img.shields.io/badge/Local%20Workbench-Incompatible-red.svg "This solution requires access to user's Outlook events")
![Local Workbench Unsupported](https://img.shields.io/badge/Local%20Workbench-Unsupported-red.svg "Local workbench is no longer available as of SPFx 1.13 and above")
![Hosted Workbench Compatible](https://img.shields.io/badge/Hosted%20Workbench-Compatible-green.svg)
![Compatible with Remote Containers](https://img.shields.io/badge/Remote%20Containers-Compatible-green.svg)
@ -65,6 +65,7 @@ Version|Date|Comments
-------|----|--------
1.0 | August 18, 2021 | Initial release
1.1 | October 4, 2021 | Fixed date issue as start and end date are rendering incorrect in event card.
1.3 | March 25, 2022 | Upgraded to SPFx 1.15.
## Minimal Path to Awesome

View File

@ -9,7 +9,7 @@
"This web part provides loggedin user's outlook events with some advanced features"
],
"creationDateTime": "2021-08-18",
"updateDateTime": "2021-10-04",
"updateDateTime": "2022-03-28",
"products": [
"SharePoint",
"Office"
@ -21,7 +21,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.12.1"
"value": "1.15.0"
},
{
"key": "PNPCONTROLS",
@ -39,7 +39,7 @@
"authors": [
{
"gitHubAccount": "chandaniprajapati",
"company": "",
"company": "Rapid Circle",
"pictureUrl": "https://github.com/chandaniprajapati.png",
"name": "Chandani Prajapati",
"twitter": "Chandani_SPD"

View File

@ -1,4 +0,0 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
"deployCdnPath": "./release/assets/"
}

View File

@ -11,7 +11,7 @@
"websiteUrl": "",
"privacyUrl": "",
"termsOfUseUrl": "",
"mpnId": ""
"mpnId": "Undefined-1.15.0-beta.1"
},
"webApiPermissionRequests": [
{

View File

@ -2,9 +2,5 @@
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
"port": 4321,
"https": true,
"initialPage": "https://localhost:5432/workbench",
"api": {
"port": 5432,
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/"
}
"initialPage": "https://vtsp.sharepoint.com/sites/SPFXTutorial/_layouts/15/workbench.aspx"
}

File diff suppressed because it is too large Load Diff

View File

@ -11,32 +11,34 @@
},
"dependencies": {
"@fluentui/react": "^8.23.2",
"@microsoft/sp-component-base": "^1.12.1",
"@microsoft/sp-core-library": "1.12.1",
"@microsoft/sp-lodash-subset": "1.12.1",
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
"@microsoft/sp-property-pane": "1.12.1",
"@microsoft/sp-webpart-base": "1.12.1",
"@pnp/spfx-controls-react": "^3.2.1",
"@pnp/spfx-property-controls": "^3.2.0",
"@rehooks/component-size": "^1.0.3",
"moment": "^2.29.1",
"office-ui-fabric-react": "7.156.0",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-slick": "^0.28.1"
"react-slick": "^0.28.1",
"tslib": "1.13.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"office-ui-fabric-react": "7.181.1",
"@microsoft/sp-core-library": "1.15.0-beta.1",
"@microsoft/sp-property-pane": "1.15.0-beta.1",
"@microsoft/sp-webpart-base": "1.15.0-beta.1",
"@microsoft/sp-lodash-subset": "1.15.0-beta.1",
"@microsoft/sp-component-base": "1.15.0-beta.1",
"@microsoft/sp-office-ui-fabric-core": "1.15.0-beta.1"
},
"devDependencies": {
"@types/react": "16.9.36",
"@types/react-dom": "16.9.8",
"@microsoft/sp-build-web": "1.12.1",
"@microsoft/sp-tslint-rules": "1.12.1",
"@microsoft/sp-module-interfaces": "1.12.1",
"@microsoft/sp-webpart-workbench": "1.12.1",
"@microsoft/rush-stack-compiler-3.7": "0.2.3",
"gulp": "~4.0.2",
"ajv": "~5.2.2",
"@types/webpack-env": "1.13.1",
"spfx-fast-serve-helpers": "~1.12.0"
"spfx-fast-serve-helpers": "~1.12.0",
"@microsoft/rush-stack-compiler-3.9": "0.4.47",
"@microsoft/sp-tslint-rules": "1.15.0-beta.1",
"@microsoft/sp-build-web": "1.15.0-beta.1",
"@types/webpack-env": "~1.15.2",
"ajv": "^6.12.5",
"gulp": "4.0.2",
"@types/react": "16.9.51",
"@types/react-dom": "16.9.8",
"@microsoft/sp-module-interfaces": "1.15.0-beta.1"
}
}

View File

@ -1,5 +1,5 @@
{
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.7/includes/tsconfig-web.json",
"extends": "./node_modules/@microsoft/rush-stack-compiler-3.9/includes/tsconfig-web.json",
"compilerOptions": {
"target": "es5",
"forceConsistentCasingInFileNames": true,
@ -19,17 +19,23 @@
"./node_modules/@microsoft"
],
"types": [
"es6-promise",
"webpack-env"
],
"lib": [
"es5",
"dom",
"es2015",
"es2015.collection",
"es2015.promise"
"ES2017"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx"
],
"exclude": [
"node_modules",
"lib"
]
}

View File

@ -17,7 +17,6 @@
"no-switch-case-fall-through": true,
"no-unnecessary-semicolons": true,
"no-unused-expression": true,
"no-use-before-declare": true,
"no-with-statement": true,
"semicolon": true,
"trailing-comma": false,