Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 2.05 KB

CONTRIBUTING.md

File metadata and controls

57 lines (38 loc) · 2.05 KB

Adding your changes

  1. Clone this repo
  2. Create a branch
  3. Commit your proposed changes
  4. Push the branch
  5. Open a PR
  6. Get a code review
  7. Merge and enjoy!

Developing

Developing under MacOS

Due to an open PowerBI issue the npm start might fail with FSEvents.framework.

To mitigate the issue for powerbi-visuals-tools version 1.10.0 may run

git apply VisualBuilder-1.10.0.patch

Testing under Windows (when developing under MacOS)

If you would like to test the plugin under Window you can save yourself the setup of a separate Windows environment if you have one under MacOS already by executing the following steps:

  1. Start the development server under MacOs (eg.: npm start)

  2. Get the IP address of your Mac (eg.: ifconfig). You need the one which can be used it access your computer from the Windows test machine

  3. On your Windows machine start command line with administrator privileges (cmd)

  4. Run the following command:

    netsh interface portproxy add v4tov4 8080 <MACOS_IP_ADDRESS> 8080 0.0.0.0
    
  5. Visit https://localhost:8080 under Windows and accept and store the certificate.

  6. You can visit https://app.powerbi.com enable the Dev Visual and test it as it was running on the Windows machine.

Running the tests

Please consult the README.md in the /test folder for futher details.

Building

npm run package The packaged output pbiviz file will be in the /dist folder.