-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 🎯 Aim The aim is to prepare new minor release with latest changes added like: more guidance regarding gulp tasks and in scaffolding form, more gulp tasks. renamed actions, added support for SPFx 1.20 etc. ## 📷 Result ![GulpTasks1](https://github.com/user-attachments/assets/026e631b-221d-4914-b56b-1896365e328b) ![Upgrade1](https://github.com/user-attachments/assets/3b698065-ba2e-4c98-b217-8e05ecbbd710) ![GuidanceScaffolding](https://github.com/user-attachments/assets/db879bbc-2b9e-4091-9b94-cf8a9402ee3a) ## ✅ What was done - [X] Added support for SPFx 1.20 ⭐ Upgrade and Validate your SPFx projects - [X] Added dedicated step in the walkthrough explaining Gulp Tasks - [X] Added more Gulp Tasks to the tasks panel - [X] Added guidance for each project type in scaffolding form - [X] Refactored action naming - [X] Refactored to hide features that do not work without login --------- Co-authored-by: Luccas Castro <[email protected]>
- Loading branch information
Showing
25 changed files
with
279 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 0 additions & 8 deletions
8
assets/walkthrough/tasks-and-actions.md → assets/walkthrough/actions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
## Gulp tasks | ||
|
||
The SharePoint Framework uses [Gulp](https://gulpjs.com/) as its task runner to handle building, bundling, and packaging of the client-side solution project. | ||
|
||
The toolchain consists of the following gulp tasks defined in the @microsoft/sp-build-core-tasks package: | ||
|
||
build - Builds the client-side solution project. | ||
bundle - Bundles the client-side solution project entry point and all its dependencies into a single JavaScript file. | ||
serve - Serves the client-side solution project and assets from the local machine. | ||
clean - Cleans the client-side solution project's build artifacts from the previous build and from the build target directories (lib and dist). | ||
test - Runs unit tests, if available, for the client-side solution project. | ||
package-solution - Packages the client-side solution into a SharePoint package. | ||
deploy-azure-storage - Deploys client-side solution project assets to Azure Storage. | ||
|
||
|
||
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. | ||
|
||
![Gulp Tasks](../images/tasks.png) | ||
|
||
[Check out our docs for more details](https://github.com/pnp/vscode-viva/wiki/5.4-Gulp-tasks) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
export const AdaptiveCardTypes = [ | ||
{ | ||
name: 'Generic Card Template', | ||
value: 'Generic' | ||
value: 'Generic', | ||
description: "A flexible template that can be customized for various use cases, displaying general information and content in an adaptive card format." | ||
}, | ||
{ | ||
name: 'Search Query Modifier', | ||
value: 'Search' | ||
value: 'Search', | ||
description: "A template designed to modify and enhance search queries, improving the relevance and accuracy of search results displayed in adaptive cards." | ||
}, | ||
{ | ||
name: 'Data Visualization Card Template', | ||
value: 'DataVisualization' | ||
value: 'DataVisualization', | ||
description: "A template focused on presenting data visualizations, such as charts and graphs, within adaptive cards to provide clear and insightful data representations." | ||
|
||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.