Fixed sample json

This commit is contained in:
Hugo Bernier 2021-07-11 00:19:45 -04:00
parent 7b482a50b9
commit f20ae62431
3 changed files with 21657 additions and 70 deletions

View File

@ -9,7 +9,7 @@
"This is Greeting web part which shows greeting to the current logged in user."
],
"creationDateTime": "2020-02-15",
"updateDateTime": "2020-02-15",
"updateDateTime": "2020-06-29",
"products": [
"SharePoint",
"Office"
@ -21,7 +21,7 @@
},
{
"key": "SPFX-VERSION",
"value": "1.10.0"
"value": "1.12.1"
}
],
"thumbnails": [

21655
samples/angular-greeting/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,68 +0,0 @@
# Upgrade project angular-greeting to v1.12.1
Date: 6/29/2021
## Findings
Following is the list of steps required to upgrade your project to SharePoint Framework version 1.12.1. [Summary](#Summary) of the modifications is included at the end of the report.
### FN010001 .yo-rc.json version | Recommended
Update version in .yo-rc.json
```json
{
"@microsoft/generator-sharepoint": {
"version": "1.12.1"
}
}
```
File: [./.yo-rc.json:19:5](./.yo-rc.json)
### FN002014 @types/es6-promise | Required
Install SharePoint Framework dev dependency package @types/es6-promise
Execute the following command:
```sh
npm i -DE @types/es6-promise@0.0.33
```
File: [./package.json:20:3](./package.json)
### FN017001 Run npm dedupe | Optional
If, after upgrading npm packages, when building the project you have errors similar to: "error TS2345: Argument of type 'SPHttpClientConfiguration' is not assignable to parameter of type 'SPHttpClientConfiguration'", try running 'npm dedupe' to cleanup npm packages.
Execute the following command:
```sh
npm dedupe
```
File: [./package.json](./package.json)
## Summary
### Execute script
```sh
npm i -DE @types/es6-promise@0.0.33
npm dedupe
```
### Modify files
#### [./.yo-rc.json](./.yo-rc.json)
Update version in .yo-rc.json:
```json
{
"@microsoft/generator-sharepoint": {
"version": "1.12.1"
}
}
```