devrsi0n / chirpy

๐Ÿ’ฌ A privacy-friendly and customizable Disqus (comment system) alternate. ๆณจ้‡้š็งไฟๆŠคๅ’ŒๅฎšๅˆถๅŒ–็š„่ฏ„่ฎบ็ณป็ปŸใ€‚
https://chirpy.dev
GNU Affero General Public License v3.0
555 stars 32 forks source link

feat: notion blog #552

Closed devrsi0n closed 1 year ago

devrsi0n commented 1 year ago

Description

This is a fundamental change to this project, we added follow features to this project:

It's easy to bring BREAKING CHANGEs to the existing flows, we need to complete the follow check list

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Checklist

changeset-bot[bot] commented 1 year ago

โš ๏ธ No Changeset found

Latest commit: 54567b0318c2d08fdc82cfd6c1fe9b590d17449c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Updated
chirpy โœ… Ready (Inspect) Visit Preview Jan 21, 2023 at 1:20AM (UTC)
github-actions[bot] commented 1 year ago

Coverage report for ./apps/main

Multiple errors occurred

 1 | Error: The process '/opt/hostedtoolcache/node/16.19.0/x64/bin/npx' failed with exit code 1
 2 | Coverage output file not found. (file "apps/main/report.json" not found)
 3 | Getting code coverage data failed.
St.:grey_question:
Category Percentage Covered / Total
๐Ÿ”ด Statements 8.77% 40/456
๐Ÿ”ด Branches 10.23% 9/88
๐Ÿ”ด Functions 4.13% 5/121
๐Ÿ”ด Lines 9.27% 38/410

Test suite run success

2 tests passing in 2 suites.

Report generated by ๐Ÿงชjest coverage report action from b92d785a9d5f5945d95f73dffb39bc8649a49c64

relativeci[bot] commented 1 year ago

Job #1261: Bundle Size โ€” 3.52MiB (+74.62%).

6937fdd(current) vs a67fc39 main#1234(baseline)

Metrics (9 changes)
โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒ โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒCurrent
Job #1261
โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒBaseline
Job #1234
Initial JS 1.87MiB(+34.57%) 1.39MiB
Initial CSS 143.01KiB(+58.01%) 90.51KiB
Cache Invalidation 92.23% 19.92%
Chunks 78(+56%) 50
Assets 88(+54.39%) 57
Modules 1579(+51.1%) 1045
Duplicate Modules 482(+164.84%) 182
Duplicate Code 9.1%(+88.41%) 4.83%
Packages 165(+87.5%) 88
Duplicate Packages 0 0

