Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nestjs/azure-func-http

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nestjs/azure-func-http - npm Package Compare versions

Comparing version 0.1.2 to 0.2.0

18

package.json
{
"name": "@nestjs/azure-func-http",
"version": "0.1.2",
"version": "0.2.0",
"description": "Nest - modern, fast, powerful node.js web framework (@azure-func-http)",

@@ -24,14 +24,14 @@ "author": "Kamil Mysliwiec",

"@azure/functions": "1.0.3",
"@nestjs/common": "6.5.2",
"@nestjs/core": "6.5.2",
"@types/node": "11.13.18",
"husky": "3.0.0",
"lint-staged": "9.2.0",
"@nestjs/common": "6.6.0",
"@nestjs/core": "6.6.0",
"@types/node": "11.13.19",
"husky": "3.0.4",
"lint-staged": "9.2.5",
"prettier": "1.18.2",
"ts-morph": "3.1.3",
"typescript": "3.4.4"
"typescript": "3.5.3"
},
"dependencies": {
"@angular-devkit/schematics": "8.1.2",
"@schematics/angular": "8.1.2",
"@angular-devkit/schematics": "8.3.1",
"@schematics/angular": "8.3.1",
"azure-function-express": "2.0.0"

@@ -38,0 +38,0 @@ },

@@ -39,2 +39,20 @@ <p align="center">

## Tutorial
You can read more about this integration [here](https://trilon.io/blog/deploy-nestjs-azure-functions).
## Additional options
You can pass additional flags to customize the post-install schematic. For example, if your base application directory is different than `src`, use `--rootDir` flag:
```bash
$ nest add @nestjs/azure-func-http --rootDir app
```
Other available flags:
- `rootModuleFileName` - the name of the root module file, default: `app.module`
- `rootModuleClassName` - the name of the root module class, default: `AppModule`
- `skipInstall` - skip installing dependencies, default: `false`
## Support

@@ -41,0 +59,0 @@

@@ -14,2 +14,10 @@ "use strict";

});
const pkgPath = '/package.json';
const buffer = host.read(pkgPath);
if (buffer === null) {
throw new schematics_1.SchematicsException('Could not find package.json');
}
const pkg = JSON.parse(buffer.toString());
pkg.scripts['start:azure'] = 'npm run build && func host start';
host.overwrite(pkgPath, JSON.stringify(pkg, null, 2));
return host;

@@ -16,0 +24,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc