0.3.0 • Published 8 years ago
pxtools-menubar v0.3.0
Predix UI Menubar app
Searches through useful Predix UI info like colors and icons to help you design and develop faster and with more confidence.
Download the app
The app is distributed for recent Mac OS X platforms. Download the latest version by opening the latest release page and downloading the file pxtools-menubar-darwin-x64-VERSION.zip.
Developing
You'll need node and bower to develop.
- Clone this repo
- Run
yarnfrom inside the repo to install all dependencies - Run
npm run-script devto serve the app and develop it in the browser - Run
npm run-script startto serve the app in the menubar and test how it works
Adding Icons
To add icons, you just need to run a script which will extract all icons from px-icon-set and create the icons.json data file.
- Have node modules and bower components installed.
- Make sure you have Node.js 7.6+
- If you're on 7.x run with the flag node --harmony-async-await
- If you're on 8.x no flag
- If px-icon-set has a new group (e.g. Feature, Object, etc), you must add it to scripts/extract-icons.js
dirsobject. - Provide optional keywords in scripts/keywords.json for each new icon.
node scripts/extract-icons.js
Distributing
- Run
npm run-script buildto build the app. - Zip the new build up and delete the source folder (don't check the source folder or zip into the repo)
- Add release notes to
HISTORY.md - Run
npm version [NEW_VERSION_HERE]to bump the version number - this command will automatically bump package.json and commit the result - Run
npm publishto publish the new version to the npm registry - Run
git push origin master && git push origin --tagsto push the new code and release tag to github - Create a new release on Github and upload the distribution zip you created so users can download the new version.