I'm using a local library, installed with yalc (https://github.com/wclr/yalc) to mimic a local package manager. It looks to me that deploying a function does not include the .yalc folder created at the root of the function. Does the uploader ignore folders prefixed with .?
Summary
The user is asking what files are included when using `appwrite deploy function` and is experiencing some confusion. They tried adding dot-folders in `src` and found that they are included, but adding them to the root does not include them. They also mentioned that the deployed function may be restructured when built, causing file paths to not match. They suggested having a `--verbose` setting to see what's happening. Additionally, they mentioned using a local library installed with `yalc` and found that the `.yalc` folder is not included when deploying a function. They questioned if the uploader ignores folders prefixed with `.`
skavank
Rank 2: Process
Jul 20, 2023, 07:33
Would be nice to have a --verbose setting to see what's happening
Okay, so, adding dot-folders in src seems to include them, but adding them to the root does not. Or maybe the deployed function is restructured when built, so the file paths do not match or something?
Drake
Jul 20, 2023, 17:20
Your appwrite.json file has a path param for the function. That is what gets uploaded (except for what is mentioned in the .gitignore).