Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,18 @@ Run `pnpm format` to fix any violations that can be automatically fixed.

## Updating documentation

The Vanilla Extract docs site is authored in markdown files located at [/site/docs].
The Vanilla Extract docs site is authored in [MDX] files located at [/site/docs].
To start the docs site locally run `pnpm start-site`.

If you are updating an existing markdown file, make your changes and commit them in your feature PR if possible.
MDX is stricter than markdown: a bare `<` or `{` in text must be escaped (e.g. `&lt;`), and HTML comments aren't supported.
Code blocks marked as ` ```ts compiled ` are compiled with vanilla-extract, and the generated CSS is shown alongside the source.

If you are updating an existing MDX file, make your changes and commit them in your feature PR if possible.
If your change requires a new page on the documentation site and you're not sure where to put it, ask for help in the relevant issue for the change you're implementing.
If for whatever reason you are unable to write documentation to accompany your change, a maintainer can make the necessary changes for you in a separate PR.

[/site/docs]: ./site/docs
[MDX]: https://mdxjs.com

## Writing a changeset

Expand Down
6 changes: 6 additions & 0 deletions fixtures/next-16-app-pages-router/src/images.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Next.js declares image imports in `next-env.d.ts`, which is gitignored, so
// they're declared here for the repo's root type check
declare module '*.png' {
const src: string;
export default src;
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@
"manypkg": {
"workspaceProtocol": "require"
},
"packageManager": "pnpm@11.28.5"
"packageManager": "pnpm@11.28.6"
}
2 changes: 1 addition & 1 deletion packages/rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@rollup/plugin-json": "^6.1.0",
"@vanilla-extract/css": "workspace:^",
"esbuild": "~0.28.0",
"rolldown": "^1.1.4",
"rolldown": "^1.2.16",
"rollup": "^4.20.0",
"rollup-plugin-esbuild": "^6.1.1"
},
Expand Down
Loading
Loading