Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add typescript support #50

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-pro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.FURY_AUTH_TOKEN }}
- name: Download & Build Icons
run: npm i @iconscout/unicons@latest && npm run generate
run: npm i @iconscout/unicons@latest && npm run generate && npm run build
- name: Publish to Gemfury
run: npm publish
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 10.16.3
- name: Download & Build Icons
run: npm ci --progress=false && npm i @iconscout/unicons@latest && npm run generate
run: npm ci --progress=false && npm i @iconscout/unicons@latest && npm run generate && npm run build
- name: Create Pull Request
uses: peter-evans/create-pull-request@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: 10.16.3
- name: Download & Build Icons
run: npm ci --progress=false && npm i @iconscout/unicons@latest && npm run generate
run: npm ci --progress=false && npm i @iconscout/unicons@latest && npm run generate && npm run build
- name: Publish to NPM
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc && npm publish
env:
Expand Down
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
node_modules
lib
lib
**/*.d.ts
**/*.jsx
**/*.js
/.idea/
/dist/
9 changes: 8 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
node_modules
example
**/*.ts
**/*.tsx
!**/*.d.ts
/example/
/.idea/
/tsconfig.json
/.github/
/build/
66 changes: 0 additions & 66 deletions build/generate.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-0-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-10-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-12-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-13-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-16-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-17-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-18-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-21-plus.js

This file was deleted.

28 changes: 0 additions & 28 deletions icons/uil-3-plus.js

This file was deleted.

Loading