Back

Need help for include deploying my packages to the cloud function

  • 0
  • Self Hosted
  • Functions
Mosh Ontong
28 Sep, 2024, 02:51

First think you need to know this is my folder structure:

TypeScript
root-directory
├── ems_package
├── functions
│   ├── ems_function
│   └── other_function
└── appwrite.json

Now as you can see I have ems_package which is a npm package. This is a private package, and I cannot deploy it to the npm since the private npm need pro account. My question is that how can I maybe when deploying my function it will include to bundle my ems_package

TL;DR
- Developer has a folder structure with a private npm package that cannot be deployed to the npm registry. - They want to include the private npm package when deploying their cloud function. - Include the private package in the `functions` folder alongside the cloud functions to bundle it during deployment.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more