File tree Expand file tree Collapse file tree 7 files changed +53
-4
lines changed
Expand file tree Collapse file tree 7 files changed +53
-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+ with :
14+ submodules : recursive
15+ - uses : actions/setup-node@v2
16+ with :
17+ node-version : 14.x
18+ - run : npm ci
19+
20+ publish-npm :
21+ needs : build
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v2
25+ with :
26+ submodules : recursive
27+ - uses : actions/setup-node@v2
28+ with :
29+ node-version : 14.x
30+ registry-url : https://registry.npmjs.org
31+ always-auth : true
32+ - run : npm ci
33+ - run : npm version "${GITHUB_REF:11}" --no-git-tag-version
34+ - run : npm publish --access public
35+ env :
36+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
37+ -
uses :
akhilmhdh/[email protected] 38+ env :
39+ 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
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,12 @@ 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+ ## Contributors
70+
71+ <!-- readme: contributors -start -->
72+ <!-- 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