Skip to content

vmurin/serverless-plugin-package-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

This package is deprecated! You don't need it anymore. Just use the built in serverless syntax like following:

plugins:
  - serverless-plugin-package-json

functions:
  myFunction:
    name: just-do-the-job
    description: 'App version: ${file(./package.json):version}'

OLD README serverless-plugin-package-json

Expose package.json properties to your serverless services and make it available in serverless.yml.

Usage

For example: use package version in function description

plugins:
  - serverless-plugin-package-json

functions:
  myFunction:
    name: just-do-the-job
    description: 'Version: ${pkgjson:version}'

Using the snippet above you can any time check the version of deployed Lambda function

About

Expose package.json properties to your serverless services

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published