Skip to content

Commit c9c158c

Browse files
Resul AvanResul Avan
authored andcommitted
readme update - pack usage for modules
1 parent e6ab06e commit c9c158c

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

functions/modules/handlers-module/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,28 @@
44
npm i
55
npm run build
66

7+
## pack (to create handlers-module-1.0.0.tgz)
8+
npm pack
9+
710
## install
811
npm i <relative-path-from-target-package>
12+
13+
# or
14+
npm i <relative-path-from-target-package>/handlers-module-1.0.0.tgz
915

1016
`on function`
1117

18+
npm i <relative-path-from-target-package>/handlers-module-1.0.0.tgz
19+
20+
# or
1221
npm i ../modules/handlers-module
1322

1423
`on src (nuxt)`
1524

1625
npm i ../functions/modules/handlers-module
26+
27+
# or
28+
npm i ../functions/modules/handlers-module/handlers-module-1.0.0.tgz
1729

1830
## remove local modules
1931
npm remove handlers-module

functions/modules/types-module/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,29 @@
33
## build
44
npm i
55
npm run build
6-
6+
7+
## pack ( to create types-module-1.0.0.tgz)
8+
npm pack
9+
710
## install
811
npm i <relative-path-from-target-package>
12+
13+
# or
14+
npm i <relative-path-from-target-package>/types-module-1.0.0.tgz
915

1016
`on function`
1117

18+
npm i ../modules/types-module/types-module-1.0.0.tgz
19+
20+
# or
1221
npm i ../modules/types-module
1322

1423
`on src (nuxt)`
1524

1625
npm i ../functions/modules/types-module
26+
27+
# or
28+
npm i ../functions/modules/types-module/types-module-1.0.0.tgz
1729

1830
## remove local modules
1931
npm remove types-module

0 commit comments

Comments
 (0)