astro-opengraph-images 1.16.1-dev.2594 → 1.16.1-dev.2644
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +126 -126
- package/README.md +8 -8
- package/README.md.tmpl +8 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -24,318 +24,318 @@
|
|
|
24
24
|
|
|
25
25
|
Maintenance release with dependency updates and build system improvements.
|
|
26
26
|
|
|
27
|
-
## [1.14.3](https://github.com/shepherdjerred/
|
|
27
|
+
## [1.14.3](https://github.com/shepherdjerred/monorepo/compare/v1.14.2...v1.14.3) (2026-02-08)
|
|
28
28
|
|
|
29
29
|
### Bug Fixes
|
|
30
30
|
|
|
31
|
-
- **deps:** update dependency @shepherdjerred/dagger-utils to ^0.8.0 ([c961730](https://github.com/shepherdjerred/
|
|
32
|
-
- **deps:** update dependency jsdom to v28 ([8abd356](https://github.com/shepherdjerred/
|
|
31
|
+
- **deps:** update dependency @shepherdjerred/dagger-utils to ^0.8.0 ([c961730](https://github.com/shepherdjerred/monorepo/commit/c9617302b044410dc23988a5c41bf68df41cefe6))
|
|
32
|
+
- **deps:** update dependency jsdom to v28 ([8abd356](https://github.com/shepherdjerred/monorepo/commit/8abd3568684c520fdb8357b8edaf6b7a5247dd79))
|
|
33
33
|
|
|
34
|
-
## [1.14.2](https://github.com/shepherdjerred/
|
|
34
|
+
## [1.14.2](https://github.com/shepherdjerred/monorepo/compare/v1.14.1...v1.14.2) (2026-01-20)
|
|
35
35
|
|
|
36
36
|
### Bug Fixes
|
|
37
37
|
|
|
38
|
-
- use bunx for npm publish in Dagger pipeline ([8777819](https://github.com/shepherdjerred/
|
|
38
|
+
- use bunx for npm publish in Dagger pipeline ([8777819](https://github.com/shepherdjerred/monorepo/commit/8777819df948cced2aafc22811496947fc365393))
|
|
39
39
|
|
|
40
|
-
## [1.14.1](https://github.com/shepherdjerred/
|
|
40
|
+
## [1.14.1](https://github.com/shepherdjerred/monorepo/compare/v1.14.0...v1.14.1) (2026-01-18)
|
|
41
41
|
|
|
42
42
|
### Bug Fixes
|
|
43
43
|
|
|
44
|
-
- **ci:** move example tests to GitHub Actions to avoid Dagger symlink loop ([ac92cbb](https://github.com/shepherdjerred/
|
|
45
|
-
- **deps:** update dependency @shepherdjerred/dagger-utils to ^0.6.0 ([82b7f14](https://github.com/shepherdjerred/
|
|
46
|
-
- **deps:** update dependency satori to ^0.19.0 ([715a685](https://github.com/shepherdjerred/
|
|
44
|
+
- **ci:** move example tests to GitHub Actions to avoid Dagger symlink loop ([ac92cbb](https://github.com/shepherdjerred/monorepo/commit/ac92cbbf440a6fe19c3e9976fbe82447988c3273))
|
|
45
|
+
- **deps:** update dependency @shepherdjerred/dagger-utils to ^0.6.0 ([82b7f14](https://github.com/shepherdjerred/monorepo/commit/82b7f14aace728a8706c9ddd1b20e77e527d97be))
|
|
46
|
+
- **deps:** update dependency satori to ^0.19.0 ([715a685](https://github.com/shepherdjerred/monorepo/commit/715a68548bdf7b7ee3fd96c1ba80f04d1a7962a5))
|
|
47
47
|
|
|
48
|
-
## [1.14.0](https://github.com/shepherdjerred/
|
|
48
|
+
## [1.14.0](https://github.com/shepherdjerred/monorepo/compare/v1.13.1...v1.14.0) (2026-01-04)
|
|
49
49
|
|
|
50
50
|
### Features
|
|
51
51
|
|
|
52
|
-
- **ci:** migrate to Dagger with GitHub Actions and release-please integration ([c03a2d3](https://github.com/shepherdjerred/
|
|
53
|
-
- **ci:** migrate to Dagger with GitHub Actions and release-please integration ([b689e51](https://github.com/shepherdjerred/
|
|
52
|
+
- **ci:** migrate to Dagger with GitHub Actions and release-please integration ([c03a2d3](https://github.com/shepherdjerred/monorepo/commit/c03a2d34cbd8afbc368893b49901af076307cb1a))
|
|
53
|
+
- **ci:** migrate to Dagger with GitHub Actions and release-please integration ([b689e51](https://github.com/shepherdjerred/monorepo/commit/b689e51bd8b7a058e76b0dc4bcaf771b60137952))
|
|
54
54
|
|
|
55
55
|
### Bug Fixes
|
|
56
56
|
|
|
57
|
-
- add bunfig.toml for JSX configuration ([401faa3](https://github.com/shepherdjerred/
|
|
58
|
-
- add fs import and configure JSX for bun compatibility ([f6bbb23](https://github.com/shepherdjerred/
|
|
59
|
-
- **deps:** update dependency @shepherdjerred/dagger-utils to ^0.5.0 ([#185](https://github.com/shepherdjerred/
|
|
60
|
-
- **deps:** update dependency jsdom to v27 ([ded5e18](https://github.com/shepherdjerred/
|
|
61
|
-
- **deps:** update dependency satori to ^0.18.0 ([337a788](https://github.com/shepherdjerred/
|
|
62
|
-
- handle URL-encoded paths and add emoji support ([#188](https://github.com/shepherdjerred/
|
|
63
|
-
- remove explicit React import for new JSX transform ([b768047](https://github.com/shepherdjerred/
|
|
64
|
-
- Remove fortc.com ([51db246](https://github.com/shepherdjerred/
|
|
65
|
-
- use createElement instead of JSX in custom example ([a9c3b45](https://github.com/shepherdjerred/
|
|
57
|
+
- add bunfig.toml for JSX configuration ([401faa3](https://github.com/shepherdjerred/monorepo/commit/401faa3fd0b3119cf97c398c1f4b804e2d84aa5a))
|
|
58
|
+
- add fs import and configure JSX for bun compatibility ([f6bbb23](https://github.com/shepherdjerred/monorepo/commit/f6bbb231bf05fa8681c9d9b473901230827d73a1))
|
|
59
|
+
- **deps:** update dependency @shepherdjerred/dagger-utils to ^0.5.0 ([#185](https://github.com/shepherdjerred/monorepo/issues/185)) ([d0e5f13](https://github.com/shepherdjerred/monorepo/commit/d0e5f13f096a331c5cc6d7996c357d0ffb1e077a))
|
|
60
|
+
- **deps:** update dependency jsdom to v27 ([ded5e18](https://github.com/shepherdjerred/monorepo/commit/ded5e18a866d2a6a22c00efdcaf2e75e7d131776))
|
|
61
|
+
- **deps:** update dependency satori to ^0.18.0 ([337a788](https://github.com/shepherdjerred/monorepo/commit/337a7885ed4d020e1cc60a2a6e743983639cec5b))
|
|
62
|
+
- handle URL-encoded paths and add emoji support ([#188](https://github.com/shepherdjerred/monorepo/issues/188)) ([08bf28b](https://github.com/shepherdjerred/monorepo/commit/08bf28bb422090b58b1815cc7ddad0245ce228df))
|
|
63
|
+
- remove explicit React import for new JSX transform ([b768047](https://github.com/shepherdjerred/monorepo/commit/b7680474f9aabc75741c7eb9be0fa1039854684b))
|
|
64
|
+
- Remove fortc.com ([51db246](https://github.com/shepherdjerred/monorepo/commit/51db24618dd8676c6922898067b3344e56e1650f))
|
|
65
|
+
- use createElement instead of JSX in custom example ([a9c3b45](https://github.com/shepherdjerred/monorepo/commit/a9c3b45fd1fc97a60e0f7a687cc5cfdef052b1e7))
|
|
66
66
|
|
|
67
|
-
## [1.13.1](https://github.com/shepherdjerred/
|
|
67
|
+
## [1.13.1](https://github.com/shepherdjerred/monorepo/compare/v1.13.0...v1.13.1) (2025-06-15)
|
|
68
68
|
|
|
69
69
|
### Bug Fixes
|
|
70
70
|
|
|
71
|
-
- **deps:** update npm ([b9fcade](https://github.com/shepherdjerred/
|
|
72
|
-
- **deps:** update npm ([613f9f5](https://github.com/shepherdjerred/
|
|
71
|
+
- **deps:** update npm ([b9fcade](https://github.com/shepherdjerred/monorepo/commit/b9fcade117d727d0ab2d1f697e06ec29356010bb))
|
|
72
|
+
- **deps:** update npm ([613f9f5](https://github.com/shepherdjerred/monorepo/commit/613f9f51c0ec3842e5a19325d6a856812eff87cb))
|
|
73
73
|
|
|
74
|
-
## [1.13.0](https://github.com/shepherdjerred/
|
|
74
|
+
## [1.13.0](https://github.com/shepherdjerred/monorepo/compare/v1.12.3...v1.13.0) (2025-06-01)
|
|
75
75
|
|
|
76
76
|
### Features
|
|
77
77
|
|
|
78
|
-
- **docs:** add guide for loading local images with base64 encoding in custom renderers ([a48d338](https://github.com/shepherdjerred/
|
|
78
|
+
- **docs:** add guide for loading local images with base64 encoding in custom renderers ([a48d338](https://github.com/shepherdjerred/monorepo/commit/a48d33872ba3b328c8f742beaf09d1a59148f125))
|
|
79
79
|
|
|
80
80
|
### Bug Fixes
|
|
81
81
|
|
|
82
|
-
- **deps:** update npm ([9639719](https://github.com/shepherdjerred/
|
|
82
|
+
- **deps:** update npm ([9639719](https://github.com/shepherdjerred/monorepo/commit/963971966ecfef257dbd99f3107ef5e1504e4f82))
|
|
83
83
|
|
|
84
|
-
## [1.12.3](https://github.com/shepherdjerred/
|
|
84
|
+
## [1.12.3](https://github.com/shepherdjerred/monorepo/compare/v1.12.2...v1.12.3) (2025-04-17)
|
|
85
85
|
|
|
86
86
|
### Bug Fixes
|
|
87
87
|
|
|
88
|
-
- use path.relative for og:image check, properly handle ntfs paths & add more comments ([d45c4cd](https://github.com/shepherdjerred/
|
|
88
|
+
- use path.relative for og:image check, properly handle ntfs paths & add more comments ([d45c4cd](https://github.com/shepherdjerred/monorepo/commit/d45c4cd0d1b9037829f64b806edd0e46e82813d3))
|
|
89
89
|
|
|
90
|
-
## [1.12.2](https://github.com/shepherdjerred/
|
|
90
|
+
## [1.12.2](https://github.com/shepherdjerred/monorepo/compare/v1.12.1...v1.12.2) (2025-04-16)
|
|
91
91
|
|
|
92
92
|
### Bug Fixes
|
|
93
93
|
|
|
94
|
-
- **deps:** update dependency jsdom to v26.1.0 ([0f3737b](https://github.com/shepherdjerred/
|
|
95
|
-
- **deps:** update npm ([20adbbb](https://github.com/shepherdjerred/
|
|
96
|
-
- **plugin:** correct outDir path handling in buildDoneHook ([0838ede](https://github.com/shepherdjerred/
|
|
94
|
+
- **deps:** update dependency jsdom to v26.1.0 ([0f3737b](https://github.com/shepherdjerred/monorepo/commit/0f3737b2764b38523cfbecc56061c76754fd6042))
|
|
95
|
+
- **deps:** update npm ([20adbbb](https://github.com/shepherdjerred/monorepo/commit/20adbbb1f8253a5693e42b3fabfd33f4c4fe415c))
|
|
96
|
+
- **plugin:** correct outDir path handling in buildDoneHook ([0838ede](https://github.com/shepherdjerred/monorepo/commit/0838ede01e1a62072726e7aef39053b0cf3018e4))
|
|
97
97
|
|
|
98
|
-
## [1.12.1](https://github.com/shepherdjerred/
|
|
98
|
+
## [1.12.1](https://github.com/shepherdjerred/monorepo/compare/v1.12.0...v1.12.1) (2025-03-13)
|
|
99
99
|
|
|
100
100
|
### Bug Fixes
|
|
101
101
|
|
|
102
|
-
- update README ([0445a43](https://github.com/shepherdjerred/
|
|
102
|
+
- update README ([0445a43](https://github.com/shepherdjerred/monorepo/commit/0445a4354ade6ef8c70ec88d4c050a0534d5f317))
|
|
103
103
|
|
|
104
|
-
## [1.12.0](https://github.com/shepherdjerred/
|
|
104
|
+
## [1.12.0](https://github.com/shepherdjerred/monorepo/compare/v1.11.7...v1.12.0) (2025-03-13)
|
|
105
105
|
|
|
106
106
|
### Features
|
|
107
107
|
|
|
108
|
-
- use Earthly for CI ([72c0d6b](https://github.com/shepherdjerred/
|
|
108
|
+
- use Earthly for CI ([72c0d6b](https://github.com/shepherdjerred/monorepo/commit/72c0d6bd95293be919b640a2b09c799ca2d8a2ea))
|
|
109
109
|
|
|
110
110
|
### Bug Fixes
|
|
111
111
|
|
|
112
|
-
- **deps:** update dependency jsdom to v26 ([874f2d5](https://github.com/shepherdjerred/
|
|
113
|
-
- **deps:** update npm ([4e3e51a](https://github.com/shepherdjerred/
|
|
114
|
-
- lockfile ([8a7de4f](https://github.com/shepherdjerred/
|
|
115
|
-
- reviewer ([fdb470d](https://github.com/shepherdjerred/
|
|
116
|
-
- tests ([f89e00c](https://github.com/shepherdjerred/
|
|
112
|
+
- **deps:** update dependency jsdom to v26 ([874f2d5](https://github.com/shepherdjerred/monorepo/commit/874f2d5a8795b0fd990de3aafa556c03db054d3c))
|
|
113
|
+
- **deps:** update npm ([4e3e51a](https://github.com/shepherdjerred/monorepo/commit/4e3e51aad322c6901606c2a652ccbeb513cce16d))
|
|
114
|
+
- lockfile ([8a7de4f](https://github.com/shepherdjerred/monorepo/commit/8a7de4f9f681210746f1491ae285d84656e38656))
|
|
115
|
+
- reviewer ([fdb470d](https://github.com/shepherdjerred/monorepo/commit/fdb470d9befdea1af56d4d9d59cafe4467933d87))
|
|
116
|
+
- tests ([f89e00c](https://github.com/shepherdjerred/monorepo/commit/f89e00c3eda59d16930de5982c99e0aac5448b3f))
|
|
117
117
|
|
|
118
|
-
## [1.11.7](https://github.com/shepherdjerred/
|
|
118
|
+
## [1.11.7](https://github.com/shepherdjerred/monorepo/compare/v1.11.6...v1.11.7) (2024-11-10)
|
|
119
119
|
|
|
120
120
|
### Bug Fixes
|
|
121
121
|
|
|
122
|
-
- **deps:** update dependency satori to v0.11.3 ([4788d22](https://github.com/shepherdjerred/
|
|
122
|
+
- **deps:** update dependency satori to v0.11.3 ([4788d22](https://github.com/shepherdjerred/monorepo/commit/4788d22365000761e3849bcd9bc39771421c0937))
|
|
123
123
|
|
|
124
|
-
## [1.11.6](https://github.com/shepherdjerred/
|
|
124
|
+
## [1.11.6](https://github.com/shepherdjerred/monorepo/compare/v1.11.5...v1.11.6) (2024-10-06)
|
|
125
125
|
|
|
126
126
|
### Bug Fixes
|
|
127
127
|
|
|
128
|
-
- **deps:** update dependency satori to v0.11.2 ([76d8412](https://github.com/shepherdjerred/
|
|
128
|
+
- **deps:** update dependency satori to v0.11.2 ([76d8412](https://github.com/shepherdjerred/monorepo/commit/76d8412c730319bb17a11e50fa9eb24175c88430))
|
|
129
129
|
|
|
130
|
-
## [1.11.5](https://github.com/shepherdjerred/
|
|
130
|
+
## [1.11.5](https://github.com/shepherdjerred/monorepo/compare/v1.11.4...v1.11.5) (2024-10-05)
|
|
131
131
|
|
|
132
132
|
### Bug Fixes
|
|
133
133
|
|
|
134
|
-
- update package-lock of example ([5bab5d5](https://github.com/shepherdjerred/
|
|
134
|
+
- update package-lock of example ([5bab5d5](https://github.com/shepherdjerred/monorepo/commit/5bab5d5b253931af2ee4e73e3fabbc4ea318cbb2))
|
|
135
135
|
|
|
136
|
-
## [1.11.4](https://github.com/shepherdjerred/
|
|
136
|
+
## [1.11.4](https://github.com/shepherdjerred/monorepo/compare/v1.11.3...v1.11.4) (2024-10-05)
|
|
137
137
|
|
|
138
138
|
### Bug Fixes
|
|
139
139
|
|
|
140
|
-
- **deps:** update dependency jsdom to v25.0.1 ([4b4f12c](https://github.com/shepherdjerred/
|
|
141
|
-
- fixed test cases on Windows ([9183350](https://github.com/shepherdjerred/
|
|
140
|
+
- **deps:** update dependency jsdom to v25.0.1 ([4b4f12c](https://github.com/shepherdjerred/monorepo/commit/4b4f12cdaf93862038413fdbf20b80241aeeb1d7))
|
|
141
|
+
- fixed test cases on Windows ([9183350](https://github.com/shepherdjerred/monorepo/commit/9183350f751f9951620e05050dc3882e28ff1580))
|
|
142
142
|
|
|
143
|
-
## [1.11.3](https://github.com/shepherdjerred/
|
|
143
|
+
## [1.11.3](https://github.com/shepherdjerred/monorepo/compare/v1.11.2...v1.11.3) (2024-08-25)
|
|
144
144
|
|
|
145
145
|
### Bug Fixes
|
|
146
146
|
|
|
147
|
-
- **deps:** update dependency jsdom to v24.1.2 ([6f3cf83](https://github.com/shepherdjerred/
|
|
148
|
-
- **deps:** update dependency jsdom to v24.1.3 ([323c9ae](https://github.com/shepherdjerred/
|
|
149
|
-
- **deps:** update dependency jsdom to v25 ([3e05681](https://github.com/shepherdjerred/
|
|
147
|
+
- **deps:** update dependency jsdom to v24.1.2 ([6f3cf83](https://github.com/shepherdjerred/monorepo/commit/6f3cf83fdaf77525d7226af61256f94ca6f6f9f9))
|
|
148
|
+
- **deps:** update dependency jsdom to v24.1.3 ([323c9ae](https://github.com/shepherdjerred/monorepo/commit/323c9ae91e427defb1e0f5c1810a925796299237))
|
|
149
|
+
- **deps:** update dependency jsdom to v25 ([3e05681](https://github.com/shepherdjerred/monorepo/commit/3e0568117ae00e2cf3973886c8ca6e027d4e2daa))
|
|
150
150
|
|
|
151
|
-
## [1.11.2](https://github.com/shepherdjerred/
|
|
151
|
+
## [1.11.2](https://github.com/shepherdjerred/monorepo/compare/v1.11.1...v1.11.2) (2024-08-11)
|
|
152
152
|
|
|
153
153
|
### Bug Fixes
|
|
154
154
|
|
|
155
|
-
- **deps:** update npm ([51aae20](https://github.com/shepherdjerred/
|
|
155
|
+
- **deps:** update npm ([51aae20](https://github.com/shepherdjerred/monorepo/commit/51aae202981a0613c80b9ab1a75613ccb396116c))
|
|
156
156
|
|
|
157
|
-
## [1.11.1](https://github.com/shepherdjerred/
|
|
157
|
+
## [1.11.1](https://github.com/shepherdjerred/monorepo/compare/v1.11.0...v1.11.1) (2024-08-04)
|
|
158
158
|
|
|
159
159
|
### Bug Fixes
|
|
160
160
|
|
|
161
|
-
- use correct type for verbose ([8876098](https://github.com/shepherdjerred/
|
|
161
|
+
- use correct type for verbose ([8876098](https://github.com/shepherdjerred/monorepo/commit/88760989def15079c5ab2aefac7ce8e7fb3ad0ad))
|
|
162
162
|
|
|
163
|
-
## [1.11.0](https://github.com/shepherdjerred/
|
|
163
|
+
## [1.11.0](https://github.com/shepherdjerred/monorepo/compare/v1.10.0...v1.11.0) (2024-08-04)
|
|
164
164
|
|
|
165
165
|
### Features
|
|
166
166
|
|
|
167
|
-
- add verbose option ([0a640ae](https://github.com/shepherdjerred/
|
|
167
|
+
- add verbose option ([0a640ae](https://github.com/shepherdjerred/monorepo/commit/0a640aec1457d275c9de0cefafb7bb8460ee5017))
|
|
168
168
|
|
|
169
|
-
## [1.10.0](https://github.com/shepherdjerred/
|
|
169
|
+
## [1.10.0](https://github.com/shepherdjerred/monorepo/compare/v1.9.0...v1.10.0) (2024-08-04)
|
|
170
170
|
|
|
171
171
|
### Features
|
|
172
172
|
|
|
173
|
-
- add document to render input ([9b41de8](https://github.com/shepherdjerred/
|
|
173
|
+
- add document to render input ([9b41de8](https://github.com/shepherdjerred/monorepo/commit/9b41de85c6bf42bee585c2a52bc2363e75f85763))
|
|
174
174
|
|
|
175
|
-
## [1.9.0](https://github.com/shepherdjerred/
|
|
175
|
+
## [1.9.0](https://github.com/shepherdjerred/monorepo/compare/v1.8.2...v1.9.0) (2024-08-04)
|
|
176
176
|
|
|
177
177
|
### Features
|
|
178
178
|
|
|
179
|
-
- add custom property preset ([9ebff27](https://github.com/shepherdjerred/
|
|
180
|
-
- update to eslint 9 ([d19f8fc](https://github.com/shepherdjerred/
|
|
179
|
+
- add custom property preset ([9ebff27](https://github.com/shepherdjerred/monorepo/commit/9ebff2708d951b27f125cc7d8a0a44276446765d))
|
|
180
|
+
- update to eslint 9 ([d19f8fc](https://github.com/shepherdjerred/monorepo/commit/d19f8fcd5670088a0563af41fd533a3f28af212f))
|
|
181
181
|
|
|
182
182
|
### Bug Fixes
|
|
183
183
|
|
|
184
|
-
- **deps:** update dependency astro-opengraph-images to v1.8.2 ([f20bf7a](https://github.com/shepherdjerred/
|
|
184
|
+
- **deps:** update dependency astro-opengraph-images to v1.8.2 ([f20bf7a](https://github.com/shepherdjerred/monorepo/commit/f20bf7a6497aae31c8ab1546bdc5aa10c946eef5))
|
|
185
185
|
|
|
186
|
-
## [1.8.2](https://github.com/shepherdjerred/
|
|
186
|
+
## [1.8.2](https://github.com/shepherdjerred/monorepo/compare/v1.8.1...v1.8.2) (2024-07-28)
|
|
187
187
|
|
|
188
188
|
### Bug Fixes
|
|
189
189
|
|
|
190
|
-
- **deps:** update dependency jsdom to v24.1.1 ([30d1506](https://github.com/shepherdjerred/
|
|
191
|
-
- **deps:** update npm ([3ab6868](https://github.com/shepherdjerred/
|
|
192
|
-
- **deps:** update npm ([19bd9d6](https://github.com/shepherdjerred/
|
|
190
|
+
- **deps:** update dependency jsdom to v24.1.1 ([30d1506](https://github.com/shepherdjerred/monorepo/commit/30d15061e07bbd0f65d3daa988c1788944fcfda7))
|
|
191
|
+
- **deps:** update npm ([3ab6868](https://github.com/shepherdjerred/monorepo/commit/3ab68680992c923443d9eb3aa0bdc37fc4ff67df))
|
|
192
|
+
- **deps:** update npm ([19bd9d6](https://github.com/shepherdjerred/monorepo/commit/19bd9d6ed48103d8278ee6e3baaedfcc5e587a4b))
|
|
193
193
|
|
|
194
|
-
## [1.8.1](https://github.com/shepherdjerred/
|
|
194
|
+
## [1.8.1](https://github.com/shepherdjerred/monorepo/compare/v1.8.0...v1.8.1) (2024-07-16)
|
|
195
195
|
|
|
196
196
|
### Bug Fixes
|
|
197
197
|
|
|
198
|
-
- require react ([e59bb2c](https://github.com/shepherdjerred/
|
|
198
|
+
- require react ([e59bb2c](https://github.com/shepherdjerred/monorepo/commit/e59bb2cf9600734e8b41e2aaa133ab9fa761206b))
|
|
199
199
|
|
|
200
|
-
## [1.8.0](https://github.com/shepherdjerred/
|
|
200
|
+
## [1.8.0](https://github.com/shepherdjerred/monorepo/compare/v1.7.2...v1.8.0) (2024-07-16)
|
|
201
201
|
|
|
202
202
|
### Features
|
|
203
203
|
|
|
204
|
-
- don't require react ([b724b15](https://github.com/shepherdjerred/
|
|
204
|
+
- don't require react ([b724b15](https://github.com/shepherdjerred/monorepo/commit/b724b158f29e88318dc0467b497b78367823fefa))
|
|
205
205
|
|
|
206
|
-
## [1.7.2](https://github.com/shepherdjerred/
|
|
206
|
+
## [1.7.2](https://github.com/shepherdjerred/monorepo/compare/v1.7.1...v1.7.2) (2024-07-16)
|
|
207
207
|
|
|
208
208
|
### Bug Fixes
|
|
209
209
|
|
|
210
|
-
- **deps:** update dependency @astrojs/check to ^0.8.0 ([9df8d2c](https://github.com/shepherdjerred/
|
|
211
|
-
- **deps:** update dependency satori to v0.10.14 ([cea07df](https://github.com/shepherdjerred/
|
|
210
|
+
- **deps:** update dependency @astrojs/check to ^0.8.0 ([9df8d2c](https://github.com/shepherdjerred/monorepo/commit/9df8d2c3037c55c15828b953bd6d0cfb2495c12e))
|
|
211
|
+
- **deps:** update dependency satori to v0.10.14 ([cea07df](https://github.com/shepherdjerred/monorepo/commit/cea07df65264c1ff3b5099618ed8f2b3cc4ab7ad))
|
|
212
212
|
|
|
213
|
-
## [1.7.1](https://github.com/shepherdjerred/
|
|
213
|
+
## [1.7.1](https://github.com/shepherdjerred/monorepo/compare/v1.7.0...v1.7.1) (2024-07-04)
|
|
214
214
|
|
|
215
215
|
### Bug Fixes
|
|
216
216
|
|
|
217
|
-
- relative paths being handled as absolute ones ([bfd1174](https://github.com/shepherdjerred/
|
|
217
|
+
- relative paths being handled as absolute ones ([bfd1174](https://github.com/shepherdjerred/monorepo/commit/bfd117431a793e61926aed08e2f9474a87733918))
|
|
218
218
|
|
|
219
|
-
## [1.7.0](https://github.com/shepherdjerred/
|
|
219
|
+
## [1.7.0](https://github.com/shepherdjerred/monorepo/compare/v1.6.6...v1.7.0) (2024-07-03)
|
|
220
220
|
|
|
221
221
|
### Features
|
|
222
222
|
|
|
223
|
-
- add windows support & proper path handling ([fe6c5f4](https://github.com/shepherdjerred/
|
|
223
|
+
- add windows support & proper path handling ([fe6c5f4](https://github.com/shepherdjerred/monorepo/commit/fe6c5f4abdf47c354afce4b2513588a759cbd8d7))
|
|
224
224
|
|
|
225
|
-
## [1.6.6](https://github.com/shepherdjerred/
|
|
225
|
+
## [1.6.6](https://github.com/shepherdjerred/monorepo/compare/v1.6.5...v1.6.6) (2024-07-02)
|
|
226
226
|
|
|
227
227
|
### Bug Fixes
|
|
228
228
|
|
|
229
|
-
- update README steps ([8726aa0](https://github.com/shepherdjerred/
|
|
229
|
+
- update README steps ([8726aa0](https://github.com/shepherdjerred/monorepo/commit/8726aa0b7f76f73b097077d9168cd17a3f0cb805))
|
|
230
230
|
|
|
231
|
-
## [1.6.5](https://github.com/shepherdjerred/
|
|
231
|
+
## [1.6.5](https://github.com/shepherdjerred/monorepo/compare/v1.6.4...v1.6.5) (2024-07-02)
|
|
232
232
|
|
|
233
233
|
### Bug Fixes
|
|
234
234
|
|
|
235
|
-
- fix logger capitalization ([1405fb8](https://github.com/shepherdjerred/
|
|
235
|
+
- fix logger capitalization ([1405fb8](https://github.com/shepherdjerred/monorepo/commit/1405fb8ee98e0d0bb4974e17f10b35d009bcf7f9))
|
|
236
236
|
|
|
237
|
-
## [1.6.4](https://github.com/shepherdjerred/
|
|
237
|
+
## [1.6.4](https://github.com/shepherdjerred/monorepo/compare/v1.6.3...v1.6.4) (2024-07-02)
|
|
238
238
|
|
|
239
239
|
### Bug Fixes
|
|
240
240
|
|
|
241
|
-
- deps ([134d1d2](https://github.com/shepherdjerred/
|
|
241
|
+
- deps ([134d1d2](https://github.com/shepherdjerred/monorepo/commit/134d1d26038bbe1a1c0f66bda0de0cc4c6ef269c))
|
|
242
242
|
|
|
243
|
-
## [1.6.3](https://github.com/shepherdjerred/
|
|
243
|
+
## [1.6.3](https://github.com/shepherdjerred/monorepo/compare/v1.6.2...v1.6.3) (2024-07-02)
|
|
244
244
|
|
|
245
245
|
### Bug Fixes
|
|
246
246
|
|
|
247
|
-
- add more context to site ([3db768a](https://github.com/shepherdjerred/
|
|
248
|
-
- don't set description if it equals the title ([42763b5](https://github.com/shepherdjerred/
|
|
249
|
-
- formatting ([94ed9b9](https://github.com/shepherdjerred/
|
|
250
|
-
- regenerate README ([b8c204e](https://github.com/shepherdjerred/
|
|
251
|
-
- regenerate README ([531d5f4](https://github.com/shepherdjerred/
|
|
252
|
-
- regenerate README ([4e432c6](https://github.com/shepherdjerred/
|
|
247
|
+
- add more context to site ([3db768a](https://github.com/shepherdjerred/monorepo/commit/3db768aef904a95915696accae28b9aa239a1419))
|
|
248
|
+
- don't set description if it equals the title ([42763b5](https://github.com/shepherdjerred/monorepo/commit/42763b523ff25ba8b88a7d4ce463f972974f3ddc))
|
|
249
|
+
- formatting ([94ed9b9](https://github.com/shepherdjerred/monorepo/commit/94ed9b99c8db98c284e9ffcc39b050ad3ab8e762))
|
|
250
|
+
- regenerate README ([b8c204e](https://github.com/shepherdjerred/monorepo/commit/b8c204e0e9b37868e43692fc1d57e795d8dbb456))
|
|
251
|
+
- regenerate README ([531d5f4](https://github.com/shepherdjerred/monorepo/commit/531d5f4780b273e317d608411c64fcba4f3e50db))
|
|
252
|
+
- regenerate README ([4e432c6](https://github.com/shepherdjerred/monorepo/commit/4e432c6059b7b6f3f10e54c75307cbbd3e204bf0))
|
|
253
253
|
|
|
254
|
-
## [1.6.2](https://github.com/shepherdjerred/
|
|
254
|
+
## [1.6.2](https://github.com/shepherdjerred/monorepo/compare/v1.6.1...v1.6.2) (2024-07-01)
|
|
255
255
|
|
|
256
256
|
### Bug Fixes
|
|
257
257
|
|
|
258
|
-
- remove type ([0400a2e](https://github.com/shepherdjerred/
|
|
258
|
+
- remove type ([0400a2e](https://github.com/shepherdjerred/monorepo/commit/0400a2e71d33dcd3fbc5e595e9f984f14097118b))
|
|
259
259
|
|
|
260
|
-
## [1.6.1](https://github.com/shepherdjerred/
|
|
260
|
+
## [1.6.1](https://github.com/shepherdjerred/monorepo/compare/v1.6.0...v1.6.1) (2024-07-01)
|
|
261
261
|
|
|
262
262
|
### Bug Fixes
|
|
263
263
|
|
|
264
|
-
- correct preset return types ([21e668a](https://github.com/shepherdjerred/
|
|
264
|
+
- correct preset return types ([21e668a](https://github.com/shepherdjerred/monorepo/commit/21e668acc0c426a07435af73e4ccbae351d83d40))
|
|
265
265
|
|
|
266
|
-
## [1.6.0](https://github.com/shepherdjerred/
|
|
266
|
+
## [1.6.0](https://github.com/shepherdjerred/monorepo/compare/v1.5.0...v1.6.0) (2024-07-01)
|
|
267
267
|
|
|
268
268
|
### Features
|
|
269
269
|
|
|
270
|
-
- polish ([8b46f0b](https://github.com/shepherdjerred/
|
|
270
|
+
- polish ([8b46f0b](https://github.com/shepherdjerred/monorepo/commit/8b46f0bb710e805c01e4658a4fda02793004e78c))
|
|
271
271
|
|
|
272
|
-
## [1.5.0](https://github.com/shepherdjerred/
|
|
272
|
+
## [1.5.0](https://github.com/shepherdjerred/monorepo/compare/v1.4.1...v1.5.0) (2024-07-01)
|
|
273
273
|
|
|
274
274
|
### Features
|
|
275
275
|
|
|
276
|
-
- simplify ([6236085](https://github.com/shepherdjerred/
|
|
276
|
+
- simplify ([6236085](https://github.com/shepherdjerred/monorepo/commit/6236085749e19cc93d1df06c494a18e78a9c2b27))
|
|
277
277
|
|
|
278
278
|
### Bug Fixes
|
|
279
279
|
|
|
280
|
-
- correctly determine paths ([adc97a2](https://github.com/shepherdjerred/
|
|
281
|
-
- **deps:** update dependency astro-opengraph-images to v1.4.1 ([9aaeeb1](https://github.com/shepherdjerred/
|
|
282
|
-
- require at least one font to be defined ([58eae4c](https://github.com/shepherdjerred/
|
|
280
|
+
- correctly determine paths ([adc97a2](https://github.com/shepherdjerred/monorepo/commit/adc97a2638b6a9593eea7f61939a8931f6249c08))
|
|
281
|
+
- **deps:** update dependency astro-opengraph-images to v1.4.1 ([9aaeeb1](https://github.com/shepherdjerred/monorepo/commit/9aaeeb1d4226d89eac726053fe18edd7de4955f0))
|
|
282
|
+
- require at least one font to be defined ([58eae4c](https://github.com/shepherdjerred/monorepo/commit/58eae4ccc400d201e4b6b8c100f9884cc64d7927))
|
|
283
283
|
|
|
284
|
-
## [1.4.1](https://github.com/shepherdjerred/
|
|
284
|
+
## [1.4.1](https://github.com/shepherdjerred/monorepo/compare/v1.4.0...v1.4.1) (2024-06-30)
|
|
285
285
|
|
|
286
286
|
### Bug Fixes
|
|
287
287
|
|
|
288
|
-
- correct image ([de0a076](https://github.com/shepherdjerred/
|
|
289
|
-
- don't require width and height ([1793584](https://github.com/shepherdjerred/
|
|
290
|
-
- use correct image ([d0398fa](https://github.com/shepherdjerred/
|
|
288
|
+
- correct image ([de0a076](https://github.com/shepherdjerred/monorepo/commit/de0a07680b2e31fbd3ee2ca615c927e5c1823f49))
|
|
289
|
+
- don't require width and height ([1793584](https://github.com/shepherdjerred/monorepo/commit/17935846ec2b29fe45e1612a5bb76de0fecdbc56))
|
|
290
|
+
- use correct image ([d0398fa](https://github.com/shepherdjerred/monorepo/commit/d0398fa9c4639374df608901f8ff8c5e47c26b49))
|
|
291
291
|
|
|
292
|
-
## [1.4.0](https://github.com/shepherdjerred/
|
|
292
|
+
## [1.4.0](https://github.com/shepherdjerred/monorepo/compare/v1.3.1...v1.4.0) (2024-06-30)
|
|
293
293
|
|
|
294
294
|
### Features
|
|
295
295
|
|
|
296
|
-
- add new presets ([8a54687](https://github.com/shepherdjerred/
|
|
296
|
+
- add new presets ([8a54687](https://github.com/shepherdjerred/monorepo/commit/8a5468741998557dc740ffd5b053787ccfb567b8))
|
|
297
297
|
|
|
298
|
-
## [1.3.1](https://github.com/shepherdjerred/
|
|
298
|
+
## [1.3.1](https://github.com/shepherdjerred/monorepo/compare/v1.3.0...v1.3.1) (2024-06-29)
|
|
299
299
|
|
|
300
300
|
### Bug Fixes
|
|
301
301
|
|
|
302
|
-
- update import ([585b310](https://github.com/shepherdjerred/
|
|
302
|
+
- update import ([585b310](https://github.com/shepherdjerred/monorepo/commit/585b3100ec97f3634a67d8b8a9694a56380fd388))
|
|
303
303
|
|
|
304
|
-
## [1.3.0](https://github.com/shepherdjerred/
|
|
304
|
+
## [1.3.0](https://github.com/shepherdjerred/monorepo/compare/v1.2.1...v1.3.0) (2024-06-29)
|
|
305
305
|
|
|
306
306
|
### Features
|
|
307
307
|
|
|
308
|
-
- use React jsx ([b2e8622](https://github.com/shepherdjerred/
|
|
308
|
+
- use React jsx ([b2e8622](https://github.com/shepherdjerred/monorepo/commit/b2e862217788735eacebf20396951193dfdb894d))
|
|
309
309
|
|
|
310
|
-
## [1.2.1](https://github.com/shepherdjerred/
|
|
310
|
+
## [1.2.1](https://github.com/shepherdjerred/monorepo/compare/v1.2.0...v1.2.1) (2024-06-29)
|
|
311
311
|
|
|
312
312
|
### Bug Fixes
|
|
313
313
|
|
|
314
|
-
- resolve merge conflict ([ba0c596](https://github.com/shepherdjerred/
|
|
314
|
+
- resolve merge conflict ([ba0c596](https://github.com/shepherdjerred/monorepo/commit/ba0c596b3f10a95d0cbe67bf9eef51b552fc7afe))
|
|
315
315
|
|
|
316
|
-
## [1.2.0](https://github.com/shepherdjerred/
|
|
316
|
+
## [1.2.0](https://github.com/shepherdjerred/monorepo/compare/v1.1.0...v1.2.0) (2024-06-29)
|
|
317
317
|
|
|
318
318
|
### Features
|
|
319
319
|
|
|
320
|
-
- simplify ([d82ab03](https://github.com/shepherdjerred/
|
|
321
|
-
- simplify ([0e1e7c6](https://github.com/shepherdjerred/
|
|
320
|
+
- simplify ([d82ab03](https://github.com/shepherdjerred/monorepo/commit/d82ab031aa971437a9b02999be52c04a8a9e089c))
|
|
321
|
+
- simplify ([0e1e7c6](https://github.com/shepherdjerred/monorepo/commit/0e1e7c6b1d4effa4fb0caa5fcf676168d3b03dd2))
|
|
322
322
|
|
|
323
323
|
### Bug Fixes
|
|
324
324
|
|
|
325
|
-
- fix json ([0799f5f](https://github.com/shepherdjerred/
|
|
325
|
+
- fix json ([0799f5f](https://github.com/shepherdjerred/monorepo/commit/0799f5f055d12a3cabd9cc72dd30c9cef9219b84))
|
|
326
326
|
|
|
327
|
-
## [1.1.0](https://github.com/shepherdjerred/
|
|
327
|
+
## [1.1.0](https://github.com/shepherdjerred/monorepo/compare/v1.0.0...v1.1.0) (2024-06-29)
|
|
328
328
|
|
|
329
329
|
### Features
|
|
330
330
|
|
|
331
|
-
- simplify setup ([08a922e](https://github.com/shepherdjerred/
|
|
331
|
+
- simplify setup ([08a922e](https://github.com/shepherdjerred/monorepo/commit/08a922e7d096930e3af40865d34ac18c480384fa))
|
|
332
332
|
|
|
333
333
|
## 1.0.0 (2024-06-28)
|
|
334
334
|
|
|
335
335
|
### Features
|
|
336
336
|
|
|
337
|
-
- init ([a7b0623](https://github.com/shepherdjerred/
|
|
337
|
+
- init ([a7b0623](https://github.com/shepherdjerred/monorepo/commit/a7b06237cec0b4c7228f5d91a07c03d168395d52))
|
|
338
338
|
|
|
339
339
|
### Bug Fixes
|
|
340
340
|
|
|
341
|
-
- remove eslintcache ([1b6d4a2](https://github.com/shepherdjerred/
|
|
341
|
+
- remove eslintcache ([1b6d4a2](https://github.com/shepherdjerred/monorepo/commit/1b6d4a27080b92ed9189d2cdb45a3f4009b84c08))
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
Generate Open Graph images for your Astro site.
|
|
11
11
|
|
|
12
|
-
This project is actively maintained. If you have a feature request or need help, please [create an issue](https://github.com/shepherdjerred/
|
|
12
|
+
This project is actively maintained. If you have a feature request or need help, please [create an issue](https://github.com/shepherdjerred/monorepo/issues/new).
|
|
13
13
|
|
|
14
14
|
</div>
|
|
15
15
|
|
|
@@ -205,13 +205,13 @@ To better illustrate these steps, I've created a [video](https://www.loom.com/sh
|
|
|
205
205
|
|
|
206
206
|
## Examples
|
|
207
207
|
|
|
208
|
-
There are example sites using this integration under [`examples/`](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
208
|
+
There are example sites using this integration under [`examples/`](https://github.com/shepherdjerred/monorepo/tree/main/packages/astro-opengraph-images/examples).
|
|
209
209
|
|
|
210
210
|
### Sites Using This
|
|
211
211
|
|
|
212
|
-
If you're using this project, [open a PR](https://github.com/shepherdjerred/
|
|
212
|
+
If you're using this project, [open a PR](https://github.com/shepherdjerred/monorepo/compare) to add your site to this list.
|
|
213
213
|
|
|
214
|
-
- [sjer.red](https://sjer.red) ([source](https://github.com/shepherdjerred/
|
|
214
|
+
- [sjer.red](https://sjer.red) ([source](https://github.com/shepherdjerred/monorepo))
|
|
215
215
|
|
|
216
216
|
## Filtering Pages
|
|
217
217
|
|
|
@@ -250,9 +250,9 @@ When `verbose: true` is set on `options`, skipped pages are logged.
|
|
|
250
250
|
|
|
251
251
|
## Custom Renderers
|
|
252
252
|
|
|
253
|
-
You can create your own custom images with a render function. Take a look at how [a preset](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
253
|
+
You can create your own custom images with a render function. Take a look at how [a preset](https://github.com/shepherdjerred/monorepo/blob/main/packages/astro-opengraph-images/src/presets/blackAndWhite.tsx) works.
|
|
254
254
|
|
|
255
|
-
Renderers have access to the page's DOM using [jsdom](https://github.com/jsdom/jsdom). You can use this to render your Open Graph image using any of the content from the associated HTML page. An example of this is shown in the [custom property preset](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
255
|
+
Renderers have access to the page's DOM using [jsdom](https://github.com/jsdom/jsdom). You can use this to render your Open Graph image using any of the content from the associated HTML page. An example of this is shown in the [custom property preset](https://github.com/shepherdjerred/monorepo/blob/main/packages/astro-opengraph-images/src/presets/customProperty.tsx) which shows a preview of the page's body text in the Open Graph image.
|
|
256
256
|
|
|
257
257
|
This library uses [Satori](https://github.com/vercel/satori) to convert React components to SVG. The SVG is then converted to a PNG using [resvg-js](https://github.com/yisibl/resvg-js).
|
|
258
258
|
|
|
@@ -261,7 +261,7 @@ This library uses [Satori](https://github.com/vercel/satori) to convert React co
|
|
|
261
261
|
>
|
|
262
262
|
> You can use the [Satori playground](https://og-playground.vercel.app/) to work on your images.
|
|
263
263
|
>
|
|
264
|
-
> You can use Tailwind syntax with [tw-to-css](https://github.com/vinicoder/tw-to-css). An example is the [Tailwind preset](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
264
|
+
> You can use Tailwind syntax with [tw-to-css](https://github.com/vinicoder/tw-to-css). An example is the [Tailwind preset](https://github.com/shepherdjerred/monorepo/blob/main/packages/astro-opengraph-images/src/presets/tailwind.tsx). You'll need to install this package yourself.
|
|
265
265
|
|
|
266
266
|
### Loading Local Images
|
|
267
267
|
|
|
@@ -369,7 +369,7 @@ The `loadAdditionalAsset` callback is called by [Satori](https://github.com/verc
|
|
|
369
369
|
|
|
370
370
|
## Presets
|
|
371
371
|
|
|
372
|
-
Presets are located in [`src/presets/`](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
372
|
+
Presets are located in [`src/presets/`](https://github.com/shepherdjerred/monorepo/tree/main/packages/astro-opengraph-images/src/presets). [Open a pull request](https://github.com/shepherdjerred/monorepo/compare) to contribute a preset you've created.
|
|
373
373
|
|
|
374
374
|
Note: some presets use the [`tw-to-css`](https://github.com/vinicoder/tw-to-css) library. You'll need to install this dependency separately when using one of these presets. You'll see an error if the library is not already installed.
|
|
375
375
|
|
package/README.md.tmpl
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
Generate Open Graph images for your Astro site.
|
|
11
11
|
|
|
12
|
-
This project is actively maintained. If you have a feature request or need help, please [create an issue](https://github.com/shepherdjerred/
|
|
12
|
+
This project is actively maintained. If you have a feature request or need help, please [create an issue](https://github.com/shepherdjerred/monorepo/issues/new).
|
|
13
13
|
|
|
14
14
|
</div>
|
|
15
15
|
|
|
@@ -208,13 +208,13 @@ To better illustrate these steps, I've created a [video](https://www.loom.com/sh
|
|
|
208
208
|
|
|
209
209
|
## Examples
|
|
210
210
|
|
|
211
|
-
There are example sites using this integration under [`examples/`](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
211
|
+
There are example sites using this integration under [`examples/`](https://github.com/shepherdjerred/monorepo/tree/main/packages/astro-opengraph-images/examples).
|
|
212
212
|
|
|
213
213
|
### Sites Using This
|
|
214
214
|
|
|
215
|
-
If you're using this project, [open a PR](https://github.com/shepherdjerred/
|
|
215
|
+
If you're using this project, [open a PR](https://github.com/shepherdjerred/monorepo/compare) to add your site to this list.
|
|
216
216
|
|
|
217
|
-
* [sjer.red](https://sjer.red) ([source](https://github.com/shepherdjerred/
|
|
217
|
+
* [sjer.red](https://sjer.red) ([source](https://github.com/shepherdjerred/monorepo))
|
|
218
218
|
|
|
219
219
|
## Filtering Pages
|
|
220
220
|
|
|
@@ -253,9 +253,9 @@ When `verbose: true` is set on `options`, skipped pages are logged.
|
|
|
253
253
|
|
|
254
254
|
## Custom Renderers
|
|
255
255
|
|
|
256
|
-
You can create your own custom images with a render function. Take a look at how [a preset](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
256
|
+
You can create your own custom images with a render function. Take a look at how [a preset](https://github.com/shepherdjerred/monorepo/blob/main/packages/astro-opengraph-images/src/presets/blackAndWhite.tsx) works.
|
|
257
257
|
|
|
258
|
-
Renderers have access to the page's DOM using [jsdom](https://github.com/jsdom/jsdom). You can use this to render your Open Graph image using any of the content from the associated HTML page. An example of this is shown in the [custom property preset](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
258
|
+
Renderers have access to the page's DOM using [jsdom](https://github.com/jsdom/jsdom). You can use this to render your Open Graph image using any of the content from the associated HTML page. An example of this is shown in the [custom property preset](https://github.com/shepherdjerred/monorepo/blob/main/packages/astro-opengraph-images/src/presets/customProperty.tsx) which shows a preview of the page's body text in the Open Graph image.
|
|
259
259
|
|
|
260
260
|
This library uses [Satori](https://github.com/vercel/satori) to convert React components to SVG. The SVG is then converted to a PNG using [resvg-js](https://github.com/yisibl/resvg-js).
|
|
261
261
|
|
|
@@ -264,11 +264,11 @@ This library uses [Satori](https://github.com/vercel/satori) to convert React co
|
|
|
264
264
|
>
|
|
265
265
|
> You can use the [Satori playground](https://og-playground.vercel.app/) to work on your images.
|
|
266
266
|
>
|
|
267
|
-
> You can use Tailwind syntax with [tw-to-css](https://github.com/vinicoder/tw-to-css). An example is the [Tailwind preset](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
267
|
+
> You can use Tailwind syntax with [tw-to-css](https://github.com/vinicoder/tw-to-css). An example is the [Tailwind preset](https://github.com/shepherdjerred/monorepo/blob/main/packages/astro-opengraph-images/src/presets/tailwind.tsx). You'll need to install this package yourself.
|
|
268
268
|
|
|
269
269
|
## Presets
|
|
270
270
|
|
|
271
|
-
Presets are located in [`src/presets/`](https://github.com/shepherdjerred/astro-opengraph-images/
|
|
271
|
+
Presets are located in [`src/presets/`](https://github.com/shepherdjerred/monorepo/tree/main/packages/astro-opengraph-images/src/presets). [Open a pull request](https://github.com/shepherdjerred/monorepo/compare) to contribute a preset you've created.
|
|
272
272
|
|
|
273
273
|
Note: some presets use the [`tw-to-css`](https://github.com/vinicoder/tw-to-css) library. You'll need to install this dependency separately when using one of these presets. You'll see an error if the library is not already installed.
|
|
274
274
|
|