refactor: move TypeScript package into ts/ (voxgig/util layout)#11
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
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