Upgraded solution to SPFx 1.11

This commit is contained in:
Hugo Bernier 2020-08-25 21:44:20 -04:00
parent ec01cea5bf
commit 82eb3ae132
5 changed files with 1484 additions and 358 deletions

View File

@ -2,7 +2,7 @@
"@microsoft/generator-sharepoint": { "@microsoft/generator-sharepoint": {
"isCreatingSolution": true, "isCreatingSolution": true,
"environment": "spo", "environment": "spo",
"version": "1.10.0", "version": "1.11.0",
"libraryName": "react-adaptivecards-hooks", "libraryName": "react-adaptivecards-hooks",
"libraryId": "9b520d32-ce30-4ffa-bf38-5d888e65c782", "libraryId": "9b520d32-ce30-4ffa-bf38-5d888e65c782",
"packageManager": "npm", "packageManager": "npm",

View File

@ -8,7 +8,7 @@ A version of [react-adaptivecards](https://github.com/SharePoint/sp-dev-fx-webpa
## Used SharePoint Framework Version ## Used SharePoint Framework Version
![1.10.0](https://img.shields.io/badge/version-1.10.0-green.svg) ![1.11.0](https://img.shields.io/badge/version-1.11.0-green.svg)
## Applies to ## Applies to
@ -26,6 +26,7 @@ react-adaptivecards-hooks | Paul Schaeflein (http://www.schaeflein.net)
Version|Date|Comments Version|Date|Comments
-------|----|-------- -------|----|--------
1.0|April 27, 2020|Initial release 1.0|April 27, 2020|Initial release
2.0|August 25, 2020|Upgraded to SPFx 1.11 and added support for May 2020 changes to Adaptive Cards
## Disclaimer ## Disclaimer

File diff suppressed because it is too large Load Diff

View File

@ -12,23 +12,19 @@
"test": "gulp test" "test": "gulp test"
}, },
"dependencies": { "dependencies": {
"@microsoft/sp-core-library": "1.10.0", "@microsoft/sp-core-library": "1.11.0",
"@microsoft/sp-lodash-subset": "1.10.0", "@microsoft/sp-lodash-subset": "1.11.0",
"@microsoft/sp-office-ui-fabric-core": "1.10.0", "@microsoft/sp-office-ui-fabric-core": "1.11.0",
"@microsoft/sp-property-pane": "1.10.0", "@microsoft/sp-property-pane": "1.11.0",
"@microsoft/sp-webpart-base": "1.10.0", "@microsoft/sp-webpart-base": "1.11.0",
"@pnp/sp": "^2.0.4", "@pnp/sp": "^2.0.4",
"@pnp/spfx-controls-react": "^1.17.0", "@pnp/spfx-controls-react": "^1.17.0",
"@pnp/spfx-property-controls": "^1.17.0", "@pnp/spfx-property-controls": "^1.17.0",
"@types/es6-promise": "0.0.33",
"@types/react": "16.8.8",
"@types/react-dom": "16.8.3",
"@types/webpack-env": "1.13.1",
"adaptivecards": "^1.2.6", "adaptivecards": "^1.2.6",
"adaptivecards-fabric": "^1.0.4", "adaptivecards-fabric": "^1.0.4",
"adaptivecards-templating": "1.1.0", "adaptivecards-templating": "1.1.0",
"markdown-it": "^10.0.0", "markdown-it": "^10.0.0",
"office-ui-fabric-react": "6.189.2", "office-ui-fabric-react": "6.214.0",
"react": "16.8.5", "react": "16.8.5",
"react-dom": "16.8.5" "react-dom": "16.8.5"
}, },
@ -36,14 +32,18 @@
"@types/react": "16.8.8" "@types/react": "16.8.8"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/sp-build-web": "1.10.0",
"@microsoft/sp-tslint-rules": "1.10.0",
"@microsoft/sp-module-interfaces": "1.10.0",
"@microsoft/sp-webpart-workbench": "1.10.0",
"@microsoft/rush-stack-compiler-3.3": "0.3.5", "@microsoft/rush-stack-compiler-3.3": "0.3.5",
"gulp": "~3.9.1", "@microsoft/sp-build-web": "1.11.0",
"@microsoft/sp-module-interfaces": "1.11.0",
"@microsoft/sp-tslint-rules": "1.11.0",
"@microsoft/sp-webpart-workbench": "1.11.0",
"@types/chai": "3.4.34", "@types/chai": "3.4.34",
"@types/es6-promise": "0.0.33",
"@types/mocha": "2.2.38", "@types/mocha": "2.2.38",
"ajv": "~5.2.2" "@types/react": "16.8.8",
"@types/react-dom": "16.8.3",
"@types/webpack-env": "1.13.1",
"ajv": "~5.2.2",
"gulp": "~3.9.1"
} }
} }

View File

@ -29,7 +29,8 @@
] ]
}, },
"include": [ "include": [
"src/**/*.ts", "src/webparts/adaptiveCardViewer/components/RootComponent.tsx" "src/**/*.ts", "src/webparts/adaptiveCardViewer/components/RootComponent.tsx",
"src/**/*.tsx"
], ],
"exclude": [ "exclude": [
"node_modules", "node_modules",