Skip to content

Commit 2e7edc1

Browse files
CoderCococlaude
andauthored
fix(build): remove package-lock.json from install stamp prerequisites (#133)
Closes #132 ## Summary - `app/package-lock.json` was listed in `PKG_JSONS` as a hard prerequisite for `.make/install.stamp`, but it is an *output* of `npm install`, not an input — making the dependency circular - On a fresh clone the file doesn't exist, so Make immediately bails with `No rule to make target 'app/package-lock.json', needed by '.make/install.stamp'` - Removed the lockfile from `PKG_JSONS`; the workspace `package.json` files are sufficient for detecting when a re-install is needed ## Test plan - [ ] Run `make tf-plan` (or `make build-lambdas`) on a fresh clone with no `app/package-lock.json` present — confirm the install stamp runs successfully instead of bailing with a missing-target error Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 6ff0d8d commit 2e7edc1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ WEB_SRCS := $(shell find $(APP_DIR)/packages/web/src -name '*.ts' -o -na
1717
$(APP_DIR)/packages/web/vite.config.ts
1818
LAMBDA_SRCS := $(shell find $(APP_DIR)/packages/lambda -name '*.ts' -o -name '*.mjs' 2>/dev/null)
1919
PKG_JSONS := $(shell find $(APP_DIR)/packages -name 'package.json' 2>/dev/null) \
20-
$(APP_DIR)/package.json \
21-
$(APP_DIR)/package-lock.json
20+
$(APP_DIR)/package.json
2221
TS_CONFIGS := $(APP_DIR)/tsconfig.json \
2322
$(APP_DIR)/tsconfig.base.json \
2423
$(shell find $(APP_DIR)/packages -name 'tsconfig*.json' 2>/dev/null)

0 commit comments

Comments
 (0)