@nestjs/azure-func-http
Advanced tools
Comparing version 0.1.2 to 0.2.0
{ | ||
"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 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26179
208
70
+ Added@angular-devkit/core@8.3.1(transitive)
+ Added@angular-devkit/schematics@8.3.1(transitive)
+ Added@schematics/angular@8.3.1(transitive)
+ Addedajv@6.10.2(transitive)
- Removed@angular-devkit/core@8.1.2(transitive)
- Removed@angular-devkit/schematics@8.1.2(transitive)
- Removed@schematics/angular@8.1.2(transitive)
- Removedajv@6.10.0(transitive)
Updated@schematics/angular@8.3.1