Skip to content

Commit 2c584e4

Browse files
authored
Merge pull request #67 from optave/chore/cleanup-dependencies
chore: remove tracked dependency files, output to generated/
2 parents b90ce30 + 69cb331 commit 2c584e4

5 files changed

Lines changed: 11 additions & 1703 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ jobs:
280280
281281
- name: Generate DEPENDENCIES.json
282282
if: github.event_name != 'push'
283-
run: npm ls --json --all --omit=dev > DEPENDENCIES.json 2>/dev/null || true
283+
run: mkdir -p generated && npm ls --json --all --omit=dev > generated/DEPENDENCIES.json 2>/dev/null || true
284284

285285
- name: Push version bump via PR
286286
if: github.event_name != 'push'
@@ -292,10 +292,10 @@ jobs:
292292
BRANCH="release/v${VERSION}"
293293
294294
# Check if there are version bump changes to push
295-
if git diff --quiet HEAD -- package.json package-lock.json CHANGELOG.md DEPENDENCIES.json; then
295+
if git diff --quiet HEAD -- package.json package-lock.json CHANGELOG.md generated/DEPENDENCIES.json; then
296296
echo "No version bump commit to push — skipping PR"
297297
else
298-
git add package.json package-lock.json CHANGELOG.md DEPENDENCIES.json
298+
git add package.json package-lock.json CHANGELOG.md generated/DEPENDENCIES.json
299299
git commit -m "chore: release v${VERSION}"
300300
git push origin "HEAD:refs/heads/${BRANCH}"
301301
gh pr create \

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ grammars/*.wasm
88
.claude/codegraph-checked.log
99
artifacts/
1010
pkg/
11-
DEPENDENCIES.md
11+
generated/DEPENDENCIES.md
12+
generated/DEPENDENCIES.json

0 commit comments

Comments
 (0)