Skip to content

chore: align acpx tooling with openclaw stack#43

Merged
osolmaz merged 5 commits intoopenclaw:mainfrom
osolmaz:feat/oxc-ci-pilot
Mar 3, 2026
Merged

chore: align acpx tooling with openclaw stack#43
osolmaz merged 5 commits intoopenclaw:mainfrom
osolmaz:feat/oxc-ci-pilot

Conversation

@dutifulbob
Copy link
Contributor

@dutifulbob dutifulbob commented Mar 3, 2026

Summary

This PR completes the ACPX tooling alignment with OpenClaw conventions.

1) Node baseline + rule parity

  • raised runtime baseline to Node >=22.12.0
  • re-enabled unicorn/no-array-sort by removing the temporary exception
  • updated usage to toSorted() where needed

2) Single check pipeline in CI

  • added canonical check script:
    • pnpm run format:check && pnpm run typecheck && pnpm run lint && pnpm run build && pnpm run test
  • CI now runs pnpm run check

3) pnpm cutover

  • switched package management to pnpm
  • added packageManager: pnpm@10.23.0
  • replaced package-lock.json with pnpm-lock.yaml
  • updated scripts/workflows/hooks from npm-centric commands to pnpm

4) Docs/static checks

  • added docs format + lint scripts:
    • format:docs, format:docs:check, lint:docs, check:docs
  • CI now also runs pnpm run check:docs
  • added .markdownlint-cli2.jsonc to keep docs lint useful without forcing a massive legacy docs rewrite

5) tsgo in checks

  • added @typescript/native-preview
  • changed typecheck to tsgo --noEmit
  • kept typecheck:tsc as an explicit fallback script

Build migration (already included in this PR)

  • migrated bundling from tsup to tsdown
  • build command:
    • tsdown src/cli.ts --format esm --dts --clean --platform node --target node22 --no-fixedExtension
  • preserves artifact contract:
    • dist/cli.js
    • dist/cli.d.ts

Validation

  • pnpm run check
  • pnpm run check:docs

@dutifulbob dutifulbob changed the title chore: add non-blocking OXC lint pilot chore: migrate lint and format to OXC tooling Mar 3, 2026
@dutifulbob dutifulbob changed the title chore: migrate lint and format to OXC tooling chore: migrate lint, format, and build to OXC stack Mar 3, 2026
@dutifulbob dutifulbob changed the title chore: migrate lint, format, and build to OXC stack chore: align acpx tooling with openclaw stack Mar 3, 2026
@osolmaz osolmaz merged commit 432449c into openclaw:main Mar 3, 2026
1 check passed
@osolmaz osolmaz deleted the feat/oxc-ci-pilot branch March 3, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants