thinkful-ui
v6.0.39
Published
Shared UI resources for Thinkful.
Maintainers
Keywords
Readme
UI
Shared React components for Thinkful applications.
/src
Code for the shared components.
/stories
Stories for demoing components using storybook
/script
Standard bootstrap scripts (Thinkful convention).
Demo
npm run dev
/script/serverDevelopment
Requires Node version >= 12. If you want to work on UI components locally and see your changes in another app (outside the stories demo), you can use npm link.
- From
Thinkful/ui:npm run dev - From
Thinkful/ui:npm link - From the folder containing your app's
package.json:npm link thinkful-ui
Deploying changes to thinkful-ui
thinkful-ui changes need to be deployed to npm, then both assets and seagull need to be updated to use the newest thinkful-ui.
- Bump the version in
thinkful-ui'spackage.json. - in
Thinkful/ui:npm publish - in
Thinkful/assets: bump thethinkful-uiversion inpackage.jsonto the new version. - in
Thinkful:make build assets && make upload assets, which will regenerate build hashes indocker-compose.yml. - in
Thinkful/assets: Make a PR with thatpackage.jsonchange anddocker-compose.ymlupdates, and merge tomaster. - in
Thinkful/seagull: do the same steps as above. - You're done!
Caveat: Make sure the React versions in ui and assets are at least roughly in sync.
