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
The aim is to create a new minor release with the latest enhancements.
## 📷 Result
<img width="1536" height="816" alt="image"
src="https://github.com/user-attachments/assets/8d1205a2-0670-4690-ba9b-6d364a655d13"
/>
<img width="485" height="509" alt="image"
src="https://github.com/user-attachments/assets/6ec798cb-4d31-4aa3-8f21-249d34757021"
/>
<img width="1536" height="815" alt="image"
src="https://github.com/user-attachments/assets/22d601c8-8b57-403b-84e5-33bb3cb4aab2"
/>
<img width="1536" height="810" alt="image"
src="https://github.com/user-attachments/assets/fcd31e92-ee89-4cc2-a4e9-abdd631f22c7"
/>
## ✅ What was done
- [X] Updated the way SPFx Toolkit handles token refresh, which extends
the time the user is signed in to SharePoint Online tenant
- [X] Updated the scaffolding form to communicate that it supports the
latest version of SPFx
- [X] Refactored list-related language model tools CLI commands to use
CSV output
- [X] Refactored or removed all usage of yo-rc.json
- [X] Refactored `/setup` chat command to SPFx setup language model tool
- [X] Fixed issue in the sample gallery with missing ACE samples
- [X] Fixed nvm use error on Windows without a version argument
- [X] Removed `/info` chat command
- [X] Added validate local setup for current project action
---------
Co-authored-by: Saurabh Tripathi <saurabh7019@gmail.com>
Co-authored-by: Nico De Cleyre <35696168+nicodecleyre@users.noreply.github.com>
Co-authored-by: Nirav Raval <niravraval34@gmail.com>
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/), [PnPjs](https://pnp.github.io/pnpjs/). Add and preconfigure [SPFx Fast Serve](https://github.com/s-KaiNet/spfx-fast-serve) and add a Node Version Manager configuration file either for NVM or NVS.
113
+
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/), [PnPjs](https://pnp.github.io/pnpjs/). Add a Node Version Manager configuration file either for NVM or NVS.
As of now, creating new project supports only latest version of SharePoint Framework (SPFx). If you need to create a project with an older version, please use the the SharePoint Yeoman generator directly in the terminal.
120
+
117
121
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/scaffolding)
118
122
119
123
### 6️⃣ Sign in to your tenant & retrieve environment details
@@ -203,21 +207,7 @@ The actions section allows unique functionalities that may significantly boost p
203
207
204
208
Currently the extension allows you to:
205
209
206
-
-**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.
207
-
208
-

209
-
210
-
Check it out in action for GitHub👇
211
-
212
-

213
-
214
-
And for Azure DevOps👇
215
-
216
-

217
-
218
-
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/ci-cd)
219
-
220
-
-**Upgrade project** - Generates a detailed upgrade report (`.md` and/or code tour) to guide users from their current SPFx version to a selected target version using CLI for Microsoft 365. The report includes both required and optional upgrade steps, with a consolidated script at the end for automated actions and a list of remaining manual steps.
210
+
-**Upgrade project SPFx version** - Generates a detailed upgrade report (`.md` and/or code tour) to guide users from their current SPFx version to a selected target version using CLI for Microsoft 365. The report includes both required and optional upgrade steps, with a consolidated script at the end for automated actions and a list of remaining manual steps.
@@ -227,47 +217,67 @@ And the code tour guidance will provide you upgrade tips directly in your code!
227
217
228
218
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#upgrade-project)
229
219
230
-
-**Validate project** - Creates a validation .md report and/or code tour validation guidance for the currently open SPFx project. The action will automatically detect the SPFx version used and will validate if the project is properly set up.
220
+
-**Validate project correctness** - Creates a validation .md report and/or code tour validation guidance for the currently open SPFx 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://pnp.github.io/vscode-viva/features/actions#validate-current-project)
235
225
226
+
-**Validate local setup for current project** - This action will validate the local setup for the currently open SPFx project, ensuring all necessary global dependencies are in place.
227
+
228
+

229
+
230
+
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#validate-local-setup)
231
+
236
232
-**Rename project** - Forget about manual work and let the extension rename your project and generate a new solution ID.
237
233
238
234

239
235
240
236
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#rename-current-project)
241
237
238
+
-**Increase project version** - This action allows you to increase project major, minor or patch version and automatically align the versioning between `package.json` and `package-solution.json` files.
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#increase-project-version)
243
+
242
244
-**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://pnp.github.io/vscode-viva/features/actions#grant-api-permissions)
247
249
248
-
-**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.
250
+
-**Deploy project to app catalog** - 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.
249
251
250
252

251
253
252
254
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#deploy-project)
253
255
254
-
-**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.
256
+
-**Set Form Customizer** - Allows to update the New, Edit or View form of any SharePoint List to a given SPFx Form Customizer based on provided GUID.

257
259
258
-
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#add-new-component)
260
+
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#set-form-customizer)
259
261
260
-
-**Set Form Customizer** - Allows to update the New, Edit or View from of any SharePoint List to a given SPFx Form Customizer based on provided GUID.
262
+
-**Scaffold 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.
261
263
262
-

264
+

263
265
264
-
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#set-form-customizer)
266
+
Check it out in action for GitHub👇
265
267
266
-
-**Increase project version** - This action allows you to increase project major, minor or patch varsion and automatically align the versioning between `package.json` and `package-solution.json` files.
268
+

[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#increase-project-version)
272
+

273
+
274
+
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/ci-cd)
275
+
276
+
-**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.
[Check out our docs for more details](https://pnp.github.io/vscode-viva/features/actions#add-new-component)
271
281
272
282
-**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.
273
283
@@ -335,16 +345,12 @@ Now you may use SPFx Toolkit as a chat participant in GitHub Copilot chat extens
335
345
336
346

337
347
338
-

339
-
340
348
@spfx is your dedicated AI Copilot that will help you with anything that is needed to develop your SharePoint Framework project. It has predefined commands that are tailored toward a specific activity for which you require guidance.
-`/setup` - that is dedicated to providing information on how to setup your local workspace for SharePoint Framework development
346
353
-`/new` - that may be used to get guidance on how to create a new solution or find and reuse an existing sample from the PnP SPFx sample gallery
347
-
-`/info` - this command will allow you to ask and retrieve any kind of data from you SharePoint Online tenant. This command will only work if your are signed in to your tenant. It uses CLI for Microsoft 365 commands under the hood to retrieve and explain data and assets from your SharePoint Online tenant. It does support only retrieving information, it will not support you in creating, updating or removing any resources. For example, you want to check if some list item or file exists. Or how many items with specific metadata do you have on a list? Or ask for content type columns to generate an interface based on the response quickly.
348
354
349
355
The SPFx Toolkit Language Model Tools provide a set of skills may be used by GitHub Copilot in agent mode to assist you in your SharePoint Framework development tasks and managing your SharePoint Online tenant.
350
356
@@ -360,15 +366,23 @@ The extension provides the following tools
0 commit comments