* Run our build scripts directly as typescript #277567
Follow up on #276864
For #277526
* Remove a few more ts-node references
* Fix linux and script reference
* Remove `_build-script` ref
* Fix script missing closing quote
* use type only import
* Fix export
* Make sure to run copy-policy-dto
* Make sure we run the copy-policy-dto script
* Enable `verbatimModuleSyntax`
* Pipelines fixes
* Try adding explicit ext to path
* Fix bad edit
* Revert extra `--`
---------
Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
* Engineering - refactor Linux stage
* Declare outputs in the template context
* Add outputParentDirectory
* Tweak ouput directory
* More artifacts
* deb and rpm packages
* Fixing path
* Another attempt to fix the path
* Add back the rpm gulp task
* Enable snap package
* Add template for ci jobs
* Test ci jobs
* Add default values for parameters
* Restore the correct check
* Set up the jobs and tasks
* Add codesign script
* Debug things
* Speed things up while testing
* Add more logging
* More debugging
* Try to use powershell
* Another try
* Another try
* Remove debugging code
* Remove debugging code
* .
* Try using pwsh
* Fix script
* Maybe now
* Maybe now
* Run the sign tasks in parallel
* Revert debug change