Skip to content

Commit

Permalink
Deprecated old logic and changed path for certificate (#512)
Browse files Browse the repository at this point in the history
* Deprecated old logic and changed path for certificate

* Removed redundant changes

* Audit fix

* Fixed import

* Fixed file creation

* Fixed path to ensure

* Added missing part of path for certificate

* Updated changelog

* Incapsulated usage of path to certificates

* Fixed tests

* Updated packages

* Fixed snyk
  • Loading branch information
AleksSavelev authored Jun 4, 2024
1 parent a2e8d09 commit e5f717b
Show file tree
Hide file tree
Showing 9 changed files with 329 additions and 502 deletions.
5 changes: 5 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This page contains information about changes to the PowerBI Visual Tools (pbiviz).

## 5.5.0
* Changed path for storing certificates. It allows the certificate to be reused regardless of tools version. New path is `({home directory}/pbiviz-certs)`.
* Windows version lower 10 is deprecated.
* Resolve of symlinks is disabled.

## 5.4.3
* Fixed bug with missing plugins for Eslint.
* New flag `--use-default` for `pbiviz package` and `pbiviz lint` commands. Use this command to lint files according to recommended lint config.
Expand Down
8 changes: 5 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
"package": { "dropFolder": "dist" },
"server": {
"assetsRoute": "/assets",
"privateKey": "certs/PowerBICustomVisualTest_private.key",
"certificate": "certs/PowerBICustomVisualTest_public.crt",
"pfx": "certs/PowerBICustomVisualTest_public.pfx"
"certificateFolder": "pbiviz-certs",
"privateKey": "PowerBICustomVisualTest_private.key",
"certificate": "PowerBICustomVisualTest_public.crt",
"pfx": "PowerBICustomVisualTest_public.pfx",
"passphrase": "PowerBICustomVisualTestPass.txt"
},
"visualTemplates": {
"circlecard": "https://codeload.github.com/microsoft/powerbi-visuals-circlecard-react/zip/master"
Expand Down
Loading

0 comments on commit e5f717b

Please sign in to comment.