aws-amplify / aws-amplify/amplify-cli

Python function runtime provider doesn't run script hook

Open
#4,452 3 comments 0 reactions 0 assignees View on GitHub
feature-request functions p4
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

**Is your feature request related to a problem? Please describe.**
amplify-python-function-runtime-provider doesn't run script hook defined in root package.json

**Describe the solution you'd like**
amplify-nodejs-function-runtime-provider checks and runs script hook in root package.json, but python provider doesn't have the same behavior.

**Describe alternatives you've considered**
The script hook is defined on top-level package.json, it sounds the common behavior across all languages. If it is the language-specific hook, it should be defined inside of each function.

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.