Updates react-copy-views sample to SPFx 1.16.1

This commit is contained in:
Martin Lingstuyl 2023-02-09 10:17:44 +01:00
parent a0cda7c581
commit ba1023210b
No known key found for this signature in database
GPG Key ID: A7CF5AD5D618211B
9 changed files with 7114 additions and 2437 deletions

View File

@ -31,7 +31,7 @@ WORKDIR /home/copy-views-container
# * Anything else you want to do like clean up goes here * # * Anything else you want to do like clean up goes here *
# ******************************************************** # ********************************************************
RUN npm install -g gulp-cli@latest yo@4 @microsoft/generator-sharepoint@1.15.x spfx-fast-serve@3 @pnp/cli-microsoft365 --unsafe-perm RUN npm install -g gulp-cli@latest yo@4 @microsoft/generator-sharepoint@1.16.1 spfx-fast-serve@3 @pnp/cli-microsoft365 --unsafe-perm
RUN zsh -c "$(curl https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" --unattended \ RUN zsh -c "$(curl https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" --unattended \
&& git clone https://github.com/denysdovhan/spaceship-prompt.git "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt" --depth=1 \ && git clone https://github.com/denysdovhan/spaceship-prompt.git "$HOME/.oh-my-zsh/custom/themes/spaceship-prompt" --depth=1 \

View File

@ -2,7 +2,8 @@
"@microsoft/generator-sharepoint": { "@microsoft/generator-sharepoint": {
"plusBeta": false, "plusBeta": false,
"isCreatingSolution": false, "isCreatingSolution": false,
"version": "1.15.2", "version": "1.16.1",
"nodeVersion": "16.15.0",
"libraryName": "copy-views", "libraryName": "copy-views",
"libraryId": "f9a94606-ce1c-487c-ab87-550b240421de", "libraryId": "f9a94606-ce1c-487c-ab87-550b240421de",
"environment": "spo", "environment": "spo",
@ -11,6 +12,10 @@
"solutionShortDescription": "copy-views description", "solutionShortDescription": "copy-views description",
"skipFeatureDeployment": true, "skipFeatureDeployment": true,
"isDomainIsolated": false, "isDomainIsolated": false,
"componentType": "webpart" "componentType": "webpart",
"sdkVersions": {
"@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.4.1"
}
} }
} }

View File

