You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## π― Aim
Create new major release
## π· Result

## β 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]>
Copy file name to clipboardExpand all lines: README.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
<h1align="center">
2
-
<imgalt="Viva Connections Toolkit for Visual Studio Code"src="./assets/logo-large.png"width="150px" />
2
+
<imgalt="SharePoint Framework Toolkit for Visual Studio Code"src="./assets/logo-large.png"width="150px" />
3
3
</h1>
4
4
5
5
<h1align="center">
6
-
Viva Connections Toolkit for Visual Studio Code
6
+
SharePoint Framework Toolkit for Visual Studio Code
7
7
</h1>
8
8
9
9
<palign="center">
@@ -18,7 +18,7 @@
18
18
</a>
19
19
</p>
20
20
21
-
<palign="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
+
<palign="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>
22
22
23
23
<palign="center">
24
24
<ahref="#-capabilities">Capabilities</a> |
@@ -210,7 +210,7 @@ And for Azure DevOpsπ
210
210
211
211
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#add-new-component)
212
212
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.
214
214
215
215
[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)
216
216
@@ -224,7 +224,7 @@ The help and feedback section is a group of links that will direct you to the ri
224
224
225
225
### 1οΈβ£0οΈβ£ Coding Snippets
226
226
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/).
228
228
229
229
It contains snippets for working in:
230
230
@@ -246,15 +246,21 @@ Check it out in action π
246
246
247
247
### 1οΈβ£1οΈβ£ Teams Toolkit Integration
248
248
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.
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/6-Teams-Toolkit-Integration)
254
254
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
+
255
261
## βοΈ Architecture
256
262
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/).
258
264
259
265
This means that the features and capabilities provided through this tool are available for any solution which has been built with SPFx.
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
+

8
+
9
+
Check it out in action for GitHubπ
10
+
11
+

12
+
13
+
And for Azure DevOpsπ
14
+
15
+

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)
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
+

16
+
17
+
Check out the extension [details to find out more](https://github.com/estruyf/vscode-spfx-snippets#usage)
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
+

6
+
7
+
Check it out in action π.
8
+
9
+

10
+
11
+
It's possible to scaffold any kind of SPFx project.
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/).
[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
+

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
+

32
+
33
+
Check out how easy it is to create a new project based on a existing sample π.
34
+
35
+

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)
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.
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
+

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
+

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
+

20
+
21
+
Check it out in action for GitHubπ
22
+
23
+

24
+
25
+
And for Azure DevOpsπ
26
+
27
+

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
+

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.
[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
+

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.
[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
+

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
+

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)
## Login to your tenant & retrieve environment details
2
+
3
+

4
+
5
+
The extension allows you to login to your Microsoft 365 tenant using CLI for Microsoft 365.
6
+
7
+

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
+

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
+

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.
0 commit comments