Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/deps-socket-firewall-ci.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stainless-code/codemap": patch
---

Refresh runtime and toolchain dependencies (oxc-parser, oxc-resolver, oxfmt, oxlint, @clack/prompts, tinyglobby, and related dev tooling) to latest compatible releases.
2 changes: 2 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Codemap is in **bootstrap / extraction** phase. Before large PRs, please open an

```bash
bun install # runs `prepare` → Husky git hooks
# Optional supply-chain guard — [Socket Firewall Free](https://github.com/SocketDev/sfw-free):
# npm i -g sfw && sfw bun install
bun run dev # same as `bun src/index.ts` — CLI from source
bun test
bun run test:golden # golden SQL vs fixtures/minimal (also runs at end of `bun run check`)
Expand Down
9 changes: 7 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
name: Setup
description: Setup Bun and install packages (frozen lockfile)
description: Setup Bun and install packages (frozen lockfile, Socket Firewall)

runs:
using: composite
steps:
- name: Socket Firewall
uses: socketdev/action@ba6de6cc0565af1f42295590380973573297e31f
with:
mode: firewall-free

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install packages
shell: bash
run: bun install --frozen-lockfile
run: sfw bun install --frozen-lockfile
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@ jobs:
with:
fetch-depth: 0

- name: Socket Firewall
uses: socketdev/action@ba6de6cc0565af1f42295590380973573297e31f
with:
mode: firewall-free

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install --frozen-lockfile
run: sfw bun install --frozen-lockfile

# Opens/updates the Version PR when `.changeset/*.md` exist. When there are none, the action
# can still run `publish` (see changesets/action) so a just-merged Version PR can ship.
Expand Down
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,12 @@ runs:
RESOLVED_WORKDIR="$(bash "${{ github.action_path }}/scripts/action-resolve-working-directory.sh" "$GITHUB_WORKSPACE" "$WORK_DIR")"
# Action runs without its own node_modules; install the detector lazily.
# Pinned to a known version so consumers get reproducible builds.
npm install --no-save --prefix "$ACTION_STAGE" package-manager-detector@1.6.0
NPM_INSTALL=(npm install --no-save --prefix "$ACTION_STAGE" package-manager-detector@1.6.0)
if command -v sfw >/dev/null 2>&1; then
sfw "${NPM_INSTALL[@]}"
else
"${NPM_INSTALL[@]}"
fi
cp "${{ github.action_path }}/scripts/detect-pm.mjs" \
"${{ github.action_path }}/scripts/codemap-invocation.mjs" \
"$ACTION_STAGE/"
Expand Down
296 changes: 160 additions & 136 deletions bun.lock

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@
"version": "changeset version && bun run format CHANGELOG.md"
},
"dependencies": {
"@clack/prompts": "1.4.0",
"@clack/prompts": "1.5.1",
"@modelcontextprotocol/sdk": "1.29.0",
"better-sqlite3": "12.10.0",
"chokidar": "5.0.0",
"lightningcss": "1.32.0",
"oxc-parser": "0.133.0",
"oxc-resolver": "11.19.1",
"oxc-parser": "0.134.0",
"oxc-resolver": "11.20.0",
"package-manager-detector": "1.6.0",
"tinyglobby": "0.2.16",
"tinyglobby": "0.2.17",
"zod": "4.4.3"
},
"devDependencies": {
Expand All @@ -92,12 +92,12 @@
"@types/better-sqlite3": "7.6.13",
"@types/bun": "1.3.14",
"@types/node": "25.9.1",
"@typescript/native-preview": "7.0.0-dev.20260526.1",
"@typescript/native-preview": "7.0.0-dev.20260604.1",
"husky": "9.1.7",
"lint-staged": "17.0.5",
"oxfmt": "0.52.0",
"oxlint": "1.67.0",
"tsdown": "0.22.0",
"lint-staged": "17.0.7",
"oxfmt": "0.53.0",
"oxlint": "1.68.0",
"tsdown": "0.22.2",
"typescript": "6.0.3",
"unrun": "0.3.0"
},
Expand Down
Loading