Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified 01-intro.pptx
Binary file not shown.
319 changes: 0 additions & 319 deletions Demos/01-deployment/.eslintrc.js

This file was deleted.

4 changes: 4 additions & 0 deletions Demos/01-deployment/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ node_modules
# Build generated files
dist
lib
lib-dts
lib-commonjs
lib-esm
jest-output
release
solution
temp
Expand Down
32 changes: 19 additions & 13 deletions Demos/01-deployment/.npmignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
!dist
config
# Ignore everything by default
**

gulpfile.js
# Use negative patterns to bring back the specific things we want to publish
!/bin/**
!/dist/**
!/EULA/**
!/lib/**
!ThirdPartyNotice.txt

release
src
temp
# Ignore certain files in the above folders
/dist/*.stats.*
/dist/**/*.js.map
/lib/**/*.js.map
/lib/**/test/**

tsconfig.json
tslint.json

*.log

.yo-rc.json
.vscode
# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
12 changes: 5 additions & 7 deletions Demos/01-deployment/.yo-rc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"@microsoft/generator-sharepoint": {
"useGulp": false,
"plusBeta": false,
"isCreatingSolution": true,
"nodeVersion": "18.20.4",
"sdksVersions": {
"@microsoft/microsoft-graph-client": "3.0.2",
"@microsoft/teams-js": "2.24.0"
},
"version": "1.20.0",
"nodeVersion": "22.15.1",
"sdksVersions": {},
"version": "1.23.0",
"libraryName": "deployment-demo",
"libraryId": "3279e9df-7b26-4324-8b39-30e37b8a1f52",
"libraryId": "a6415ca1-592b-485c-a9d6-7a64e482c0be",
"environment": "spo",
"packageManager": "npm",
"solutionName": "DeploymentDemo",
Expand Down
20 changes: 12 additions & 8 deletions Demos/01-deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Short summary on functionality and used technologies.

## Used SharePoint Framework Version

![version](https://img.shields.io/badge/version-1.20.0-green.svg)
![version](https://img.shields.io/badge/version-1.23.0-green.svg)

## Applies to

- [SharePoint Framework](https://aka.ms/spfx)
- [Microsoft 365 tenant](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
- [Microsoft 365 tenant](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant)

> Get your own free development tenant by subscribing to [Microsoft 365 developer program](http://aka.ms/o365devprogram)

Expand Down Expand Up @@ -45,11 +45,14 @@ Short summary on functionality and used technologies.
- Clone this repository
- Ensure that you are at the solution folder
- in the command-line run:
- **npm install**
- **gulp serve**
- `npm install -g @rushstack/heft`
- `npm install`
- `heft start`

> Include any additional steps as needed.

Other build commands can be listed using `heft --help`.

## Features

Description of the extension that expands upon high-level summary above.
Expand All @@ -66,8 +69,9 @@ This extension illustrates the following concepts:

## References

- [Getting started with SharePoint Framework](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant)
- [Building for Microsoft teams](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/build-for-teams-overview)
- [Use Microsoft Graph in your solution](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-microsoft-graph-apis)
- [Publish SharePoint Framework applications to the Marketplace](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/publish-to-marketplace-overview)
- [Getting started with SharePoint Framework](https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant)
- [Building for Microsoft teams](https://docs.microsoft.com/sharepoint/dev/spfx/build-for-teams-overview)
- [Use Microsoft Graph in your solution](https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/using-microsoft-graph-apis)
- [Publish SharePoint Framework applications to the Marketplace](https://docs.microsoft.com/sharepoint/dev/spfx/publish-to-marketplace-overview)
- [Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) - Guidance, tooling, samples and open-source controls for your Microsoft 365 development
- [Heft Documentation](https://heft.rushstack.io/)
2 changes: 1 addition & 1 deletion Demos/01-deployment/config/deploy-azure-storage.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"account": "<!-- STORAGE ACCOUNT NAME -->",
"container": "deployment-demo",
"accessKey": "<!-- ACCESS KEY -->"
}
}
6 changes: 3 additions & 3 deletions Demos/01-deployment/config/package-solution.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package-solution.schema.json",
"solution": {
"name": "deployment-demo-client-side-solution",
"id": "3279e9df-7b26-4324-8b39-30e37b8a1f52",
"id": "a6415ca1-592b-485c-a9d6-7a64e482c0be",
"version": "1.0.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
Expand All @@ -12,7 +12,7 @@
"websiteUrl": "",
"privacyUrl": "",
"termsOfUseUrl": "",
"mpnId": "Undefined-1.20.0"
"mpnId": "Undefined-1.23.0"
},
"metadata": {
"shortDescription": {
Expand All @@ -29,7 +29,7 @@
{
"title": "deployment-demo Feature",
"description": "The feature that activates elements of the deployment-demo solution.",
"id": "5152ec7d-c3f3-4def-b7f9-d5d2f7daf299",
"id": "c022d865-cac2-4ccf-8ec0-0745970965e2",
"version": "1.0.0.0"
}
]
Expand Down
7 changes: 7 additions & 0 deletions Demos/01-deployment/config/rig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
// The "rig.json" file directs tools to look for their config files in an external package.
// Documentation for this system: https://www.npmjs.com/package/@rushstack/rig-package
"$schema": "https://developer.microsoft.com/json-schemas/rig-package/rig.schema.json",

"rigPackageName": "@microsoft/spfx-web-build-rig"
}
4 changes: 3 additions & 1 deletion Demos/01-deployment/config/sass.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/core-build/sass.schema.json"
"$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft-sass-plugin.schema.json",

"extends": "@microsoft/spfx-web-build-rig/profiles/default/config/sass.json"
}
9 changes: 9 additions & 0 deletions Demos/01-deployment/config/typescript.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "@microsoft/spfx-web-build-rig/profiles/default/config/typescript.json",

"staticAssetsToCopy": {
"fileExtensions": [".resx", ".jpg", ".png", ".woff", ".eot", ".ttf", ".svg", ".gif"],

"includeGlobs": ["webparts/*/loc/*.js"]
}
}
14 changes: 14 additions & 0 deletions Demos/01-deployment/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const spfxProfile = require('@microsoft/eslint-config-spfx/lib/flat-profiles/default');

module.exports = [
...spfxProfile,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json'
}
}
}
];
16 changes: 0 additions & 16 deletions Demos/01-deployment/gulpfile.js

This file was deleted.

Loading