Repository navigation
feat(content-mapper): add an experimental content mapper for TypeScript 7 - #457
Merged
mizdra merged 8 commits intoNov 10, 2026
Merged
Conversation
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
from
November 1, 2026 11:58
a344507 to
9e3006f
Compare
🦋 Changeset detectedLatest commit: f74ac92 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
from
November 1, 2026 12:20
9e3006f to
79f449f
Compare
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
from
November 1, 2026 14:03
b6362ca to
490cacf
Compare
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
from
November 1, 2026 15:35
490cacf to
f88bcd2
Compare
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
from
November 1, 2026 16:09
f88bcd2 to
c27c82d
Compare
mizdra
changed the base branch from
claude/core-strada
to
claude/linters-without-core-strada
November 1, 2026 16:10
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
5 times, most recently
from
November 3, 2026 04:32
6c5d44f to
8293cf2
Compare
mizdra
marked this pull request as ready for review
November 8, 2026 17:20
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
3 times, most recently
from
November 10, 2026 13:31
9eb5de0 to
f3747cc
Compare
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
2 times, most recently
from
November 10, 2026 13:34
be00e4b to
b09413b
Compare
…of CSS modules into TypeScript Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ontent mapper protocol Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…TypeScript 7 language server Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…upport status Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… packages Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t-mapper Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tent-mapper example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mizdra
force-pushed
the
claude/content-mapper-scaffold
branch
from
November 10, 2026 13:40
b09413b to
f74ac92
Compare
Owner
Author
|
We're finally ready to release it :) |
Merged
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.
ref: #377
This PR adds
@css-modules-kit/content-mapper, an experimental package that provides the language features of css-modules-kit on TypeScript 7 through a content mapper. This is the first step of a gradual implementation, limited to local tokens to keep the review small.What's supported
@valuedefinitions, and@keyframes) in default export modestylesbinding of an import statementSee
packages/content-mapper/README.mdfor the support status of each feature.Main limitations of this step
namedExportsand the other options are not available yet*.module.css@import <specifier>and@value <name> from <specifier>do not import tokens yet<dashed-ident>s are not treated as tokensanimation-nameandcomposes*.module.cssare not reportedWhy this PR adds
vscode-jsonrpcA content mapper communicates with TypeScript over JSON-RPC 2.0 with LSP-style
Content-Lengthframing. Implementing this by hand requires maintaining message framing, the matching of requests and responses, and error responses, in both the mapper and the language client of the e2e tests. Usingvscode-jsonrpcremoves this code, so this package can focus on transforming CSS Modules.A new dependency brings the risk of supply chain attacks. I consider this risk very low and accept it for the following reasons:
vendor/vscode-jsonrpcoftypescript@7.0.2)🤖 Generated with Claude Code