Skip to content

Commit

Permalink
feat: expose shiki/types
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 20, 2025
1 parent e82516f commit 0b027f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/shiki/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@
"types": "./dist/themes.d.mts",
"default": "./dist/themes.mjs"
},
"./types": {
"types": "./dist/types.d.mts",
"default": "./dist/types.mjs"
},
"./theme-css-variables": {
"types": "./dist/theme-css-variables.d.mts",
"default": "./dist/theme-css-variables.mjs"
Expand Down
1 change: 1 addition & 0 deletions packages/transformers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"prepublishOnly": "nr build"
},
"dependencies": {
"@shikijs/core": "workspace:*",
"@shikijs/types": "workspace:*"
}
}
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0b027f3

Please sign in to comment.