Skip to content

Conversation

@MartinCupela
Copy link
Contributor

🛠 Implementation details

Replaced tree-sitter with postcss to parse the CSS for documentation generation.
Compared the resulting generated docs diff docs/theming/component-variables.mdx stream-chat-react/node_modules/@stream-io/stream-chat-css/docs/theming/component-variables.mdx and found no differences in the result.

Packages tree-sitter and tree-sitter-css are not maintained anymore: they depend on compiling low-level C/C++ libs with node-gyp. Its bundled node-gyp version is incompatible with node 22, 24 ... This leads to yarn install failure.

tree-sitter/node-tree-sitter#261


permissions:
id-token: write # Required for OIDC
contents: read
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would prevent creating commits to the repo. I had to use contents: write

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will adjust

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjusted: 4c5b3b7

Replaced tree-sitter with postcss to parse the CSS for documentation generation.
@MartinCupela MartinCupela force-pushed the chore/oidc-trusted-publishing branch from 8c25402 to 4c5b3b7 Compare December 12, 2025 12:55
@MartinCupela MartinCupela merged commit 6c591c1 into main Dec 16, 2025
1 check passed
@MartinCupela MartinCupela deleted the chore/oidc-trusted-publishing branch December 16, 2025 08:15
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.

3 participants