Skip to content

Add #-prefixed path aliases to format and pointers packages#163

Merged
gnidan merged 1 commit into
mainfrom
imports
Jan 14, 2026
Merged

Add #-prefixed path aliases to format and pointers packages#163
gnidan merged 1 commit into
mainfrom
imports

Conversation

@gnidan

@gnidan gnidan commented Jan 14, 2026

Copy link
Copy Markdown
Member

Introduce TypeScript path aliases following bugc conventions:

  • #types/, #schemas, #describe, #test/ for format package
  • #cursor, #data, #machine, #evaluate, #read, #dereference/, #test/ for pointers

Uses conditional exports in package.json imports field to support both development (source .ts files) and production (compiled .js files).

Adds ESLint no-restricted-imports rule to enforce alias usage.

Introduce TypeScript path aliases following bugc conventions:
- #types/*, #schemas, #describe, #test/* for format package
- #cursor, #data, #machine, #evaluate, #read, #dereference/*, #test/* for pointers

Uses conditional exports in package.json imports field to support both
development (source .ts files) and production (compiled .js files).

Adds ESLint no-restricted-imports rule to enforce alias usage.
@github-actions

github-actions Bot commented Jan 14, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.0
Preview removed because the pull request was closed.
2026-01-14 04:41 UTC

@gnidan gnidan merged commit df83d8f into main Jan 14, 2026
4 checks passed
@gnidan gnidan deleted the imports branch January 14, 2026 04:38
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.

1 participant