Skip to content

Commit

Permalink
Update version and remove unused dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbah committed Feb 16, 2021
1 parent 782f796 commit 6c0d17d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@ The Nimbella add-on provides the following benefits.
Learn more about the Nimbella add-on for Netlify [on our website](https://nimbella.com/integrations/netlify).

- [Add-On Setup](#add-on-setup)
- [New to Nimbella](#new-to-nimbella)
- [Existing Nimbella User](#existing-nimbella-developer)
- [Minimal Netlify TOML Configuration](#minimal-netlify-toml-configuration)
- [Usage](#usage)
- [Use Nimbella Projects with Netlify Sites](#use-nimbella-projects-with-netlify-sites)
- [Examples](#examples)
- [Support](#support)
- [License](#license)
- [New to Nimbella](#New-to-Nimbella)
- [Existing Nimbella User](#Existing-Nimbella-Developer)
- [Minimal Netlify TOML Configuration](#Minimal-Netlify-TOML-Configuration)
- [Understanding your Nimbella Project](#Understanding-Your-Nimbella-Project)
- [Cleaning your Nimbella Namespace](#Cleaning-your-Nimbella-Namespace)
- [Exporting Environment Variables to Serverless APIs](#Exporting-Environment-Variables-to-Serverless-APIs)
- [Example Projects](#Example-Projects)
- [Support](#Support)
- [License](#License)

## Add-On Setup

Expand Down Expand Up @@ -114,11 +115,11 @@ Your Nimbella project may also include a `web` folder which can be deployed to t
web = true
```

## Cleaning your Nimbella Namespace
#### Cleaning your Nimbella Namespace

The Nimbella project configuration (`project.yml`) allows for cleaning your namespace, or deployed API package. See [the documentation](https://docs.nimbella.com/configuration#adding-project-configuration) for more details on sanitizing the namespace between deployments.

## Exporting Environment Variables to Serverless APIs
#### Exporting Environment Variables to Serverless APIs

If your serverless APIs require environment variables, you have to export the variables explicitly in the `plugins.input` section of the `netlify.toml` file. This is to avoid exporting the entire environment to your APIs, and instead selecting exporting only the variables the actions need access to.

Expand Down
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "netlify-plugin-nimbella",
"version": "1.8.0",
"version": "2.0.0",
"main": "src/index.js",
"description": "Nimbella add-on for Netlify to extends Netlify Sites with serverless functions and stateful APIs using Nimbella Cloud.",
"description": "Nimbella add-on for Netlify to extends Netlify Sites with stateful serverless APIs using Nimbella Cloud.",
"scripts": {
"setup": "yarn install",
"precommit": "xo --no-semicolon && jest --coverage",
"precommit": "xo && jest --coverage",
"test": "jest --coverage",
"lint": "xo --no-semicolon",
"lint-fix": "xo --no-semicolon --fix"
"lint": "xo",
"lint-fix": "xo --fix"
},
"repository": {
"type": "git",
Expand All @@ -29,15 +29,12 @@
},
"homepage": "https://github.com/nimbella/netlify-plugin-nimbella#readme",
"dependencies": {
"@iarna/toml": "^2.2.5",
"cpx": "^1.5.0",
"make-dir": "^3.1.0",
"netlify-lambda": "satyarohith/netlify-lambda#88eac6a37bfb0920897c86ecda8682944a2bf5be",
"netlify-redirect-parser": "^2.5.0",
"nimbella-cli": "https://apigcp.nimbella.io/downloads/nim/nimbella-cli.tgz"
},
"xo": {
"space": true,
"semicolon": false,
"prettier": true,
"envs": [
"node",
Expand Down

0 comments on commit 6c0d17d

Please sign in to comment.