# serverless-multi-dotnet-csod

> A Serverless plugin to pack lambdas in multiple C# projects using dotnen lambda package command.

Latest version **0.9.24** (published 2024-06-19) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install serverless-multi-dotnet-csod
pnpm add serverless-multi-dotnet-csod
yarn add serverless-multi-dotnet-csod
bun add serverless-multi-dotnet-csod
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.24 |
| Published | 2024-06-19 |
| First published | 2022-08-11 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 34.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Michael Tsibelman |
| Maintainers | gelkayam |
| Keywords | serverless3 |

## Links

- npm: https://www.npmjs.com/package/serverless-multi-dotnet-csod
- Repository: https://github.com/tsibelman/serverless-multi-dotnet
- Homepage: https://github.com/tsibelman/serverless-multi-dotnet#readme
- Issues: https://github.com/tsibelman/serverless-multi-dotnet/issues
- npm.io page: https://npm.io/package/serverless-multi-dotnet-csod

## Dependencies (2)

- [npmrc](https://npm.io/package/npmrc.md) ^1.1.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.7.2

## Recent versions

- 0.9.24 (latest) — 2024-06-19
- 0.9.23 — 2024-06-19
- 0.9.21 — 2023-07-03
- 0.9.20 — 2023-06-29
- 0.9.19 — 2023-06-29
- 0.9.18 — 2023-06-21
- 0.9.17 — 2023-06-21
- 0.9.16 — 2023-06-21
- 0.9.15 — 2022-12-26
- 0.9.14 — 2022-08-11

## README

# Serverless Multi DotNet

[![serverless](http://public.serverless.com/badges/v3.svg)](http://www.serverless.com)
[![npm version](https://badge.fury.io/js/serverless-multi-dotnet.svg)](https://badge.fury.io/js/serverless-multi-dotnet)
[![license](https://img.shields.io/npm/l/serverless-multi-dotnet.svg)](https://www.npmjs.com/package/serverless-multi-dotnet)

A Serverless plugin to pack all your C# lambdas functions that are spread to multiple CS projects.

This plugin will go over all of your functions that have .net core 2.0 runtime defined in `serverless.yml` file take the value from package.artifact 

It would split the value on first path separator and use first part of a string as location for a CS project folder and the rest as a path for a file. 

So for example your have function with value like this:

```
package:
 artifact: functionproject-folder/publish/deploy-package.zip
```
It equivalent to going into functionproject-folder and executing dotnet lambda package -o publish/deploy-package.zip

If you want to execute serverless deploy for dotnet 6, you should add to serverless.yml: provider.runtime=dotnet6

If you want to execute serverless deploy for arm64 architecture, you should add to serverless.yml: provider.architecture=arm64

If you want to execute serverless deploy with no repacking of C# projects, you should add --param="nopack=true" option

As of version 0.9, the plugin now supports supplying a projectFolder setting for scenarios when a more complex folder structure is needed. 

The projectFolder value must be a parent folder of the artifact location.

E.g.

```
package:
 artifact: src/app/functionproject-folder/publish/deploy-package.zip
 projectFolder: src/app/functionproject-folder 
```

## Install

```
npm install serverless-multi-dotnet-csod
```

Add the plugin to your `serverless.yml` file:

```yaml
plugins:
  - serverless-multi-dotnet-csod
```

## Note
This work is based on @fruffin [serverless-dotnet plugin](https://github.com/fruffin/serverless-dotnet)

---
_Source: https://npm.io/package/serverless-multi-dotnet-csod · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
