Skip to content

Commit 89effc8

Browse files
committed
fix: docs build
1 parent 9e1b239 commit 89effc8

File tree

8 files changed

+32
-29
lines changed

8 files changed

+32
-29
lines changed

.yarn/patches/sf-docs-base-npm-1.3.2-2dba5f0f27.patch

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css
2-
index 3cb249fb096e670af68af7304dc6fa3934dc9460..a4dfc0f2255ab45aa0eb47f541e51dab9378a2b5 100644
2+
index 3cb249fb096e670af68af7304dc6fa3934dc9460..89791ab500a69b789d2e13ac9482bd8bb0e326ca 100644
33
--- a/assets/css/tailwind.css
44
+++ b/assets/css/tailwind.css
5-
@@ -1,4 +1,16 @@
5+
@@ -1,4 +1,15 @@
66
@import url(https://fonts.bunny.net/css?family=red-hat-display:400,500,600,700,800,900|red-hat-text:400,500,600,700);
77
+@import "tailwindcss";
88
+@import "@storefront-ui/vue/tailwind-config";
9-
+@plugin "@storefront-ui/typography";
109
+
1110
+@config "../../tailwind.config.ts";
1211
+
@@ -19,7 +18,7 @@ index 3cb249fb096e670af68af7304dc6fa3934dc9460..a4dfc0f2255ab45aa0eb47f541e51dab
1918

2019
:root {
2120
/* Primary */
22-
@@ -95,7 +107,7 @@
21+
@@ -95,7 +106,7 @@
2322
}
2423

2524
.prose code:not(pre code) {
@@ -102,17 +101,16 @@ index f95d0989b5bf8453075bd6b751a4435e3cd6dc00..c1f5b9bcfbfa9bc62104126f4e9be73f
102101
"@storefront-ui/vue": "^2.1.0",
103102
"@tailwindcss/typography": "^0.5.9",
104103
diff --git a/tailwind.config.ts b/tailwind.config.ts
105-
index 27f5ddd96f83fa77254d9845cacab9244e2b297a..90141390f624afa977dce61211901f42433e5f43 100644
104+
index 27f5ddd96f83fa77254d9845cacab9244e2b297a..3e07c6c9f283047ed7f85b4462662d4d2c1caf41 100644
106105
--- a/tailwind.config.ts
107106
+++ b/tailwind.config.ts
108-
@@ -1,6 +1,4 @@
107+
@@ -1,5 +1,4 @@
109108
import type { Config } from 'tailwindcss'
110109
-import { tailwindConfig } from '@storefront-ui/vue/tailwind-config'
111-
-import tailwindTypography from '@tailwindcss/typography'
110+
import tailwindTypography from '@tailwindcss/typography'
112111

113112
const disabledCss = {
114-
'code::before': false,
115-
@@ -14,10 +12,6 @@ const disabledCss = {
113+
@@ -14,10 +13,6 @@ const disabledCss = {
116114
}
117115

118116
export default <Config>{
@@ -123,9 +121,3 @@ index 27f5ddd96f83fa77254d9845cacab9244e2b297a..90141390f624afa977dce61211901f42
123121
theme: {
124122
extend: {
125123
typography: {
126-
@@ -29,5 +23,4 @@ export default <Config>{
127-
},
128-
},
129-
},
130-
- plugins: [tailwindTypography],
131-
}

apps/docs/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@nuxtjs/tailwindcss": "7.0.0-beta.1",
3030
"@storefront-ui/typography": "^2.6.1",
3131
"@storefront-ui/vue": "^2.6.5",
32-
"@tailwindcss/typography": "^0.5.13",
32+
"@tailwindcss/typography": "^0.5.19",
3333
"@vueuse/integrations": "^12.8.0",
3434
"@vueuse/nuxt": "^12.8.0",
3535
"focus-trap": "^7.5.4",

apps/preview/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@storefront-ui/tw-plugin-peer-next": "workspace:*",
3434
"@storefront-ui/typography": "workspace:*",
3535
"@tailwindcss/postcss": "^4.1.14",
36-
"@tailwindcss/typography": "^0.5.13",
36+
"@tailwindcss/typography": "^0.5.19",
3737
"@types/lodash-es": "^4.17.12",
3838
"@types/node": "^20.12.7",
3939
"@types/react": "^18.0.28",

apps/preview/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@storefront-ui/tw-plugin-peer-next": "workspace:*",
2424
"@storefront-ui/typography": "workspace:*",
2525
"@storefront-ui/vue": "workspace:*",
26-
"@tailwindcss/typography": "^0.5.13",
26+
"@tailwindcss/typography": "^0.5.19",
2727
"@types/lodash-es": "^4.17.12",
2828
"@vueuse/core": "^12.8.0",
2929
"autoprefixer": "^10.4.19",

apps/test/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@storefront-ui/tw-plugin-peer-next": "workspace:*",
3737
"@storefront-ui/typography": "workspace:*",
3838
"@tailwindcss/postcss": "^4.1.14",
39-
"@tailwindcss/typography": "^0.5.13",
39+
"@tailwindcss/typography": "^0.5.19",
4040
"@types/react": "^18.0.28",
4141
"@types/react-dom": "^18.0.11",
4242
"@vitejs/plugin-react": "^4.3.1",

apps/test/vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@storefront-ui/typography": "workspace:*",
3838
"@storefront-ui/vue": "workspace:*",
3939
"@tailwindcss/postcss": "^4.1.14",
40-
"@tailwindcss/typography": "^0.5.13",
40+
"@tailwindcss/typography": "^0.5.19",
4141
"@types/node": "^20.12.7",
4242
"@vitejs/plugin-vue": "^5.1.1",
4343
"@vue/tsconfig": "^0.1.3",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"lint": "yarn build:typography && yarn build:peer-next && yarn build:vue && turbo run lint",
2828
"lint:fix": "turbo run lint:fix",
2929
"lint:fix:sfui": "turbo run lint:fix:sfui",
30-
"build:docs": "yarn build:peer-next && turbo run build:docs",
30+
"build:docs": "yarn build:peer-next && yarn build:typography && turbo run build:docs",
3131
"build:next": "turbo run build:next",
3232
"build:nuxt": "turbo run build:nuxt-module && turbo run build:nuxt",
3333
"build:replace-assets-url-with": "frs-replace \"http:\\/\\/localhost:3100\\/@assets\\/\" \"https://storage.googleapis.com/sfui_docs_artifacts_bucket_public/$ENV_NAME/\" -i \"apps/preview/*/pages/**/*\" -s \"preserve-structure\" -o .",

yarn.lock

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4040,7 +4040,7 @@ __metadata:
40404040
"@nuxtjs/tailwindcss": 7.0.0-beta.1
40414041
"@storefront-ui/typography": ^2.6.1
40424042
"@storefront-ui/vue": ^2.6.5
4043-
"@tailwindcss/typography": ^0.5.13
4043+
"@tailwindcss/typography": ^0.5.19
40444044
"@types/node": ^20.12.7
40454045
"@vueuse/integrations": ^12.8.0
40464046
"@vueuse/nuxt": ^12.8.0
@@ -4143,7 +4143,7 @@ __metadata:
41434143
"@storefront-ui/tw-plugin-peer-next": "workspace:*"
41444144
"@storefront-ui/typography": "workspace:*"
41454145
"@tailwindcss/postcss": ^4.1.14
4146-
"@tailwindcss/typography": ^0.5.13
4146+
"@tailwindcss/typography": ^0.5.19
41474147
"@types/lodash-es": ^4.17.12
41484148
"@types/node": ^20.12.7
41494149
"@types/react": ^18.0.28
@@ -4181,7 +4181,7 @@ __metadata:
41814181
"@storefront-ui/tw-plugin-peer-next": "workspace:*"
41824182
"@storefront-ui/typography": "workspace:*"
41834183
"@storefront-ui/vue": "workspace:*"
4184-
"@tailwindcss/typography": ^0.5.13
4184+
"@tailwindcss/typography": ^0.5.19
41854185
"@types/lodash-es": ^4.17.12
41864186
"@vueuse/core": ^12.8.0
41874187
autoprefixer: ^10.4.19
@@ -4222,7 +4222,7 @@ __metadata:
42224222
"@storefront-ui/tw-plugin-peer-next": "workspace:*"
42234223
"@storefront-ui/typography": "workspace:*"
42244224
"@tailwindcss/postcss": ^4.1.14
4225-
"@tailwindcss/typography": ^0.5.13
4225+
"@tailwindcss/typography": ^0.5.19
42264226
"@types/react": ^18.0.28
42274227
"@types/react-dom": ^18.0.11
42284228
"@vitejs/plugin-react": ^4.3.1
@@ -4364,7 +4364,7 @@ __metadata:
43644364
"@storefront-ui/typography": "workspace:*"
43654365
"@storefront-ui/vue": "workspace:*"
43664366
"@tailwindcss/postcss": ^4.1.14
4367-
"@tailwindcss/typography": ^0.5.13
4367+
"@tailwindcss/typography": ^0.5.19
43684368
"@types/node": ^20.12.7
43694369
"@vitejs/plugin-vue": ^5.1.1
43704370
"@vue/tsconfig": ^0.1.3
@@ -4615,7 +4615,18 @@ __metadata:
46154615
languageName: node
46164616
linkType: hard
46174617

4618-
"@tailwindcss/typography@npm:^0.5.13, @tailwindcss/typography@npm:^0.5.9":
4618+
"@tailwindcss/typography@npm:^0.5.19":
4619+
version: 0.5.19
4620+
resolution: "@tailwindcss/typography@npm:0.5.19"
4621+
dependencies:
4622+
postcss-selector-parser: 6.0.10
4623+
peerDependencies:
4624+
tailwindcss: "*"
4625+
checksum: 6e5b25a2a24b8f112c9628b29aee4579ed024f368111937a5f3be7a4adc2d768c1aa9d5d5bb2d04972c7b49e526bcaade9f9e785e2e7a0b6be3d392f7ba02e17
4626+
languageName: node
4627+
linkType: hard
4628+
4629+
"@tailwindcss/typography@npm:^0.5.9":
46194630
version: 0.5.15
46204631
resolution: "@tailwindcss/typography@npm:0.5.15"
46214632
dependencies:
@@ -20129,7 +20140,7 @@ __metadata:
2012920140

2013020141
"sf-docs-base@patch:sf-docs-base@npm%3A1.3.2#./.yarn/patches/sf-docs-base-npm-1.3.2-2dba5f0f27.patch::locator=%40storefront-ui%2Fmonorepo%40workspace%3A.":
2013120142
version: 1.3.2
20132-
resolution: "sf-docs-base@patch:sf-docs-base@npm%3A1.3.2#./.yarn/patches/sf-docs-base-npm-1.3.2-2dba5f0f27.patch::version=1.3.2&hash=62dc22&locator=%40storefront-ui%2Fmonorepo%40workspace%3A."
20143+
resolution: "sf-docs-base@patch:sf-docs-base@npm%3A1.3.2#./.yarn/patches/sf-docs-base-npm-1.3.2-2dba5f0f27.patch::version=1.3.2&hash=331611&locator=%40storefront-ui%2Fmonorepo%40workspace%3A."
2013320144
dependencies:
2013420145
"@microsoft/api-extractor-model": ^7.26.5
2013520146
"@microsoft/tsdoc": ^0.14.2
@@ -20153,7 +20164,7 @@ __metadata:
2015320164
unstorage: ^1.10.2
2015420165
vite-svg-loader: ^4.0.0
2015520166
vue: ^3.4.8
20156-
checksum: 488a664c22cf513585e0e5eb938640b4aa731be7e0e0540432534dc6ce1d8348dd851876c3df8b314f0e5b521eb7cc26519227787d9310b7b8c999af90d5ea69
20167+
checksum: 11506ef281548e0c6b25f8637f37ec8626da56774cddf41494a75fe8a713893552519051dd3728c1fd1ade7be4007d614cfaf02ef435bb102e22e900d9d3484f
2015720168
languageName: node
2015820169
linkType: hard
2015920170

0 commit comments

Comments
 (0)