Create your first pipeline for a typescript project
Create your first pipeline for a typescript project
I needed a simple and basic example from which to learn how to create a build pipeline on azure devops for a typescript project , I didn’t find any, I decided to create one myself
Luckily there is an excellent guide to create a similar thing for javascript projects
with its source code on github
and also a very simple and clear tutorials are available to take flight with typescript
I simply put all togheter and I got one pipeline that works for typescript; after all it is a very normal npm build;  pipeline-typescript simply shows that nothing substantial changes compared to the example provided for pipelines-javascript
For information on how to set up a pipeline for this repository, see Create your first pipeline.
with respect to commmit e34dc460c1562d3e9a5cd746dd89d6805fcc8b6b of pipelines-javascript these are the main changes made to rise pipeline-typescript:
see package.json)
        npm install --save-dev typescriptnpm install --save-dev @typescript-eslint/eslint-pluginnpm install --save-dev @typescript-eslint/parsernpm install --save-dev jestnpm install --save-dev ts-jestnpm install --save-dev @types/jestnpm install --save-dev eslintnpm install --save-dev eslint-plugin-jestnpm install --save-dev @types/expressnpm install --save-dev dotenvsrc/__tests__/index.test.tstsconfig.jsonjest.config.jssrc/index.tsserver.jsgulpfile.jstest/index.js'target' )"main": "target/index.js", "build": "tsc", "test": "jest" and removed gulp,mocha,nyc deps that aren’t used by this typescript sample )MIT