-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,12 +2,22 @@ | |
title: "Installing Packages" | ||
--- | ||
|
||
You can install packages from npm to use in your Zuplo Gateway, but bear in mind | ||
these might not work in the cloud (i.e. working-copy and edge environments), as | ||
Zuplo for security reasons does not allow all packages to be installed. Consult | ||
https://zuplo.com/docs/articles/node-modules for the official list of supported | ||
modules. | ||
|
||
As of January 2024, we are looking into ways to support bringing in your own | ||
modules. We are proceeding carefully as we want to ensure that we can provide a | ||
secure and reliable experience for our users. | ||
You can install packages from npm to use in your Zuplo Gateway. This can help | ||
with code completion and hover tips. | ||
|
||
However, bear in mind, these might not work out-of-the-box in the cloud (i.e., | ||
working-copy and edge environments), as Zuplo for security reasons does not | ||
allow all packages to be installed. Consult | ||
[Node Modules](https://zuplo.com/docs/articles/node-modules) for the official | ||
list of supported modules. | ||
|
||
There are workarounds though. If you need a package to be available, you can try | ||
to _bundle_ it. This will bypass the `npm install` step since the module is | ||
already bundled and available. We have an example at | ||
[Custom Modules](https://github.com/zuplo/zuplo/tree/main/examples/custom-module) | ||
that you can follow. | ||
|
||
We are looking into ways to simplify bringing in your own modules. We are | ||
proceeding carefully as we want to ensure that we can provide a secure and | ||
reliable experience for our users. Please contact | ||
[Zuplo support](mailto:[email protected]) if you need more assistance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters