Skip to content

Commit

Permalink
update spfx solution to 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
eoverfield committed May 13, 2020
1 parent 3cd1cd1 commit 5805249
Show file tree
Hide file tree
Showing 55 changed files with 177 additions and 126 deletions.
Binary file modified package/sharepoint-starter-kit.sppkg
Binary file not shown.
Binary file modified provisioning/starterkit.pnp
Binary file not shown.
2 changes: 1 addition & 1 deletion solution/.yo-rc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"@microsoft/generator-sharepoint": {
"version": "1.8.2",
"version": "1.10.0",
"libraryName": "sp-starter-kit",
"libraryId": "3624777a-337d-4b34-8384-5ab774c069aa",
"environment": "spo",
Expand Down
2 changes: 1 addition & 1 deletion solution/config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "sharepoint-starter-kit-client-side-solution",
"id": "3624777a-337d-4b34-8384-5ab774c069aa",
"version": "1.5.4.0",
"version": "1.6.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"webApiPermissionRequests": [
Expand Down
62 changes: 35 additions & 27 deletions solution/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "sp-starter-kit",
"version": "1.5.4",
"version": "1.6.0",
"private": true,
"engines": {
"node": ">=0.10.0"
},
"main": "lib/index.js",
"scripts": {
"serve": "cross-env NODE_OPTIONS=--max_old_space_size=8192 gulp serve",
"build:dev": "gulp clean && cross-env NODE_OPTIONS=--max_old_space_size=8192 gulp bundle && gulp package-solution",
Expand All @@ -14,43 +15,50 @@
"clean": "gulp clean",
"test": "gulp test"
},
"resolutions": {
"@types/react": "16.8.8"
},
"dependencies": {
"@microsoft/decorators": "^1.9.1",
"@microsoft/sp-application-base": "^1.9.1",
"@microsoft/sp-core-library": "^1.9.1",
"@microsoft/sp-dialog": "^1.9.1",
"@microsoft/sp-listview-extensibility": "^1.9.1",
"@microsoft/sp-lodash-subset": "^1.9.1",
"@microsoft/sp-office-ui-fabric-core": "^1.9.1",
"@microsoft/sp-webpart-base": "^1.9.1",
"@microsoft/decorators": "1.10.0",
"@microsoft/sp-application-base": "1.10.0",
"@microsoft/sp-core-library": "1.10.0",
"@microsoft/sp-dialog": "1.10.0",
"@microsoft/sp-listview-extensibility": "1.10.0",
"@microsoft/sp-lodash-subset": "1.10.0",
"@microsoft/sp-office-ui-fabric-core": "1.10.0",
"@microsoft/sp-property-pane": "1.10.0",
"@microsoft/sp-webpart-base": "1.10.0",
"@microsoft/teams-js": "^1.4.1",
"@pnp/common": "^1.0.4-4",
"@pnp/logging": "^1.0.4-4",
"@pnp/odata": "^1.0.4-4",
"@pnp/sp": "^1.0.4-4",
"@pnp/spfx-controls-react": "^1.11.0",
"@pnp/spfx-property-controls": "^1.13.1",
"@pnp/common": "1.3.11",
"@pnp/logging": "1.3.11",
"@pnp/odata": "1.3.11",
"@pnp/sp": "1.3.11",
"@pnp/spfx-controls-react": "1.18.0",
"@pnp/spfx-property-controls": "1.18.0",
"@types/es6-promise": "0.0.33",
"@types/react": "^16.8.8",
"@types/react-dom": "^16.8.3",
"@types/react": "16.8.8",
"@types/react-dom": "16.8.3",
"@types/webpack-env": "1.13.1",
"@uifabric/utilities": "5.33.0",
"react": "^16.8.5",
"react-dom": "^16.8.5",
"tslib": "^1.10.0"
"office-ui-fabric-react": "6.189.2",
"react": "16.8.5",
"react-dom": "16.8.5",
"tslib": "1.10.0"
},

"devDependencies": {
"@microsoft/microsoft-graph-types": "^1.8.0",
"@microsoft/rush-stack-compiler-2.9": "^0.7.16",
"@microsoft/sp-build-web": "^1.9.1",
"@microsoft/sp-module-interfaces": "^1.9.1",
"@microsoft/sp-tslint-rules": "^1.9.1",
"@microsoft/sp-webpart-workbench": "^1.9.1",
"@microsoft/microsoft-graph-types": "1.10.0",
"@microsoft/rush-stack-compiler-3.5": "~0.2.6",
"@microsoft/sp-build-web": "1.10.0",
"@microsoft/sp-module-interfaces": "1.10.0",
"@microsoft/sp-tslint-rules": "1.10.0",
"@microsoft/sp-webpart-workbench": "1.10.0",
"@types/chai": "3.4.34",
"@types/mocha": "2.2.38",
"ajv": "~5.2.2",
"cross-env": "^5.2.0",
"gulp": "~3.9.1",
"tslint-microsoft-contrib": "5.0.0"
"tslint-microsoft-contrib": "5.0.0",
"webpack-bundle-analyzer": "~3.6.1"
}
}
2 changes: 1 addition & 1 deletion solution/src/common/myLinks/MyLinks.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.myLinksDialogRoot {
.myLinksDialogContent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.collabFooter {
.collabFooterContainer {
Expand All @@ -9,4 +9,4 @@
.commandBar {
width: 100%;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@import '~office-ui-fabric-react/dist/sass/References.scss';

.scheduleMeetingDialogRoot {
.scheduleMeetingDialogContent {
text-align: left;
vertical-align: top;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.links {
background-color: $ms-color-neutralLighter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.portalFooter {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';


.classificationHeader {
Expand All @@ -18,4 +18,4 @@
margin-top: 2x;
margin-bottom: 2px;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@import '~office-ui-fabric-react/dist/sass/References.scss';

.navigation {
a {
width: 10em;

:global {
.ms-Button-label {
font-weight: normal;
Expand All @@ -12,4 +14,4 @@
.buttonIcon {
margin-left: 1px;
}
}
}
7 changes: 4 additions & 3 deletions solution/src/webparts/banner/BannerWebPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ import * as ReactDom from 'react-dom';
import { Version, DisplayMode } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration,
PropertyPaneTextField,
PropertyPaneToggle,
IWebPartPropertiesMetadata
} from '@microsoft/sp-webpart-base';
import {
IPropertyPaneConfiguration,
PropertyPaneTextField,
PropertyPaneToggle } from "@microsoft/sp-property-pane";

import * as strings from 'BannerWebPartStrings';
import { Banner, IBannerProps } from './components';
Expand Down
2 changes: 1 addition & 1 deletion solution/src/webparts/banner/components/Banner.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.banner {
align-items: flex-end;
Expand Down
7 changes: 4 additions & 3 deletions solution/src/webparts/followedSites/FollowedSitesWebPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration,
PropertyPaneDropdown
BaseClientSideWebPart
} from '@microsoft/sp-webpart-base';
import {
IPropertyPaneConfiguration,
PropertyPaneDropdown } from "@microsoft/sp-property-pane";

import * as strings from 'FollowedSitesWebPartStrings';
import FollowedSites from './components/FollowedSites';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.followedSites {
.list {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import '~office-ui-fabric-react/dist/sass/References.scss';

.paging {
text-align: center;

Expand Down
7 changes: 5 additions & 2 deletions solution/src/webparts/links/LinksWebPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration
BaseClientSideWebPart
} from '@microsoft/sp-webpart-base';
import {
IPropertyPaneConfiguration
} from "@microsoft/sp-property-pane";


import * as strings from 'LinksWebPartStrings';
import Links from './components/Links';
Expand Down
2 changes: 1 addition & 1 deletion solution/src/webparts/links/components/Links.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.links {
.row {
Expand Down
8 changes: 5 additions & 3 deletions solution/src/webparts/lobIntegration/LobIntegrationWebPart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
BaseClientSideWebPart
} from '@microsoft/sp-webpart-base';
import {
IPropertyPaneConfiguration,
PropertyPaneTextField,
PropertyPaneChoiceGroup
} from '@microsoft/sp-webpart-base';
PropertyPaneChoiceGroup } from "@microsoft/sp-property-pane";

import { DisplayMode } from '@microsoft/sp-core-library';

import * as strings from 'LobIntegrationWebPartStrings';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.lobIntegration {
.container {
Expand Down Expand Up @@ -77,4 +77,4 @@
display: inline-block;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration,
PropertyPaneTextField
BaseClientSideWebPart
} from '@microsoft/sp-webpart-base';
import {
IPropertyPaneConfiguration
} from "@microsoft/sp-property-pane";

import * as strings from 'PeopleDirectoryWebPartStrings';
import { PeopleDirectory, IPeopleDirectoryProps } from './components/PeopleDirectory/';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.indexNavigation {
margin-bottom: 1em;
Expand All @@ -8,4 +8,4 @@
font-weight: 600;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import '~office-ui-fabric-react/dist/sass/References.scss';

$neutralLight: "[theme:neutralLight, default: #eaeaea]";

.calloutCard{
Expand Down Expand Up @@ -66,4 +68,4 @@ $neutralLight: "[theme:neutralLight, default: #eaeaea]";
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.peopleDirectory {
.container {
Expand Down Expand Up @@ -71,4 +71,4 @@
display: inline-block;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.persona_card{
align-items: center;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@import '~office-ui-fabric-react/dist/sass/References.scss';

.search {
.searchBox {
width: 30em;
margin: 1em auto;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration,
PropertyPaneSlider
BaseClientSideWebPart
} from '@microsoft/sp-webpart-base';
import {
IPropertyPaneConfiguration,
PropertyPaneSlider } from "@microsoft/sp-property-pane";

import * as strings from 'PersonalCalendarWebPartStrings';
import PersonalCalendar from './components/PersonalCalendar';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss';
@import '~office-ui-fabric-react/dist/sass/References.scss';

.personalCalendar {
@include ms-font-m;
Expand Down Expand Up @@ -73,4 +73,4 @@
@include ms-font-m;
color: $ms-color-alert;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import {
BaseClientSideWebPart,
IPropertyPaneConfiguration
BaseClientSideWebPart
} from '@microsoft/sp-webpart-base';
import {
IPropertyPaneConfiguration
} from "@microsoft/sp-property-pane";

import * as strings from 'PersonalContactsWebPartStrings';
import { PersonalContacts, IPersonalContactsProps } from './components/PersonalContacts';
import { MSGraphClient } from '@microsoft/sp-http';
Expand Down
Loading

0 comments on commit 5805249

Please sign in to comment.