1.1.3 • Published 22 days ago

@nxazure/func v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
22 days ago

Quick Start

  1. Make sure your environment is set as described in the Azure Functions docs.
  2. 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.
  3. Create an NX workspace with any method.
npx create-nx-workspace@latest my-org
  1. Add the @nxazure/func package
npm install -D @nxazure/func
  1. Initialize a function app
nx g @nxazure/func:init my-new-app
  1. Add a function to the app
nx g @nxazure/func:new my-new-func --project=my-new-app --template="HTTP trigger"
  1. Run the function app
nx start my-new-app

Known possible issues

  1. If after creation the build is failing, try updating @types/node and/or typescript versions.
  2. To be able to publish a function to your Azure account, an az login is required first.

Features

  1. Support for TS Config paths (e.g., import { tool } from '@my-org/my-lib')
  2. Support for a single node_modules folder in the root dir (just like in other monorepo solutions)
  3. All current templates that are supported by the func CLI tool are supported.
  4. Run multiple functions at once nx run-many --target=start --all
  5. 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