File tree Expand file tree Collapse file tree 3 files changed +58
-1
lines changed Expand file tree Collapse file tree 3 files changed +58
-1
lines changed Original file line number Diff line number Diff line change 99build
1010
1111# Dependency directory
12- node_modules
12+ node_modules
13+
14+ .env
Original file line number Diff line number Diff line change 1717rollup.config.js
1818tsconfig.json
1919dev.md
20+ .env
Original file line number Diff line number Diff line change @@ -9,6 +9,12 @@ cd demo-app
99npm link react-ui-scrollspy
1010```
1111
12+ creates a ` .tgz `
13+
14+ ``` bash
15+ npm pack
16+ ```
17+
1218## Commit Messages
1319
1420https://github.com/ahmadawais/Emoji-Log
@@ -22,3 +28,51 @@ git commit -m "🚀 RELEASE: "
2228git commit -m " 🤖 TEST: "
2329git commit -m " ‼️ BREAKING: "
2430```
31+
32+ ### GitHub package
33+
34+ ``` bash
35+ npm login --registry=https://npm.pkg.github.com/
36+ ```
37+
38+ #### package.json
39+
40+ ``` json
41+ "name" : " @pettiboy/react-ui-scrollspy" ,
42+ .....
43+ "publishConfig" : {
44+ "registry" : " https://npm.pkg.github.com/"
45+ },
46+ "repository" : {
47+ "type" : " git" ,
48+ "url" : " git+https://github.com/pettiboy/react-ui-scrollspy.git" ,
49+ "directory" : " react-ui-scrollspy"
50+ },
51+ " bugs" .....
52+ ```
53+
54+ ``` bash
55+ npm publish
56+ ```
57+
58+ ### npm package
59+
60+ ``` bash
61+ npm login
62+ ```
63+
64+ #### package.json
65+
66+ ``` json
67+ "name" : " react-ui-scrollspy" ,
68+ ....
69+ "repository" : {
70+ "type" : " git" ,
71+ "url" : " git+https://github.com/pettiboy/react-ui-scrollspy.git"
72+ },
73+ " bugs" .....
74+ ```
75+
76+ ``` bash
77+ npm publish
78+ ```
You can’t perform that action at this time.
0 commit comments