🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

sceptre-minify-file-contents-resolver

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sceptre-minify-file-contents-resolver

Read and minify file contents

0.1.7
Maintainers
1

Minify File Contents Resolver

Reads in the contents of a file and minifies them if applicable.

Syntax:

parameters|sceptre_user_data:
  <name>: !minify_file_contents /path/to/file.txt

Example:

sceptre_user_data:
  inline_lambda_code: !minify_file_contents /path/to/policy.js

Testing

make test

Releasing

  • Update the CHANGELOG.md with what has changed (see the example in the CHANGELOG comments).
  • In your virtualenv run bumpversion --dry-run --verbose patch|minor|major. You will see that the version number will be updated, a commit is made for the version update and a new git tag will be created.
  • If you are happy with the dry run then execute bumpversion patch|minor|major.
  • Push the commit with git push.
  • When the build for the above step is complete push the tag git push origin vX.Y.Z this will trigger a release build which will deploy to PyPi.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts