Skip to content

Commit 0a93084

Browse files
author
Alex Terentiev
committed
update to 1.19.0
1 parent cfda8aa commit 0a93084

21 files changed

+26083
-15454
lines changed

connected-webparts/api-connected/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ lib
1212
solution
1313
temp
1414
*.sppkg
15+
.heft
16+
release
1517

1618
# Coverage directory used by tools like istanbul
1719
coverage
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
!dist
2+
config
3+
4+
gulpfile.js
5+
6+
release
7+
src
8+
temp
9+
10+
tsconfig.json
11+
tslint.json
12+
13+
*.log
14+
15+
.yo-rc.json
16+
.vscode

connected-webparts/api-connected/.vscode/launch.json

+2-19
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,10 @@
55
*/
66
"version": "0.2.0",
77
"configurations": [{
8-
"name": "Local workbench",
9-
"type": "chrome",
10-
"request": "launch",
11-
"url": "https://localhost:4321/temp/workbench.html",
12-
"webRoot": "${workspaceRoot}",
13-
"sourceMaps": true,
14-
"sourceMapPathOverrides": {
15-
"webpack:///.././src/*": "${webRoot}/src/*",
16-
"webpack:///../../../src/*": "${webRoot}/src/*",
17-
"webpack:///../../../../src/*": "${webRoot}/src/*",
18-
"webpack:///../../../../../src/*": "${webRoot}/src/*"
19-
},
20-
"runtimeArgs": [
21-
"--remote-debugging-port=9222"
22-
]
23-
},
24-
{
258
"name": "Hosted workbench",
26-
"type": "chrome",
9+
"type": "msedge",
2710
"request": "launch",
28-
"url": "https://enter-your-SharePoint-site/_layouts/workbench.aspx",
11+
"url": "https://{tenantDomain}/_layouts/workbench.aspx",
2912
"webRoot": "${workspaceRoot}",
3013
"sourceMaps": true,
3114
"sourceMapPathOverrides": {

connected-webparts/api-connected/.vscode/settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"**/bower_components": true,
88
"**/coverage": true,
99
"**/lib-amd": true,
10-
"src/**/*.scss.ts": true
10+
"src/**/*.scss.ts": true,
11+
"**/jest-output": true
1112
},
1213
"typescript.tsdk": ".\\node_modules\\typescript\\lib"
1314
}

connected-webparts/api-connected/.yo-rc.json

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22
"@microsoft/generator-sharepoint": {
33
"isCreatingSolution": false,
44
"environment": "spo",
5-
"version": "1.11.0",
5+
"version": "1.19.0",
66
"libraryName": "api-connected-wp-demo",
77
"libraryId": "fe458db2-89bd-45a6-bdcc-7669de980cd9",
88
"packageManager": "npm",
99
"isDomainIsolated": false,
10-
"componentType": "webpart"
10+
"componentType": "webpart",
11+
"nodeVersion": "18.19.0",
12+
"sdkVersions": {
13+
"@microsoft/teams-js": "2.12.0",
14+
"@microsoft/microsoft-graph-client": "3.0.2"
15+
}
1116
}
1217
}

connected-webparts/api-connected/config/copy-assets.json

-4
This file was deleted.

connected-webparts/api-connected/config/deploy-azure-storage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
3-
"workingDir": "./temp/deploy/",
3+
"workingDir": "./release/assets/",
44
"account": "<!-- STORAGE ACCOUNT NAME -->",
55
"container": "api-connected-wp-demo",
66
"accessKey": "<!-- ACCESS KEY -->"

connected-webparts/api-connected/config/package-solution.json

+35-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,41 @@
66
"version": "1.0.0.0",
77
"includeClientSideAssets": true,
88
"skipFeatureDeployment": true,
9-
"isDomainIsolated": false
9+
"isDomainIsolated": false,
10+
"developer": {
11+
"name": "",
12+
"privacyUrl": "",
13+
"termsOfUseUrl": "",
14+
"websiteUrl": "",
15+
"mpnId": "Undefined-1.15.0"
16+
},
17+
"metadata": {
18+
"shortDescription": {
19+
"default": "api-connected-wp-demo description"
20+
},
21+
"longDescription": {
22+
"default": "api-connected-wp-demo description"
23+
},
24+
"screenshotPaths": [],
25+
"videoUrl": "",
26+
"categories": []
27+
},
28+
"features": [
29+
{
30+
"title": "api-connected-wp-demo PageAnchorWebPart Feature",
31+
"description": "The feature that activates PageAnchorWebPart from the api-connected-wp-demo solution.",
32+
"id": "c2706392-32f0-4baa-aa74-c8d4afbd6a4c",
33+
"version": "1.0.0.0",
34+
"componentIds": ["c2706392-32f0-4baa-aa74-c8d4afbd6a4c"]
35+
},
36+
{
37+
"title": "api-connected-wp-demo PageNavigationWebPart Feature",
38+
"description": "The feature that activates PageNavigationWebPart from the api-connected-wp-demo solution.",
39+
"id": "7b30473e-6565-4cda-a8dc-d79541edc80a",
40+
"version": "1.0.0.0",
41+
"componentIds": ["7b30473e-6565-4cda-a8dc-d79541edc80a"]
42+
}
43+
]
1044
},
1145
"paths": {
1246
"zippedPackage": "solution/api-connected-wp-demo.sppkg"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json"
3+
}
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
2-
"$schema": "https://developer.microsoft.com/json-schemas/core-build/serve.schema.json",
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
33
"port": 4321,
44
"https": true,
5-
"initialPage": "https://localhost:5432/workbench",
6-
"api": {
7-
"port": 5432,
8-
"entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/"
9-
}
5+
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx"
106
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require('@rushstack/eslint-config/patch/modern-module-resolution');
2+
export default {
3+
extends: ['@microsoft/eslint-config-spfx/lib/profiles/react'],
4+
parserOptions: { tsconfigRootDir: __dirname }
5+
};

connected-webparts/api-connected/gulpfile.js

+9
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,13 @@ const gulp = require('gulp');
44
const build = require('@microsoft/sp-build-web');
55
build.addSuppression(`Warning - [sass] The local CSS class 'ms-Grid' is not camelCase and will not be type-safe.`);
66

7+
var getTasks = build.rig.getTasks;
8+
build.rig.getTasks = function () {
9+
var result = getTasks.call(build.rig);
10+
11+
result.set('serve', result.get('serve-deprecated'));
12+
13+
return result;
14+
};
15+
716
build.initialize(gulp);

0 commit comments

Comments
 (0)