Skip to content

Commit b704b09

Browse files
authored
Merge pull request #82 from sigmacomputing/embed-sharepoint
Embed sharepoint
2 parents 3327d8a + bca0481 commit b704b09

27 files changed

Lines changed: 31246 additions & 0 deletions

sigma-embed-sharepoint/.eslintrc.js

Lines changed: 319 additions & 0 deletions
Large diffs are not rendered by default.

sigma-embed-sharepoint/.gitignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
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+
release
13+
solution
14+
temp
15+
*.sppkg
16+
.heft
17+
18+
# Coverage directory used by tools like istanbul
19+
coverage
20+
21+
# OSX
22+
.DS_Store
23+
24+
# Visual Studio files
25+
.ntvs_analysis.dat
26+
.vs
27+
bin
28+
obj
29+
30+
# Resx Generated Code
31+
*.resx.ts
32+
33+
# Styles Generated Code
34+
*.scss.ts
35+
36+
# IDE and Editor files
37+
.vscode/
38+
.idea/
39+
*.swp
40+
*.swo
41+
*~
42+
43+
# Claude Code files
44+
.claude/
45+
CLAUDE.md
46+
47+
# Environment files
48+
.env
49+
.env.local
50+
.env.development.local
51+
.env.test.local
52+
.env.production.local
53+
54+
# Temporary files
55+
*.tmp
56+
*.temp
57+
58+
# Setup notes
59+
SETUP_NOTES.md

sigma-embed-sharepoint/.npmignore

Lines changed: 16 additions & 0 deletions
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

sigma-embed-sharepoint/.yo-rc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"@microsoft/generator-sharepoint": {
3+
"plusBeta": false,
4+
"isCreatingSolution": true,
5+
"nodeVersion": "20.14.0",
6+
"sdksVersions": {},
7+
"version": "1.21.1",
8+
"libraryName": "sigma-sharepoint-webpart",
9+
"libraryId": "633aaad6-dd50-4b32-a29f-bbaa79972ad7",
10+
"environment": "spo",
11+
"packageManager": "npm",
12+
"solutionName": "sigma-sharepoint-webpart",
13+
"solutionShortDescription": "sigma-sharepoint-webpart description",
14+
"skipFeatureDeployment": true,
15+
"isDomainIsolated": false,
16+
"componentType": "webpart"
17+
}
18+
}

sigma-embed-sharepoint/README.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# sigma-sharepoint-webpart
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.21.1-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
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+
"sigma-embed-web-part": {
6+
"components": [
7+
{
8+
"entrypoint": "./lib/webparts/sigmaEmbed/SigmaEmbedWebPart.js",
9+
"manifest": "./src/webparts/sigmaEmbed/SigmaEmbedWebPart.manifest.json"
10+
}
11+
]
12+
}
13+
},
14+
"externals": {},
15+
"localizedResources": {
16+
"SigmaEmbedWebPartStrings": "lib/webparts/sigmaEmbed/loc/{locale}.js"
17+
}
18+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
3+
"workingDir": "./release/assets/",
4+
"account": "<!-- STORAGE ACCOUNT NAME -->",
5+
"container": "sigma-sharepoint-webpart",
6+
"accessKey": "<!-- ACCESS KEY -->"
7+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
3+
"solution": {
4+
"name": "sigma-sharepoint-webpart-client-side-solution",
5+
"id": "633aaad6-dd50-4b32-a29f-bbaa79972ad7",
6+
"version": "1.0.0.0",
7+
"includeClientSideAssets": true,
8+
"skipFeatureDeployment": true,
9+
"isDomainIsolated": false,
10+
"developer": {
11+
"name": "",
12+
"websiteUrl": "",
13+
"privacyUrl": "",
14+
"termsOfUseUrl": "",
15+
"mpnId": "Undefined-1.21.1"
16+
},
17+
"metadata": {
18+
"shortDescription": {
19+
"default": "sigma-sharepoint-webpart description"
20+
},
21+
"longDescription": {
22+
"default": "sigma-sharepoint-webpart description"
23+
},
24+
"screenshotPaths": [],
25+
"videoUrl": "",
26+
"categories": []
27+
},
28+
"features": [
29+
{
30+
"title": "sigma-sharepoint-webpart Feature",
31+
"description": "The feature that activates elements of the sigma-sharepoint-webpart solution.",
32+
"id": "f42e4137-ca65-4a11-b01b-5ffa0aaf509e",
33+
"version": "1.0.0.0"
34+
}
35+
]
36+
},
37+
"paths": {
38+
"zippedPackage": "solution/sigma-sharepoint-webpart.sppkg"
39+
}
40+
}
Lines changed: 3 additions & 0 deletions
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+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/spfx-serve.schema.json",
3+
"port": 4321,
4+
"https": true,
5+
"initialPage": "https://{tenantDomain}/_layouts/workbench.aspx"
6+
}

0 commit comments

Comments
 (0)