Skip to content

Commit 1c04a98

Browse files
committed
upgrade to React 16 - initial commit
1 parent ae8a78d commit 1c04a98

28 files changed

+10428
-7765
lines changed

.yo-rc.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"@microsoft/generator-sharepoint": {
3-
"version": "1.2.0",
3+
"version": "1.9.1",
44
"libraryName": "sp-dev-fx-controls-react",
55
"libraryId": "92b1e52c-a5fa-490a-bcf4-76080f39442c",
6-
"environment": "spo"
6+
"environment": "spo",
7+
"isDomainIsolated": false,
8+
"isCreatingSolution": true,
9+
"packageManager": "npm",
10+
"componentType": "webpart"
711
}
8-
}
12+
}

config/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://dev.office.com/json-schemas/spfx-build/config.2.0.schema.json",
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/config.2.0.schema.json",
33
"version": "2.0",
44
"bundles": {
55
"controls-test-web-part": {

config/copy-assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://dev.office.com/json-schemas/spfx-build/copy-assets.schema.json",
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
33
"deployCdnPath": "temp/deploy"
44
}

config/deploy-azure-storage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"$schema": "https://dev.office.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
33
"workingDir": "./temp/deploy/",
44
"account": "<!-- STORAGE ACCOUNT NAME -->",
55
"container": "sp-dev-fx-controls-react",
66
"accessKey": "<!-- ACCESS KEY -->"
7-
}
7+
}

config/package-solution.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
2-
"$schema": "https://dev.office.com/json-schemas/spfx-build/package-solution.schema.json",
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
33
"solution": {
44
"name": "sp-dev-fx-controls-react-client-side-solution",
55
"id": "92b1e52c-a5fa-490a-bcf4-76080f39442c",
66
"version": "1.0.0.0",
7-
"skipFeatureDeployment": true
7+
"skipFeatureDeployment": true,
8+
"isDomainIsolated": false,
9+
"includeClientSideAssets": true
810
},
911
"paths": {
1012
"zippedPackage": "solution/sp-dev-fx-controls-react.sppkg"

config/serve.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://dev.office.com/json-schemas/core-build/serve.schema.json",
2+
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
33
"port": 4321,
44
"initialPage": "https://localhost:5432/workbench",
55
"https": true,

config/tslint.json

Lines changed: 0 additions & 46 deletions
This file was deleted.

config/write-manifests.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"$schema": "https://dev.office.com/json-schemas/spfx-build/write-manifests.schema.json",
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/write-manifests.schema.json",
33
"cdnBasePath": "<!-- PATH TO CDN -->"
4-
}
4+
}

gulpfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ const gulp = require('gulp');
44
const build = require('@microsoft/sp-build-web');
55
const fs = require('fs');
66

7+
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
8+
79
// Update the version number in the version.ts file
810
gulp.task('versionUpdater', (done) => {
911
const pkgContents = require('./package.json');

0 commit comments

Comments
 (0)