- You need NodeJS installed 1.1. Download it from the website https://nodejs.org/en/download 1.2. Or use nvm to install any node version https://github.com/nvm-sh/nvm
- You need Yarn installed
2.1. You can use npm to install yarn:
npm i --global yarn
-
Fork this repository
-
Run
yarn install
-
Run
npx clasp login
. You will then be redirected to your browser, sign in with your google account.
Once you have made changes to your code, you can push your code to Apps Scripts by running npx clasp push
.
! Be aware, this will overwrite all changes made directly on Apps Scripts, so be sure you are not losing anything before running this command !
Run npx clasp deploy -d MastersheetLib
. This will make a new version of the script and deploy it as a library.