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
By default, each packaging project uses its own application.json file to define settings for studio-nip.ps1. While you can configure exclusions per project, there is no built-in mechanism to apply a shared set of exclusions across all projects.
To address this, you can introduce a default_config_file_path parameter and a DefaultTemplate.json file containing your preferred default exclusions. This approach gives you flexibility and avoids manually prepping your VM with exclusion lists for each packaging session.
Step-by-Step Instructions 1. Update the param() block to include the new parameter:
Replace:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
By default, each packaging project uses its own application.json file to define settings for studio-nip.ps1. While you can configure exclusions per project, there is no built-in mechanism to apply a shared set of exclusions across all projects.
To address this, you can introduce a default_config_file_path parameter and a DefaultTemplate.json file containing your preferred default exclusions. This approach gives you flexibility and avoids manually prepping your VM with exclusion lists for each packaging session.
Step-by-Step Instructions
1. Update the param() block to include the new parameter:Replace:
With:
2. Insert the merge logic after working folder resolution:
Below:
Add:
3. Enable the feature in your application.json file:
To activate the merge logic, add the following flag under "CaptureSettings":
4. Create your DefaultTemplate.json file:
This file should contain the default exclusions you want applied across all projects. Example:
Beta Was this translation helpful? Give feedback.
All reactions