Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
Folder name changed for configs
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasOmar committed Nov 26, 2022
1 parent 9d17514 commit 11869be
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 2-second-project/package.json → 2-configs/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "2-second-project",
"name": "2-configs",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ npm run setup-all
| ------ | ------ |
| All | `npm run setup-all` |
| Basics | `npm run setup-basics` |
| Configs | `npm run setup-configs` |

## How to run it
To run any specific exercise, execute the following command in the project´s folder:
Expand All @@ -29,10 +30,10 @@ npm start
- Understanding of `Core Types` like `number`, `string`, `boolean`, `array` and `object`
- Understanding of `Tuples`, `Enums`, `Union` and `Literal/Custom` Types
- Understanding of `void`, `undefined`, `unknown` and `never` Types
- Second project (`2-second-project` folder)
- Configs (`2-configs` folder)
- Adding `watch mode` to mantain updated changes and check possible errors before hand
- Create a typescript configuration file with `tsc --init` and tweak for a custom config
- Understand how Typescript compiles ES6+ code
- Understand how Typescript compiles ES6+ code (like `let/const`, `arrow functions`, `default function parameters`, `spread operator` and `destructuring`)

## Version (currently ![Typescript practice version](https://img.shields.io/github/package-json/v/nicolasomar/typescript-practice?color=success&label=%20&style=flat-square))
| Number | Meaning |
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"homepage": "https://github.com/NicolasOmar/typescript-practice#readme",
"scripts": {
"setup-basics": "cd ./1-basics && npm i",
"setup-second": "cd ./2-second-project && npm i",
"setup-all": "npm i -g typescript && npm run setup-basics && npm run setup-second"
"setup-configs": "cd ./2-configs && npm i",
"setup-all": "npm i -g typescript && npm run setup-basics && npm run setup-configs"
}
}

0 comments on commit 11869be

Please sign in to comment.