@ -10,9 +10,9 @@ This solution enables a user to copy views from one list/library to another acro
## Used Versions ## Used Versions
![SPFx 1.15.2](https://img.shields.io/badge/SPFx-1.15.2-green.svg) ![SPFx 1.15.2](https://img.shields.io/badge/SPFx-1.16.1-green.svg)
![pnpjs](https://img.shields.io/badge/pnpjs-3.6-green.svg) ![pnpjs](https://img.shields.io/badge/pnpjs-3.6-green.svg)
![Node.js v14 | v12](https://img.shields.io/badge/Node.js-v14%20%7C%20v12-green.svg) ![Node.js v16.13](https://img.shields.io/badge/Node.js-v16.13+-green.svg)
![Compatible with SharePoint Online](https://img.shields.io/badge/SharePoint%20Online-Compatible-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-Unknown-red.svg "SharePoint Server 2019 requires SPFx 1.4.1 or lower") ![Does not work with SharePoint 2019](https://img.shields.io/badge/SharePoint%20Server%202019-Unknown-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)-Unknown-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1") ![Does not work with SharePoint 2016 (Feature Pack 2)](https://img.shields.io/badge/SharePoint%20Server%202016%20(Feature%20Pack%202)-Unknown-red.svg "SharePoint Server 2016 Feature Pack 2 requires SPFx 1.1")
@ -37,7 +37,8 @@ This solution enables a user to copy views from one list/library to another acro
| Version | Date | Comments | | Version | Date | Comments |
| ------- | ---------------- | --------------- | | ------- | ---------------- | --------------- |
| 1.0 | August 29, 2022 | Initial release | | 1.0.2.0 | August 29, 2022 | Upgraded to SPFx version 1.16.1 |
| 1.0.1.5 | August 29, 2022 | Initial release |
## Minimal Path to Awesome ## Minimal Path to Awesome

View File

@ -3,7 +3,7 @@
"solution": { "solution": {
"name": "copy-views-client-side-solution", "name": "copy-views-client-side-solution",
"id": "f9a94606-ce1c-487c-ab87-550b240421de", "id": "f9a94606-ce1c-487c-ab87-550b240421de",
"version": "1.0.1.5", "version": "1.0.2.0",
"includeClientSideAssets": true, "includeClientSideAssets": true,
"skipFeatureDeployment": true, "skipFeatureDeployment": true,
"isDomainIsolated": false, "isDomainIsolated": false,

View File

@ -0,0 +1,3 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json"
}

File diff suppressed because it is too large Load Diff

View File

@ -11,35 +11,38 @@
}, },
"dependencies": { "dependencies": {
"@fluentui/react-icons-mdl2": "^1.3.16", "@fluentui/react-icons-mdl2": "^1.3.16",
"@microsoft/decorators": "1.15.2", "@microsoft/decorators": "1.16.1",
"@microsoft/sp-adaptive-card-extension-base": "1.15.2", "@microsoft/sp-adaptive-card-extension-base": "1.16.1",
"@microsoft/sp-core-library": "1.15.2", "@microsoft/sp-core-library": "1.16.1",
"@microsoft/sp-dialog": "1.15.2", "@microsoft/sp-dialog": "1.16.1",
"@microsoft/sp-listview-extensibility": "1.15.2", "@microsoft/sp-listview-extensibility": "1.16.1",
"@microsoft/sp-lodash-subset": "1.15.2", "@microsoft/sp-lodash-subset": "1.16.1",
"@microsoft/sp-office-ui-fabric-core": "1.15.2", "@microsoft/sp-office-ui-fabric-core": "1.16.1",
"@microsoft/sp-property-pane": "1.15.2", "@microsoft/sp-property-pane": "1.16.1",
"@microsoft/sp-webpart-base": "1.15.2", "@microsoft/sp-webpart-base": "1.16.1",
"@pnp/sp": "^3.6.0", "@pnp/sp": "^3.6.0",
"office-ui-fabric-react": "7.185.7", "office-ui-fabric-react": "7.199.1",
"react": "16.13.1", "react": "17.0.1",
"react-dom": "16.13.1", "react-dom": "17.0.1",
"tslib": "2.3.1" "tslib": "2.3.1"
}, },
"devDependencies": { "devDependencies": {
"@microsoft/eslint-config-spfx": "1.15.2", "@microsoft/eslint-config-spfx": "1.16.1",
"@microsoft/eslint-plugin-spfx": "1.15.2", "@microsoft/eslint-plugin-spfx": "1.16.1",
"@microsoft/rush-stack-compiler-4.5": "0.2.2", "@microsoft/rush-stack-compiler-4.5": "0.2.2",
"@microsoft/sp-build-web": "1.15.2", "@microsoft/sp-build-web": "1.16.1",
"@microsoft/sp-module-interfaces": "1.15.2", "@microsoft/sp-module-interfaces": "1.16.1",
"@rushstack/eslint-config": "2.5.1", "@rushstack/eslint-config": "2.5.1",
"@types/react": "16.9.51", "@types/react": "17.0.45",
"@types/react-dom": "16.9.8", "@types/react-dom": "17.0.17",
"@types/webpack-env": "~1.15.2", "@types/webpack-env": "~1.15.2",
"ajv": "^6.12.5", "ajv": "^6.12.5",
"eslint-plugin-react-hooks": "4.3.0", "eslint-plugin-react-hooks": "4.3.0",
"gulp": "4.0.2", "gulp": "4.0.2",
"spfx-fast-serve-helpers": "^1.15.3", "spfx-fast-serve-helpers": "^1.15.3",
"typescript": "4.5.5" "typescript": "4.5.5"
},
"engines": {
"node": ">=16.13.0 <17.0.0"
} }
} }

View File

@ -1,5 +1,4 @@
@import '~office-ui-fabric-react/dist/sass/References.scss'; @import '~@fluentui/react/dist/sass/References.scss';
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
.row { .row {
@include ms-Grid-row; @include ms-Grid-row;

View File

@ -1,4 +1,4 @@
@import '~office-ui-fabric-react/dist/sass/References.scss'; @import '~@fluentui/react/dist/sass/References.scss';
.copyViews { .copyViews {
padding: 1em; padding: 1em;