-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Describe the bug
According with the actual docs from the README.md, to build and publish the server changes to GAS it is required to run npm run build script, but this script will attempt to run build:gas script too and it is missing from the package.json so it will throw an error when executing.
To Reproduce
Steps to reproduce the behavior:
- Run
npx apps-script-engine .on any shell on any folder to initialize the template. - Run
npm install - Run
npm run build
Expected behavior
Should build the minified files to be pushed on Google Apps Script project.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- node version: 22.19.0
Additional context
The source code on main branch suggests that the commit for the 2.0.0 version (dc36692) removed the build:gas script so, according to the docs, there is no other way to build the server changes. To workaround this, I had to declare again on the package.json file the missing scripts in order to build and push the changes to GAS again. I don't know what were the intentions to remove that script on that commit, but i think it maybe was a mistake or the commit didn't include the new instructions on the docs related to the way the app should be built then.