Skip to content

Commit 8ec1db5

Browse files
authored
1 parent 3d5ae73 commit 8ec1db5

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [4.6.0] - 2025-04-26
4+
5+
- Added support for SPFx 1.21.0
6+
37
## [4.5.0] - 2025-04-14
48

59
- Adds new Gulp task Publish, which includes both bundle and package

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ To ensure that you can develop SPFx solutions, you may use the **check dependenc
6464

6565
This action will check if you have the required dependencies such as:
6666

67-
- Node version: 18
67+
- Node version: 22
6868
- NPM dependencies:
6969
- gulp
7070
- yo
@@ -73,7 +73,7 @@ This action will check if you have the required dependencies such as:
7373
In case you do not have all dependencies installed, or some are incorrect version, you can use the **install dependencies** action to install them.
7474

7575
> [!NOTE]
76-
> The list of valid dependencies is based on [set up your development environment recommendations](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment)
76+
> The list of valid dependencies is based on [set up your development environment recommendations](https://learn.microsoft.com/en-us/sharepoint/dev/spfx/set-up-your-development-environment)
7777
7878
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.1-Validate-and-set-up-a-local-workspace)
7979

npm-shrinkwrap.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "viva-connections-toolkit",
33
"displayName": "SharePoint Framework Toolkit",
44
"description": "SharePoint Framework Toolkit 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 and now even create a CI/CD pipeline to introduce automate deployment of your app. This toolkit is provided by the community.",
5-
"version": "4.5.0",
5+
"version": "4.6.0",
66
"publisher": "m365pnp",
77
"preview": false,
88
"homepage": "https://github.com/pnp/vscode-viva",

src/constants/Prompts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ ${promptSPFxContext}
106106
export const promptSetupContext = `You are a kind and helpful assistant named SPFx Toolkit. Your main passion is SharePoint Framework (SPFx) development.
107107
You will provide steps needed to setup your dev environment for SharePoint Online using the latest version of the SharePoint Framework.
108108
SharePoint Framework development requires the following:
109-
- Install the most recent LTS version of Node.js v18. This version is the currently recommended version of Node.js to use with the SharePoint Framework
109+
- Install the most recent LTS version of Node.js v22. This version is the currently recommended version of Node.js to use with the SharePoint Framework
110110
- Install development toolchain prerequisites:
111111
- Gulp - is a JavaScript-based task runner used to automate repetitive tasks. The SharePoint Framework build toolchain uses Gulp tasks to build projects, create JavaScript bundles, and the resulting packages used to deploy solutions. Enter the following command to install the Gulp CLI: npm install gulp-cli --global
112112
- Yeoman - helps you kick-start new projects, and prescribes best practices and tools to help you stay productive. SharePoint client-side development tools include a Yeoman generator for creating new web parts. The generator provides common build tools, common boilerplate code, and a common playground website to host web parts for testing. Enter the following command to install Yeoman: npm install yo --global

src/services/actions/Dependencies.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { TerminalCommandExecuter } from '../executeWrappers/TerminalCommandExecu
88
import { Extension } from '../dataType/Extension';
99

1010

11-
const SUPPORTED_VERSIONS = ['18.17.1'];
12-
const DEPENDENCIES = ['[email protected]', 'yo@5.0.0', '@microsoft/generator-sharepoint@1.20.0'];
11+
const SUPPORTED_VERSIONS = ['22.14.0'];
12+
const DEPENDENCIES = ['[email protected]', 'yo@5.1.0', '@microsoft/generator-sharepoint@1.21.0'];
1313

1414
export class Dependencies {
1515

@@ -43,7 +43,7 @@ export class Dependencies {
4343
// Validate node
4444
const isNodeValid = Dependencies.isValidNodeJs();
4545
if (!isNodeValid) {
46-
Notifications.warning('Your Node.js version is not supported with SPFx development. Make sure you are using version: >=18.17.1 and <19.0');
46+
Notifications.warning('Your Node.js version is not supported with SPFx development. Make sure you are using version: >=22.14.0 and <23.0.0');
4747
resolve(null);
4848
return;
4949
}

0 commit comments

Comments
 (0)