git clone https://github.com/NathanWalker/nativescript-theme-seed.git nativescript-theme-
[your-custom-name-here]cd nativescript-theme-[your-custom-name-here]
npm run postclone
The seed is prepared to allow you to test and try out your theme via the integrated app setup which is all set with several component pages you can test your custom theme against.
Additionally it provides a proper .gitignore
to keep GitHub tidy as well as .npmignore
to ensure everyone is happy when you publish your theme via npm.
SASS
filesapp
that would test those changes outtns emulate ios
or tns run android
tns livesync --emulator --watch
IMPORTANT: Always make sure you have run the app in iOS or Android to verify any changes as well as ensure the latest css
has been built before doing the following:
nativescript-theme-[your-custom-name-here].json
nativescript-theme-[your-custom-name-here].md
if any changes to the published README
are needed.npm run builder
cd nativescript-theme-[your-custom-name-here]
npm publish
IMPORTANT: Never modify the contents of nativescript-theme-[your-custom-name-here]
folder directly. The builder creates that everytime and any change you make there will be overwritten.
Setup changelog generation:
npm install -g conventional-changelog-cli
Generate changelog workflow:
package.json
and nativescript-theme-[your-custom-name-here].json
conventional-changelog -p angular -i CHANGELOG.md -s
git clone https://github.com/NathanWalker/nativescript-theme-seed
cd nativescript-theme-seed
// Improve!