Skip to content

Commit 94a9735

Browse files
committed
bring in the new api version
1 parent 34bfd22 commit 94a9735

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

bun.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"jsonwebtoken": "^9.0.2",
124124
"postcss": "^8",
125125
"psi": "^4.1.0",
126-
"stylelint": "^16.15.0",
126+
"stylelint": "^16.16.0",
127127
"tailwindcss": "^3.4.0",
128128
"ts-essentials": "^10.0.1",
129129
"typescript": "^5.5.3",
@@ -254,7 +254,7 @@
254254
},
255255
"overrides": {
256256
"@codemirror/state": "6.4.1",
257-
"@gitbook/api": "https://pkg.pr.new/GitbookIO/integrations/@gitbook/api@759",
257+
"@gitbook/api": "0.100.0",
258258
"react": "18.3.1",
259259
"react-dom": "18.3.1",
260260
},
@@ -615,7 +615,7 @@
615615

616616
"@fortawesome/fontawesome-svg-core": ["@fortawesome/[email protected]", "", { "dependencies": { "@fortawesome/fontawesome-common-types": "6.6.0" } }, "sha512-KHwPkCk6oRT4HADE7smhfsKudt9N/9lm6EJ5BVg0tD1yPA5hht837fB87F8pn15D8JfTqQOjhKTktwmLMiD7Kg=="],
617617

618-
"@gitbook/api": ["@gitbook/api@https://pkg.pr.new/GitbookIO/integrations/@gitbook/api@759", { "dependencies": { "event-iterator": "^2.0.0", "eventsource-parser": "^3.0.0" } }],
618+
"@gitbook/api": ["@gitbook/api@0.100.0", "", { "dependencies": { "event-iterator": "^2.0.0", "eventsource-parser": "^3.0.0" } }, "sha512-99vPjIkF538b/zWY17ptxUBGV57iWmTGtRk3XKOtX8raU7+wTXhqqbQEARBAeLZwgbiAK+28E3bozu7cV/I8ng=="],
619619

620620
"@gitbook/cache-do": ["@gitbook/cache-do@workspace:packages/cache-do"],
621621

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"@codemirror/state": "6.4.1",
1313
"react": "18.3.1",
1414
"react-dom": "18.3.1",
15-
"@gitbook/api": "https://pkg.pr.new/GitbookIO/integrations/@gitbook/api@759"
15+
"@gitbook/api": "0.100.0"
1616
},
1717
"private": true,
1818
"scripts": {

packages/gitbook/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,13 @@
3333
"@tailwindcss/container-queries": "^0.1.1",
3434
"@tailwindcss/typography": "^0.5.16",
3535
"@upstash/redis": "^1.27.1",
36-
"ai": "^4.1.46",
3736
"ajv": "^8.12.0",
3837
"assert-never": "^1.2.1",
3938
"bun-types": "^1.1.20",
4039
"classnames": "^2.5.1",
4140
"framer-motion": "^10.16.14",
4241
"js-cookie": "^3.0.5",
4342
"jsontoxml": "^1.0.1",
44-
"jwt-decode": "^4.0.0",
4543
"katex": "^0.16.9",
4644
"mathjax": "^3.2.2",
4745
"mdast-util-to-markdown": "^2.1.2",
@@ -64,7 +62,9 @@
6462
"tailwind-merge": "^2.2.0",
6563
"tailwind-shades": "^1.1.2",
6664
"url-join": "^5.0.0",
67-
"usehooks-ts": "^3.1.0"
65+
"usehooks-ts": "^3.1.0",
66+
"ai": "^4.1.46",
67+
"jwt-decode": "^4.0.0"
6868
},
6969
"devDependencies": {
7070
"@argos-ci/playwright": "^3.10.0",
@@ -88,7 +88,7 @@
8888
"jsonwebtoken": "^9.0.2",
8989
"postcss": "^8",
9090
"psi": "^4.1.0",
91-
"stylelint": "^16.15.0",
91+
"stylelint": "^16.16.0",
9292
"tailwindcss": "^3.4.0",
9393
"ts-essentials": "^10.0.1",
9494
"typescript": "^5.5.3",

packages/gitbook/src/fonts/custom.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function generateFontFacesCSS(customFont: CustomizationFontDefinition): s
2121
})
2222
.join(', ');
2323

24-
// We could use the font-family name here, but to avoid extra normalization we're using 'CustomFont'
24+
// We could use the customFont.fontFamily name here, but to avoid extra normalization we're using 'CustomFont'
2525
return `
2626
@font-face {
2727
font-family: CustomFont;

0 commit comments

Comments
 (0)