-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add format-all with prettier script #51
Add format-all with prettier script #51
Conversation
This pull request is being automatically deployed with Vercel (learn more). klimadao-app – ./🔍 Inspect: https://vercel.com/klimadao/klimadao-app/9HYwsMuHVE1DN6HhbfRMrdpQRiVd [Deployment for e454b51 canceled] klimadao-site – ./🔍 Inspect: https://vercel.com/klimadao/klimadao-site/Ex8Do8NTzNrqhLs2nq9r4Tv6fPt6 [Deployment for e454b51 canceled] |
e1246db
to
bbd7650
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is the package-lock changed? Did prettier do that?
5bef7fd
to
e454b51
Compare
I think with installing - deinstalling it happened. I rebased again => no update on package-lock no more |
* chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README
* chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README
* add prettier and enhance eslint * prettier & eslint fixes * run prettier when building apps * links on landing page according to specs (#47) * links on landing page according to specs * fixed styling on Github and Twitter icons * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * mobile menu * console error * prettier * commented version of original idea for review * add "dont remind me" button for checkURLBanner * PR comments pt1 * merge staging * prettier * theme styles added * formatting Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: Atmosfearful <88635679+Atmosfearful@users.noreply.github.com>
* update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * add prettier and enhance eslint * prettier & eslint fixes * run prettier when building apps * links on landing page according to specs (#47) * links on landing page according to specs * fixed styling on Github and Twitter icons * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * Commited package-lock.json * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * bond trans_id tags added * redeem trans_id tags added * pklima trans_id tags added * pklima ClaimExceedModal trans_id tags added * Bond/AdvancedSettings trans_id tags added * Wrap trans_id tags added * social media links open in new tab (#57) * social media links open in new tab * prettier * chore: add pr template (#60) * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * site/Home trans_id tags added * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * i18n minimal * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Commited package-lock.json * upgrade to latest version of typescript * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * Integrated time-delta to have localized prettifiedSeconds * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * site module: Added locales menu * site: Use nextjs router for localization * Prevented i18nProvider from remounting the child components * Merged sirthus/sirthus * Added pseudo localization * Complete tags in site/Home * Added tags to tour messages * Added app/ChooseBond tags * Added translation tags to app/pklima * Added tags to app/Bond * Added more tags to app/Bond * Hide language menu in production * Removed compiled locales from repository * Removed dependency towards time-delta * Fixes for failing build * Updated texts regarding dates * Fixed prettier issue in Bond/index.tsx * Fixed import style of loadTranslations in site * Prettier fix Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> Co-authored-by: sirthus <sirthus01@gmail.com>
* add prettier and enhance eslint * prettier & eslint fixes * run prettier when building apps * links on landing page according to specs (#47) * links on landing page according to specs * fixed styling on Github and Twitter icons * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * mobile menu * console error * prettier * commented version of original idea for review * add "dont remind me" button for checkURLBanner * PR comments pt1 * merge staging * prettier * theme styles added * formatting Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: Atmosfearful <88635679+Atmosfearful@users.noreply.github.com>
* update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * add prettier and enhance eslint * prettier & eslint fixes * run prettier when building apps * links on landing page according to specs (#47) * links on landing page according to specs * fixed styling on Github and Twitter icons * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * Commited package-lock.json * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * bond trans_id tags added * redeem trans_id tags added * pklima trans_id tags added * pklima ClaimExceedModal trans_id tags added * Bond/AdvancedSettings trans_id tags added * Wrap trans_id tags added * social media links open in new tab (#57) * social media links open in new tab * prettier * chore: add pr template (#60) * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * site/Home trans_id tags added * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * i18n minimal * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Commited package-lock.json * upgrade to latest version of typescript * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * Integrated time-delta to have localized prettifiedSeconds * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * site module: Added locales menu * site: Use nextjs router for localization * Prevented i18nProvider from remounting the child components * Merged sirthus/sirthus * Added pseudo localization * Complete tags in site/Home * Added tags to tour messages * Added app/ChooseBond tags * Added translation tags to app/pklima * Added tags to app/Bond * Added more tags to app/Bond * Hide language menu in production * Removed compiled locales from repository * Removed dependency towards time-delta * Fixes for failing build * Updated texts regarding dates * Fixed prettier issue in Bond/index.tsx * Fixed import style of loadTranslations in site * Prettier fix Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> Co-authored-by: sirthus <sirthus01@gmail.com>
* Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * DRAFT: I18n (#59) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * add prettier and enhance eslint * prettier & eslint fixes * run prettier when building apps * links on landing page according to specs (#47) * links on landing page according to specs * fixed styling on Github and Twitter icons * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * Commited package-lock.json * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * bond trans_id tags added * redeem trans_id tags added * pklima trans_id tags added * pklima ClaimExceedModal trans_id tags added * Bond/AdvancedSettings trans_id tags added * Wrap trans_id tags added * social media links open in new tab (#57) * social media links open in new tab * prettier * chore: add pr template (#60) * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * site/Home trans_id tags added * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * i18n minimal * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Commited package-lock.json * upgrade to latest version of typescript * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * Integrated time-delta to have localized prettifiedSeconds * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * site module: Added locales menu * site: Use nextjs router for localization * Prevented i18nProvider from remounting the child components * Merged sirthus/sirthus * Added pseudo localization * Complete tags in site/Home * Added tags to tour messages * Added app/ChooseBond tags * Added translation tags to app/pklima * Added tags to app/Bond * Added more tags to app/Bond * Hide language menu in production * Removed compiled locales from repository * Removed dependency towards time-delta * Fixes for failing build * Updated texts regarding dates * Fixed prettier issue in Bond/index.tsx * Fixed import style of loadTranslations in site * Prettier fix Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> Co-authored-by: sirthus <sirthus01@gmail.com> * lingui:extract * extract lingui * add classnames lib to all workspaces * fix bond styles * add change language button to dapp * fix text align in french * fix emotion typography font sizes * add comment * cleanup: remove dead imports, add language button * remove empty props interface * fix menu placement * extract and clean translations * add extract-strings top-level helper * always run lingui --clean * add TODO comment reference to NODE_ENV hack * extract strings * add language switcher to site * trigger preview build * fix style import for bond view Co-authored-by: biwano <biwano@gmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: sirthus <sirthus01@gmail.com>
* add prettier and enhance eslint * prettier & eslint fixes * run prettier when building apps * links on landing page according to specs (#47) * links on landing page according to specs * fixed styling on Github and Twitter icons * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * mobile menu * console error * prettier * commented version of original idea for review * add "dont remind me" button for checkURLBanner * PR comments pt1 * merge staging * prettier * theme styles added * formatting Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: Atmosfearful <88635679+Atmosfearful@users.noreply.github.com>
* Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * DRAFT: I18n (#59) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * add prettier and enhance eslint * prettier & eslint fixes * run prettier when building apps * links on landing page according to specs (#47) * links on landing page according to specs * fixed styling on Github and Twitter icons * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * Commited package-lock.json * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * bond trans_id tags added * redeem trans_id tags added * pklima trans_id tags added * pklima ClaimExceedModal trans_id tags added * Bond/AdvancedSettings trans_id tags added * Wrap trans_id tags added * social media links open in new tab (#57) * social media links open in new tab * prettier * chore: add pr template (#60) * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * site/Home trans_id tags added * Increase rounding precision of next rebase value (#53) * Add Check URL banner (#50) * feat: add component CheckURLBanner * feat: render banner on initial load * upgrade to latest version of typescript * add redirect for /wrap hashroute * Add format-all with prettier script (#51) * chore: add prettier * style: add format script to root * build: remove prettier from root * docs: add script to README * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * i18n minimal * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Commited package-lock.json * upgrade to latest version of typescript * Integrated time-delta to have localized prettifiedSeconds * use React state for checkURLBanner * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * Fixed time-delta types not being recognized * site module: Added locales menu * site: Use nextjs router for localization * Fixed errors on production builds * Integrated time-delta to have localized prettifiedSeconds * Translation framework (#43) * update package-lock files * update gitignores * i18n minimal * Fixed newline add end of file in config files * Trying to add a postinstall script to compile translations so the application deploys properly on Vercel * Nicer localization menu * Translated Home * Save selected language in LocalStorage * Translation: Stake page * Updated translation files * Optimized package.json dependencies * Rebased with klima/staging * Made files pretty. Updated .prettierignore * Commiting compiled translation files * Fixed merge of .prettierignore * Commited package-lock.json Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> * Integrated time-delta to have localized prettifiedSeconds * Basic translation framework to the site module * site module: Added locales menu * site: Use nextjs router for localization * Prevented i18nProvider from remounting the child components * Merged sirthus/sirthus * Added pseudo localization * Complete tags in site/Home * Added tags to tour messages * Added app/ChooseBond tags * Added translation tags to app/pklima * Added tags to app/Bond * Added more tags to app/Bond * Hide language menu in production * Removed compiled locales from repository * Removed dependency towards time-delta * Fixes for failing build * Updated texts regarding dates * Fixed prettier issue in Bond/index.tsx * Fixed import style of loadTranslations in site * Prettier fix Co-authored-by: Atmosfearful <atmosfearful@protonmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> Co-authored-by: sirthus <sirthus01@gmail.com> * lingui:extract * extract lingui * add classnames lib to all workspaces * fix bond styles * add change language button to dapp * fix text align in french * fix emotion typography font sizes * add comment * cleanup: remove dead imports, add language button * remove empty props interface * fix menu placement * extract and clean translations * add extract-strings top-level helper * always run lingui --clean * add TODO comment reference to NODE_ENV hack * extract strings * add language switcher to site * trigger preview build * fix style import for bond view Co-authored-by: biwano <biwano@gmail.com> Co-authored-by: Bruno Ilponse <bruno.ilponse@gmail.com> Co-authored-by: bilponse <bilponse@localhost.localdomain> Co-authored-by: Vienio99 <73585288+Vienio99@users.noreply.github.com> Co-authored-by: Marcus Aurelius <91024694+0xAurelius@users.noreply.github.com> Co-authored-by: ladytrekker <95881624+ladytrekker@users.noreply.github.com> Co-authored-by: sirthus <sirthus01@gmail.com>
Description
I saw that some files are not formatted yet with the bare VSCode formatting settings mentioned here: https://github.com/KlimaDAO/klimadao#requirements
Additionally, for people not using VSCode their code would probably be not formatted out-of-the-box when saving a file.
As it is recommended to run
prettier --write
on all files (see this PR comment here) I added a script on the root level which does exactly that.I also ran the script once and added all updated files.Please take a closer look and let me know if this implementation can stay like that and I did not miss anything.If this script can stay like that it would make sense to add a default PR-template in which future devs are reminded to run this script once before opening a PR.
Update
I rebased with staging again and saw that you added exactly that 2 days ago. 🦐
=> running the script currently has no effect anymore, because now all files are already formatted correctly
Still, I think that adding a lint and format script on the root level for future PRs and mentioned this in a PR template would make sense. I left the script in the
package.json
and updated the README.Feel free to close this PR.