Skip to content

Commit 4786e90

Browse files
committed
install npm deps
1 parent 7248b1d commit 4786e90

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

template/.devcontainer/manual-setup-deps.sh.jinja

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export UV_PYTHON="$python_version"
3030
export UV_PYTHON_PREFERENCE=only-system
3131

3232
SCRIPT_DIR="$(dirname "$0")"
33-
PROJECT_ROOT_DIR="$(realpath "$SCRIPT_DIR/../backend")"
34-
33+
PROJECT_ROOT_DIR="$(realpath "$SCRIPT_DIR/..")"
34+
PYTHON_PROJECT_DIR="$PROJECT_ROOT_DIR/backend"
3535
# If optionally_lock is set, decide whether to skip locking based on the presence of uv.lock
3636
if [ "$optionally_lock" = "true" ]; then
3737
if [ ! -f "$PROJECT_ROOT_DIR/uv.lock" ]; then
@@ -50,4 +50,6 @@ if [ "$skip_lock" = "false" ]; then
5050
fi
5151

5252
uv sync $( [ "$skip_lock" = "false" ] && echo "--frozen" ) --directory "$PROJECT_ROOT_DIR"
53-
uv pip list --directory "$PROJECT_ROOT_DIR"{% endraw %}
53+
uv pip list --directory "$PROJECT_ROOT_DIR"
54+
55+
pnpm {% endraw %}

0 commit comments

Comments
 (0)