Skip to content

Commit e909fb9

Browse files
first commit
0 parents  commit e909fb9

31 files changed

+39218
-0
lines changed

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# change these settings to your own preference
11+
indent_style = space
12+
indent_size = 2
13+
14+
# we recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
[{package,bower}.json]
24+
indent_style = space
25+
indent_size = 2

.gitignore

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Dependency directories
7+
node_modules
8+
9+
# Build generated files
10+
dist
11+
lib
12+
solution
13+
temp
14+
*.sppkg
15+
16+
# Coverage directory used by tools like istanbul
17+
coverage
18+
19+
# OSX
20+
.DS_Store
21+
22+
# Visual Studio files
23+
.ntvs_analysis.dat
24+
.vs
25+
bin
26+
obj
27+
28+
# Resx Generated Code
29+
*.resx.ts
30+
31+
# Styles Generated Code
32+
*.scss.ts

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"recommendations": [
3+
"msjsdiag.debugger-for-chrome"
4+
]
5+
}

.vscode/launch.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
/**
3+
* Install Chrome Debugger Extension for Visual Studio Code to debug your components with the
4+
* Chrome browser: https://aka.ms/spfx-debugger-extensions
5+
*/
6+
"version": "0.2.0",
7+
"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+
{
25+
"name": "Hosted workbench",
26+
"type": "chrome",
27+
"request": "launch",
28+
"url": "https://enter-your-SharePoint-site/_layouts/workbench.aspx",
29+
"webRoot": "${workspaceRoot}",
30+
"sourceMaps": true,
31+
"sourceMapPathOverrides": {
32+
"webpack:///.././src/*": "${webRoot}/src/*",
33+
"webpack:///../../../src/*": "${webRoot}/src/*",
34+
"webpack:///../../../../src/*": "${webRoot}/src/*",
35+
"webpack:///../../../../../src/*": "${webRoot}/src/*"
36+
},
37+
"runtimeArgs": [
38+
"--remote-debugging-port=9222",
39+
"-incognito"
40+
]
41+
}
42+
]
43+
}

.vscode/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
// Configure glob patterns for excluding files and folders in the file explorer.
4+
"files.exclude": {
5+
"**/.git": true,
6+
"**/.DS_Store": true,
7+
"**/bower_components": true,
8+
"**/coverage": true,
9+
"**/lib-amd": true,
10+
"src/**/*.scss.ts": true
11+
},
12+
"typescript.tsdk": ".\\node_modules\\typescript\\lib"
13+
}

.yo-rc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"@microsoft/generator-sharepoint": {
3+
"isCreatingSolution": true,
4+
"environment": "spo",
5+
"version": "1.11.0",
6+
"libraryName": "custom-font",
7+
"libraryId": "4c09cb5e-a556-450c-97c1-ff76703ef09d",
8+
"packageManager": "npm",
9+
"isDomainIsolated": false,
10+
"componentType": "webpart"
11+
}
12+
}

Gloria_Hallelujah.zip

31.8 KB
Binary file not shown.

README.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# custom-font
2+
3+
## Summary
4+
5+
Short summary on functionality and used technologies.
6+
7+
[picture of the solution in action, if possible]
8+
9+
## Used SharePoint Framework Version
10+
11+
![version](https://img.shields.io/badge/version-1.11-green.svg)
12+
13+
## Applies to
14+
15+
- [SharePoint Framework](https://aka.ms/spfx)
16+
- [Microsoft 365 tenant](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
17+
18+
> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/o365devprogram)
19+
20+
## Prerequisites
21+
22+
> Any special pre-requisites?
23+
24+
## Solution
25+
26+
Solution|Author(s)
27+
--------|---------
28+
folder name | Author details (name, company, twitter alias with link)
29+
30+
## Version history
31+
32+
Version|Date|Comments
33+
-------|----|--------
34+
1.1|March 10, 2021|Update comment
35+
1.0|January 29, 2021|Initial release
36+
37+
## Disclaimer
38+
39+
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
40+
41+
---
42+
43+
## Minimal Path to Awesome
44+
45+
- Clone this repository
46+
- Ensure that you are at the solution folder
47+
- in the command-line run:
48+
- **npm install**
49+
- **gulp serve**
50+
51+
> Include any additional steps as needed.
52+
53+
## Features
54+
55+
Description of the extension that expands upon high-level summary above.
56+
57+
This extension illustrates the following concepts:
58+
59+
- topic 1
60+
- topic 2
61+
- topic 3
62+
63+
> Notice that better pictures and documentation will increase the sample usage and the value you are providing for others. Thanks for your submissions advance.
64+
65+
> Share your web part with others through Microsoft 365 Patterns and Practices program to get visibility and exposure. More details on the community, open-source projects and other activities from http://aka.ms/m365pnp.
66+
67+
## References
68+
69+
- [Getting started with SharePoint Framework](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
70+
- [Building for Microsoft teams](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/build-for-teams-overview)
71+
- [Use Microsoft Graph in your solution](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-microsoft-graph-apis)
72+
- [Publish SharePoint Framework applications to the Marketplace](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/publish-to-marketplace-overview)
73+
- [Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) - Guidance, tooling, samples and open-source controls for your Microsoft 365 development

config/config.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/config.2.0.schema.json",
3+
"version": "2.0",
4+
"bundles": {
5+
"custom-font-web-part-web-part": {
6+
"components": [
7+
{
8+
"entrypoint": "./lib/webparts/customFontWebPart/CustomFontWebPartWebPart.js",
9+
"manifest": "./src/webparts/customFontWebPart/CustomFontWebPartWebPart.manifest.json"
10+
}
11+
]
12+
}
13+
},
14+
"externals": {},
15+
"localizedResources": {
16+
"CustomFontWebPartWebPartStrings": "lib/webparts/customFontWebPart/loc/{locale}.js"
17+
}
18+
}

config/copy-assets.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/copy-assets.schema.json",
3+
"deployCdnPath": "temp/deploy"
4+
}

0 commit comments

Comments
 (0)