Skip to content

refactor: move TypeScript package into ts/ (voxgig/util layout)#11

Merged
rjrodger merged 1 commit into
mainfrom
claude/youthful-bardeen-kdfw7s
Jun 8, 2026
Merged

refactor: move TypeScript package into ts/ (voxgig/util layout)#11
rjrodger merged 1 commit into
mainfrom
claude/youthful-bardeen-kdfw7s

Conversation

@rjrodger

@rjrodger rjrodger commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Mirror the github.com/voxgig/util structure: the TypeScript implementation now lives entirely under ts/ (ts/src, ts/test, ts/dist, ts/dist-test, ts/package.json), alongside the existing go/ module. The npm package is published from ts/; all package.json paths are relative to that folder and are unchanged.

  • git mv src test dist dist-test package.json tsfmt.json -> ts/
  • add ts/LICENSE (package.json "files" lists LICENSE relative to the package root; the repository-level root LICENSE is retained)
  • Makefile: build-ts/test-ts/clean-ts/reset now cd into ts
  • CLAUDE.md: document the ts/ layout and updated commands

tsconfig outDir paths (../dist, ../dist-test) and the test imports (../dist) are relative and remain valid after the move; rebuilding produces identical dist output (no content diff).

The CI workflow (.github/workflows/build.yml) is updated separately to run the npm steps with working-directory: ts.

Verified: make build, make test (TS 32/32, Go 29/29), and make tags-go.

https://claude.ai/code/session_01FDYq13DCSWZz4mfS6yWEzv

Mirror the github.com/voxgig/util structure: the TypeScript
implementation now lives entirely under ts/ (ts/src, ts/test, ts/dist,
ts/dist-test, ts/package.json), alongside the existing go/ module. The
npm package is published from ts/; all package.json paths are relative
to that folder and are unchanged.

- git mv src test dist dist-test package.json tsfmt.json -> ts/
- add ts/LICENSE (package.json "files" lists LICENSE relative to the
  package root; the repository-level root LICENSE is retained)
- Makefile: build-ts/test-ts/clean-ts/reset now cd into ts
- CLAUDE.md: document the ts/ layout and updated commands

tsconfig outDir paths (../dist, ../dist-test) and the test imports
(../dist) are relative and remain valid after the move; rebuilding
produces identical dist output (no content diff).

The CI workflow (.github/workflows/build.yml) is updated separately to
run the npm steps with working-directory: ts.

Verified: make build, make test (TS 32/32, Go 29/29), and make tags-go.

https://claude.ai/code/session_01FDYq13DCSWZz4mfS6yWEzv
@rjrodger rjrodger merged commit 636314c into main Jun 8, 2026
3 of 8 checks passed
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