Hello TagoIO team.
Working with the development of Analysis, I am having the need to perform a deeper validation on the input and output data, as well as to have better support for typing with Typescript.
What is your opinion regarding embedding the Zod package into the existing libs (axios, dayjs, etc.) in the context of Analysis?
Thank you
Hello Douglas,
There is no need to include default libraries within the Analysis that runs in Node, you can easily incorporate any library required for your development process. Once your development is complete, you will need to perform a build process to consolidate all your code into a single, compact file.
To facilitate this, I recommend using the [@tago-io/builder](https://www.npmjs.com/package/@tago-io/builder) library, which offers detailed instructions for this step. The resulting file will be optimized and minified for efficiency. However, please note that it will not be in a human-readable format.
Lastly, please keep in mind that the maximum script size allowed for an Analysis is 5 MB.