ewingjm / development-hub

A continuous integration solution for Power Apps.
MIT License
35 stars 8 forks source link

TypeScript does not build as part of PrepareDevelopmentEnvironment task #86

Closed mjahlv closed 3 years ago

mjahlv commented 3 years ago

Description TypeScript does not build as part of PrepareDevelopmentEnvironment task. If you clone the repository fresh (or delete the dist folder) then you will get a mapping error when running the PrepareDevelopmentEnvironment task. It makes sense to build the TypeScript before this task runs.

This would likely be missed by anyone doing active development as they are likely to have built the TypeScript at least once. This problem is most likely to impact new contributors.

Steps to reproduce Steps to reproduce the behaviour:

  1. Clone the repository (or delete the src\solutions\devhub_DevelopmentHub_Develop\WebResources\Scripts\dist folder for the devhub_DevelopmentHub_Develop solution).
  2. Run through the standard configuration steps to get Dev Hub deploying to a new environment.
  3. Run the PrepareDevelopmentEnvironment task and select the devhub_DevelopmentHub_Develop solution.
  4. JS Mapping file error.

Expected behaviour The devhub_DevelopmentHub_Develop solution should be deployed to the target successfully without any JS Mapping file errors.

Screenshots image

Environment: