Giter Site home page Giter Site logo

2021-06-btc-agile-sw-online-tutoria-02's Introduction

2021-06-btc-agile-sw-online-tutoria-02

Install

typescript    https://www.typescriptlang.org/
Jest Runner   https://marketplace.visualstudio.com/items?itemName=firsttris.vscode-jest-runner
vscode-icons  https://marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons
ts-jest       https://github.com/kulshekhar/ts-jest 
auto-imports  https://marketplace.visualstudio.com/items?itemName=steoates.autoimport

Command line

npm install -g typescript
npm install --save-dev jest
npm i @types/jest

Prerequisites       npm i -D jest typescript	
Installing          npm i -D ts-jest @types/jest	
Creating config     npx ts-jest config:init	

Compile all         tsc (Compila dependencias TypeScript)
Compile file        tsc '{path}/foo.ts' (Compila/Genera fichero transpilado JS)
Run file            npx node '{path}/foo.js' (Ejecuta fichero transpilado JS)
Compile/Run (fly)   npx ts-node '{path}/foo.ts'
Running tests       npx jest	

Compile struct      npx tsc --build [tsconfig.json] -> define files [ ... ]

CI/CD | nodejs		.travis.yml 

Actualizar Fork     Git
                    git remote add upstream https://github.com/GeeksHubsAcademy/2021-06-btc-agile-sw-online-tutoria-02.git
                    git fetch upstream
                    git checkout feature
                    git rebase upstream/feature
                    git push -f origin feature
                    
                    GitHub
                    Pulsamos sobre el botón "Compare" en el repo Forkeado
                    Pulsamos sobre "switching the base"
                    Generamos PR
                    Aceptamos PR

Propósito

Se necesita instalar un sistema de pruebas en la nube para poder aceptar las PR's con feedback por adelantado
Es necesario basarse en el ejemplo de la kata1 de la primera tutoría
Los pasos a seguir son:
 - Fork del proyecto
 - Crear rama 'feature'
 - Añadir la Kata1 a la solución del proyecto actual
 - Validar en local 
 - Generar una PR a la rama master del Fork
 - Generar una PR a la rama master del repo actual
 - Añadir fichero 'SAAS' en el repo actual
 - Actualizar Fork
 - Generar una PR a la rama master del Fork
 - Generar una PR a la rama master del repo actual
 - Validar lanzamiento de Test en PR actual

2021-06-btc-agile-sw-online-tutoria-02's People

Contributors

vicboma1 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.