Skip to content

Commit 89cf30c

Browse files
committed
Added a deploy script since I seem to forget to build the project before publishing it.
1 parent f98d4a0 commit 89cf30c

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,23 @@ npm run test
3030
npm run lint
3131
```
3232

33+
#### Deploy project
34+
35+
```
36+
npm run deploy
37+
```
38+
3339
## Tools
3440

3541
### Builders
3642

37-
Builders allows you to develop [Angular Builders](https://angular.io/guide/cli-builder) with a streamlined interface. It aims to make the process of developing builders easier and
43+
Builders allows you to develop [Angular Builders](https://angular.io/guide/cli-builder) with a streamlined interface. It aims to make the process of developing builders easier.
3844

3945
#### What it does
4046

41-
* Simplyfies the process for developing Angular builders
47+
* Simplifies the process for developing Angular builders
4248
* Allows you to pipe multiple builders in a single sequence
43-
* Minimizes your consoel logs (only logs what's important)
49+
* Minimizes your console logs (only logs what's important)
4450

4551
#### Usage
4652

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@unitario/angular-devkit",
3-
"version": "10.0.0",
3+
"version": "10.0.2",
44
"description": "Software Development Kit for Angular developed by Unitario",
55
"main": "dist/index.js",
66
"license": "MIT",
@@ -24,6 +24,7 @@
2424
"build": "yarn run build:package && yarn run build:test && echo 'Build completed.'",
2525
"build:test": "tsc --p ./__tests__/builders/tsconfig.json && echo 'Test build completed.'",
2626
"build:package": "tsc --p ./tsconfig.json && echo 'Package build completed.'",
27+
"deploy": "yarn run build && yarn publish && echo 'Deploy completed.'",
2728
"test": "jest --verbose",
2829
"lint": "eslint **/*.ts --fix "
2930
},

0 commit comments

Comments
 (0)