Skip to content

Commit 14847c0

Browse files
Adam-itTanddantnicodecleyre
authored
Release v3.1.0 (#229)
## 🎯 Aim Create a new release ## βœ… What was done - [X] Fixed bug when there's a space in the folder path causing serve - [X] Refactor the action naming --------- Co-authored-by: Dan Toft <tanddant@gmail.com> Co-authored-by: Nico De Cleyre <35696168+nicodecleyre@users.noreply.github.com>
1 parent 98f26d9 commit 14847c0

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,13 @@ And for Azure DevOpsπŸ‘‡
180180

181181
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#upgrade-project)
182182

183-
- **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.
183+
- **Validate 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.
184184

185185
![Upgrade project](./assets/images/validate-project.png)
186186

187187
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#validate-current-project)
188188

189-
- **Rename current project** - Forget about manual work and let the extension rename your project and generate a new solution ID.
189+
- **Rename project** - Forget about manual work and let the extension rename your project and generate a new solution ID.
190190

191191
![Rename](./assets/images/rename.png)
192192

β€Žassets/walkthrough/tasks-and-actions.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ And for Azure DevOpsπŸ‘‡
3434

3535
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#upgrade-project)
3636

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.
37+
- **Validate 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.
3838

3939
![Upgrade project](../images/validate-project.png)
4040

4141
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#validate-current-project)
4242

43-
- **Rename current project** - Forget about manual work and let the extension rename your project and generate a new solution ID.
43+
- **Rename project** - Forget about manual work and let the extension rename your project and generate a new solution ID.
4444

4545
![Rename](../images/rename.png)
4646

β€Žpackage-lock.jsonβ€Ž

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
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": "3.0.0",
5+
"version": "3.1.0",
66
"publisher": "m365pnp",
77
"preview": false,
88
"homepage": "https://github.com/pnp/vscode-viva",

β€Žsrc/panels/CommandPanel.tsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ export class CommandPanel {
200200
private static async actionsTreeView() {
201201
const actionCommands: ActionTreeItem[] = [
202202
new ActionTreeItem('Upgrade project', '', { name: 'arrow-up', custom: false }, undefined, Commands.upgradeProject),
203-
new ActionTreeItem('Validate current project', '', { name: 'check-all', custom: false }, undefined, Commands.validateProject),
204-
new ActionTreeItem('Rename current project', '', { name: 'whole-word', custom: false }, undefined, Commands.renameProject),
203+
new ActionTreeItem('Validate project', '', { name: 'check-all', custom: false }, undefined, Commands.validateProject),
204+
new ActionTreeItem('Rename project', '', { name: 'whole-word', custom: false }, undefined, Commands.renameProject),
205205
new ActionTreeItem('Grant API permissions', '', { name: 'workspace-trusted', custom: false }, undefined, Commands.grantAPIPermissions),
206206
new ActionTreeItem('Deploy project (sppkg)', '', { name: 'cloud-upload', custom: false }, undefined, Commands.deployProject),
207207
new ActionTreeItem('Add new component', '', { name: 'add', custom: false }, undefined, Commands.addToProject),

β€Žsrc/services/TerminalCommandExecuter.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class TerminalCommandExecuter {
117117
currentProjectPath = join(currentProjectPath, 'src');
118118
}
119119

120-
TerminalCommandExecuter.runInTerminal(`cd ${currentProjectPath}`, terminal);
120+
TerminalCommandExecuter.runInTerminal(`cd "${currentProjectPath}"`, terminal);
121121
}
122122

123123
TerminalCommandExecuter.runInTerminal(command, terminal);

0 commit comments

Comments
Β (0)