Total size by type (4 changes)
| โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒ | โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒCurrent
[Job #1261](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2?utm_source=github&utm_medium=pr-report "View job report") | โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒBaseline
[Job #1234](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1234-G73p6qDhW2ah5vcaOF4v?utm_source=github&utm_medium=pr-report "View baseline job report") | |:--|--:|--:| | [CSS](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Atrue%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all CSS assets") | `143.01KiB` (`+58.01%`) | `90.51KiB` | | [Fonts](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Atrue%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all Fonts assets") | `0B` | `0B` | | [HTML](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Atrue%2C%22ft.OTHER%22%3Afalse%7D%7D "View all HTML assets") | `0B` | `0B` | | [IMG](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Atrue%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all IMG assets") | `1.45KiB` (`+100%`) | `0B` | | [JS](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Atrue%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all JS assets") | `3.36MiB` (`+75.47%`) | `1.92MiB` | | [Media](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Atrue%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Afalse%7D%7D "View all Media assets") | `0B` | `0B` | | [Other](https://app.relative-ci.com/projects/rYoEVFddayylGRgFiBEd/jobs/1261-HMxPfdIB2O39ecQrUPC2/assets?ba=%7B%22filters%22%3A%7B%22ft.CSS%22%3Afalse%2C%22ft.JS%22%3Afalse%2C%22ft.IMG%22%3Afalse%2C%22ft.MEDIA%22%3Afalse%2C%22ft.FONT%22%3Afalse%2C%22ft.HTML%22%3Afalse%2C%22ft.OTHER%22%3Atrue%7D%7D "View all Other assets") | `17.06KiB` (`+48.03%`) | `11.53KiB` |

View job #1261 reportโ€ƒView main branch activity

github-actions[bot] commented 1 year ago

Coverage report for ./packages/ui

โŒ An unexpected error occurred. For more details, check console

Error: The process '/opt/hostedtoolcache/node/16.18.1/x64/bin/npx' failed with exit code 1
Statements coverage not met for global: expected >=26%, but got 6.813372831146847%
St.:grey_question:
Category Percentage Covered / Total
๐Ÿ”ด Statements
6.81% (-46.05% ๐Ÿ”ป)
322/4726
๐Ÿ”ด Branches
5.26% (-21.64% ๐Ÿ”ป)
91/1729
๐Ÿ”ด Functions
4.58% (-31.81% ๐Ÿ”ป)
61/1333
๐Ÿ”ด Lines
6.57% (-46.38% ๐Ÿ”ป)
295/4489

:warning: Details were not displayed: the report size has exceeded the limit.

Test suite run failed

Failed tests: 0/17. Failed suites: 20/32.
``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/blocks/comment-card/comment-card.tsx:2204:27) at Object. (src/blocks/comment-card/index.ts:273:13) at Object. (src/blocks/comment-card/__tests__/comment-card.test.tsx:15:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/analytics/analytics.tsx:1669:26) at Object. (src/blocks/analytics/index.ts:273:13) at Object. (src/blocks/index.ts:614:13) at Object. (src/pages/app/dashboard/index.tsx:1578:27) at Object. (src/pages/app/dashboard/__tests__/dashboard.test.tsx:8:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/comment-forest/comment-forest.tsx:2016:26) at Object. (src/blocks/comment-forest/index.tsx:273:13) at Object. (src/blocks/comment-forest/__tests__/comment-forest.test.tsx:14:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/__tests__/fixtures/page-render.tsx:506:26) at Object. (src/pages/app/auth/__tests__/welcome.test.tsx:9:21) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/__tests__/fixtures/page-render.tsx:506:26) at Object. (src/blocks/notification-hub/__tests__/notification-hub.test.tsx:8:21) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/side-bar/side-bar.tsx:2283:27) at Object. (src/blocks/side-bar/index.ts:273:13) at Object. (src/blocks/side-bar/__tests__/side-bar.test.tsx:8:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/hooks/use-storage.ts:1299:26) at Object. (src/blocks/analytics/tabs/tabs.tsx:1952:26) at Object. (src/blocks/analytics/tabs/index.ts:284:13) at Object. (src/blocks/analytics/tabs/__tests__/tabs.test.tsx:8:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/blocks/user-menu/user-menu.tsx:1750:27) at Object. (src/blocks/user-menu/index.ts:273:13) at Object. (src/blocks/user-menu/__tests__/user-drop-down.test.tsx:8:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/footer/footer.tsx:1350:27) at Object. (src/blocks/footer/index.ts:273:13) at Object. (src/blocks/footer/__tests__/footer.test.tsx:20:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/contexts/theme-context/widget-theme-provider.tsx:1600:26) at Object. (src/contexts/theme-context/index.ts:295:13) at Object. (src/contexts/theme-context/__tests__/theme-provider.test.tsx:7:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/blocks/comment-card/comment-card.tsx:2204:27) at Object. (src/blocks/comment-card/index.ts:273:13) at Object. (src/blocks/comment-timeline/comment-timeline.tsx:1582:28) at Object. (src/blocks/comment-timeline/__tests__/comment-linked-list.test.tsx:7:26) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/components/toast/toast-context.ts:1042:27) at Object. (src/components/toast/index.ts:306:13) at Object. (src/components/toast/__tests__/toast.test.tsx:8:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/__tests__/fixtures/page-render.tsx:506:26) at Object. (src/blocks/rich-text-editor/__tests__/rich-text-editor.test.tsx:8:21) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/page-title/page-title.tsx:1350:26) at Object. (src/blocks/page-title/index.ts:273:13) at Object. (src/blocks/theme-editor/theme-editor.tsx:1946:27) at Object. (src/blocks/theme-editor/index.ts:273:13) at Object. (src/blocks/theme-editor/__tests__/theme-editor.test.tsx:8:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/blocks/integrate-guide/integrate-guide.tsx:1219:27) at Object. (src/blocks/integrate-guide/__tests__/integrate-guide.test.tsx:8:25) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/analytics/analytics.tsx:1669:26) at Object. (src/blocks/analytics/index.ts:273:13) at Object. (src/blocks/index.ts:614:13) at Object. (src/pages/app/analytics/domain.tsx:1095:27) at Object. (src/pages/app/analytics/index.ts:273:13) at Object. (src/pages/app/index.ts:350:13) at Object. (src/pages/index.ts:317:13) at Object. (src/pages/app/auth/__tests__/sign-in.test.tsx:7:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/analytics/analytics.tsx:1669:26) at Object. (src/blocks/analytics/index.ts:273:13) at Object. (src/blocks/index.ts:614:13) at Object. (src/pages/home/home.tsx:1257:27) at Object. (src/__tests__/pages/index.test.tsx:7:15) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/blocks/sign-in-button/sign-in-button.tsx:1334:26) at Object. (src/blocks/sign-in-button/index.ts:273:13) at Object. (src/blocks/header/header.tsx:1381:27) at Object. (src/blocks/header/index.ts:273:13) at Object. (src/blocks/header/__tests__/header.test.tsx:7:11) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/utilities/image.ts:360:27) at Object. (src/utilities/index.ts:348:13) at Object. (src/hooks/use-form/validate.ts:823:26) at Object. (src/hooks/use-form/use-form.ts:2158:27) at Object. (src/hooks/use-form/index.ts:284:13) at Object. (src/hooks/index.ts:493:13) at Object. (src/components/banner/banner.tsx:1243:26) at Object. (src/components/banner/index.ts:284:13) at Object. (src/components/index.ts:615:13) at Object. (src/blocks/analytics/analytics.tsx:1669:26) at Object. (src/blocks/analytics/index.ts:273:13) at Object. (src/blocks/index.ts:614:13) at Object. (src/pages/app/404.tsx:1235:27) at Object. (src/__tests__/pages/404.test.tsx:7:14) ``` --- ``` โ— Test suite failed to run TypeError: Invalid URL: undefined > 1 | const homeUrl = new URL(process.env.NEXT_PUBLIC_HOME_ORIGIN); | ^ 2 | const protocol = homeUrl.protocol; 3 | 4 | export const HOME_HOST: string = homeUrl.host; at new URLImpl (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL-impl.js:21:13) at Object.exports.setup (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:54:12) at new URL (../../node_modules/.pnpm/whatwg-url@11.0.0/node_modules/whatwg-url/lib/URL.js:115:22) at Object. (../utils/src/url.ts:1:17) at Object. (../utils/src/index.ts:9:13) at Object. (src/components/logo/logo.tsx:1674:26) at Object. (src/components/logo/index.ts:273:13) at Object. (src/blocks/powered-by/powered-by.tsx:1095:27) at Object. (src/blocks/powered-by/__tests__/powered-by.test.tsx:7:20) ```

Report generated by ๐Ÿงชjest coverage report action from cd710f3893ca83b51d8b5f1b8cb453f104116587

cypress[bot] commented 1 year ago



Test summary

4 0 3 0Flakiness 0


Run details

Project chirpy
Status Passed
Commit 54567b0318
Started Jan 21, 2023 1:21 AM
Ended Jan 21, 2023 1:23 AM
Duration 01:39 ๐Ÿ’ก
OS Linux Ubuntu - 22.04
Browser Chrome 109

View run in Cypress Dashboard โžก๏ธ


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard