kuashe / serverless-async-await

Frictionless Async Await transpiling for Serverless in Node 0.12 and above
8 stars 3 forks source link

Support deploying a single function #4

Closed coderfin closed 7 years ago

coderfin commented 7 years ago

When deploying a single function (via serverless deploy function -f functionName) there are 5 files added to the __build__.serverless folder:

When deploying a service (via serverless deploy) there are 4 files added to the __build__.serverless folder:

This change enables support for both.

kuashe commented 7 years ago

Thanks It's a simple temporary fix. In reality I'll need to get the provider and the params from the main function to match the appropriate numbers of files that are outputed.

coderfin commented 7 years ago

@kuashe I didn't increment the package.json number but would it be possible for you to publish a new version to NPM?

kuashe commented 7 years ago

It's on 1.1.5