Skip to content

Commit 48c27ef

Browse files
Adam-itNishkalankBezawadaervingayleSaurabh7019nicodecleyre
authored
Release v4.5.0 (#445)
## 🎯 Aim The aim is to create a new minor release with the latest enhancements. ## 📷 Result ![image](https://github.com/user-attachments/assets/0fe28fb9-3650-476f-b553-2734f91782d0) ![image](https://github.com/user-attachments/assets/be5d32fd-6e2e-4bd8-84fa-f8dfc07db429) ## ✅ What was done - [X] Adds new Gulp task Publish, which includes both bundle and package - [X] Updates settings to allow not to load apps for app catalogs - [X] Updates serve gulp tasks to combine them into a single task - [X] Refactors pipeline scaffolding form to smaller components - [X] Adds initial integration tests for the product - [X] Add an action that allows to increase project version and implement version increment logic - [X] Fixes App Install/Uninstall issue to allow installing apps on root site --------- Co-authored-by: Nishkalank Bezawada <[email protected]> Co-authored-by: Ervin Gayle <[email protected]> Co-authored-by: Saurabh Tripathi <[email protected]> Co-authored-by: Nico De Cleyre <[email protected]>
1 parent f7580cd commit 48c27ef

36 files changed

+2011
-468
lines changed

.github/workflows/check-tests.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Check Tests
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
name: "Test"
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Setup node
14+
uses: actions/setup-node@v4
15+
with:
16+
node-version: 20
17+
registry-url: https://registry.npmjs.org/
18+
19+
- name: Checkout SPFx Toolkit
20+
uses: actions/checkout@v4
21+
with:
22+
path: vscode-viva
23+
24+
- name: Install dependencies for SPFx Toolkit
25+
run: npm ci
26+
working-directory: vscode-viva
27+
28+
- name: Checkout CLI for Microsoft 365
29+
uses: actions/checkout@v4
30+
with:
31+
repository: Adam-it/cli-microsoft365
32+
path: cli-microsoft365
33+
ref: cli-cjs
34+
35+
- name: Print dir
36+
run: |
37+
dir
38+
39+
- name: Install dependencies for CLI for Microsoft 365
40+
run: npm i
41+
working-directory: cli-microsoft365
42+
43+
- name: Build CLI for Microsoft 365
44+
run: npm run build
45+
working-directory: cli-microsoft365
46+
47+
- name: Run script to copy local CLI for Microsoft 365
48+
run: .\vscode-viva\scripts\cli-for-microsoft365-copy-local-version.ps1 -workspacePath "${{ github.workspace }}"
49+
shell: pwsh
50+
continue-on-error: false
51+
52+
- name: Build SPFx Toolkit
53+
run: npm run package
54+
working-directory: vscode-viva
55+
56+
- name: Compile tests for SPFx Toolkit
57+
run: npm run compile-tests
58+
working-directory: vscode-viva
59+
60+
- name: Run tests for SPFx Toolkit
61+
run: npm run test
62+
working-directory: vscode-viva
63+

.vscode-test.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
files: 'out/test/**/*.test.js'
5+
});

.vscode/launch.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@
1515
"outFiles": [
1616
"${workspaceFolder}/dist/**/*.js"
1717
]
18-
}
18+
},
19+
{
20+
"name": "Extension Tests",
21+
"type": "extensionHost",
22+
"request": "launch",
23+
"runtimeExecutable": "${execPath}",
24+
"args": [
25+
"--extensionDevelopmentPath=${workspaceFolder}",
26+
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
27+
],
28+
"outFiles": ["${workspaceFolder}/out/test/**/*.js"]
29+
}
1930
]
2031
}

CHANGELOG.md

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

3+
## [4.5.0] - 2025-04-14
4+
5+
- Adds new Gulp task Publish, which includes both bundle and package
6+
- Updates settings to allow not to load apps for app catalogs
7+
- Updates serve gulp tasks to combine them into a single task
8+
- Refactors pipeline scaffolding form to smaller components
9+
- Adds initial integration tests for the product
10+
- Add an action that allows to increase project version and implement version increment logic
11+
- Fixes App Install/Uninstall issue to allow installing apps on root site
12+
313
## [4.4.0] - 2025-02-04
414

515
- Updated the gulp bundle local and production to a single task with an additional prompt

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Additionally, it will show you all tenant-wide extensions installed on your tena
161161

162162
![tenant details](./assets/images/app-catalog-list.png)
163163

164-
Using the extension settings you may choose show or hide the tenant-wide extensions list and tenant health incidents list.
164+
Using the extension settings you may choose to show or hide the apps in app catalog list and tenant health incidents list.
165165

166166
![settings](./assets/images/settings.png)
167167

@@ -245,6 +245,12 @@ And the code tour guidance will provide you upgrade tips directly in your code!
245245

246246
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#set-form-customizer)
247247

248+
- **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.
249+
250+
![Increase project version](./assets/images/increase-versioning.png)
251+
252+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#increase-project-version)
253+
248254
- **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.
249255

250256
[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)

assets/images/actions.png

-396 Bytes
Loading

assets/images/increase-versioning.png

637 KB
Loading

assets/images/settings.png

22.1 KB
Loading

assets/images/tasks.png

-10.7 KB
Loading

assets/walkthrough/actions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@ And the code tour guidance will provide you upgrade tips directly in your code!
6060

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

63+
- **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.
64+
65+
![Set Form Customizer](../images/set-form-customizer-action.png)
66+
67+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#set-form-customizer)
68+
69+
- **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.
70+
71+
![Increase project version](../images/increase-versioning.png)
72+
73+
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.5-Actions#increase-project-version)
74+
6375
- **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.
6476

6577
[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)

assets/walkthrough/tasks.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ test - Runs unit tests, if available, for the client-side solution project.
1212
package-solution - Packages the client-side solution into a SharePoint package.
1313
deploy-azure-storage - Deploys client-side solution project assets to Azure Storage.
1414

15-
1615
SPFx Toolkit VS Code extension shows all possible Gulp tasks one may run on an SPFx project. Don't worry about remembering all the commands, just click on the task you want to run and the extension will do the rest.
1716

1817
![Gulp Tasks](../images/tasks.png)

0 commit comments

Comments
 (0)