Skip to content

Commit 9621f17

Browse files
Release v3.0.0 (#205)
## 🎯 Aim Create new major release ## πŸ“· Result ![walkthrough2](https://github.com/pnp/vscode-viva/assets/58668583/f2c6510c-aa09-49cc-ba63-752563d9d8d3) ## βœ… What was done - [X] Added VS Code extension walkthrough - [X] Rebrand the extension to SharePoint Framework Toolkit - [X] Added support for picking either nvm or nvs for Node.js version management --------- Co-authored-by: Hugo Bernier <[email protected]>
1 parent 9dfe2da commit 9621f17

20 files changed

+394
-63
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [3.0.0] - 2024-03-31
4+
5+
- Added VS Code extension walkthrough
6+
- Rebrand the extension to SharePoint Framework Toolkit
7+
- Added support for picking either nvm or nvs for Node.js version management
8+
39
## [2.6.0] - 2024-03-18
410

511
- Refactored and rebuilt the scaffolding process

β€ŽREADME.mdβ€Ž

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<h1 align="center">
2-
<img alt="Viva Connections Toolkit for Visual Studio Code" src="./assets/logo-large.png" width="150px" />
2+
<img alt="SharePoint Framework Toolkit for Visual Studio Code" src="./assets/logo-large.png" width="150px" />
33
</h1>
44

55
<h1 align="center">
6-
Viva Connections Toolkit for Visual Studio Code
6+
SharePoint Framework Toolkit for Visual Studio Code
77
</h1>
88

99
<p align="center">
@@ -18,7 +18,7 @@
1818
</a>
1919
</p>
2020

21-
<p align="center">Viva Connections Toolkit (SPFx Toolkit) is a Visual Studio Code extension that aims to boost your productivity in developing and managing SharePoint Framework solutions helping at every stage of your development flow, from setting up your development workspace to deploying a solution straight to your tenant without the need to leave VS Code. With SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready allowing you to create solutions to extend SharePoint, Microsoft Teams, Microsoft Viva Connections, Outlook and Microsoft365.com.</p>
21+
<p align="center">SharePoint Framework Toolkit is a Visual Studio Code extension that aims to boost your productivity in developing and managing SharePoint Framework solutions helping at every stage of your development flow, from setting up your development workspace to deploying a solution straight to your tenant without the need to leave VS Code. With SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready allowing you to create solutions to extend SharePoint, Microsoft Teams, Microsoft Viva Connections, Outlook and Microsoft365.com.</p>
2222

2323
<p align="center">
2424
<a href="#-capabilities">Capabilities</a> |
@@ -210,7 +210,7 @@ And for Azure DevOpsπŸ‘‡
210210

211211
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#add-new-component)
212212

213-
- **Open sample/scenario galleries of the SPFx web part, extensions, or ACEs projects** - Viva Connections Toolkit supports a couple of sample galleries that may be used to scaffold a new SPFx project.
213+
- **Open sample/scenario galleries of the SPFx web part, extensions, or ACEs projects** - SharePoint Framework Toolkit supports a couple of sample galleries that may be used to scaffold a new SPFx project.
214214

215215
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#open-samplescenario-galleries-of-the-spfx-web-part-extensions-or-aces-projects)
216216

@@ -224,7 +224,7 @@ The help and feedback section is a group of links that will direct you to the ri
224224

225225
### 1️⃣0️⃣ Coding Snippets
226226

227-
The Viva Connections Toolkit comes together as a bundle with two other extensions. One of them is [SPFx Snippets](https://marketplace.visualstudio.com/items?itemName=eliostruyf.spfx-snippets) created by [Elit Struyf](https://www.eliostruyf.com/).
227+
The SharePoint Framework Toolkit comes together as a bundle with two other extensions. One of them is [SPFx Snippets](https://marketplace.visualstudio.com/items?itemName=eliostruyf.spfx-snippets) created by [Elit Struyf](https://www.eliostruyf.com/).
228228

229229
It contains snippets for working in:
230230

@@ -246,15 +246,21 @@ Check it out in action πŸ‘‡
246246

247247
### 1️⃣1️⃣ Teams Toolkit Integration
248248

249-
[Teams Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) is a widely used VS Code extension that aims to help you develop solutions that will allow you to extend Microsoft Teams. Viva Connection Toolkit aims to boost your productivity in SharePoint Framework solutions that may be used to extend SharePoint, Microsoft Teams, Microsoft Viva Connections, Outlook, and Microsoft365.com. Among many awesome functionalities, Teams Toolkit allows you to create a project to extend Teams Tab with SPFx project, and that’s where both of those extensions may cooperate.
249+
[Teams Toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) is a widely used VS Code extension that aims to help you develop solutions that will allow you to extend Microsoft Teams. SharePoint Framework Toolkit aims to boost your productivity in SharePoint Framework solutions that may be used to extend SharePoint, Microsoft Teams, Microsoft Viva Connections, Outlook, and Microsoft365.com. Among many awesome functionalities, Teams Toolkit allows you to create a project to extend Teams Tab with SPFx project, and that’s where both of those extensions may cooperate.
250250

251251
![Teams Toolkit integration](./assets/images/better-together.png)
252252

253253
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/6-Teams-Toolkit-Integration)
254254

255+
### 1️⃣2️⃣ Node.js Version Manager Support
256+
257+
By default, the SharePoint Framework Toolkit will use the Node.js version that is installed on your machine. If you want to use a different version, you can use a Node.js Version Manager such as [nvm](https://github.com/nvm-sh/nvm) or [nvs](https://github.com/jasongin/nvs). The SharePoint Framework Toolkit will detect the preferred version of Node.js if a `.nvmrc` file is present in the root of your project, and will use that version for all the actions.
258+
259+
You can use the settings to change which Node.js version manager you want to use. You may choose between `nvm` and `nvs`. If you wish to avoid using a Node.js version manager, you can set the value to `none`
260+
255261
## βš™οΈ Architecture
256262

257-
Viva Connections Toolkit for Visual Studio Code is an abstraction layer on top of the [SPFx](https://aka.ms/spfx) Yeoman generator and [CLI for Microsoft 365](https://pnp.github.io/cli-microsoft365/).
263+
SharePoint Framework Toolkit for Visual Studio Code is an abstraction layer on top of the [SPFx](https://aka.ms/spfx) Yeoman generator and [CLI for Microsoft 365](https://pnp.github.io/cli-microsoft365/).
258264

259265
This means that the features and capabilities provided through this tool are available for any solution which has been built with SPFx.
260266

274 Bytes
Loading

β€Žassets/logo-large.pngβ€Ž

106 Bytes
Loading
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
## CI/CD Workflow
2+
3+
SharePoint Framework Toolkit extends VS Code with additional UI to present you with a scaffolding form that will allow you to create a CI/CD Workflow in 3 easy steps.
4+
5+
It's important to know that many fields are already prefield and it is possible to hit create without changing any value to get a basic and default YAML workflow file.
6+
7+
![CI CD pipeline](../images/CICD-pipeline.png)
8+
9+
Check it out in action for GitHubπŸ‘‡
10+
11+
![GitHub CI CD workflow](../images/gh-ci-cd.gif)
12+
13+
And for Azure DevOpsπŸ‘‡
14+
15+
![Azure DevOps CI CD pipeline](../images/azdo-ci-cd.gif)
16+
17+
[Check out our docs for more details and a step by step guide](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#cicd-github-workflow)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## Coding Snippets
2+
3+
The SharePoint Framework Toolkit comes together as a bundle with two other extensions. One of them is [SPFx Snippets](https://marketplace.visualstudio.com/items?itemName=eliostruyf.spfx-snippets) created by [Elit Struyf](https://www.eliostruyf.com/).
4+
5+
It contains snippets for working in:
6+
7+
- JavaScript (resource files)
8+
- React
9+
- SASS (SCSS)
10+
- TypeScript
11+
- JSON
12+
13+
In order to start using it simply start typing from `spfx-` and you should see a full list of snippets that will inject code into the current file.
14+
15+
![code snippets](../images/code-snippets.png)
16+
17+
Check out the extension [details to find out more](https://github.com/estruyf/vscode-spfx-snippets#usage)
18+
19+
Check it out in action πŸ‘‡
20+
21+
![code snippets](../images/code-snippets.gif)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
## Create a new project
2+
3+
Creating a new project was never easier. Just use the **create a new project** action, and the extension will guide you through the process with a dedicated scaffolding form.
4+
5+
![Create new project](../images/scaffolding.png)
6+
7+
Check it out in action πŸ‘‡.
8+
9+
![Create new project](../images/scaffolding-form.gif)
10+
11+
It's possible to scaffold any kind of SPFx project.
12+
13+
![All SPFx project support](../images/scaffolding-support.png)
14+
15+
Install additional dependencies with a single click straight from the scaffolding form. Currently we support installing [PnP reusable property pane controls](https://pnp.github.io/sp-dev-fx-property-controls/), [PnP reusable React controls](https://pnp.github.io/sp-dev-fx-controls-react/), and [PnPjs](https://pnp.github.io/pnpjs/).
16+
17+
![Additional dependency step](../images/scaffolding-additional-step.png)
18+
19+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.2-Scaffolding#1-scaffold-a-new-spfx-project)
20+
21+
## Don't Start from scratch. Reuse an SPFx (web part or extension) or ACE sample
22+
23+
You may kick-start your development with a new project based on an existing ACE or SPFx web part or extension with a click of a button. All of the provided samples are powered by [PnP Samples repositories](https://pnp.github.io/sp-dev-fx-webparts/samples/type/).
24+
25+
![Sample gallery](../images/samples.png)
26+
27+
The extension provides a set of filters to help you find the right sample for your needs. You may search by: author, title, description, SPFx version, and component type. It is also possible browse sample details view directly from VS Code checking all sample details before you create a new project.
28+
29+
Switch between the list and grid view and don't worry about the size of your VS Code as it is fully responsive.
30+
31+
![Sample gallery is responsive](../images/samples-responsive.png)
32+
33+
Check out how easy it is to create a new project based on a existing sample πŸ‘‡.
34+
35+
![Create project based on web part sample](../images/sample-gallery.gif)
36+
37+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.2-Scaffolding#2-dont-start-from-scratch---sample-galleries)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
## SharePoint Framework
3+
4+
With SharePoint Framework (SPFx), you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready allowing you to create solutions to extend SharePoint, Microsoft Teams, Microsoft Viva Connections, Outlook and Microsoft365.com.
5+
6+
Go over the [overview of the SharePoint Framework](https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview) to find out more.
7+
8+
## Set up your Microsoft 365 tenant
9+
10+
To build and deploy client-side web parts, extensions or adaptive cards using the SharePoint Framework, you need a Microsoft 365 tenant. You may join the [developer program](https://developer.microsoft.com/en-us/microsoft-365/dev-program) to get a free Microsoft 365 developer tenant.
11+
12+
Go over the [set up instructions](https://learn.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-developer-tenant) to find out more.
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
## Gulp tasks
2+
3+
The extension shows all possible Gulp tasks one may run on an SPFx project. The tasks allow you to clean, bundle, package, serve the project with a single click.
4+
5+
![Gulp Tasks](../images/tasks.png)
6+
7+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.4-Gulp-tasks)
8+
9+
## Actions
10+
11+
The actions section allows unique functionalities that may significantly boost productivity when working with SPFx projects.
12+
13+
![Actions](../images/actions.png)
14+
15+
Currently the extension allows you to:
16+
17+
- **CI/CD Workflow** - This action will allow you to generate yaml CI/CD GitHub Workflow or Azure DevOps Pipeline to bundle, package, and deploy your project to any app catalog on every code push.
18+
19+
![CI CD pipeline](../images/CICD-pipeline.png)
20+
21+
Check it out in action for GitHubπŸ‘‡
22+
23+
![GitHub CI CD workflow](../images/gh-ci-cd.gif)
24+
25+
And for Azure DevOpsπŸ‘‡
26+
27+
![Azure DevOps CI CD pipeline](../images/azdo-ci-cd.gif)
28+
29+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#cicd-github-workflow)
30+
31+
- **Upgrade project** - Uses CLI for Microsoft 365 to create a .md report with upgrade guidance to the latest supported SPFx version by the extension.
32+
33+
![Upgrade project](../images/upgrade-project.png)
34+
35+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#upgrade-project)
36+
37+
- **Validate current project** - Creates a validation .md report against the currently used SPFx version in the project. The action will automatically detect the SPFx version used and will validate if the project is properly set up.
38+
39+
![Upgrade project](../images/validate-project.png)
40+
41+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#validate-current-project)
42+
43+
- **Rename current project** - Forget about manual work and let the extension rename your project and generate a new solution ID.
44+
45+
![Rename](../images/rename.png)
46+
47+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#rename-current-project)
48+
49+
- **Grant API permissions** - The action will Grant all API permissions specified in the package-solution.json of the current project. This is especially helpful if you just want to debug your SPFx solution using Workbench. No longer do you need to bundle, package, and deploy the project to then go to the SharePoint admin portal and consent to the permissions. All of that is now done with just a single click.
50+
51+
![Grant permissions](../images/grant-permissions.png)
52+
53+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#grant-api-permissions)
54+
55+
- **Deploy project** - This action will only work when the user is logged in to tenant and the sppkg file is present. The action will deploy the project to the selected (tenant or site) app catalog.
56+
57+
![Deploy](../images/deploy.png)
58+
59+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#grant-api-permissions)
60+
61+
- **Add new component** - Allows scaffolding a new SPFx project as a new component of the currently opened project. The action under the hood uses the same SharePoint Yeoman generator to scaffold a new project and this feature is an abstraction UI layer.
62+
63+
![Add component](../images/add-component.png)
64+
65+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#add-new-component)
66+
67+
- **Open sample/scenario galleries of the SPFx web part, extensions, or ACEs projects** - SharePoint Framework Toolkit supports a couple of sample galleries that may be used to scaffold a new SPFx project.
68+
69+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#open-samplescenario-galleries-of-the-spfx-web-part-extensions-or-aces-projects)
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
## Login to your tenant & retrieve environment details
2+
3+
![tenant info](../images/tenant-info.png)
4+
5+
The extension allows you to login to your Microsoft 365 tenant using CLI for Microsoft 365.
6+
7+
![login](../images/login.png)
8+
9+
Thanks to that the extension will retrieve helpful URLs from your tenant like:
10+
11+
- link to SharePoint main site
12+
- link to SharePoint admin site
13+
- link to SharePoint web API permission management page
14+
15+
Additionally, the extension will check and retrieve tenant service health incidents that are currently happening in your tenant so that you gain quick insights on your tenant health.
16+
17+
![tenant details](../images/tenant-links.png)
18+
19+
After successful login an additional view is presented that shows list links to app catalogs available in the tenant, both tenant-level and all site-level app catalogs. Additionally it will show you all tenant-wide extensions installed on your tenant with.
20+
21+
![tenant details](../images/app-catalog-list.png)
22+
23+
Login-in is also required for some actions to work properly like the deploy action which allows you to upload of the .sppkg file to the tenant or site-level App Catalog.
24+
25+
Additionally, when an SPFx project is opened the extension will check serve.json file and suggest updating it to set the properties based on the currently logged-in tenant.
26+
27+
![validate serve](../images/validate-serve-config.png)
28+
29+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.3-Login-to-your-tenant-&-retrieve-environment-details)

0 commit comments

Comments
Β (0)