Skip to content

Add twee-ts configuration schema#5447

Merged
madskristensen merged 7 commits intoSchemaStore:masterfrom
rohal12:feat/twee-ts-config
Mar 9, 2026
Merged

Add twee-ts configuration schema#5447
madskristensen merged 7 commits intoSchemaStore:masterfrom
rohal12:feat/twee-ts-config

Conversation

@rohal12
Copy link
Contributor

@rohal12 rohal12 commented Mar 6, 2026

Summary

Add a catalog entry for twee-ts, a TypeScript Twee-to-HTML compiler for Twine interactive fiction.

  • File matched: twee-ts.config.json
  • Schema URL: https://unpkg.com/@rohal12/twee-ts/schemas/twee-ts.config.schema.json (hosted on npm)
  • Schema draft: draft-07

The schema covers all configuration fields: sources, output, outputMode, formatId, startPassage, formatPaths, modules, tagAliases, and boolean flags.

Test plan

  • Positive test with all fields (twee-ts.config.json)
  • Positive test with minimal config (twee-ts.config-minimal.json)

🤖 Generated with Claude Code

Add catalog entry for twee-ts (TypeScript Twee-to-HTML compiler)
config file with schema hosted on npm via unpkg.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2026

Thanks for the PR!

This section of the codebase is owned by @madskristensen and @hyperupcall - if they write a comment saying "LGTM" then it will be merged.

clem and others added 5 commits March 6, 2026 21:00
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SchemaStore requires a local schema file matching the test directory
name. Updated catalog URL to json.schemastore.org.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SchemaStore CLI requires catalog URLs to match one of the accepted
patterns for locally-hosted schemas.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rohal12 rohal12 mentioned this pull request Mar 6, 2026
5 tasks
rohal12 added a commit to rohal12/twee-ts that referenced this pull request Mar 6, 2026
release-npm

Closes #23

## Summary
- JSON Schema for `twee-ts.config.json` — editor autocomplete and
validation (#23)
- `scaffoldConfig()` emits `$schema` field
- Schema published alongside npm package at
`schemas/twee-ts.config.schema.json`
- SchemaStore registration PR submitted:
SchemaStore/schemastore#5447

## Checklist
- [x] Tests pass (`pnpm test`)
- [x] Type check passes (`pnpm run typecheck`)
- [x] Build succeeds (`pnpm run build`)
- [x] Formatting clean (`pnpm run format:check`)
- [x] CHANGELOG.md updated with new version

## Release
Merging this PR will trigger `release-npm-action` to publish v1.10.0 to
npm.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@madskristensen madskristensen merged commit 0905196 into SchemaStore:master Mar 9, 2026
4 checks passed
@madskristensen
Copy link
Contributor

Thanks

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