kalend icon indicating copy to clipboard operation
kalend copied to clipboard

Contributing helper script

Open cazfletch opened this issue 3 years ago • 1 comments

When i tried to follow the contributing instructions in the documentation i just kept getting an error saying the hooks cannot be used outside of react. It would be really helpful to provide a script in the example app that you can run and it sets up the npm linking for you. Maybe there could be a flag for first time setup and a flag for when you have made changes to the calendar component.

cazfletch avatar Jun 14 '22 08:06 cazfletch

I am using this from kalend main folder:

npm i --force && npm run build && npm link

and this from example_app folder


rm -r -f /YOUR_PATH/kalend/node_modules/react-dom
rm -r -f /YOUR_PATH/kalend/node_modules/react

npm link kalend --force

I will prepare some universal script from it.

Every change needs rebuilding and it is quite slow, I think Gulp was little bit faster for development build process.

nibdo avatar Jun 15 '22 19:06 nibdo

Any update on this?

yc-codes avatar Sep 23 '22 09:09 yc-codes

Added to documentation https://docs.kalend.org/docs/basics/developing

nibdo avatar Sep 29 '22 21:09 nibdo