File tree Expand file tree Collapse file tree 8 files changed +64
-4
lines changed
Expand file tree Collapse file tree 8 files changed +64
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Package
2+
3+ on :
4+ create :
5+ tags :
6+ - v*
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - uses : actions/setup-node@v2
14+ with :
15+ node-version : 14.x
16+ - run : npm ci
17+
18+ publish-npm :
19+ needs : build
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v2
23+ - uses : actions/setup-node@v2
24+ with :
25+ node-version : 14.x
26+ registry-url : https://registry.npmjs.org
27+ always-auth : true
28+ - run : npm ci
29+ - run : npm run prepublish
30+ - run : npm version "${GITHUB_REF:11}" --no-git-tag-version
31+ - run : npm publish --access public
32+ env :
33+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ jobs :
4+ contrib-readme-job :
5+ runs-on : ubuntu-latest
6+ name : Contrib in readme
7+ steps :
8+ - name : Contribute List
9+ 10+ env :
11+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11node_modules /
2- src /tsdoc-metadata.json
32typings /
43* .log
54.DS_Store
65lib /
6+ src /
Original file line number Diff line number Diff line change 11[submodule "feather "]
22 path = feather
33 url = https://github.com/feathericons/feather.git
4+ branch = master
5+
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ api-extractor.json
33tsconfig.json
44.svgrrc.js
55.gitmodules
6+ src /
Original file line number Diff line number Diff line change @@ -61,3 +61,17 @@ Any [Svg property](https://github.com/react-native-community/react-native-svg#co
6161| ** ` stroke ` ** | The stroke prop refers to the color outline the icon. | ` "currentColor" ` |
6262| ** ` strokeWidth ` ** | The strokeWidth prop specifies the width of the outline on the icon. | ` 2 ` |
6363| ** ` fill ` ** | The fill prop refers to the color inside the icon. | ` "none" ` |
64+
65+ ### Author
66+ <!-- readme: yigithanyucedag -start -->
67+ <!-- readme: yigithanyucedag -end -->
68+
69+ ## Collaborators
70+
71+ <!-- readme: collaborators -start -->
72+ <!-- readme: collaborators -end -->
73+
74+ ## Contributors
75+
76+ <!-- readme: contributors -start -->
77+ <!-- readme: contributors -end -->
Original file line number Diff line number Diff line change 66 "typings" : " lib/react-native-feather.d.ts" ,
77 "scripts" : {
88 "prepare-icons" : " git submodule update && svgr --native --icon --typescript -d src/icons feather/icons" ,
9- "prepublish" : " npm run prepare-icons && tsc -p tsconfig.json && npx api-extractor run --local && rimraf typings"
9+ "prepublish" : " npm run prepare-icons && tsc -p tsconfig.json && npx api-extractor run --local && rimraf typings src "
1010 },
1111 "repository" : {
1212 "type" : " git" ,
Original file line number Diff line number Diff line change 11{
2- // Change this to match your project
32 "include" : [" src/icons/*" ],
43 "compilerOptions" : {
54 "target" : " ESNext" ,
109 "outDir" : " lib" ,
1110 "declarationDir" : " typings"
1211 }
13- }
12+ }
You can’t perform that action at this time.
0 commit comments