syskit-icons
v1.0.2
Published
SysKit Icons
Downloads
1
Readme
Izrada ovih ikona:
- Otvorit https://icomoon.io/app/#/select
- Uploadat postojeći fonts/icomoon.svg I dodat novu svg ikonu
- Označit sve ikone I kliknu Generate font na dnu
- Downloadat generirani icomoon.zip
- Iz zipa iskopirat sve što se nalazi u fonts folderu http://take.ms/I5ZI1
- Otvorit style.css koji se nalazi u zipu I kopirat sve ikone u fonts.scss
- kod publisha i importanja paketa treba paziti imate li potrebna prava, prava se mogu provjeriti ovdje: https://acceleratio.visualstudio.com/Common/_packaging?feed=Common&_a=settings&view=permissions
Publish novog paketa:
- postpak se nalazi: https://docs.microsoft.com/en-us/vsts/package/get-started-npm#automate-the-process-with-continuous-integration (treba skrolati malo nize, pise Publish a package)
Importanje:
- otici na https://acceleratio.visualstudio.com/Common/_packaging?feed=Common&package=syskit-icons&version=1.0.1&protocolType=Npm&_a=package&view=overview
- napraviti sve sto tamo pise (prvo se treba spojiti na feed) 2.1.) ako npm install naredba ne radi, treba rucno dodati u dependencies u package.json "syskit-icons": "1.0.2"
- da bi importanje fonta radilo, treba u webpack rule-ovima podesiti regex za excludanje node_mudules-a
- otici u webpack/rules js
- promijeniti mekuUrlRule metodu u:
function makeUrlRule(pattern) { return { test: pattern, use: { loader: 'url-loader' }, exclude: /node_modules/(?!syskit-icons)/ }; }