oh-vue-icons
Advanced tools
Comparing version 0.1.9 to 0.1.10
# Change Log | ||
## [0.1.9](https://github.com/Renovamen/oh-vue-icons/compare/v0.1.8...v0.1.9) (2021-02-13) | ||
### Features | ||
- **iconpack:** add [Line Awesome](https://icons8.com/line-awesome) ([#2](https://github.com/Renovamen/oh-vue-icons/issues/2)) ([ebff0d0](https://github.com/Renovamen/oh-vue-icons/commit/ebff0d0cf4db8d778783709aba65fd86eef16fdd)) | ||
- **iconpack:** add [Pixel Icons](https://pixelarticons.com/) ([e648337](https://github.com/Renovamen/oh-vue-icons/commit/e6483375bf5a859e985e9d085fae64adc6483e71)) | ||
- **iconpack:** add [VSCode Icons](https://github.com/vscode-icons/vscode-icons) ([1a42006](https://github.com/Renovamen/oh-vue-icons/commit/1a42006dad7776a723e201ca078e19c2eabd053a)) | ||
- **iconpack:** upgrade: | ||
- [Bootstrap Icons](https://icons.getbootstrap.com/) (v1.3.0): 64 more icons | ||
- [Cryptocurrency Icons](https://github.com/spothq/cryptocurrency-icons) (v0.17.1): 26 more icons | ||
- [Octicons](https://primer.style/octicons/) (v12.0.0): 3 more icons | ||
- [Simple Icons](https://simpleicons.org/) (v4.10.0): 238 more icons | ||
## [0.1.8](https://github.com/Renovamen/oh-vue-icons/compare/v0.1.7...v0.1.8) (2021-02-02) | ||
### Features | ||
@@ -12,6 +25,4 @@ | ||
## [0.1.7](https://github.com/Renovamen/oh-vue-icons/compare/v0.1.6...v0.1.7) (2021-01-05) | ||
### Bug Fixes | ||
@@ -21,3 +32,2 @@ | ||
### Features | ||
@@ -30,6 +40,4 @@ | ||
## [0.1.6](https://github.com/Renovamen/oh-vue-icons/compare/v0.1.5...v0.1.6) (2021-01-03) | ||
### Features | ||
@@ -48,3 +56,2 @@ | ||
### Features | ||
@@ -54,3 +61,2 @@ | ||
### BREAKING CHANGES | ||
@@ -61,6 +67,4 @@ | ||
## [0.1.2](https://github.com/Renovamen/oh-vue-icons/compare/v0.1.1...v0.1.2) (2020-12-06) | ||
### Features | ||
@@ -71,6 +75,4 @@ | ||
## [0.1.1](https://github.com/Renovamen/oh-vue-icons/compare/v0.1.0...v0.1.1) (2020-12-06) | ||
### Bug Fixes | ||
@@ -81,8 +83,6 @@ | ||
# [0.1.0](https://github.com/Renovamen/oh-vue-icons/compare/19c8c9d74ebf5a23c5dc34aace3b2807b06c9a9a...v0.1.0) (2020-12-04) | ||
### Features | ||
- **iconpack**: add [Font Awesome 5](https://fontawesome.com/), [Remix Icon](https://github.com/Remix-Design/RemixIcon) and [academicons](https://github.com/jpswalsh/academicons) ([19c8c9d](https://github.com/Renovamen/oh-vue-icons/commit/19c8c9d74ebf5a23c5dc34aace3b2807b06c9a9a)) |
{ | ||
"name": "oh-vue-icons", | ||
"version": "0.1.9", | ||
"description": "Include inline SVG icons from different icon packs in Vue easily.", | ||
"version": "0.1.10", | ||
"description": "Include inline SVG icons from different popular icon packs in Vue easily.", | ||
"keywords": [ | ||
"font awesome", | ||
"remix icon", | ||
"bootstrap icons", | ||
"line awesome", | ||
"octions", | ||
"simple icons", | ||
"academicons", | ||
"weather icons", | ||
"pixel icons", | ||
"flat color icons", | ||
"vscode icons", | ||
"game icons", | ||
"cryptocurrency Icons", | ||
"pokemon icons", | ||
"flag icon", | ||
"vue", | ||
"icons" | ||
"icons", | ||
"iconpacks" | ||
], | ||
@@ -25,12 +37,14 @@ "homepage": "https://oh-vue-icons.vercel.app", | ||
"build": "node scripts/build.js", | ||
"build:docs": "nuxt generate", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"demo": "vue-cli-service serve demo/main.js", | ||
"dev": "nuxt", | ||
"docs:build": "nuxt generate", | ||
"docs:preview": "cd docs/dist && http-server", | ||
"download": "sh ./scripts/download.sh", | ||
"lint": "eslint --ext .js,.vue ./", | ||
"lint-fix": "eslint --fix --ext .js,.vue ./", | ||
"preview:docs": "cd docs/dist && http-server", | ||
"pub": "sh ./scripts/publish.sh", | ||
"start": "nuxt start", | ||
"submodule": "git submodule update --init" | ||
"submodule": "git submodule update --init", | ||
"update": "sh ./scripts/update.sh" | ||
}, | ||
@@ -50,7 +64,2 @@ "husky": { | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 8" | ||
], | ||
"dependencies": { | ||
@@ -62,2 +71,3 @@ "core-js": "^3.4.4" | ||
"@nuxtjs/tailwindcss": "^3.1.0", | ||
"@vue/cli-service": "^4.5.11", | ||
"babel-eslint": "^10.1.0", | ||
@@ -71,2 +81,3 @@ "cross-env": "^5.2.1", | ||
"nuxt": "^2.14.6", | ||
"nuxt-i18n": "^6.20.3", | ||
"rimraf": "^2.7.1", | ||
@@ -77,6 +88,3 @@ "sort-package-json": "^1.48.1", | ||
"vue-swatches": "^2.1.0" | ||
}, | ||
"peerDependencies": { | ||
"vue": "^2.4.0" | ||
} | ||
} |
@@ -5,10 +5,14 @@ # Oh, Vue Icons! | ||
A [Vue](https://vuejs.org/) component for including inline SVG icons from different icon packs in easily. Now the following icon packs are supported: | ||
🇬🇧 **English** | 🇨🇳 [中文说明](README-CN.md) | ||
A [Vue](https://vuejs.org/) component for including inline SVG icons from different popular iconpacks easily. It is tree-shakable and allows only importing the used icons. | ||
Now the following 15 icon packs are supported: | ||
| Icon Pack | Prefix | License | Icon Numer | | ||
| ------------------------------------------------------------- | ------ | ------------------------------------------------------------- | ---------- | | ||
| [academicons](https://github.com/jpswalsh/academicons) | `ai` | [SIL OFL 1.1](http://scripts.sil.org/OFL) | 145 | | ||
| [Bootstrap Icons](https://icons.getbootstrap.com/) | `bi` | [MIT](https://github.com/twbs/icons/blob/main/LICENSE.md) | 1265 | | ||
| [Bootstrap Icons](https://icons.getbootstrap.com/) | `bi` | [MIT](https://github.com/twbs/icons/blob/main/LICENSE.md) | 1325 | | ||
| [Cryptocurrency Icons](https://github.com/spothq/cryptocurrency-icons) (Colorful) | `ci` | [CC0 1.0 Universal](https://github.com/spothq/cryptocurrency-icons/blob/master/LICENSE.md) | 892 | | ||
| [Font Awesome 5](https://fontawesome.com/) (Free) | `fa` | [CC BY 4.0](https://github.com/FortAwesome/Font-Awesome/blob/master/LICENSE.txt) | 1609 | | ||
| [Font Awesome 5 Free](https://fontawesome.com/) | `fa` | [CC BY 4.0](https://github.com/FortAwesome/Font-Awesome/blob/master/LICENSE.txt) | 1609 | | ||
| [Flat Color Icons](https://github.com/icons8/flat-color-icons) (Colorful) | `fc` | [MIT / Good Boy](https://github.com/icons8/flat-color-icons/blob/master/LICENSE.md) | 329 | | ||
@@ -22,4 +26,4 @@ | [Flag Icon](https://flagicons.lipis.dev/) (Colorful) | `fi` | [MIT](https://github.com/lipis/flag-icon-css/blob/master/LICENSE) | 516 | | ||
| [Remix Icon](https://github.com/Remix-Design/RemixIcon) | `ri` | [Apache 2.0](https://github.com/Remix-Design/RemixIcon/blob/master/License) | 2271 | | ||
| [Simple Icons](https://simpleicons.org/) | `si` | [CC0 1.0 Universal](https://github.com/simple-icons/simple-icons/blob/develop/LICENSE.md) | 1750 | | ||
| [VSCode Icons](https://github.com/vscode-icons/vscode-icons) | `vi` | [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) | 1061 | | ||
| [Simple Icons](https://simpleicons.org/) | `si` | [CC0 1.0 Universal](https://github.com/simple-icons/simple-icons/blob/develop/LICENSE.md) | 1799 | | ||
| [VSCode Icons](https://github.com/vscode-icons/vscode-icons) (Colorful) | `vi` | [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) | 1061 | | ||
| [Weather Icons](https://erikflowers.github.io/weather-icons/) | `wi` | [SIL OFL 1.1](http://scripts.sil.org/OFL) | 219 | | ||
@@ -135,35 +139,25 @@ | ||
## Development | ||
## Nuxt.js | ||
Install dependencies: | ||
When using Nuxt.js for server side rendering, `oh-vue-icons` should be added to the transpile build option in `nuxt.config.js`: | ||
```bash | ||
yarn install | ||
```js | ||
export default { | ||
// ... | ||
build: { | ||
transpile: ['oh-vue-icons'] | ||
} | ||
} | ||
``` | ||
Fetch icon sources: | ||
or it will not be bundled, see [Nuxt's documentation](https://nuxtjs.org/docs/2.x/directory-structure/plugins) for details. | ||
```bash | ||
yarn submodule | ||
``` | ||
Download some of the icons packs ([`gameicons`](https://game-icons.net/archives/svg/zip/000000/transparent/game-icons.net.svg.zip)): | ||
| ||
```bash | ||
yarn download | ||
``` | ||
## Contributing | ||
Re-generate files under `src/icons` automatically: | ||
Contributions are welcomed, learn how to contribute [here](CONTRIBUTING.md). | ||
```bash | ||
yarn build | ||
``` | ||
Run docs: | ||
```bash | ||
yarn dev | ||
``` | ||
| ||
@@ -173,3 +167,3 @@ | ||
This project is inspired by and based on [Justineo/vue-awesome](https://github.com/Justineo/vue-awesome) and [react-icons](https://github.com/react-icons/react-icons). | ||
This project is inspired by and based on [vue-awesome](https://github.com/Justineo/vue-awesome) and [react-icons](https://github.com/react-icons/react-icons). | ||
@@ -176,0 +170,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31796234
1
40
54090
17
172