1.1.3 • Published 22 days ago
@nxazure/func v1.1.3
Quick Start
- Make sure your environment is set as described in the Azure Functions docs.
- Make sure you install the latest Azure Functions Core Tools. The minimum required version is 4.0.5390. You can check your currently installed version by running
func --version
command. - Create an NX workspace with any method.
npx create-nx-workspace@latest my-org
- Add the @nxazure/func package
npm install -D @nxazure/func
- Initialize a function app
nx g @nxazure/func:init my-new-app
- Add a function to the app
nx g @nxazure/func:new my-new-func --project=my-new-app --template="HTTP trigger"
- Run the function app
nx start my-new-app
Known possible issues
- If after creation the build is failing, try updating
@types/node
and/ortypescript
versions. - To be able to publish a function to your Azure account, an az login is required first.
Features
- Support for TS Config paths (e.g.,
import { tool } from '@my-org/my-lib'
) - Support for a single
node_modules
folder in the root dir (just like in other monorepo solutions) - All current templates that are supported by the
func
CLI tool are supported. - Run multiple functions at once
nx run-many --target=start --all
- Publish the function app straight to your Azure account (az login is required)
Limitations
Currently, the plugin supports only TypeScript functions.
1.1.3
22 days ago
1.1.2
2 months ago
1.1.1
3 months ago
1.0.19
8 months ago
1.1.0
6 months ago
1.0.18
8 months ago
1.0.20
8 months ago
1.0.17
11 months ago
1.0.16
11 months ago
1.0.15
12 months ago
1.0.14
12 months ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago