diff --git a/.eslintrc.json b/.eslintrc.json index 821101586227a..e032cc9590a0b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -225,6 +225,15 @@ ], "@typescript-eslint/no-import-type-side-effects": "error" } + }, + { + "files": ["*.mdx"], + "extends": ["plugin:mdx/recommended"], + "parser": "eslint-mdx", + "rules": { + "react/jsx-no-undef": "off", + "react/self-closing-comp": "error" + } } ], "rules": { diff --git a/docs/01-app/03-building-your-application/03-rendering/04-partial-prerendering.mdx b/docs/01-app/03-building-your-application/03-rendering/04-partial-prerendering.mdx index 64f549ddd8a18..fd6f8f7529d55 100644 --- a/docs/01-app/03-building-your-application/03-rendering/04-partial-prerendering.mdx +++ b/docs/01-app/03-building-your-application/03-rendering/04-partial-prerendering.mdx @@ -57,20 +57,20 @@ module.exports = nextConfig ``` ```tsx filename="app/page.tsx" switcher -import { Suspense } from "react" -import { StaticComponent, DynamicComponent, Fallback } from "@/app/ui" +import { Suspense } from 'react' +import { StaticComponent, DynamicComponent, Fallback } from '@/app/ui' export const experimental_ppr = true export default function Page() { - return { - <> + return ( + <> }> - - }; + + ) } ``` diff --git a/docs/01-app/03-building-your-application/07-configuring/16-progressive-web-apps.mdx b/docs/01-app/03-building-your-application/07-configuring/16-progressive-web-apps.mdx index 4388fa19b80d8..3028385030162 100644 --- a/docs/01-app/03-building-your-application/07-configuring/16-progressive-web-apps.mdx +++ b/docs/01-app/03-building-your-application/07-configuring/16-progressive-web-apps.mdx @@ -103,9 +103,7 @@ import { subscribeUser, unsubscribeUser, sendNotification } from './actions' function urlBase64ToUint8Array(base64String: string) { const padding = '='.repeat((4 - (base64String.length % 4)) % 4) - const base64 = (base64String + padding) - .replace(/\\-/g, '+') - .replace(/_/g, '/') + const base64 = (base64String + padding).replace(/-/g, '+').replace(/_/g, '/') const rawData = window.atob(base64) const outputArray = new Uint8Array(rawData.length) @@ -174,7 +172,8 @@ function PushNotificationManager() { ), }) setSubscription(sub) - await subscribeUser(sub) + const serializedSub = JSON.parse(JSON.stringify(sub)) + await subscribeUser(serializedSub) } async function unsubscribeFromPush() { diff --git a/docs/01-app/04-api-reference/05-config/01-next-config-js/staticGeneration.mdx b/docs/01-app/04-api-reference/05-config/01-next-config-js/staticGeneration.mdx index b115e29664df3..e194fd7e38a84 100644 --- a/docs/01-app/04-api-reference/05-config/01-next-config-js/staticGeneration.mdx +++ b/docs/01-app/04-api-reference/05-config/01-next-config-js/staticGeneration.mdx @@ -23,13 +23,13 @@ export default nextConfig ```js filename="next.config.js" switcher const nextConfig = { experimental: { - staticGenerationRetryCount: 1 - staticGenerationMaxConcurrency: 8 - staticGenerationMinPagesPerWorker: 25 + staticGenerationRetryCount: 1, + staticGenerationMaxConcurrency: 8, + staticGenerationMinPagesPerWorker: 25, }, } -export default nextConfig; +export default nextConfig ``` ## Config Options diff --git a/examples/active-class-name/.gitignore b/examples/active-class-name/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/active-class-name/.gitignore +++ b/examples/active-class-name/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/amp/.gitignore b/examples/amp/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/amp/.gitignore +++ b/examples/amp/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/analyze-bundles/.gitignore b/examples/analyze-bundles/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/analyze-bundles/.gitignore +++ b/examples/analyze-bundles/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-apollo-server-and-client-auth/.gitignore b/examples/api-routes-apollo-server-and-client-auth/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-apollo-server-and-client-auth/.gitignore +++ b/examples/api-routes-apollo-server-and-client-auth/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-apollo-server-and-client/.gitignore b/examples/api-routes-apollo-server-and-client/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-apollo-server-and-client/.gitignore +++ b/examples/api-routes-apollo-server-and-client/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-apollo-server/.gitignore b/examples/api-routes-apollo-server/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-apollo-server/.gitignore +++ b/examples/api-routes-apollo-server/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-cors/.gitignore b/examples/api-routes-cors/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-cors/.gitignore +++ b/examples/api-routes-cors/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-graphql/.gitignore b/examples/api-routes-graphql/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-graphql/.gitignore +++ b/examples/api-routes-graphql/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-middleware/.gitignore b/examples/api-routes-middleware/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-middleware/.gitignore +++ b/examples/api-routes-middleware/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-rate-limit/.gitignore b/examples/api-routes-rate-limit/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-rate-limit/.gitignore +++ b/examples/api-routes-rate-limit/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/api-routes-rest/.gitignore b/examples/api-routes-rest/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/api-routes-rest/.gitignore +++ b/examples/api-routes-rest/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/app-dir-mdx/.gitignore b/examples/app-dir-mdx/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/app-dir-mdx/.gitignore +++ b/examples/app-dir-mdx/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/auth-with-stytch/.gitignore b/examples/auth-with-stytch/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/auth-with-stytch/.gitignore +++ b/examples/auth-with-stytch/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/auth/.gitignore b/examples/auth/.gitignore index 8f322f0d8f495..8777267507c0e 100644 --- a/examples/auth/.gitignore +++ b/examples/auth/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/auth0/.gitignore b/examples/auth0/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/auth0/.gitignore +++ b/examples/auth0/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/basic-css/.gitignore b/examples/basic-css/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/basic-css/.gitignore +++ b/examples/basic-css/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/basic-export/.gitignore b/examples/basic-export/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/basic-export/.gitignore +++ b/examples/basic-export/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/blog-starter/.gitignore b/examples/blog-starter/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/blog-starter/.gitignore +++ b/examples/blog-starter/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/blog-with-comment/.gitignore b/examples/blog-with-comment/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/blog-with-comment/.gitignore +++ b/examples/blog-with-comment/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/blog/.gitignore b/examples/blog/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/blog/.gitignore +++ b/examples/blog/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cache-handler-redis/.gitignore b/examples/cache-handler-redis/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cache-handler-redis/.gitignore +++ b/examples/cache-handler-redis/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/catch-all-routes/.gitignore b/examples/catch-all-routes/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/catch-all-routes/.gitignore +++ b/examples/catch-all-routes/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cloudflare-turnstile/.gitignore b/examples/cloudflare-turnstile/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cloudflare-turnstile/.gitignore +++ b/examples/cloudflare-turnstile/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-agilitycms/.gitignore b/examples/cms-agilitycms/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-agilitycms/.gitignore +++ b/examples/cms-agilitycms/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-builder-io/.gitignore b/examples/cms-builder-io/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-builder-io/.gitignore +++ b/examples/cms-builder-io/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-buttercms/.gitignore b/examples/cms-buttercms/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-buttercms/.gitignore +++ b/examples/cms-buttercms/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-contentful/.gitignore b/examples/cms-contentful/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-contentful/.gitignore +++ b/examples/cms-contentful/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-cosmic/.gitignore b/examples/cms-cosmic/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-cosmic/.gitignore +++ b/examples/cms-cosmic/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-datocms/.gitignore b/examples/cms-datocms/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-datocms/.gitignore +++ b/examples/cms-datocms/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-dotcms/.gitignore b/examples/cms-dotcms/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-dotcms/.gitignore +++ b/examples/cms-dotcms/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-drupal/.gitignore b/examples/cms-drupal/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-drupal/.gitignore +++ b/examples/cms-drupal/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-enterspeed/.gitignore b/examples/cms-enterspeed/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-enterspeed/.gitignore +++ b/examples/cms-enterspeed/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-ghost/.gitignore b/examples/cms-ghost/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-ghost/.gitignore +++ b/examples/cms-ghost/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-graphcms/.gitignore b/examples/cms-graphcms/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-graphcms/.gitignore +++ b/examples/cms-graphcms/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-keystonejs-embedded/.gitignore b/examples/cms-keystonejs-embedded/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-keystonejs-embedded/.gitignore +++ b/examples/cms-keystonejs-embedded/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-kontent-ai/.gitignore b/examples/cms-kontent-ai/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-kontent-ai/.gitignore +++ b/examples/cms-kontent-ai/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-makeswift/.gitignore b/examples/cms-makeswift/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-makeswift/.gitignore +++ b/examples/cms-makeswift/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-plasmic/.gitignore b/examples/cms-plasmic/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-plasmic/.gitignore +++ b/examples/cms-plasmic/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-prepr/.gitignore b/examples/cms-prepr/.gitignore index 653085865dd80..e2543eeec9640 100644 --- a/examples/cms-prepr/.gitignore +++ b/examples/cms-prepr/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-prismic/.gitignore b/examples/cms-prismic/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-prismic/.gitignore +++ b/examples/cms-prismic/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-sanity/.gitignore b/examples/cms-sanity/.gitignore index d449ea2fa959f..83b42e1bc5d44 100644 --- a/examples/cms-sanity/.gitignore +++ b/examples/cms-sanity/.gitignore @@ -4,8 +4,12 @@ /node_modules /studio/node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-sitefinity/.gitignore b/examples/cms-sitefinity/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-sitefinity/.gitignore +++ b/examples/cms-sitefinity/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-storyblok/.gitignore b/examples/cms-storyblok/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-storyblok/.gitignore +++ b/examples/cms-storyblok/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-takeshape/.gitignore b/examples/cms-takeshape/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-takeshape/.gitignore +++ b/examples/cms-takeshape/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-tina/.gitignore b/examples/cms-tina/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-tina/.gitignore +++ b/examples/cms-tina/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-umbraco-heartcore/.gitignore b/examples/cms-umbraco-heartcore/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-umbraco-heartcore/.gitignore +++ b/examples/cms-umbraco-heartcore/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-umbraco/.gitignore b/examples/cms-umbraco/.gitignore index 8f322f0d8f495..8777267507c0e 100644 --- a/examples/cms-umbraco/.gitignore +++ b/examples/cms-umbraco/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-webiny/.gitignore b/examples/cms-webiny/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/cms-webiny/.gitignore +++ b/examples/cms-webiny/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/cms-wordpress/.gitignore b/examples/cms-wordpress/.gitignore index 7d4efb57e699f..913053c0f4d86 100644 --- a/examples/cms-wordpress/.gitignore +++ b/examples/cms-wordpress/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/convex/.gitignore b/examples/convex/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/convex/.gitignore +++ b/examples/convex/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/custom-routes-proxying/.gitignore b/examples/custom-routes-proxying/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/custom-routes-proxying/.gitignore +++ b/examples/custom-routes-proxying/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/custom-server/.gitignore b/examples/custom-server/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/custom-server/.gitignore +++ b/examples/custom-server/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/dynamic-routing/.gitignore b/examples/dynamic-routing/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/dynamic-routing/.gitignore +++ b/examples/dynamic-routing/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/environment-variables/.gitignore b/examples/environment-variables/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/environment-variables/.gitignore +++ b/examples/environment-variables/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/github-pages/.gitignore b/examples/github-pages/.gitignore index 35cb4825c0437..a418d47300420 100644 --- a/examples/github-pages/.gitignore +++ b/examples/github-pages/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/head-elements/.gitignore b/examples/head-elements/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/head-elements/.gitignore +++ b/examples/head-elements/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/headers/.gitignore b/examples/headers/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/headers/.gitignore +++ b/examples/headers/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/hello-world/.gitignore b/examples/hello-world/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/hello-world/.gitignore +++ b/examples/hello-world/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/i18n-routing-pages/.gitignore b/examples/i18n-routing-pages/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/i18n-routing-pages/.gitignore +++ b/examples/i18n-routing-pages/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/i18n-routing/.gitignore b/examples/i18n-routing/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/i18n-routing/.gitignore +++ b/examples/i18n-routing/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/image-component/.gitignore b/examples/image-component/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/image-component/.gitignore +++ b/examples/image-component/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/image-legacy-component/.gitignore b/examples/image-legacy-component/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/image-legacy-component/.gitignore +++ b/examples/image-legacy-component/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/inngest/.gitignore b/examples/inngest/.gitignore index 8f322f0d8f495..8777267507c0e 100755 --- a/examples/inngest/.gitignore +++ b/examples/inngest/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/layout-component/.gitignore b/examples/layout-component/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/layout-component/.gitignore +++ b/examples/layout-component/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/markdoc/.gitignore b/examples/markdoc/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/markdoc/.gitignore +++ b/examples/markdoc/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/middleware-matcher/.gitignore b/examples/middleware-matcher/.gitignore index fd3dbb571a12a..8777267507c0e 100755 --- a/examples/middleware-matcher/.gitignore +++ b/examples/middleware-matcher/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/middleware/.gitignore b/examples/middleware/.gitignore index fd3dbb571a12a..8777267507c0e 100755 --- a/examples/middleware/.gitignore +++ b/examples/middleware/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/nested-components/.gitignore b/examples/nested-components/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/nested-components/.gitignore +++ b/examples/nested-components/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/next-css/.gitignore b/examples/next-css/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/next-css/.gitignore +++ b/examples/next-css/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/next-forms/.gitignore b/examples/next-forms/.gitignore index 1f8bd8e654d76..420fb4aebeb14 100644 --- a/examples/next-forms/.gitignore +++ b/examples/next-forms/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/panda-css/.gitignore b/examples/panda-css/.gitignore index 5402c47d2251e..be7d1cabde4fc 100644 --- a/examples/panda-css/.gitignore +++ b/examples/panda-css/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/progressive-web-app/.gitignore b/examples/progressive-web-app/.gitignore index b1111ab3b592a..4a3754f3558a9 100644 --- a/examples/progressive-web-app/.gitignore +++ b/examples/progressive-web-app/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/radix-ui/.gitignore b/examples/radix-ui/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/radix-ui/.gitignore +++ b/examples/radix-ui/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/react-remove-properties/.gitignore b/examples/react-remove-properties/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/react-remove-properties/.gitignore +++ b/examples/react-remove-properties/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/redirects/.gitignore b/examples/redirects/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/redirects/.gitignore +++ b/examples/redirects/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/remove-console/.gitignore b/examples/remove-console/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/remove-console/.gitignore +++ b/examples/remove-console/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/reproduction-template-pages/.gitignore b/examples/reproduction-template-pages/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/reproduction-template-pages/.gitignore +++ b/examples/reproduction-template-pages/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/reproduction-template/.gitignore b/examples/reproduction-template/.gitignore index fd3dbb571a12a..e413cdb9e6f43 100644 --- a/examples/reproduction-template/.gitignore +++ b/examples/reproduction-template/.gitignore @@ -2,9 +2,13 @@ # dependencies /node_modules -/.pnp -.pnp.js -.yarn/install-state.gz +/.pnp0 +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/rewrites/.gitignore b/examples/rewrites/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/rewrites/.gitignore +++ b/examples/rewrites/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/script-component/.gitignore b/examples/script-component/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/script-component/.gitignore +++ b/examples/script-component/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/server-actions-upload/.gitignore b/examples/server-actions-upload/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/server-actions-upload/.gitignore +++ b/examples/server-actions-upload/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/ssr-caching/.gitignore b/examples/ssr-caching/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/ssr-caching/.gitignore +++ b/examples/ssr-caching/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/svg-components/.gitignore b/examples/svg-components/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/svg-components/.gitignore +++ b/examples/svg-components/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-ably/.gitignore b/examples/with-ably/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-ably/.gitignore +++ b/examples/with-ably/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-absolute-imports/.gitignore b/examples/with-absolute-imports/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-absolute-imports/.gitignore +++ b/examples/with-absolute-imports/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-algolia-react-instantsearch/.gitignore b/examples/with-algolia-react-instantsearch/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-algolia-react-instantsearch/.gitignore +++ b/examples/with-algolia-react-instantsearch/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-ant-design/.gitignore b/examples/with-ant-design/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-ant-design/.gitignore +++ b/examples/with-ant-design/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-apivideo/.gitignore b/examples/with-apivideo/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-apivideo/.gitignore +++ b/examples/with-apivideo/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-apollo-and-redux/.gitignore b/examples/with-apollo-and-redux/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-apollo-and-redux/.gitignore +++ b/examples/with-apollo-and-redux/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-apollo/.gitignore b/examples/with-apollo/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-apollo/.gitignore +++ b/examples/with-apollo/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-axiom/.gitignore b/examples/with-axiom/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-axiom/.gitignore +++ b/examples/with-axiom/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-azure-cosmos/.gitignore b/examples/with-azure-cosmos/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-azure-cosmos/.gitignore +++ b/examples/with-azure-cosmos/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-babel-macros/.gitignore b/examples/with-babel-macros/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-babel-macros/.gitignore +++ b/examples/with-babel-macros/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-chakra-ui/.gitignore b/examples/with-chakra-ui/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-chakra-ui/.gitignore +++ b/examples/with-chakra-ui/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-clerk/.gitignore b/examples/with-clerk/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-clerk/.gitignore +++ b/examples/with-clerk/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-cloudinary/.gitignore b/examples/with-cloudinary/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-cloudinary/.gitignore +++ b/examples/with-cloudinary/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-compiled-css/.gitignore b/examples/with-compiled-css/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-compiled-css/.gitignore +++ b/examples/with-compiled-css/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-contentlayer/.gitignore b/examples/with-contentlayer/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-contentlayer/.gitignore +++ b/examples/with-contentlayer/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-cookies-next/.gitignore b/examples/with-cookies-next/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-cookies-next/.gitignore +++ b/examples/with-cookies-next/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-couchbase/.gitignore b/examples/with-couchbase/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-couchbase/.gitignore +++ b/examples/with-couchbase/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-custom-babel-config/.gitignore b/examples/with-custom-babel-config/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-custom-babel-config/.gitignore +++ b/examples/with-custom-babel-config/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-cxs/.gitignore b/examples/with-cxs/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-cxs/.gitignore +++ b/examples/with-cxs/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-cypress/.gitignore b/examples/with-cypress/.gitignore index 5b4e0506dd0d1..6364fef9d1909 100644 --- a/examples/with-cypress/.gitignore +++ b/examples/with-cypress/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-docker-compose/.gitignore b/examples/with-docker-compose/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-docker-compose/.gitignore +++ b/examples/with-docker-compose/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-docker-compose/next-app/.gitignore b/examples/with-docker-compose/next-app/.gitignore index 083967fec71ac..ab0b6bd36d513 100644 --- a/examples/with-docker-compose/next-app/.gitignore +++ b/examples/with-docker-compose/next-app/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-docker-multi-env/.gitignore b/examples/with-docker-multi-env/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-docker-multi-env/.gitignore +++ b/examples/with-docker-multi-env/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-docker/.gitignore b/examples/with-docker/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-docker/.gitignore +++ b/examples/with-docker/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-dynamic-import/.gitignore b/examples/with-dynamic-import/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-dynamic-import/.gitignore +++ b/examples/with-dynamic-import/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-edgedb/.gitignore b/examples/with-edgedb/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-edgedb/.gitignore +++ b/examples/with-edgedb/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-elasticsearch/.gitignore b/examples/with-elasticsearch/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-elasticsearch/.gitignore +++ b/examples/with-elasticsearch/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-electron-typescript/.gitignore b/examples/with-electron-typescript/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-electron-typescript/.gitignore +++ b/examples/with-electron-typescript/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-electron/.gitignore b/examples/with-electron/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-electron/.gitignore +++ b/examples/with-electron/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-emotion/.gitignore b/examples/with-emotion/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-emotion/.gitignore +++ b/examples/with-emotion/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-eslint/.gitignore b/examples/with-eslint/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-eslint/.gitignore +++ b/examples/with-eslint/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-expo-typescript/.gitignore b/examples/with-expo-typescript/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-expo-typescript/.gitignore +++ b/examples/with-expo-typescript/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-facebook-pixel/.gitignore b/examples/with-facebook-pixel/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-facebook-pixel/.gitignore +++ b/examples/with-facebook-pixel/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-fauna/.gitignore b/examples/with-fauna/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-fauna/.gitignore +++ b/examples/with-fauna/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-fela/.gitignore b/examples/with-fela/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-fela/.gitignore +++ b/examples/with-fela/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-filbert/.gitignore b/examples/with-filbert/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-filbert/.gitignore +++ b/examples/with-filbert/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-fingerprintjs-pro/.gitignore b/examples/with-fingerprintjs-pro/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-fingerprintjs-pro/.gitignore +++ b/examples/with-fingerprintjs-pro/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-firebase-cloud-messaging/.gitignore b/examples/with-firebase-cloud-messaging/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-firebase-cloud-messaging/.gitignore +++ b/examples/with-firebase-cloud-messaging/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-firebase-hosting/.gitignore b/examples/with-firebase-hosting/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-firebase-hosting/.gitignore +++ b/examples/with-firebase-hosting/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-firebase/.gitignore b/examples/with-firebase/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-firebase/.gitignore +++ b/examples/with-firebase/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-flow/.gitignore b/examples/with-flow/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-flow/.gitignore +++ b/examples/with-flow/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-formspree/.gitignore b/examples/with-formspree/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-formspree/.gitignore +++ b/examples/with-formspree/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-framer-motion/.gitignore b/examples/with-framer-motion/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-framer-motion/.gitignore +++ b/examples/with-framer-motion/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-goober/.gitignore b/examples/with-goober/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-goober/.gitignore +++ b/examples/with-goober/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-google-analytics/.gitignore b/examples/with-google-analytics/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-google-analytics/.gitignore +++ b/examples/with-google-analytics/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-google-maps-embed/.gitignore b/examples/with-google-maps-embed/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-google-maps-embed/.gitignore +++ b/examples/with-google-maps-embed/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-google-maps-embed/README.md b/examples/with-google-maps-embed/README.md index ac952f12ab7ee..05e1599f008d4 100644 --- a/examples/with-google-maps-embed/README.md +++ b/examples/with-google-maps-embed/README.md @@ -1,6 +1,6 @@ ## Example app using Google Maps Embed -This example shows how to embed a Google Maps Embed using `@next/third-parties`. +This example shows how to embed a Google Maps Embed using [`@next/third-parties`](https://nextjs.org/docs/app/building-your-application/optimizing/third-party-libraries). ## Deploy your own diff --git a/examples/with-google-maps-embed/app/layout.js b/examples/with-google-maps-embed/app/layout.js deleted file mode 100644 index 23ec8e7d9a6be..0000000000000 --- a/examples/with-google-maps-embed/app/layout.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function RootLayout({ children }) { - return ( - - {children} - - ); -} diff --git a/examples/with-google-maps-embed/app/layout.tsx b/examples/with-google-maps-embed/app/layout.tsx new file mode 100644 index 0000000000000..3f15b790633ef --- /dev/null +++ b/examples/with-google-maps-embed/app/layout.tsx @@ -0,0 +1,18 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "With Google Maps Embed", + description: "Next.js example with Google Maps Embed.", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + {children} + + ); +} diff --git a/examples/with-google-maps-embed/app/page.js b/examples/with-google-maps-embed/app/page.tsx similarity index 100% rename from examples/with-google-maps-embed/app/page.js rename to examples/with-google-maps-embed/app/page.tsx diff --git a/examples/with-google-maps-embed/package.json b/examples/with-google-maps-embed/package.json index 785750f2f80de..237f864b0ebd8 100644 --- a/examples/with-google-maps-embed/package.json +++ b/examples/with-google-maps-embed/package.json @@ -6,9 +6,14 @@ "start": "next start" }, "dependencies": { - "next": "latest", "@next/third-parties": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "next": "latest", + "react": "^19.0.0", + "react-dom": "^19.0.0" + }, + "devDependencies": { + "@types/node": "^22.10.2", + "@types/react": "^19.0.1", + "typescript": "^5.7.2" } } diff --git a/examples/with-google-maps-embed/tsconfig.json b/examples/with-google-maps-embed/tsconfig.json new file mode 100644 index 0000000000000..4b674cf8ce833 --- /dev/null +++ b/examples/with-google-maps-embed/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "target": "ES2017", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ] + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/examples/with-google-tag-manager/.gitignore b/examples/with-google-tag-manager/.gitignore index 0563835d3494b..f02f8f1ac4821 100644 --- a/examples/with-google-tag-manager/.gitignore +++ b/examples/with-google-tag-manager/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-google-tag-manager/README.md b/examples/with-google-tag-manager/README.md index 33c25ce6d8cc5..f81975facdaf4 100644 --- a/examples/with-google-tag-manager/README.md +++ b/examples/with-google-tag-manager/README.md @@ -1,6 +1,6 @@ ## Example app using Google Tag Manager -This example shows how to include Google Tag Manager in a Next.js application using `@next/third-parties`. The GTM container is instantiated in `layout.js` and the `sendGTMEvent` function is fired in the `EventButton` client component. +This example shows how to include Google Tag Manager in a Next.js application using [`@next/third-parties`](https://nextjs.org/docs/app/building-your-application/optimizing/third-party-libraries). The GTM container is instantiated in `layout.tsx` and the `sendGTMEvent` function is fired in the `EventButton` client component. ## Deploy your own diff --git a/examples/with-google-tag-manager/app/components/EventButton.js b/examples/with-google-tag-manager/_components/EventButton.tsx similarity index 100% rename from examples/with-google-tag-manager/app/components/EventButton.js rename to examples/with-google-tag-manager/_components/EventButton.tsx diff --git a/examples/with-google-tag-manager/app/layout.js b/examples/with-google-tag-manager/app/layout.js deleted file mode 100644 index 6df68834002fa..0000000000000 --- a/examples/with-google-tag-manager/app/layout.js +++ /dev/null @@ -1,12 +0,0 @@ -import { GoogleTagManager } from "@next/third-parties/google"; - -const GTM_ID = process.env.NEXT_PUBLIC_GOOGLE_TAG_MANAGER_ID; - -export default function RootLayout({ children }) { - return ( - - {children} - - - ); -} diff --git a/examples/with-google-tag-manager/app/layout.tsx b/examples/with-google-tag-manager/app/layout.tsx new file mode 100644 index 0000000000000..925cb8bf1804f --- /dev/null +++ b/examples/with-google-tag-manager/app/layout.tsx @@ -0,0 +1,22 @@ +import type { Metadata } from "next"; +import { GoogleTagManager } from "@next/third-parties/google"; + +export const metadata: Metadata = { + title: "With Google Tag Manager", + description: "Next.js example with Google Tag Manager.", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + {children} + + + ); +} diff --git a/examples/with-google-tag-manager/app/page.js b/examples/with-google-tag-manager/app/page.tsx similarity index 62% rename from examples/with-google-tag-manager/app/page.js rename to examples/with-google-tag-manager/app/page.tsx index 3a17690f92eac..81524eedd41e2 100644 --- a/examples/with-google-tag-manager/app/page.js +++ b/examples/with-google-tag-manager/app/page.tsx @@ -1,4 +1,4 @@ -import { EventButton } from "./components/EventButton"; +import { EventButton } from "@/_components/EventButton"; export default function Page() { return ( diff --git a/examples/with-google-tag-manager/package.json b/examples/with-google-tag-manager/package.json index 785750f2f80de..237f864b0ebd8 100644 --- a/examples/with-google-tag-manager/package.json +++ b/examples/with-google-tag-manager/package.json @@ -6,9 +6,14 @@ "start": "next start" }, "dependencies": { - "next": "latest", "@next/third-parties": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "next": "latest", + "react": "^19.0.0", + "react-dom": "^19.0.0" + }, + "devDependencies": { + "@types/node": "^22.10.2", + "@types/react": "^19.0.1", + "typescript": "^5.7.2" } } diff --git a/examples/with-google-tag-manager/tsconfig.json b/examples/with-google-tag-manager/tsconfig.json new file mode 100644 index 0000000000000..d8b93235f205e --- /dev/null +++ b/examples/with-google-tag-manager/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "target": "ES2017", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/examples/with-grafbase/.gitignore b/examples/with-grafbase/.gitignore index 162ceb0fbf629..7796d2f85f8cf 100644 --- a/examples/with-grafbase/.gitignore +++ b/examples/with-grafbase/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-graphql-gateway/.gitignore b/examples/with-graphql-gateway/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-graphql-gateway/.gitignore +++ b/examples/with-graphql-gateway/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-graphql-hooks/.gitignore b/examples/with-graphql-hooks/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-graphql-hooks/.gitignore +++ b/examples/with-graphql-hooks/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-graphql-react/.gitignore b/examples/with-graphql-react/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-graphql-react/.gitignore +++ b/examples/with-graphql-react/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-gsap/.gitignore b/examples/with-gsap/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-gsap/.gitignore +++ b/examples/with-gsap/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-hls-js/.gitignore b/examples/with-hls-js/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-hls-js/.gitignore +++ b/examples/with-hls-js/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-http2/.gitignore b/examples/with-http2/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-http2/.gitignore +++ b/examples/with-http2/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-i18n-next-intl/.gitignore b/examples/with-i18n-next-intl/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-i18n-next-intl/.gitignore +++ b/examples/with-i18n-next-intl/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-i18n-rosetta/.gitignore b/examples/with-i18n-rosetta/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-i18n-rosetta/.gitignore +++ b/examples/with-i18n-rosetta/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-iron-session/.gitignore b/examples/with-iron-session/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-iron-session/.gitignore +++ b/examples/with-iron-session/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-jest-babel/.gitignore b/examples/with-jest-babel/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-jest-babel/.gitignore +++ b/examples/with-jest-babel/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-jest/.gitignore b/examples/with-jest/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-jest/.gitignore +++ b/examples/with-jest/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-joi/.gitignore b/examples/with-joi/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-joi/.gitignore +++ b/examples/with-joi/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-jotai/.gitignore b/examples/with-jotai/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-jotai/.gitignore +++ b/examples/with-jotai/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-kea/.gitignore b/examples/with-kea/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-kea/.gitignore +++ b/examples/with-kea/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-knex/.gitignore b/examples/with-knex/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-knex/.gitignore +++ b/examples/with-knex/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-lingui/.gitignore b/examples/with-lingui/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-lingui/.gitignore +++ b/examples/with-lingui/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-magic/.gitignore b/examples/with-magic/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-magic/.gitignore +++ b/examples/with-magic/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mantine/.gitignore b/examples/with-mantine/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mantine/.gitignore +++ b/examples/with-mantine/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mdbreact/.gitignore b/examples/with-mdbreact/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mdbreact/.gitignore +++ b/examples/with-mdbreact/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mdx-remote/.gitignore b/examples/with-mdx-remote/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mdx-remote/.gitignore +++ b/examples/with-mdx-remote/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mdx/.gitignore b/examples/with-mdx/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mdx/.gitignore +++ b/examples/with-mdx/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-meilisearch/.gitignore b/examples/with-meilisearch/.gitignore index 8f322f0d8f495..8777267507c0e 100644 --- a/examples/with-meilisearch/.gitignore +++ b/examples/with-meilisearch/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mobx-state-tree/.gitignore b/examples/with-mobx-state-tree/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mobx-state-tree/.gitignore +++ b/examples/with-mobx-state-tree/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mobx/.gitignore b/examples/with-mobx/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mobx/.gitignore +++ b/examples/with-mobx/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mocha/.gitignore b/examples/with-mocha/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mocha/.gitignore +++ b/examples/with-mocha/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mongodb-mongoose/.gitignore b/examples/with-mongodb-mongoose/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mongodb-mongoose/.gitignore +++ b/examples/with-mongodb-mongoose/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mongodb/.gitignore b/examples/with-mongodb/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mongodb/.gitignore +++ b/examples/with-mongodb/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mqtt-js/.gitignore b/examples/with-mqtt-js/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mqtt-js/.gitignore +++ b/examples/with-mqtt-js/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-msw/.gitignore b/examples/with-msw/.gitignore index 8c835644cb61c..3a6c93b68e9f9 100644 --- a/examples/with-msw/.gitignore +++ b/examples/with-msw/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mux-video/.gitignore b/examples/with-mux-video/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mux-video/.gitignore +++ b/examples/with-mux-video/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-mysql/.gitignore b/examples/with-mysql/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-mysql/.gitignore +++ b/examples/with-mysql/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-neo4j/.gitignore b/examples/with-neo4j/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-neo4j/.gitignore +++ b/examples/with-neo4j/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-next-page-transitions/.gitignore b/examples/with-next-page-transitions/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-next-page-transitions/.gitignore +++ b/examples/with-next-page-transitions/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-next-seo/.gitignore b/examples/with-next-seo/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-next-seo/.gitignore +++ b/examples/with-next-seo/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-next-sitemap/.gitignore b/examples/with-next-sitemap/.gitignore index d889817dea2cc..e0ec684db0710 100644 --- a/examples/with-next-sitemap/.gitignore +++ b/examples/with-next-sitemap/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-next-translate/.gitignore b/examples/with-next-translate/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-next-translate/.gitignore +++ b/examples/with-next-translate/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-next-ui/.gitignore b/examples/with-next-ui/.gitignore index fd3dbb571a12a..8777267507c0e 100755 --- a/examples/with-next-ui/.gitignore +++ b/examples/with-next-ui/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-nhost-auth-realtime-graphql/.gitignore b/examples/with-nhost-auth-realtime-graphql/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-nhost-auth-realtime-graphql/.gitignore +++ b/examples/with-nhost-auth-realtime-graphql/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-opentelemetry/.gitignore b/examples/with-opentelemetry/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-opentelemetry/.gitignore +++ b/examples/with-opentelemetry/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-orbit-components/.babelrc b/examples/with-orbit-components/.babelrc deleted file mode 100644 index c0df6939bfa0c..0000000000000 --- a/examples/with-orbit-components/.babelrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "presets": ["next/babel"], - "plugins": [ - ["styled-components", { "ssr": true }], - "@kiwicom/babel-plugin-orbit-components" - ] -} diff --git a/examples/with-orbit-components/.gitignore b/examples/with-orbit-components/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-orbit-components/.gitignore +++ b/examples/with-orbit-components/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-orbit-components/README.md b/examples/with-orbit-components/README.md index e9c8256faeaa8..c30714a12d2d4 100644 --- a/examples/with-orbit-components/README.md +++ b/examples/with-orbit-components/README.md @@ -2,10 +2,6 @@ [Orbit-components](https://orbit.kiwi) is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products. -For this purpose we are extending `` of injected ``, and also adding `@kiwicom/babel-plugin-orbit-components`. - -This fork comes from [styled-components-example](https://github.com/vercel/next.js/tree/canary/examples/with-styled-components). - ## Deploy your own Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example) or preview live with [StackBlitz](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-orbit-components) diff --git a/examples/with-orbit-components/app/globals.css b/examples/with-orbit-components/app/globals.css new file mode 100644 index 0000000000000..7ba313c20f14a --- /dev/null +++ b/examples/with-orbit-components/app/globals.css @@ -0,0 +1,9 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + body { + @apply bg-gray-50 text-gray-900; + } +} diff --git a/examples/with-orbit-components/app/layout.tsx b/examples/with-orbit-components/app/layout.tsx new file mode 100644 index 0000000000000..7e1192ed6c80b --- /dev/null +++ b/examples/with-orbit-components/app/layout.tsx @@ -0,0 +1,27 @@ +import type { Metadata } from "next"; +import { Inter } from "next/font/google"; + +import "./globals.css"; + +export const metadata: Metadata = { + title: "With Orbit Components", + description: "Next.js example with Orbit components.", +}; + +const inter = Inter({ + display: "swap", + subsets: ["latin"], + weight: ["400", "500", "600"], +}); + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + {children} + + ); +} diff --git a/examples/with-orbit-components/pages/index.js b/examples/with-orbit-components/app/page.tsx similarity index 77% rename from examples/with-orbit-components/pages/index.js rename to examples/with-orbit-components/app/page.tsx index ba60ce9d03497..89d9449806ab4 100644 --- a/examples/with-orbit-components/pages/index.js +++ b/examples/with-orbit-components/app/page.tsx @@ -1,13 +1,12 @@ -import React from "react"; import { Alert, Illustration } from "@kiwicom/orbit-components"; export default function Home() { return ( - +
It Works! - +
); } diff --git a/examples/with-orbit-components/package.json b/examples/with-orbit-components/package.json index 8309994459037..168db53159a8d 100644 --- a/examples/with-orbit-components/package.json +++ b/examples/with-orbit-components/package.json @@ -1,19 +1,22 @@ { "private": true, "scripts": { - "dev": "next", + "dev": "next dev", "build": "next build", "start": "next start" }, "dependencies": { - "@kiwicom/orbit-components": "latest", + "@kiwicom/orbit-components": "^18.1.1", "next": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "styled-components": "^5.3.0" + "react": "^19.0.0", + "react-dom": "^19.0.0" }, "devDependencies": { - "@kiwicom/babel-plugin-orbit-components": "latest", - "babel-plugin-styled-components": "^1.8.0" + "autoprefixer": "^10.4.20", + "@types/node": "^22.10.2", + "@types/react": "^19.0.1", + "postcss": "^8.4.49", + "tailwindcss": "^3.4.16", + "typescript": "^5.7.2" } } diff --git a/examples/with-orbit-components/pages/_app.js b/examples/with-orbit-components/pages/_app.js deleted file mode 100644 index 6466e7d358a66..0000000000000 --- a/examples/with-orbit-components/pages/_app.js +++ /dev/null @@ -1,24 +0,0 @@ -import { getTokens } from "@kiwicom/orbit-components"; -import { ThemeProvider, createGlobalStyle } from "styled-components"; - -const GlobalStyle = createGlobalStyle` - body { - width: 100vw; - height: 100vh; - margin: 0 auto; - background-color: ${({ theme }) => theme.orbit.paletteCloudLight}; - } -`; - -const tokens = getTokens(); - -export default function App({ Component, pageProps }) { - return ( - - <> - - - - - ); -} diff --git a/examples/with-orbit-components/pages/_document.js b/examples/with-orbit-components/pages/_document.js deleted file mode 100644 index 00af3db46fb77..0000000000000 --- a/examples/with-orbit-components/pages/_document.js +++ /dev/null @@ -1,30 +0,0 @@ -import Document from "next/document"; -import { ServerStyleSheet } from "styled-components"; - -export default class MyDocument extends Document { - static async getInitialProps(ctx) { - const sheet = new ServerStyleSheet(); - const originalRenderPage = ctx.renderPage; - - try { - ctx.renderPage = () => - originalRenderPage({ - enhanceApp: (App) => (props) => - sheet.collectStyles(), - }); - - const initialProps = await Document.getInitialProps(ctx); - return { - ...initialProps, - styles: ( - <> - {initialProps.styles} - {sheet.getStyleElement()} - - ), - }; - } finally { - sheet.seal(); - } - } -} diff --git a/examples/with-orbit-components/tailwind.config.js b/examples/with-orbit-components/tailwind.config.js new file mode 100644 index 0000000000000..65ceace092c2c --- /dev/null +++ b/examples/with-orbit-components/tailwind.config.js @@ -0,0 +1,10 @@ +module.exports = { + content: [ + "./app/**/*.{js,ts,jsx,tsx}", // For App Router + "./components/**/*.{js,ts,jsx,tsx}", + ], + theme: { + extend: {}, + }, + plugins: [], +}; diff --git a/examples/with-orbit-components/tsconfig.json b/examples/with-orbit-components/tsconfig.json new file mode 100644 index 0000000000000..d8b93235f205e --- /dev/null +++ b/examples/with-orbit-components/tsconfig.json @@ -0,0 +1,27 @@ +{ + "compilerOptions": { + "target": "ES2017", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/examples/with-overmind/.gitignore b/examples/with-overmind/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-overmind/.gitignore +++ b/examples/with-overmind/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-particles/.gitignore b/examples/with-particles/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-particles/.gitignore +++ b/examples/with-particles/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-passport-and-next-connect/.gitignore b/examples/with-passport-and-next-connect/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-passport-and-next-connect/.gitignore +++ b/examples/with-passport-and-next-connect/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-passport/.gitignore b/examples/with-passport/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-passport/.gitignore +++ b/examples/with-passport/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-paste-typescript/.gitignore b/examples/with-paste-typescript/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-paste-typescript/.gitignore +++ b/examples/with-paste-typescript/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-plausible/.gitignore b/examples/with-plausible/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-plausible/.gitignore +++ b/examples/with-plausible/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-playwright/.gitignore b/examples/with-playwright/.gitignore index 514accd669d3e..9324f61530a2c 100644 --- a/examples/with-playwright/.gitignore +++ b/examples/with-playwright/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /blob-report/ diff --git a/examples/with-polyfills/.gitignore b/examples/with-polyfills/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-polyfills/.gitignore +++ b/examples/with-polyfills/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-portals-ssr/.gitignore b/examples/with-portals-ssr/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-portals-ssr/.gitignore +++ b/examples/with-portals-ssr/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-portals/.gitignore b/examples/with-portals/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-portals/.gitignore +++ b/examples/with-portals/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-prefetching/.gitignore b/examples/with-prefetching/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-prefetching/.gitignore +++ b/examples/with-prefetching/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-quill-js/.gitignore b/examples/with-quill-js/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-quill-js/.gitignore +++ b/examples/with-quill-js/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-rbx-bulma-pro/.gitignore b/examples/with-rbx-bulma-pro/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-rbx-bulma-pro/.gitignore +++ b/examples/with-rbx-bulma-pro/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-bootstrap/.gitignore b/examples/with-react-bootstrap/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-bootstrap/.gitignore +++ b/examples/with-react-bootstrap/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-ga4/.gitignore b/examples/with-react-ga4/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-ga4/.gitignore +++ b/examples/with-react-ga4/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-hook-form/.gitignore b/examples/with-react-hook-form/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-hook-form/.gitignore +++ b/examples/with-react-hook-form/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-intl/.gitignore b/examples/with-react-intl/.gitignore index 1cf3b4f0f31d5..9b08066746257 100644 --- a/examples/with-react-intl/.gitignore +++ b/examples/with-react-intl/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-jss/.gitignore b/examples/with-react-jss/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-jss/.gitignore +++ b/examples/with-react-jss/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-md-typescript/.gitignore b/examples/with-react-md-typescript/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-md-typescript/.gitignore +++ b/examples/with-react-md-typescript/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-multi-carousel/.gitignore b/examples/with-react-multi-carousel/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-multi-carousel/.gitignore +++ b/examples/with-react-multi-carousel/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-native-web/.gitignore b/examples/with-react-native-web/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-native-web/.gitignore +++ b/examples/with-react-native-web/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-react-toolbox/.gitignore b/examples/with-react-toolbox/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-react-toolbox/.gitignore +++ b/examples/with-react-toolbox/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-reactstrap/.gitignore b/examples/with-reactstrap/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-reactstrap/.gitignore +++ b/examples/with-reactstrap/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-realm-web/.gitignore b/examples/with-realm-web/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-realm-web/.gitignore +++ b/examples/with-realm-web/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-rebass/.gitignore b/examples/with-rebass/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-rebass/.gitignore +++ b/examples/with-rebass/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-recoil/.gitignore b/examples/with-recoil/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-recoil/.gitignore +++ b/examples/with-recoil/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-redis/.gitignore b/examples/with-redis/.gitignore index 8f322f0d8f495..8777267507c0e 100644 --- a/examples/with-redis/.gitignore +++ b/examples/with-redis/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-redux/.gitignore b/examples/with-redux/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-redux/.gitignore +++ b/examples/with-redux/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-reflexjs/.gitignore b/examples/with-reflexjs/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-reflexjs/.gitignore +++ b/examples/with-reflexjs/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-reflux/.gitignore b/examples/with-reflux/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-reflux/.gitignore +++ b/examples/with-reflux/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-relay-modern/.gitignore b/examples/with-relay-modern/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-relay-modern/.gitignore +++ b/examples/with-relay-modern/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-rematch/.gitignore b/examples/with-rematch/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-rematch/.gitignore +++ b/examples/with-rematch/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-route-as-modal/.gitignore b/examples/with-route-as-modal/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-route-as-modal/.gitignore +++ b/examples/with-route-as-modal/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-segment-analytics-pages-router/.gitignore b/examples/with-segment-analytics-pages-router/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-segment-analytics-pages-router/.gitignore +++ b/examples/with-segment-analytics-pages-router/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-segment-analytics/.gitignore b/examples/with-segment-analytics/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-segment-analytics/.gitignore +++ b/examples/with-segment-analytics/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-service-worker/.gitignore b/examples/with-service-worker/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-service-worker/.gitignore +++ b/examples/with-service-worker/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-sfcc/.gitignore b/examples/with-sfcc/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-sfcc/.gitignore +++ b/examples/with-sfcc/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-shallow-routing/.gitignore b/examples/with-shallow-routing/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-shallow-routing/.gitignore +++ b/examples/with-shallow-routing/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-sitemap/.gitignore b/examples/with-sitemap/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-sitemap/.gitignore +++ b/examples/with-sitemap/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-slate/.gitignore b/examples/with-slate/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-slate/.gitignore +++ b/examples/with-slate/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-static-export/.gitignore b/examples/with-static-export/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-static-export/.gitignore +++ b/examples/with-static-export/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-stencil/.gitignore b/examples/with-stencil/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-stencil/.gitignore +++ b/examples/with-stencil/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-stitches/.gitignore b/examples/with-stitches/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-stitches/.gitignore +++ b/examples/with-stitches/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-storybook/.gitignore b/examples/with-storybook/.gitignore index 1be00c37c422b..0fc4f868bc17f 100644 --- a/examples/with-storybook/.gitignore +++ b/examples/with-storybook/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-strict-csp/.gitignore b/examples/with-strict-csp/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-strict-csp/.gitignore +++ b/examples/with-strict-csp/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-stripe-typescript/.gitignore b/examples/with-stripe-typescript/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-stripe-typescript/.gitignore +++ b/examples/with-stripe-typescript/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-styled-components-rtl/.gitignore b/examples/with-styled-components-rtl/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-styled-components-rtl/.gitignore +++ b/examples/with-styled-components-rtl/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-styled-components/.gitignore b/examples/with-styled-components/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-styled-components/.gitignore +++ b/examples/with-styled-components/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-styled-components/README.md b/examples/with-styled-components/README.md index 40670351f7a95..daff556fdfa36 100644 --- a/examples/with-styled-components/README.md +++ b/examples/with-styled-components/README.md @@ -33,54 +33,3 @@ Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&ut ### Try it on CodeSandbox [Open this example on CodeSandbox](https://codesandbox.io/s/github/vercel/next.js/tree/canary/examples/with-styled-components) - -### Notes - -When wrapping a [Link](https://nextjs.org/docs/api-reference/next/link) from `next/link` within a styled-component, the [as](https://styled-components.com/docs/api#as-polymorphic-prop) prop provided by `styled` will collide with the Link's `as` prop and cause styled-components to throw an `Invalid tag` error. To avoid this, you can either use the recommended [forwardedAs](https://styled-components.com/docs/api#forwardedas-prop) prop from styled-components or use a different named prop to pass to a `styled` Link. - -
-Click to expand workaround example -
- -**components/StyledLink.js** - -```javascript -import Link from "next/link"; -import styled from "styled-components"; - -const StyledLink = ({ as, children, className, href }) => ( - - {children} - -); - -export default styled(StyledLink)` - color: #0075e0; - text-decoration: none; - transition: all 0.2s ease-in-out; - - &:hover { - color: #40a9ff; - } - - &:focus { - color: #40a9ff; - outline: none; - border: 0; - } -`; -``` - -**pages/index.js** - -```javascript -import StyledLink from "../components/StyledLink"; - -export default () => ( - - First post - -); -``` - -
diff --git a/examples/with-styled-jsx/.gitignore b/examples/with-styled-jsx/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-styled-jsx/.gitignore +++ b/examples/with-styled-jsx/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-styletron/.gitignore b/examples/with-styletron/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-styletron/.gitignore +++ b/examples/with-styletron/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-supabase/.gitignore b/examples/with-supabase/.gitignore index 00bba9bb2902b..13b10b85faf45 100644 --- a/examples/with-supabase/.gitignore +++ b/examples/with-supabase/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-supertokens/.gitignore b/examples/with-supertokens/.gitignore index d22ad798751e5..cac2a4d45e279 100644 --- a/examples/with-supertokens/.gitignore +++ b/examples/with-supertokens/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-temporal/.gitignore b/examples/with-temporal/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-temporal/.gitignore +++ b/examples/with-temporal/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-three-js/.gitignore b/examples/with-three-js/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-three-js/.gitignore +++ b/examples/with-three-js/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-tigris/.gitignore b/examples/with-tigris/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-tigris/.gitignore +++ b/examples/with-tigris/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-turbopack-loaders/.gitignore b/examples/with-turbopack-loaders/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-turbopack-loaders/.gitignore +++ b/examples/with-turbopack-loaders/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-turbopack/.gitignore b/examples/with-turbopack/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-turbopack/.gitignore +++ b/examples/with-turbopack/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-turso/.gitignore b/examples/with-turso/.gitignore index a20081e632df9..e3c3cb10369d8 100644 --- a/examples/with-turso/.gitignore +++ b/examples/with-turso/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-typescript-graphql/.gitignore b/examples/with-typescript-graphql/.gitignore index 213ad251e900f..6642d0af1d16c 100644 --- a/examples/with-typescript-graphql/.gitignore +++ b/examples/with-typescript-graphql/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-typescript-types/.gitignore b/examples/with-typescript-types/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-typescript-types/.gitignore +++ b/examples/with-typescript-types/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-typescript/.gitignore b/examples/with-typescript/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-typescript/.gitignore +++ b/examples/with-typescript/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-unsplash/.gitignore b/examples/with-unsplash/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-unsplash/.gitignore +++ b/examples/with-unsplash/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-urql/.gitignore b/examples/with-urql/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-urql/.gitignore +++ b/examples/with-urql/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-userbase/.gitignore b/examples/with-userbase/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-userbase/.gitignore +++ b/examples/with-userbase/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-vanilla-extract/.gitignore b/examples/with-vanilla-extract/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-vanilla-extract/.gitignore +++ b/examples/with-vanilla-extract/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-videojs/.gitignore b/examples/with-videojs/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-videojs/.gitignore +++ b/examples/with-videojs/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-vitest/.gitignore b/examples/with-vitest/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-vitest/.gitignore +++ b/examples/with-vitest/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-web-worker/.gitignore b/examples/with-web-worker/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-web-worker/.gitignore +++ b/examples/with-web-worker/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-webassembly/.gitignore b/examples/with-webassembly/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-webassembly/.gitignore +++ b/examples/with-webassembly/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-windicss/.gitignore b/examples/with-windicss/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-windicss/.gitignore +++ b/examples/with-windicss/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-xstate/.gitignore b/examples/with-xstate/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-xstate/.gitignore +++ b/examples/with-xstate/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-yarn-workspaces/.gitignore b/examples/with-yarn-workspaces/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-yarn-workspaces/.gitignore +++ b/examples/with-yarn-workspaces/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-yoga/.gitignore b/examples/with-yoga/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-yoga/.gitignore +++ b/examples/with-yoga/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-youtube-embed/.gitignore b/examples/with-youtube-embed/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-youtube-embed/.gitignore +++ b/examples/with-youtube-embed/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-youtube-embed/README.md b/examples/with-youtube-embed/README.md index a52c65f767fe7..7cf2c2e88eae2 100644 --- a/examples/with-youtube-embed/README.md +++ b/examples/with-youtube-embed/README.md @@ -1,6 +1,6 @@ ## Example app using YouTube Embed -This example shows how to embed a YouTube Embed using `@next/third-parties`. +This example shows how to embed a YouTube Embed using [`@next/third-parties`](https://nextjs.org/docs/app/building-your-application/optimizing/third-party-libraries). ## Deploy your own diff --git a/examples/with-youtube-embed/app/layout.js b/examples/with-youtube-embed/app/layout.js deleted file mode 100644 index 23ec8e7d9a6be..0000000000000 --- a/examples/with-youtube-embed/app/layout.js +++ /dev/null @@ -1,7 +0,0 @@ -export default function RootLayout({ children }) { - return ( - - {children} - - ); -} diff --git a/examples/with-youtube-embed/app/layout.tsx b/examples/with-youtube-embed/app/layout.tsx new file mode 100644 index 0000000000000..724b8d5c5111c --- /dev/null +++ b/examples/with-youtube-embed/app/layout.tsx @@ -0,0 +1,18 @@ +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "With YouTube Embed", + description: "Next.js example with YouTube Embed.", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + {children} + + ); +} diff --git a/examples/with-youtube-embed/app/page.js b/examples/with-youtube-embed/app/page.tsx similarity index 100% rename from examples/with-youtube-embed/app/page.js rename to examples/with-youtube-embed/app/page.tsx diff --git a/examples/with-youtube-embed/package.json b/examples/with-youtube-embed/package.json index 785750f2f80de..237f864b0ebd8 100644 --- a/examples/with-youtube-embed/package.json +++ b/examples/with-youtube-embed/package.json @@ -6,9 +6,14 @@ "start": "next start" }, "dependencies": { - "next": "latest", "@next/third-parties": "latest", - "react": "^18.2.0", - "react-dom": "^18.2.0" + "next": "latest", + "react": "^19.0.0", + "react-dom": "^19.0.0" + }, + "devDependencies": { + "@types/node": "^22.10.2", + "@types/react": "^19.0.1", + "typescript": "^5.7.2" } } diff --git a/examples/with-youtube-embed/tsconfig.json b/examples/with-youtube-embed/tsconfig.json new file mode 100644 index 0000000000000..4b674cf8ce833 --- /dev/null +++ b/examples/with-youtube-embed/tsconfig.json @@ -0,0 +1,24 @@ +{ + "compilerOptions": { + "target": "ES2017", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ] + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/examples/with-zones/.gitignore b/examples/with-zones/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-zones/.gitignore +++ b/examples/with-zones/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/examples/with-zustand/.gitignore b/examples/with-zustand/.gitignore index fd3dbb571a12a..8777267507c0e 100644 --- a/examples/with-zustand/.gitignore +++ b/examples/with-zustand/.gitignore @@ -3,8 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js -.yarn/install-state.gz +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage diff --git a/lint-staged.config.js b/lint-staged.config.js index 063eef661cce3..5510f46225e22 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1,9 +1,9 @@ module.exports = { - '*.{js,jsx,mjs,ts,tsx,mts}': [ + '*.{js,jsx,mjs,ts,tsx,mts,mdx}': [ 'prettier --with-node-modules --ignore-path .prettierignore --write', 'cross-env ESLINT_USE_FLAT_CONFIG=false eslint --config .eslintrc.json --fix', ], - '*.{json,md,mdx,css,html,yml,yaml,scss}': [ + '*.{json,md,css,html,yml,yaml,scss}': [ 'prettier --with-node-modules --ignore-path .prettierignore --write', ], '*.rs': ['cargo fmt --'], diff --git a/package.json b/package.json index fb5d3003e22f1..355bbeef94f86 100644 --- a/package.json +++ b/package.json @@ -150,6 +150,7 @@ "eslint-plugin-import": "2.31.0", "eslint-plugin-jest": "27.6.3", "eslint-plugin-jsdoc": "48.0.4", + "eslint-plugin-mdx": "3.1.5", "eslint-plugin-react": "7.35.0", "eslint-plugin-react-hooks": "5.0.0", "eslint-v8": "npm:eslint@^8.57.0", diff --git a/packages/next/src/client/app-index.tsx b/packages/next/src/client/app-index.tsx index d6ce2fb0ba970..58d3dd91a359e 100644 --- a/packages/next/src/client/app-index.tsx +++ b/packages/next/src/client/app-index.tsx @@ -25,6 +25,7 @@ import type { InitialRSCPayload } from '../server/app-render/types' import { createInitialRouterState } from './components/router-reducer/create-initial-router-state' import { MissingSlotContext } from '../shared/lib/app-router-context.shared-runtime' import { setAppBuildId } from './app-build-id' +import { shouldRenderRootLevelErrorOverlay } from './lib/is-error-thrown-while-rendering-rsc' /// @@ -238,25 +239,26 @@ export function hydrate() { ) - const rootLayoutMissingTags = window.__next_root_layout_missing_tags - const hasMissingTags = !!rootLayoutMissingTags?.length - - const isError = - document.documentElement.id === '__next_error__' || hasMissingTags - - if (isError) { - if (process.env.NODE_ENV !== 'production') { - const createDevOverlayElement = - require('./components/react-dev-overlay/client-entry').createDevOverlayElement - const errorTree = createDevOverlayElement(reactEl) - ReactDOMClient.createRoot(appElement as any, reactRootOptions).render( - errorTree - ) - } else { - ReactDOMClient.createRoot(appElement as any, reactRootOptions).render( - reactEl - ) + if ( + document.documentElement.id === '__next_error__' || + !!window.__next_root_layout_missing_tags?.length + ) { + let element = reactEl + // Server rendering failed, fall back to client-side rendering + if ( + process.env.NODE_ENV !== 'production' && + shouldRenderRootLevelErrorOverlay() + ) { + const { createRootLevelDevOverlayElement } = + require('./components/react-dev-overlay/app/client-entry') as typeof import('./components/react-dev-overlay/app/client-entry') + + // Note this won't cause hydration mismatch because we are doing CSR w/o hydration + element = createRootLevelDevOverlayElement(element) } + + ReactDOMClient.createRoot(appElement as any, reactRootOptions).render( + element + ) } else { React.startTransition(() => (ReactDOMClient as any).hydrateRoot(appElement, reactEl, { diff --git a/packages/next/src/client/components/react-dev-overlay/client-entry.tsx b/packages/next/src/client/components/react-dev-overlay/app/client-entry.tsx similarity index 78% rename from packages/next/src/client/components/react-dev-overlay/client-entry.tsx rename to packages/next/src/client/components/react-dev-overlay/app/client-entry.tsx index bb508ceaa6505..f728756be05e0 100644 --- a/packages/next/src/client/components/react-dev-overlay/client-entry.tsx +++ b/packages/next/src/client/components/react-dev-overlay/app/client-entry.tsx @@ -1,12 +1,12 @@ import React from 'react' -import ReactDevOverlay from './app/ReactDevOverlay' -import { getSocketUrl } from './internal/helpers/get-socket-url' -import { INITIAL_OVERLAY_STATE } from './shared' -import { HMR_ACTIONS_SENT_TO_BROWSER } from '../../../server/dev/hot-reloader-types' +import ReactDevOverlay from './ReactDevOverlay' +import { getSocketUrl } from '../internal/helpers/get-socket-url' +import { INITIAL_OVERLAY_STATE } from '../shared' +import { HMR_ACTIONS_SENT_TO_BROWSER } from '../../../../server/dev/hot-reloader-types' // if an error is thrown while rendering an RSC stream, this will catch it in dev // and show the error overlay -export function createDevOverlayElement(reactEl: React.ReactElement) { +export function createRootLevelDevOverlayElement(reactEl: React.ReactElement) { const rootLayoutMissingTags = window.__next_root_layout_missing_tags const hasMissingTags = !!rootLayoutMissingTags?.length const socketUrl = getSocketUrl(process.env.__NEXT_ASSET_PREFIX || '') diff --git a/packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx b/packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx index f73f436381a22..663004d9fa24b 100644 --- a/packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx +++ b/packages/next/src/client/components/react-dev-overlay/app/hot-reloader-client.tsx @@ -1,5 +1,12 @@ import type { ReactNode } from 'react' -import { useCallback, useEffect, startTransition, useMemo, useRef } from 'react' +import { + useCallback, + useEffect, + startTransition, + useMemo, + useRef, + useSyncExternalStore, +} from 'react' import stripAnsi from 'next/dist/compiled/strip-ansi' import formatWebpackMessages from '../internal/helpers/format-webpack-messages' import { useRouter } from '../../navigation' @@ -38,6 +45,7 @@ import type { HydrationErrorState } from '../internal/helpers/hydration-error-in import type { DebugInfo } from '../types' import { useUntrackedPathname } from '../../navigation-untracked' import { getReactStitchedError } from '../internal/helpers/stitched-error' +import { shouldRenderRootLevelErrorOverlay } from '../../../lib/is-error-thrown-while-rendering-rsc' export interface Dispatcher { onBuildOk(): void @@ -554,6 +562,15 @@ export default function HotReload({ } }, [dispatch]) + // We render a separate error overlay at the root when an error is thrown from rendering RSC, so + // we should not render an additional error overlay in the descendent. However, we need to + // keep rendering these hooks to ensure HMR works when the error is addressed. + const shouldRenderErrorOverlay = useSyncExternalStore( + () => () => {}, + () => !shouldRenderRootLevelErrorOverlay(), + () => true + ) + const handleOnUnhandledError = useCallback( (error: Error): void => { const errorDetails = (error as any).details as @@ -689,9 +706,13 @@ export default function HotReload({ appIsrManifestRef, ]) - return ( - - {children} - - ) + if (shouldRenderErrorOverlay) { + return ( + + {children} + + ) + } + + return children } diff --git a/packages/next/src/client/components/react-dev-overlay/pages/ReactDevOverlay.tsx b/packages/next/src/client/components/react-dev-overlay/pages/ReactDevOverlay.tsx index ba7548ea28396..104a70a8136e5 100644 --- a/packages/next/src/client/components/react-dev-overlay/pages/ReactDevOverlay.tsx +++ b/packages/next/src/client/components/react-dev-overlay/pages/ReactDevOverlay.tsx @@ -1,6 +1,5 @@ import * as React from 'react' -import * as Bus from './bus' import { ShadowPortal } from '../internal/components/ShadowPortal' import { BuildError } from '../internal/container/BuildError' import { Errors } from '../internal/container/Errors' @@ -8,19 +7,9 @@ import { ErrorBoundary } from './ErrorBoundary' import { Base } from '../internal/styles/Base' import { ComponentStyles } from '../internal/styles/ComponentStyles' import { CssReset } from '../internal/styles/CssReset' -import { useErrorOverlayReducer } from '../shared' +import { usePagesReactDevOverlay } from './hooks' -type ErrorType = 'runtime' | 'build' - -const shouldPreventDisplay = ( - errorType?: ErrorType | null, - preventType?: ErrorType[] | null -) => { - if (!preventType || !errorType) { - return false - } - return preventType.includes(errorType) -} +export type ErrorType = 'runtime' | 'build' interface ReactDevOverlayProps { children?: React.ReactNode @@ -33,32 +22,14 @@ export default function ReactDevOverlay({ preventDisplay, globalOverlay, }: ReactDevOverlayProps) { - const [state, dispatch] = useErrorOverlayReducer() - - React.useEffect(() => { - Bus.on(dispatch) - return function () { - Bus.off(dispatch) - } - }, [dispatch]) - - const onComponentError = React.useCallback( - (_error: Error, _componentStack: string | null) => { - // TODO: special handling - }, - [] - ) - - const hasBuildError = state.buildError != null - const hasRuntimeErrors = Boolean(state.errors.length) - const errorType = hasBuildError - ? 'build' - : hasRuntimeErrors - ? 'runtime' - : null - const isMounted = errorType !== null - - const displayPrevented = shouldPreventDisplay(errorType, preventDisplay) + const { + isMounted, + displayPrevented, + hasBuildError, + hasRuntimeErrors, + state, + onComponentError, + } = usePagesReactDevOverlay(preventDisplay) return ( <> diff --git a/packages/next/src/client/components/react-dev-overlay/pages/hooks.ts b/packages/next/src/client/components/react-dev-overlay/pages/hooks.ts new file mode 100644 index 0000000000000..acf3c0704a82c --- /dev/null +++ b/packages/next/src/client/components/react-dev-overlay/pages/hooks.ts @@ -0,0 +1,53 @@ +import type { ErrorType } from './ReactDevOverlay' +import React from 'react' +import * as Bus from './bus' +import { useErrorOverlayReducer } from '../shared' + +const shouldPreventDisplay = ( + errorType?: ErrorType | null, + preventType?: ErrorType[] | null +) => { + if (!preventType || !errorType) { + return false + } + return preventType.includes(errorType) +} + +export const usePagesReactDevOverlay = ( + preventDisplay: ErrorType[] | undefined +) => { + const [state, dispatch] = useErrorOverlayReducer() + + React.useEffect(() => { + Bus.on(dispatch) + return function () { + Bus.off(dispatch) + } + }, [dispatch]) + + const onComponentError = React.useCallback( + (_error: Error, _componentStack: string | null) => { + // TODO: special handling + }, + [] + ) + + const hasBuildError = state.buildError != null + const hasRuntimeErrors = Boolean(state.errors.length) + const errorType = hasBuildError + ? 'build' + : hasRuntimeErrors + ? 'runtime' + : null + const isMounted = errorType !== null + + const displayPrevented = shouldPreventDisplay(errorType, preventDisplay) + return { + isMounted, + displayPrevented, + hasBuildError, + hasRuntimeErrors, + state, + onComponentError, + } +} diff --git a/packages/next/src/client/lib/is-error-thrown-while-rendering-rsc.ts b/packages/next/src/client/lib/is-error-thrown-while-rendering-rsc.ts new file mode 100644 index 0000000000000..e99912d002d35 --- /dev/null +++ b/packages/next/src/client/lib/is-error-thrown-while-rendering-rsc.ts @@ -0,0 +1,3 @@ +export const shouldRenderRootLevelErrorOverlay = () => { + return !!window.__next_root_layout_missing_tags?.length +} diff --git a/packages/next/src/lib/turbopack-warning.ts b/packages/next/src/lib/turbopack-warning.ts index 4813cd1938752..27d2b148571dc 100644 --- a/packages/next/src/lib/turbopack-warning.ts +++ b/packages/next/src/lib/turbopack-warning.ts @@ -171,7 +171,7 @@ export async function validateTurboNextConfig({ } const feedbackMessage = `Learn more about Next.js and Turbopack: ${underline( - 'https://nextjs.link/with-turbopack' + 'https://nextjs.org/docs/architecture/turbopack' )}\n` if (hasWebpackConfig && !hasTurboConfig) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fc52f1501eab4..592e7d9a5ee94 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -276,6 +276,9 @@ importers: eslint-plugin-jsdoc: specifier: 48.0.4 version: 48.0.4(eslint@9.12.0) + eslint-plugin-mdx: + specifier: 3.1.5 + version: 3.1.5(eslint@9.12.0) eslint-plugin-react: specifier: 7.35.0 version: 7.35.0(eslint@9.12.0) @@ -4521,28 +4524,52 @@ packages: resolution: {integrity: sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q==} deprecated: this package has been deprecated, use `ci-info` instead + '@npmcli/config@8.3.4': + resolution: {integrity: sha512-01rtHedemDNhUXdicU7s+QYz/3JyV5Naj84cvdXGH4mgCdL+agmSYaLF4LUG4vMCLzhBO8YtS0gPpH1FGvbgAw==} + engines: {node: ^16.14.0 || >=18.0.0} + '@npmcli/fs@1.1.1': resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} '@npmcli/git@2.0.4': resolution: {integrity: sha512-OJZCmJ9DNn1cz9HPXXsPmUBnqaArot3CGYo63CyajHQk+g87rPXVOJByGsskQJhPsUUEXJcsZ2Q6bWd2jSwnBA==} + '@npmcli/git@5.0.8': + resolution: {integrity: sha512-liASfw5cqhjNW9UFd+ruwwdEf/lbOAQjLL2XY2dFW/bkJheXDYZgOyul/4gVvEV4BWkTXjYGmDqMw9uegdbJNQ==} + engines: {node: ^16.14.0 || >=18.0.0} + '@npmcli/installed-package-contents@1.0.7': resolution: {integrity: sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==} engines: {node: '>= 10'} hasBin: true + '@npmcli/map-workspaces@3.0.6': + resolution: {integrity: sha512-tkYs0OYnzQm6iIRdfy+LcLBjcKuQCeE5YLb8KnrIlutJfheNaPvPpgoFEyEFgbjzl5PLZ3IA/BWAwRU0eHuQDA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + '@npmcli/move-file@1.0.1': resolution: {integrity: sha512-Uv6h1sT+0DrblvIrolFtbvM1FgWm+/sy4B3pvLp67Zys+thcukzS5ekn7HsZFGpWP4Q3fYJCljbWQE/XivMRLw==} engines: {node: '>=10'} deprecated: This functionality has been moved to @npmcli/fs + '@npmcli/name-from-folder@2.0.0': + resolution: {integrity: sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + '@npmcli/node-gyp@1.0.2': resolution: {integrity: sha512-yrJUe6reVMpktcvagumoqD9r08fH1iRo01gn1u0zoCApa9lnZGEigVKUd2hzsCId4gdtkZZIVscLhNxMECKgRg==} + '@npmcli/package-json@5.2.1': + resolution: {integrity: sha512-f7zYC6kQautXHvNbLEWgD/uGu1+xCn9izgqBfgItWSx22U0ZDekxN08A1vM8cTxj/cRVe0Q94Ode+tdoYmIOOQ==} + engines: {node: ^16.14.0 || >=18.0.0} + '@npmcli/promise-spawn@1.3.2': resolution: {integrity: sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg==} + '@npmcli/promise-spawn@7.0.2': + resolution: {integrity: sha512-xhfYPXoV5Dy4UkY0D+v2KkwvnDfiA/8Mt3sWCGI/hM03NsYIH8ZaG6QzS9x7pje5vHZBZJ2v6VRFVTWACnqcmQ==} + engines: {node: ^16.14.0 || >=18.0.0} + '@npmcli/run-script@1.8.3': resolution: {integrity: sha512-ELPGWAVU/xyU+A+H3pEPj0QOvYwLTX71RArXcClFzeiyJ/b/McsZ+d0QxpznvfFtZzxGN/gz/1cvlqICR4/suQ==} @@ -5146,6 +5173,9 @@ packages: '@types/compression@0.0.36': resolution: {integrity: sha512-B66iZCIcD2eB2F8e8YDIVtCUKgfiseOR5YOIbmMN2tM57Wu55j1xSdxdSw78aVzsPmbZ6G+hINc+1xe1tt4NBg==} + '@types/concat-stream@2.0.3': + resolution: {integrity: sha512-3qe4oQAPNwVNwK4C9c8u+VJqv9kez+2MR4qJpoPFfXtgxxif1QbFusvXzK0/Wra2VX07smostI2VMmJNSpZjuQ==} + '@types/connect@3.4.33': resolution: {integrity: sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==} @@ -5222,6 +5252,9 @@ packages: '@types/hast@2.3.1': resolution: {integrity: sha512-viwwrB+6xGzw+G1eWpF9geV3fnsDgXqHG+cqgiHrvQfDUW5hzhCyV7Sy3UJxhfRFBsgky2SSW33qi/YrIkjX5Q==} + '@types/hast@3.0.4': + resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} + '@types/html-validator@5.0.3': resolution: {integrity: sha512-QcKpR0cAWhLy7T3J24dwCuviRyS8xj/gVtFxcfZer9lfRgHdSAUFvE02nI/rsgIxSr71Z/2moXVYvWl2fTAzHQ==} @@ -5234,6 +5267,9 @@ packages: '@types/inquirer@9.0.7': resolution: {integrity: sha512-Q0zyBupO6NxGRZut/JdmqYKOnN95Eg5V8Csg3PGKkP+FnvsUZx1jAyK7fztIszxxMuoBA6E3KXWvdZVXIpx60g==} + '@types/is-empty@1.2.3': + resolution: {integrity: sha512-4J1l5d79hoIvsrKh5VUKVRA1aIdsOb10Hu5j3J2VfP/msDnfTdGPmNp2E1Wg+vs97Bktzo+MZePFFXSGoykYJw==} + '@types/istanbul-lib-coverage@2.0.3': resolution: {integrity: sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw==} @@ -5294,6 +5330,9 @@ packages: '@types/mdast@3.0.10': resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} + '@types/mdast@4.0.4': + resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} + '@types/mdx@2.0.3': resolution: {integrity: sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==} @@ -5403,6 +5442,9 @@ packages: '@types/string-hash@1.1.1': resolution: {integrity: sha512-ijt3zdHi2DmZxQpQTmozXszzDo78V4R3EdvX0jFMfnMH2ZzQSmCbaWOMPGXFUYSzSIdStv78HDjg32m5dxc+tA==} + '@types/supports-color@8.1.3': + resolution: {integrity: sha512-Hy6UMpxhE3j1tLpl27exp1XqHD7n8chAiNPzWfz16LPZoMMoSc4dzLl6w9qijkEb/r5O1ozdu1CWGA2L83ZeZg==} + '@types/tar@6.1.13': resolution: {integrity: sha512-IznnlmU5f4WcGTh2ltRu/Ijpmk8wiWXfF0VA4s+HPjHZgvFggk1YaIkbo5krX/zUCzWF8N/l4+W/LNxnvAJ8nw==} @@ -5427,6 +5469,9 @@ packages: '@types/unist@2.0.3': resolution: {integrity: sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==} + '@types/unist@3.0.3': + resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + '@types/validate-npm-package-name@4.0.2': resolution: {integrity: sha512-lrpDziQipxCEeK5kWxvljWYhUvOiB2A9izZd9B2AFarYAkqZshb4lPbRs7zKEic6eGtH8V/2qJW+dPp9OtF6bw==} @@ -5721,6 +5766,10 @@ packages: abbrev@1.1.1: resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} + abbrev@2.0.0: + resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -5734,6 +5783,7 @@ packages: acorn-import-assertions@1.9.0: resolution: {integrity: sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA==} + deprecated: package has been renamed to acorn-import-attributes peerDependencies: acorn: ^8 @@ -7667,6 +7717,9 @@ packages: devalue@2.0.1: resolution: {integrity: sha512-I2TiqT5iWBEyB8GRfTDP0hiLZ0YeDJZ+upDxjBfOC2lebO5LezQMv7QvIUTzdb64jQyAKLf1AHADtGN+jw6v8Q==} + devlop@1.1.0: + resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} + dezalgo@1.0.3: resolution: {integrity: sha512-K7i4zNfT2kgQz3GylDw40ot9GAE47sFZ9EXHFSPP6zONLgH6kWXE0KWJchkbQJLBkRazq4APwZ4OwiFFlT95OQ==} @@ -8070,6 +8123,12 @@ packages: eslint-plugin-import-x: optional: true + eslint-mdx@3.1.5: + resolution: {integrity: sha512-ynztX0k7CQ3iDL7fDEIeg3g0O/d6QPv7IBI9fdYLhXp5fAp0fi8X22xF/D3+Pk0f90R27uwqa1clHpay6t0l8Q==} + engines: {node: '>=18.0.0'} + peerDependencies: + eslint: '>=8.0.0' + eslint-module-utils@2.12.0: resolution: {integrity: sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==} engines: {node: '>=4'} @@ -8138,6 +8197,18 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 + eslint-plugin-markdown@3.0.1: + resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + + eslint-plugin-mdx@3.1.5: + resolution: {integrity: sha512-lUE7tP7IrIRHU3gTtASDe5u4YM2SvQveYVJfuo82yn3MLh/B/v05FNySURCK4aIxIYF1QYo3IRemQG/lyQzpAg==} + engines: {node: '>=18.0.0'} + peerDependencies: + eslint: '>=8.0.0' + eslint-plugin-react-hooks@5.0.0: resolution: {integrity: sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==} engines: {node: '>=10'} @@ -8271,12 +8342,18 @@ packages: estree-util-is-identifier-name@2.1.0: resolution: {integrity: sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==} + estree-util-is-identifier-name@3.0.0: + resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} + estree-util-to-js@1.1.1: resolution: {integrity: sha512-tW/ADSJON4o+T8rSmSX1ZXdat4n6bVOu0iTUFY9ZFF2dD/1/Hug8Lc/HYuJRA4Mop9zDZHQMo1m4lIxxJHkTjQ==} estree-util-visit@1.2.1: resolution: {integrity: sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw==} + estree-util-visit@2.0.0: + resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==} + estree-walker@0.6.1: resolution: {integrity: sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==} @@ -9101,6 +9178,10 @@ packages: resolution: {integrity: sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==} engines: {node: '>=10'} + hosted-git-info@7.0.2: + resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} + engines: {node: ^16.14.0 || >=18.0.0} + hsl-regex@1.0.0: resolution: {integrity: sha512-M5ezZw4LzXbBKMruP+BNANf0k+19hDQMgpzBIYnya//Al+fjNct9Wf3b1WedLqdEs2hKBvxq/jh+DsHJLj0F9A==} @@ -9253,6 +9334,10 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} + ignore@6.0.2: + resolution: {integrity: sha512-InwqeHHN2XpumIkMvpl/DCJVrAHgCsG5+cn1XlnLWGwtZBm8QJfSusItfrwx81CTp5agNZqpKU2J/ccC5nGT4A==} + engines: {node: '>= 4'} + image-size@1.1.1: resolution: {integrity: sha512-541xKlUw6jr/6gGuk92F+mYM5zaFAc5ahphvkqvNe2bQ6gVBkd6bfrmVJ2t4KDAfikAYZyIqTnktX3i6/aQDrQ==} engines: {node: '>=16.x'} @@ -9292,6 +9377,9 @@ packages: engines: {node: '>=8'} hasBin: true + import-meta-resolve@4.1.0: + resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} + imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -9326,6 +9414,10 @@ packages: ini@1.3.8: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + ini@4.1.3: + resolution: {integrity: sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + init-package-json@2.0.2: resolution: {integrity: sha512-PO64kVeArePvhX7Ff0jVWkpnE1DfGRvaWcStYrPugcJz9twQGYibagKJuIMHCX7ENcp0M6LJlcjLBuLD5KeJMg==} engines: {node: '>=10'} @@ -9778,6 +9870,10 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + isexe@3.1.1: + resolution: {integrity: sha512-LpB/54B+/2J5hqQ7imZHfdU31OlgQqx7ZicVlkm9kzg9/w8GKLEcFfJl/t7DCEDueOyBAD6zCCwTO6Fzs0NoEQ==} + engines: {node: '>=16'} + isobject@3.0.1: resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} engines: {node: '>=0.10.0'} @@ -10119,6 +10215,10 @@ packages: json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + json-parse-even-better-errors@3.0.2: + resolution: {integrity: sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -10307,6 +10407,10 @@ packages: lines-and-columns@1.1.6: resolution: {integrity: sha512-8ZmlJFVK9iCmtLz19HpSsR8HaAMWBT284VMNednLwlIMDP2hJDCIhUp0IZ2xUcZ+Ob6BM0VvCSJwzASDM45NLQ==} + lines-and-columns@2.0.4: + resolution: {integrity: sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + lint-staged@15.2.2: resolution: {integrity: sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==} engines: {node: '>=18.12.0'} @@ -10340,6 +10444,9 @@ packages: load-plugin@3.0.0: resolution: {integrity: sha512-od7eKCCZ62ITvFf8nHHrIiYmgOHb4xVNDRDqxBWSaao5FZyyZVX8OmRCbwjDGPrSrgIulwPNyBsWCGnhiDC0oQ==} + load-plugin@6.0.3: + resolution: {integrity: sha512-kc0X2FEUZr145odl68frm+lMJuQ23+rTXYmR6TImqPtbpmXC4vVXbWKDQ9IzndA0HfyQamWfKLhzsqGSTxE63w==} + loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -10614,36 +10721,57 @@ packages: mdast-util-definitions@5.1.2: resolution: {integrity: sha512-8SVPMuHqlPME/z3gqVwWY4zVXn8lqKv/pAhC57FuJ40ImXyBpmO5ukh98zB2v7Blql2FiHjHv9LVztSIqjY+MA==} + mdast-util-from-markdown@0.8.5: + resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} + mdast-util-from-markdown@1.3.0: resolution: {integrity: sha512-HN3W1gRIuN/ZW295c7zi7g9lVBllMgZE40RxCX37wrTPWXCWtpvOZdfnuK+1WNpvZje6XuJeI3Wnb4TJEUem+g==} + mdast-util-from-markdown@2.0.2: + resolution: {integrity: sha512-uZhTV/8NBuw0WHkPTrCqDOl0zVe1BIng5ZtHoDk49ME1qqcjYmmLmOf0gELgcRMxN4w2iuIeVso5/6QymSrgmA==} + mdast-util-mdx-expression@0.1.1: resolution: {integrity: sha512-SoO8y1B9NjMOYlNdwXMchuTVvqSTlUmXm1P5QvZNPv7OH7aa8qJV+3aA+vl1DHK9Vk1uZAlgwokjvDQhS6bINA==} mdast-util-mdx-expression@1.3.2: resolution: {integrity: sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA==} + mdast-util-mdx-expression@2.0.1: + resolution: {integrity: sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==} + mdast-util-mdx-jsx@0.1.4: resolution: {integrity: sha512-67KOAvCmypBSpr+AJEAVQg1Obig5Wnguo4ETTxASe5WVP4TLt57bZjDX/9EW5sWYQsO4gPqLxkUOlypVn5rkhg==} mdast-util-mdx-jsx@2.1.1: resolution: {integrity: sha512-dV398twlcAKiqQfj3BkC4PWinVlG1YSL/qs71M7z8xmSksqp3lATH+qrmWUJBOIjOYcD5xuIu6k1ld2btB3EqQ==} + mdast-util-mdx-jsx@3.1.3: + resolution: {integrity: sha512-bfOjvNt+1AcbPLTFMFWY149nJz0OjmewJs3LQQ5pIyVGxP4CdOqNVJL6kTaM5c68p8q82Xv3nCyFfUnuEcH3UQ==} + mdast-util-mdx@0.1.1: resolution: {integrity: sha512-9nncdnHNYSb4HNxY3AwE6gU632jhbXsDGXe9PkkJoEawYWJ8tTwmEOHGlGa2TCRidtkd6FF5I8ogDU9pTDlQyA==} mdast-util-mdx@2.0.1: resolution: {integrity: sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==} + mdast-util-mdx@3.0.0: + resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} + mdast-util-mdxjs-esm@0.1.1: resolution: {integrity: sha512-kBiYeashz+nuhfv+712nc4THQhzXIH2gBFUDbuLxuDCqU/fZeg+9FAcdRBx9E13dkpk1p2Xwufzs3wsGJ+mISQ==} mdast-util-mdxjs-esm@1.3.1: resolution: {integrity: sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w==} + mdast-util-mdxjs-esm@2.0.1: + resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} + mdast-util-phrasing@3.0.1: resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==} + mdast-util-phrasing@4.1.0: + resolution: {integrity: sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==} + mdast-util-to-hast@12.3.0: resolution: {integrity: sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==} @@ -10653,6 +10781,9 @@ packages: mdast-util-to-markdown@1.5.0: resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==} + mdast-util-to-markdown@2.1.2: + resolution: {integrity: sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==} + mdast-util-to-nlcst@4.0.1: resolution: {integrity: sha512-Y4ffygj85MTt70STKnEquw6k73jYWJBaYcb4ITAKgSNokZF7fH8rEHZ1GsRY/JaxqUevMaEnsDmkVv5Z9uVRdg==} @@ -10662,6 +10793,9 @@ packages: mdast-util-to-string@3.1.1: resolution: {integrity: sha512-tGvhT94e+cVnQt8JWE9/b3cUQZWS732TJxXHktvP+BYo62PpYD53Ls/6cC60rW21dW+txxiM4zMdc6abASvZKA==} + mdast-util-to-string@4.0.0: + resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} + mdn-data@2.0.28: resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==} @@ -10715,24 +10849,36 @@ packages: micromark-core-commonmark@1.0.6: resolution: {integrity: sha512-K+PkJTxqjFfSNkfAhp4GB+cZPfQd6dxtTXnf+RjZOV7T4EEXnvgzOcnp+eSTmpGk9d1S9sL6/lqrgSNn/s0HZA==} + micromark-core-commonmark@2.0.2: + resolution: {integrity: sha512-FKjQKbxd1cibWMM1P9N+H8TwlgGgSkWZMmfuVucLCHaYqeSvJ0hFeHsIa65pA2nYbes0f8LDHPMrd9X7Ujxg9w==} + micromark-extension-mdx-expression@0.3.2: resolution: {integrity: sha512-Sh8YHLSAlbm/7TZkVKEC4wDcJE8XhVpZ9hUXBue1TcAicrrzs/oXu7PHH3NcyMemjGyMkiVS34Y0AHC5KG3y4A==} micromark-extension-mdx-expression@1.0.4: resolution: {integrity: sha512-TCgLxqW6ReQ3AJgtj1P0P+8ZThBTloLbeb7jNaqr6mCOLDpxUiBFE/9STgooMZttEwOQu5iEcCCa3ZSDhY9FGw==} + micromark-extension-mdx-expression@3.0.0: + resolution: {integrity: sha512-sI0nwhUDz97xyzqJAbHQhp5TfaxEvZZZ2JDqUo+7NvyIYG6BZ5CPPqj2ogUoPJlmXHBnyZUzISg9+oUmU6tUjQ==} + micromark-extension-mdx-jsx@0.3.3: resolution: {integrity: sha512-kG3VwaJlzAPdtIVDznfDfBfNGMTIzsHqKpTmMlew/iPnUCDRNkX+48ElpaOzXAtK5axtpFKE3Hu3VBriZDnRTQ==} micromark-extension-mdx-jsx@1.0.3: resolution: {integrity: sha512-VfA369RdqUISF0qGgv2FfV7gGjHDfn9+Qfiv5hEwpyr1xscRj/CiVRkU7rywGFCO7JwJ5L0e7CJz60lY52+qOA==} + micromark-extension-mdx-jsx@3.0.1: + resolution: {integrity: sha512-vNuFb9czP8QCtAQcEJn0UJQJZA8Dk6DXKBqx+bg/w0WGuSxDxNr7hErW89tHUY31dUW4NqEOWwmEUNhjTFmHkg==} + micromark-extension-mdx-md@0.1.1: resolution: {integrity: sha512-emlFQEyfx/2aPhwyEqeNDfKE6jPH1cvLTb5ANRo4qZBjaUObnzjLRdzK8RJ4Xc8+/dOmKN8TTRxFnOYF5/EAwQ==} micromark-extension-mdx-md@1.0.0: resolution: {integrity: sha512-xaRAMoSkKdqZXDAoSgp20Azm0aRQKGOl0RrS81yGu8Hr/JhMsBmfs4wR7m9kgVUIO36cMUQjNyiyDKPrsv8gOw==} + micromark-extension-mdx-md@2.0.0: + resolution: {integrity: sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==} + micromark-extension-mdx@0.2.1: resolution: {integrity: sha512-J+nZegf1ExPz1Ft6shxu8M9WfRom1gwRIx6gpJK1SEEqKzY5LjOR1d/WHRtjwV4KoMXrL53+PoN7T1Rw1euJew==} @@ -10742,81 +10888,153 @@ packages: micromark-extension-mdxjs-esm@1.0.3: resolution: {integrity: sha512-2N13ol4KMoxb85rdDwTAC6uzs8lMX0zeqpcyx7FhS7PxXomOnLactu8WI8iBNXW8AVyea3KIJd/1CKnUmwrK9A==} + micromark-extension-mdxjs-esm@3.0.0: + resolution: {integrity: sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==} + micromark-extension-mdxjs@0.3.0: resolution: {integrity: sha512-NQuiYA0lw+eFDtSG4+c7ao3RG9dM4P0Kx/sn8OLyPhxtIc6k+9n14k5VfLxRKfAxYRTo8c5PLZPaRNmslGWxJw==} micromark-extension-mdxjs@1.0.0: resolution: {integrity: sha512-TZZRZgeHvtgm+IhtgC2+uDMR7h8eTKF0QUX9YsgoL9+bADBpBY6SiLvWqnBlLbCEevITmTqmEuY3FoxMKVs1rQ==} + micromark-extension-mdxjs@3.0.0: + resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==} + micromark-factory-destination@1.0.0: resolution: {integrity: sha512-eUBA7Rs1/xtTVun9TmV3gjfPz2wEwgK5R5xcbIM5ZYAtvGF6JkyaDsj0agx8urXnO31tEO6Ug83iVH3tdedLnw==} + micromark-factory-destination@2.0.1: + resolution: {integrity: sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==} + micromark-factory-label@1.0.2: resolution: {integrity: sha512-CTIwxlOnU7dEshXDQ+dsr2n+yxpP0+fn271pu0bwDIS8uqfFcumXpj5mLn3hSC8iw2MUr6Gx8EcKng1dD7i6hg==} + micromark-factory-label@2.0.1: + resolution: {integrity: sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==} + micromark-factory-mdx-expression@1.0.7: resolution: {integrity: sha512-QAdFbkQagTZ/eKb8zDGqmjvgevgJH3+aQpvvKrXWxNJp3o8/l2cAbbrBd0E04r0Gx6nssPpqWIjnbHFvZu5qsQ==} + micromark-factory-mdx-expression@2.0.2: + resolution: {integrity: sha512-5E5I2pFzJyg2CtemqAbcyCktpHXuJbABnsb32wX2U8IQKhhVFBqkcZR5LRm1WVoFqa4kTueZK4abep7wdo9nrw==} + micromark-factory-space@1.0.0: resolution: {integrity: sha512-qUmqs4kj9a5yBnk3JMLyjtWYN6Mzfcx8uJfi5XAveBniDevmZasdGBba5b4QsvRcAkmvGo5ACmSUmyGiKTLZew==} + micromark-factory-space@2.0.1: + resolution: {integrity: sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==} + micromark-factory-title@1.0.2: resolution: {integrity: sha512-zily+Nr4yFqgMGRKLpTVsNl5L4PMu485fGFDOQJQBl2NFpjGte1e86zC0da93wf97jrc4+2G2GQudFMHn3IX+A==} + micromark-factory-title@2.0.1: + resolution: {integrity: sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==} + micromark-factory-whitespace@1.0.0: resolution: {integrity: sha512-Qx7uEyahU1lt1RnsECBiuEbfr9INjQTGa6Err+gF3g0Tx4YEviPbqqGKNv/NrBaE7dVHdn1bVZKM/n5I/Bak7A==} + micromark-factory-whitespace@2.0.1: + resolution: {integrity: sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==} + micromark-util-character@1.1.0: resolution: {integrity: sha512-agJ5B3unGNJ9rJvADMJ5ZiYjBRyDpzKAOk01Kpi1TKhlT1APx3XZk6eN7RtSz1erbWHC2L8T3xLZ81wdtGRZzg==} + micromark-util-character@2.1.1: + resolution: {integrity: sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==} + micromark-util-chunked@1.0.0: resolution: {integrity: sha512-5e8xTis5tEZKgesfbQMKRCyzvffRRUX+lK/y+DvsMFdabAicPkkZV6gO+FEWi9RfuKKoxxPwNL+dFF0SMImc1g==} + micromark-util-chunked@2.0.1: + resolution: {integrity: sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==} + micromark-util-classify-character@1.0.0: resolution: {integrity: sha512-F8oW2KKrQRb3vS5ud5HIqBVkCqQi224Nm55o5wYLzY/9PwHGXC01tr3d7+TqHHz6zrKQ72Okwtvm/xQm6OVNZA==} + micromark-util-classify-character@2.0.1: + resolution: {integrity: sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==} + micromark-util-combine-extensions@1.0.0: resolution: {integrity: sha512-J8H058vFBdo/6+AsjHp2NF7AJ02SZtWaVUjsayNFeAiydTxUwViQPxN0Hf8dp4FmCQi0UUFovFsEyRSUmFH3MA==} + micromark-util-combine-extensions@2.0.1: + resolution: {integrity: sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==} + micromark-util-decode-numeric-character-reference@1.0.0: resolution: {integrity: sha512-OzO9AI5VUtrTD7KSdagf4MWgHMtET17Ua1fIpXTpuhclCqD8egFWo85GxSGvxgkGS74bEahvtM0WP0HjvV0e4w==} + micromark-util-decode-numeric-character-reference@2.0.2: + resolution: {integrity: sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==} + micromark-util-decode-string@1.0.2: resolution: {integrity: sha512-DLT5Ho02qr6QWVNYbRZ3RYOSSWWFuH3tJexd3dgN1odEuPNxCngTCXJum7+ViRAd9BbdxCvMToPOD/IvVhzG6Q==} + micromark-util-decode-string@2.0.1: + resolution: {integrity: sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==} + micromark-util-encode@1.0.1: resolution: {integrity: sha512-U2s5YdnAYexjKDel31SVMPbfi+eF8y1U4pfiRW/Y8EFVCy/vgxk/2wWTxzcqE71LHtCuCzlBDRU2a5CQ5j+mQA==} + micromark-util-encode@2.0.1: + resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==} + micromark-util-events-to-acorn@1.2.1: resolution: {integrity: sha512-mkg3BaWlw6ZTkQORrKVBW4o9ICXPxLtGz51vml5mQpKFdo9vqIX68CAx5JhTOdjQyAHH7JFmm4rh8toSPQZUmg==} + micromark-util-events-to-acorn@2.0.2: + resolution: {integrity: sha512-Fk+xmBrOv9QZnEDguL9OI9/NQQp6Hz4FuQ4YmCb/5V7+9eAh1s6AYSvL20kHkD67YIg7EpE54TiSlcsf3vyZgA==} + micromark-util-html-tag-name@1.1.0: resolution: {integrity: sha512-BKlClMmYROy9UiV03SwNmckkjn8QHVaWkqoAqzivabvdGcwNGMMMH/5szAnywmsTBUzDsU57/mFi0sp4BQO6dA==} + micromark-util-html-tag-name@2.0.1: + resolution: {integrity: sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==} + micromark-util-normalize-identifier@1.0.0: resolution: {integrity: sha512-yg+zrL14bBTFrQ7n35CmByWUTFsgst5JhA4gJYoty4Dqzj4Z4Fr/DHekSS5aLfH9bdlfnSvKAWsAgJhIbogyBg==} + micromark-util-normalize-identifier@2.0.1: + resolution: {integrity: sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==} + micromark-util-resolve-all@1.0.0: resolution: {integrity: sha512-CB/AGk98u50k42kvgaMM94wzBqozSzDDaonKU7P7jwQIuH2RU0TeBqGYJz2WY1UdihhjweivStrJ2JdkdEmcfw==} + micromark-util-resolve-all@2.0.1: + resolution: {integrity: sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==} + micromark-util-sanitize-uri@1.1.0: resolution: {integrity: sha512-RoxtuSCX6sUNtxhbmsEFQfWzs8VN7cTctmBPvYivo98xb/kDEoTCtJQX5wyzIYEmk/lvNFTat4hL8oW0KndFpg==} + micromark-util-sanitize-uri@2.0.1: + resolution: {integrity: sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==} + micromark-util-subtokenize@1.0.2: resolution: {integrity: sha512-d90uqCnXp/cy4G881Ub4psE57Sf8YD0pim9QdjCRNjfas2M1u6Lbt+XZK9gnHL2XFhnozZiEdCa9CNfXSfQ6xA==} + micromark-util-subtokenize@2.0.3: + resolution: {integrity: sha512-VXJJuNxYWSoYL6AJ6OQECCFGhIU2GGHMw8tahogePBrjkG8aCCas3ibkp7RnVOSTClg2is05/R7maAhF1XyQMg==} + micromark-util-symbol@1.0.1: resolution: {integrity: sha512-oKDEMK2u5qqAptasDAwWDXq0tG9AssVwAx3E9bBF3t/shRIGsWIRG+cGafs2p/SnDSOecnt6hZPCE2o6lHfFmQ==} + micromark-util-symbol@2.0.1: + resolution: {integrity: sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==} + micromark-util-types@1.0.2: resolution: {integrity: sha512-DCfg/T8fcrhrRKTPjRrw/5LLvdGV7BHySf/1LOZx7TzWZdYRjogNtyNq885z3nNallwr3QUKARjqvHqX1/7t+w==} + micromark-util-types@2.0.1: + resolution: {integrity: sha512-534m2WhVTddrcKVepwmVEVnUAmtrx9bfIjNoQHRqfnvdaHQiFytEhJoTgpWJvDEXCO5gLTQh3wYC1PgOJA4NSQ==} + micromark@2.11.4: resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} micromark@3.1.0: resolution: {integrity: sha512-6Mj0yHLdUZjHnOPgr5xfWIMqMWS12zDN6iws9SLuSz76W8jTtAv24MN4/CL7gJrl5vtxGInkkqDv/JIoRsQOvA==} + micromark@4.0.1: + resolution: {integrity: sha512-eBPdkcoCNvYcxQOAKAlceo5SNdzZWfF+FcSupREAzdAh9rRmE239CEQAiTwIgblwnoM8zzj35sZ5ZwvSEOF6Kw==} + micromatch@4.0.4: resolution: {integrity: sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==} engines: {node: '>=8.6'} @@ -11183,6 +11401,11 @@ packages: engines: {node: '>=6'} hasBin: true + nopt@7.2.1: + resolution: {integrity: sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + normalize-html-whitespace@1.0.0: resolution: {integrity: sha512-9ui7CGtOOlehQu0t/OhhlmDyc71mKVlv+4vF+me4iZLPrNtRL2xoquEdfZxasC/bdQi/Hr3iTrpyRKIG+ocabA==} engines: {node: '>= 8'} @@ -11194,6 +11417,10 @@ packages: resolution: {integrity: sha512-6lUjEI0d3v6kFrtgA/lOx4zHCWULXsFNIjHolnZCKCTLA6m/G625cdn3O7eNmT0iD3jfo6HZ9cdImGZwf21prw==} engines: {node: '>=10'} + normalize-package-data@6.0.2: + resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} + engines: {node: ^16.14.0 || >=18.0.0} + normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -11217,6 +11444,10 @@ packages: resolution: {integrity: sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w==} engines: {node: '>=10'} + npm-install-checks@6.3.0: + resolution: {integrity: sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + npm-lifecycle@3.1.5: resolution: {integrity: sha512-lDLVkjfZmvmfvpvBzA4vzee9cn+Me4orq0QF8glbswJVEbIcSNWib7qGOffolysc3teCqbbPZZkzbr3GQZTL1g==} deprecated: The lifecycle script runner used in npm is now @npmcli/run-script. Please use that module moving forward @@ -11224,6 +11455,14 @@ packages: npm-normalize-package-bin@1.0.1: resolution: {integrity: sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==} + npm-normalize-package-bin@3.0.1: + resolution: {integrity: sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + + npm-package-arg@11.0.3: + resolution: {integrity: sha512-sHGJy8sOC1YraBywpzQlIKBE4pBbGbiF95U6Auspzyem956E0+FtDtsx1ZxlOJkQCZ1AFXAY/yuvtFYrOxF+Bw==} + engines: {node: ^16.14.0 || >=18.0.0} + npm-package-arg@8.1.0: resolution: {integrity: sha512-/ep6QDxBkm9HvOhOg0heitSd7JHA1U7y1qhhlRlteYYAi9Pdb/ZV7FW5aHpkrpM8+P+4p/jjR8zCyKPBMBjSig==} engines: {node: '>=10'} @@ -11236,6 +11475,10 @@ packages: npm-pick-manifest@6.1.0: resolution: {integrity: sha512-ygs4k6f54ZxJXrzT0x34NybRlLeZ4+6nECAIbr2i0foTnijtS1TJiyzpqtuUAJOps/hO0tNDr8fRV5g+BtRlTw==} + npm-pick-manifest@9.1.0: + resolution: {integrity: sha512-nkc+3pIIhqHVQr085X9d2JzPzLyjzQS96zbruppqC9aZRm/x8xx6xhI98gHtsfELP2bE+loHq8ZaHFHhe+NauA==} + engines: {node: ^16.14.0 || >=18.0.0} + npm-registry-fetch@9.0.0: resolution: {integrity: sha512-PuFYYtnQ8IyVl6ib9d3PepeehcUeHN9IO5N/iCRhyg9tStQcqGQBRVHmfmMWPDERU3KwZoHFvbJ4FPXPspvzbA==} engines: {node: '>=10'} @@ -11592,6 +11835,10 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} + parse-json@7.1.1: + resolution: {integrity: sha512-SgOTCX/EZXtZxBE5eJ97P4yGM5n37BwRU+YMsH4vNzFqJV/oWFXXCmwFlgWUM4PrakybVOueJJ6pwHqSVhTFDw==} + engines: {node: '>=16'} + parse-latin@4.3.0: resolution: {integrity: sha512-TYKL+K98dcAWoCw/Ac1yrPviU8Trk+/gmjQVaoWEFDZmVD4KRg6c/80xKqNNFQObo2mTONgF8trzAf2UTwKafw==} @@ -12545,6 +12792,10 @@ packages: resolution: {integrity: sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==} engines: {node: '>=10'} + proc-log@4.2.0: + resolution: {integrity: sha512-g8+OnU/L2v+wyiVK+D5fA34J7EH8jZ8DDlvwhRCMxmMj7UCBvxiO1mGeN+36JXIKF4zevU4kRBd8lVgG9vLelA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + process-nextick-args@1.0.7: resolution: {integrity: sha512-yN0WQmuCX63LP/TMvAg31nvT6m4vDqJEiiv2CAZqWOGNWutc9DfDk1NPYYmKUFmaVM2UwDowH4u5AHWYP/jxKw==} @@ -12893,6 +13144,10 @@ packages: resolution: {integrity: sha512-bp6z0tdgLy9KzdfENDIw/53HWAolOVoQTRWXv7PUiqAo3YvvoUVeLr7RWPWq+mu7KUOu9kiT4DvxhUgNUBsvug==} engines: {node: '>=10'} + read-package-json-fast@3.0.2: + resolution: {integrity: sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + read-package-json@2.1.1: resolution: {integrity: sha512-dAiqGtVc/q5doFz6096CcnXhpYk0ZN8dEKVkGLU0CsASt8SrgF6SF7OTKAYubfvFhWaqofl+Y8HK19GR8jwW+A==} deprecated: This package is no longer supported. Please use @npmcli/package-json instead. @@ -13076,12 +13331,18 @@ packages: remark-mdx@2.2.1: resolution: {integrity: sha512-R9wcN+/THRXTKyRBp6Npo/mcbGA2iT3N4G8qUqLA5pOEg7kBidHv8K2hHidCMYZ6DXmwK18umu0K4cicgA2PPQ==} + remark-mdx@3.1.0: + resolution: {integrity: sha512-Ngl/H3YXyBV9RcRNdlYsZujAmhsxwzxpDzpDEhFBVAGthS4GDgnctpDjgFl/ULx5UEDzqtW1cyBSNKqYYrqLBA==} + remark-message-control@6.0.0: resolution: {integrity: sha512-k9bt7BYc3G7YBdmeAhvd3VavrPa/XlKWR3CyHjr4sLO9xJyly8WHHT3Sp+8HPR8lEUv+/sZaffL7IjMLV0f6BA==} remark-parse@10.0.1: resolution: {integrity: sha512-1fUyHr2jLsVOkhbvPRBJ5zTKZZyD6yZzYaWCS6BPBdQ8vEMBCH+9zNCDA6tET/zHCi/jLqjCWtlJZUPk+DbnFw==} + remark-parse@11.0.0: + resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==} + remark-parse@8.0.3: resolution: {integrity: sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q==} @@ -13091,6 +13352,9 @@ packages: remark-retext@4.0.0: resolution: {integrity: sha512-cYCchalpf25bTtfXF24ribYvqytPKq0TiEhqQDBHvVEEsApebwruPWP1cTcvTFBidmpXyqzycm+y8ng7Kmvc8Q==} + remark-stringify@11.0.0: + resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} + remote-origin-url@0.5.3: resolution: {integrity: sha512-crQ7Xk1m/F2IiwBx5oTqk/c0hjoumrEz+a36+ZoVupskQRE/q7pAwHKsTNeiZ31sbSTELvVlVv4h1W0Xo5szKg==} engines: {node: '>= 0.8.0'} @@ -13811,6 +14075,10 @@ packages: resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} engines: {node: '>=12'} + string-width@6.1.0: + resolution: {integrity: sha512-k01swCJAgQmuADB0YIc+7TuatfNvTBVOoaUWJjTB9R4VJzR5vNWzf5t42ESVZFPS8xTySF7CAdV4t/aaIm3UnQ==} + engines: {node: '>=16'} + string-width@7.1.0: resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} engines: {node: '>=18'} @@ -14013,6 +14281,10 @@ packages: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} + supports-color@9.4.0: + resolution: {integrity: sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==} + engines: {node: '>=12'} + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -14344,9 +14616,6 @@ packages: tslib@2.5.3: resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==} - tslib@2.7.0: - resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} - tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} @@ -14452,6 +14721,10 @@ packages: resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} engines: {node: '>=8'} + type-fest@3.13.1: + resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} + engines: {node: '>=14.16'} + type-fest@4.18.3: resolution: {integrity: sha512-Q08/0IrpvM+NMY9PA2rti9Jb+JejTddwmwmVQGskAlhtcrw1wsRzoR6ode6mR+OAabNa75w/dxedSUY2mlphaQ==} engines: {node: '>=16'} @@ -14570,6 +14843,9 @@ packages: unified-diff@3.1.0: resolution: {integrity: sha512-d29qhcADmrvjgSYDLDUmmE/zvVyKUW+O3gRz6Bjj7fcv8kGBlrYBmMjnuBI+wuTou/PXaVl3hPeSh9mXZ0iGSA==} + unified-engine@11.2.2: + resolution: {integrity: sha512-15g/gWE7qQl9tQ3nAEbMd5h9HV1EACtFs6N9xaRBZICoCwnNGbal1kOs++ICf4aiTdItZxU2s/kYWhW7htlqJg==} + unified-engine@8.1.0: resolution: {integrity: sha512-ptXTWUf9HZ2L9xto7tre+hSdSN7M9S0rypUpMAcFhiDYjrXLrND4If+8AZOtPFySKI/Zhfxf7GVAR34BqixDUA==} @@ -14579,6 +14855,9 @@ packages: unified@10.1.2: resolution: {integrity: sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==} + unified@11.0.5: + resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==} + unified@9.2.1: resolution: {integrity: sha512-juWjuI8Z4xFg8pJbnEZ41b5xjGUWGHqXALmBZ3FC3WX0PIx1CZBIIJ6mXbYMcf6Yw4Fi0rFUTA1cdz/BglbOhA==} @@ -14608,18 +14887,27 @@ packages: unist-util-inspect@5.0.1: resolution: {integrity: sha512-fPNWewS593JSmg49HbnE86BJKuBi1/nMWhDSccBvbARfxezEuJV85EaARR9/VplveiwCoLm2kWq+DhP8TBaDpw==} + unist-util-inspect@8.1.0: + resolution: {integrity: sha512-mOlg8Mp33pR0eeFpo5d2902ojqFFOKMMG2hF8bmH7ZlhnmjFgh0NI3/ZDwdaBJNbvrS7LZFVrBVtIE9KZ9s7vQ==} + unist-util-is@4.1.0: resolution: {integrity: sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==} unist-util-is@5.2.0: resolution: {integrity: sha512-Glt17jWwZeyqrFqOK0pF1Ded5U3yzJnFr8CG1GMjCWTp9zDo2p+cmD6pWbZU8AgM5WU3IzRv6+rBwhzsGh6hBQ==} + unist-util-is@6.0.0: + resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} + unist-util-modify-children@2.0.0: resolution: {integrity: sha512-HGrj7JQo9DwZt8XFsX8UD4gGqOsIlCih9opG6Y+N11XqkBGKzHo8cvDi+MfQQgiZ7zXRUiQREYHhjOBHERTMdg==} unist-util-position-from-estree@1.1.2: resolution: {integrity: sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww==} + unist-util-position-from-estree@2.0.0: + resolution: {integrity: sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==} + unist-util-position@3.0.4: resolution: {integrity: sha512-tWvIbV8goayTjobxDIr4zVTyG+Q7ragMSMeKC3xnPl9xzIc0+she8mxXLM3JVNDDsfARPbCd3XdzkyLdo7fF3g==} @@ -14641,6 +14929,9 @@ packages: unist-util-stringify-position@3.0.3: resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} + unist-util-stringify-position@4.0.0: + resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} + unist-util-visit-children@1.1.4: resolution: {integrity: sha512-sA/nXwYRCQVRwZU2/tQWUqJ9JSFM1X3x7JIOsIgSzrFHcfVt6NkzDtKzyxg2cZWkCwGF9CO8x4QNZRJRMK8FeQ==} @@ -14650,12 +14941,18 @@ packages: unist-util-visit-parents@5.1.3: resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==} + unist-util-visit-parents@6.0.1: + resolution: {integrity: sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw==} + unist-util-visit@2.0.3: resolution: {integrity: sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q==} unist-util-visit@4.1.2: resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} + unist-util-visit@5.0.0: + resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} + unistore@3.4.1: resolution: {integrity: sha512-p2Ej8qqrqcD10Ah0ZUKUU/mhRB8pM4q6gzjxq9kZpgxa8dks7oHT8jDP4CqLhoRof3RXOZLKB9EBV1DTzHiJRw==} peerDependencies: @@ -14871,21 +15168,36 @@ packages: vfile-message@3.1.3: resolution: {integrity: sha512-0yaU+rj2gKAyEk12ffdSbBfjnnj+b1zqTBv3OQCTn8yEB02bsPizwdBPrLJjHnK+cU9EMMcUnNv938XcZIkmdA==} + vfile-message@4.0.2: + resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==} + vfile-reporter@6.0.2: resolution: {integrity: sha512-GN2bH2gs4eLnw/4jPSgfBjo+XCuvnX9elHICJZjVD4+NM0nsUrMTvdjGY5Sc/XG69XVTgLwj7hknQVc6M9FukA==} + vfile-reporter@8.1.1: + resolution: {integrity: sha512-qxRZcnFSQt6pWKn3PAk81yLK2rO2i7CDXpy8v8ZquiEOMLSnPw6BMSi9Y1sUCwGGl7a9b3CJT1CKpnRF7pp66g==} + vfile-sort@2.2.2: resolution: {integrity: sha512-tAyUqD2R1l/7Rn7ixdGkhXLD3zsg+XLAeUDUhXearjfIcpL1Hcsj5hHpCoy/gvfK/Ws61+e972fm0F7up7hfYA==} + vfile-sort@4.0.0: + resolution: {integrity: sha512-lffPI1JrbHDTToJwcq0rl6rBmkjQmMuXkAxsZPRS9DXbaJQvc642eCg6EGxcX2i1L+esbuhq+2l9tBll5v8AeQ==} + vfile-statistics@1.1.4: resolution: {integrity: sha512-lXhElVO0Rq3frgPvFBwahmed3X03vjPF8OcjKMy8+F1xU/3Q3QU3tKEDp743SFtb74PdF0UWpxPvtOP0GCLheA==} + vfile-statistics@3.0.0: + resolution: {integrity: sha512-/qlwqwWBWFOmpXujL/20P+Iuydil0rZZNglR+VNm6J0gpLHwuVM5s7g2TfVoswbXjZ4HuIhLMySEyIw5i7/D8w==} + vfile@4.2.1: resolution: {integrity: sha512-O6AE4OskCG5S1emQ/4gl8zK586RqA3srz3nfK/Viy0UPToBc5Trp9BVFb1u0CjsKrAWwnpr4ifM/KBXPWwJbCA==} vfile@5.3.6: resolution: {integrity: sha512-ADBsmerdGBs2WYckrLBEmuETSPyTD4TuLxTrw0DvjirxW1ra4ZwkbzG8ndsv3Q57smvHxo677MHaQrY9yxH8cA==} + vfile@6.0.3: + resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} + vm-browserify@1.1.2: resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} @@ -14897,6 +15209,9 @@ packages: resolution: {integrity: sha512-I1aZYWBQeNxz0fKQZZQd1LmVAj1tMR55Cud6uc7h9gx9UYZSd6GHPpYnOOU9nWVTQNjSDeTkWbpQ5aXijvKrmQ==} hasBin: true + walk-up-path@3.0.1: + resolution: {integrity: sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==} + walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} @@ -15039,6 +15354,11 @@ packages: engines: {node: '>= 8'} hasBin: true + which@4.0.0: + resolution: {integrity: sha512-GlaYyEb07DPxYCKhKzplCWBJtvxZcZMrL+4UkrTSJHHPyZU4mYYTv3qaOe77H7EODLSSopAUFAc6W8U4yqvscg==} + engines: {node: ^16.13.0 || >=18.0.0} + hasBin: true + wide-align@1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} @@ -18965,6 +19285,19 @@ snapshots: '@npmcli/ci-detect@1.3.0': {} + '@npmcli/config@8.3.4': + dependencies: + '@npmcli/map-workspaces': 3.0.6 + '@npmcli/package-json': 5.2.1 + ci-info: 4.0.0 + ini: 4.1.3 + nopt: 7.2.1 + proc-log: 4.2.0 + semver: 7.6.3 + walk-up-path: 3.0.1 + transitivePeerDependencies: + - bluebird + '@npmcli/fs@1.1.1': dependencies: '@gar/promisify': 1.1.3 @@ -18984,21 +19317,60 @@ snapshots: transitivePeerDependencies: - bluebird + '@npmcli/git@5.0.8': + dependencies: + '@npmcli/promise-spawn': 7.0.2 + ini: 4.1.3 + lru-cache: 10.4.3 + npm-pick-manifest: 9.1.0 + proc-log: 4.2.0 + promise-inflight: 1.0.1 + promise-retry: 2.0.1 + semver: 7.6.3 + which: 4.0.0 + transitivePeerDependencies: + - bluebird + '@npmcli/installed-package-contents@1.0.7': dependencies: npm-bundled: 1.1.2 npm-normalize-package-bin: 1.0.1 + '@npmcli/map-workspaces@3.0.6': + dependencies: + '@npmcli/name-from-folder': 2.0.0 + glob: 10.4.5 + minimatch: 9.0.5 + read-package-json-fast: 3.0.2 + '@npmcli/move-file@1.0.1': dependencies: mkdirp: 1.0.4 + '@npmcli/name-from-folder@2.0.0': {} + '@npmcli/node-gyp@1.0.2': {} + '@npmcli/package-json@5.2.1': + dependencies: + '@npmcli/git': 5.0.8 + glob: 10.4.5 + hosted-git-info: 7.0.2 + json-parse-even-better-errors: 3.0.2 + normalize-package-data: 6.0.2 + proc-log: 4.2.0 + semver: 7.6.3 + transitivePeerDependencies: + - bluebird + '@npmcli/promise-spawn@1.3.2': dependencies: infer-owner: 1.0.4 + '@npmcli/promise-spawn@7.0.2': + dependencies: + which: 4.0.0 + '@npmcli/run-script@1.8.3': dependencies: '@npmcli/node-gyp': 1.0.2 @@ -19698,6 +20070,10 @@ snapshots: dependencies: '@types/express': 4.17.2 + '@types/concat-stream@2.0.3': + dependencies: + '@types/node': 20.17.6 + '@types/connect@3.4.33': dependencies: '@types/node': 20.17.6 @@ -19784,6 +20160,10 @@ snapshots: dependencies: '@types/unist': 2.0.3 + '@types/hast@3.0.4': + dependencies: + '@types/unist': 2.0.3 + '@types/html-validator@5.0.3': dependencies: '@types/node': 20.17.6 @@ -19802,6 +20182,8 @@ snapshots: '@types/through': 0.0.30 rxjs: 7.8.1 + '@types/is-empty@1.2.3': {} + '@types/istanbul-lib-coverage@2.0.3': {} '@types/istanbul-lib-coverage@2.0.4': {} @@ -19871,6 +20253,10 @@ snapshots: dependencies: '@types/unist': 2.0.3 + '@types/mdast@4.0.4': + dependencies: + '@types/unist': 2.0.3 + '@types/mdx@2.0.3': {} '@types/mime@2.0.1': {} @@ -19977,6 +20363,8 @@ snapshots: '@types/string-hash@1.1.1': {} + '@types/supports-color@8.1.3': {} + '@types/tar@6.1.13': dependencies: '@types/node': 20.17.6 @@ -20001,6 +20389,8 @@ snapshots: '@types/unist@2.0.3': {} + '@types/unist@3.0.3': {} + '@types/validate-npm-package-name@4.0.2': {} '@types/webpack-sources@0.1.5': @@ -20435,6 +20825,8 @@ snapshots: abbrev@1.1.1: {} + abbrev@2.0.0: {} + abort-controller@3.0.0: dependencies: event-target-shim: 5.0.1 @@ -22685,6 +23077,10 @@ snapshots: devalue@2.0.1: {} + devlop@1.1.0: + dependencies: + dequal: 2.0.3 + dezalgo@1.0.3: dependencies: asap: 2.0.6 @@ -23212,6 +23608,27 @@ snapshots: - eslint-import-resolver-webpack - supports-color + eslint-mdx@3.1.5(eslint@9.12.0): + dependencies: + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) + eslint: 9.12.0 + espree: 9.6.1 + estree-util-visit: 2.0.0 + remark-mdx: 3.1.0 + remark-parse: 11.0.0 + remark-stringify: 11.0.0 + synckit: 0.9.2 + tslib: 2.8.1 + unified: 11.0.5 + unified-engine: 11.2.2 + unist-util-visit: 5.0.0 + uvu: 0.5.6 + vfile: 6.0.3 + transitivePeerDependencies: + - bluebird + - supports-color + eslint-module-utils@2.12.0(@typescript-eslint/parser@7.16.0(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.3(@typescript-eslint/parser@7.16.0(eslint@9.12.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import-x@4.3.1(eslint@9.12.0)(typescript@5.6.3))(eslint-plugin-import@2.31.0)(eslint@9.12.0))(eslint@9.12.0): dependencies: debug: 3.2.7 @@ -23361,6 +23778,28 @@ snapshots: safe-regex-test: 1.0.3 string.prototype.includes: 2.0.0 + eslint-plugin-markdown@3.0.1(eslint@9.12.0): + dependencies: + eslint: 9.12.0 + mdast-util-from-markdown: 0.8.5 + transitivePeerDependencies: + - supports-color + + eslint-plugin-mdx@3.1.5(eslint@9.12.0): + dependencies: + eslint: 9.12.0 + eslint-mdx: 3.1.5(eslint@9.12.0) + eslint-plugin-markdown: 3.0.1(eslint@9.12.0) + remark-mdx: 3.1.0 + remark-parse: 11.0.0 + remark-stringify: 11.0.0 + tslib: 2.8.1 + unified: 11.0.5 + vfile: 6.0.3 + transitivePeerDependencies: + - bluebird + - supports-color + eslint-plugin-react-hooks@5.0.0(eslint@9.12.0): dependencies: eslint: 9.12.0 @@ -23662,6 +24101,8 @@ snapshots: estree-util-is-identifier-name@2.1.0: {} + estree-util-is-identifier-name@3.0.0: {} + estree-util-to-js@1.1.1: dependencies: '@types/estree-jsx': 1.0.0 @@ -23673,6 +24114,11 @@ snapshots: '@types/estree-jsx': 1.0.0 '@types/unist': 2.0.3 + estree-util-visit@2.0.0: + dependencies: + '@types/estree-jsx': 1.0.0 + '@types/unist': 3.0.3 + estree-walker@0.6.1: {} estree-walker@1.0.1: {} @@ -24748,6 +25194,10 @@ snapshots: dependencies: lru-cache: 6.0.0 + hosted-git-info@7.0.2: + dependencies: + lru-cache: 10.4.3 + hsl-regex@1.0.0: {} hsla-regex@1.0.0: {} @@ -24934,6 +25384,8 @@ snapshots: ignore@5.3.2: {} + ignore@6.0.2: {} + image-size@1.1.1: dependencies: queue: 6.0.2 @@ -24974,6 +25426,8 @@ snapshots: pkg-dir: 4.2.0 resolve-cwd: 3.0.0 + import-meta-resolve@4.1.0: {} + imurmurhash@0.1.4: {} indent-string@2.1.0: @@ -24999,6 +25453,8 @@ snapshots: ini@1.3.8: {} + ini@4.1.3: {} + init-package-json@2.0.2: dependencies: glob: 7.1.7 @@ -25426,6 +25882,8 @@ snapshots: isexe@2.0.0: {} + isexe@3.1.1: {} + isobject@3.0.1: {} isomorphic-fetch@2.2.1: @@ -26089,6 +26547,8 @@ snapshots: json-parse-even-better-errors@2.3.1: {} + json-parse-even-better-errors@3.0.2: {} + json-schema-traverse@0.4.1: {} json-schema-traverse@1.0.0: {} @@ -26291,6 +26751,8 @@ snapshots: lines-and-columns@1.1.6: {} + lines-and-columns@2.0.4: {} + lint-staged@15.2.2: dependencies: chalk: 5.3.0 @@ -26355,6 +26817,13 @@ snapshots: libnpmconfig: 1.2.1 resolve-from: 5.0.0 + load-plugin@6.0.3: + dependencies: + '@npmcli/config': 8.3.4 + import-meta-resolve: 4.1.0 + transitivePeerDependencies: + - bluebird + loader-runner@4.3.0: {} loader-utils@1.4.0: @@ -26625,6 +27094,16 @@ snapshots: '@types/unist': 2.0.3 unist-util-visit: 4.1.2 + mdast-util-from-markdown@0.8.5: + dependencies: + '@types/mdast': 3.0.10 + mdast-util-to-string: 2.0.0 + micromark: 2.11.4 + parse-entities: 2.0.0 + unist-util-stringify-position: 2.0.3 + transitivePeerDependencies: + - supports-color + mdast-util-from-markdown@1.3.0: dependencies: '@types/mdast': 3.0.10 @@ -26642,6 +27121,23 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-from-markdown@2.0.2: + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + decode-named-character-reference: 1.0.2 + devlop: 1.1.0 + mdast-util-to-string: 4.0.0 + micromark: 4.0.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-decode-string: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + unist-util-stringify-position: 4.0.0 + transitivePeerDependencies: + - supports-color + mdast-util-mdx-expression@0.1.1: dependencies: strip-indent: 3.0.0 @@ -26656,6 +27152,17 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdx-expression@2.0.1: + dependencies: + '@types/estree-jsx': 1.0.0 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + mdast-util-mdx-jsx@0.1.4: dependencies: mdast-util-to-markdown: 0.6.5 @@ -26681,6 +27188,23 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdx-jsx@3.1.3: + dependencies: + '@types/estree-jsx': 1.0.0 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + ccount: 2.0.1 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 + parse-entities: 4.0.0 + stringify-entities: 4.0.3 + unist-util-stringify-position: 4.0.0 + vfile-message: 4.0.2 + transitivePeerDependencies: + - supports-color + mdast-util-mdx@0.1.1: dependencies: mdast-util-mdx-expression: 0.1.1 @@ -26698,6 +27222,16 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdx@3.0.0: + dependencies: + mdast-util-from-markdown: 2.0.2 + mdast-util-mdx-expression: 2.0.1 + mdast-util-mdx-jsx: 3.1.3 + mdast-util-mdxjs-esm: 2.0.1 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + mdast-util-mdxjs-esm@0.1.1: {} mdast-util-mdxjs-esm@1.3.1: @@ -26710,11 +27244,27 @@ snapshots: transitivePeerDependencies: - supports-color + mdast-util-mdxjs-esm@2.0.1: + dependencies: + '@types/estree-jsx': 1.0.0 + '@types/hast': 3.0.4 + '@types/mdast': 4.0.4 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.2 + mdast-util-to-markdown: 2.1.2 + transitivePeerDependencies: + - supports-color + mdast-util-phrasing@3.0.1: dependencies: '@types/mdast': 3.0.10 unist-util-is: 5.2.0 + mdast-util-phrasing@4.1.0: + dependencies: + '@types/mdast': 4.0.4 + unist-util-is: 6.0.0 + mdast-util-to-hast@12.3.0: dependencies: '@types/hast': 2.3.1 @@ -26746,6 +27296,18 @@ snapshots: unist-util-visit: 4.1.2 zwitch: 2.0.4 + mdast-util-to-markdown@2.1.2: + dependencies: + '@types/mdast': 4.0.4 + '@types/unist': 3.0.3 + longest-streak: 3.1.0 + mdast-util-phrasing: 4.1.0 + mdast-util-to-string: 4.0.0 + micromark-util-classify-character: 2.0.1 + micromark-util-decode-string: 2.0.1 + unist-util-visit: 5.0.0 + zwitch: 2.0.4 + mdast-util-to-nlcst@4.0.1: dependencies: nlcst-to-string: 2.0.4 @@ -26759,6 +27321,10 @@ snapshots: dependencies: '@types/mdast': 3.0.10 + mdast-util-to-string@4.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdn-data@2.0.28: {} mdn-data@2.0.30: {} @@ -26911,6 +27477,25 @@ snapshots: micromark-util-types: 1.0.2 uvu: 0.5.6 + micromark-core-commonmark@2.0.2: + dependencies: + decode-named-character-reference: 1.0.2 + devlop: 1.1.0 + micromark-factory-destination: 2.0.1 + micromark-factory-label: 2.0.1 + micromark-factory-space: 2.0.1 + micromark-factory-title: 2.0.1 + micromark-factory-whitespace: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-chunked: 2.0.1 + micromark-util-classify-character: 2.0.1 + micromark-util-html-tag-name: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-subtokenize: 2.0.3 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-extension-mdx-expression@0.3.2: dependencies: micromark: 2.11.4 @@ -26928,6 +27513,17 @@ snapshots: micromark-util-types: 1.0.2 uvu: 0.5.6 + micromark-extension-mdx-expression@3.0.0: + dependencies: + '@types/estree': 1.0.6 + devlop: 1.1.0 + micromark-factory-mdx-expression: 2.0.2 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-extension-mdx-jsx@0.3.3: dependencies: estree-util-is-identifier-name: 1.1.0 @@ -26949,12 +27545,30 @@ snapshots: uvu: 0.5.6 vfile-message: 3.1.3 + micromark-extension-mdx-jsx@3.0.1: + dependencies: + '@types/acorn': 4.0.6 + '@types/estree': 1.0.6 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + micromark-factory-mdx-expression: 2.0.2 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + vfile-message: 4.0.2 + micromark-extension-mdx-md@0.1.1: {} micromark-extension-mdx-md@1.0.0: dependencies: micromark-util-types: 1.0.2 + micromark-extension-mdx-md@2.0.0: + dependencies: + micromark-util-types: 2.0.1 + micromark-extension-mdx@0.2.1: dependencies: micromark: 2.11.4 @@ -26983,6 +27597,18 @@ snapshots: uvu: 0.5.6 vfile-message: 3.1.3 + micromark-extension-mdxjs-esm@3.0.0: + dependencies: + '@types/estree': 1.0.6 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.2 + micromark-util-character: 2.1.1 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 + micromark-extension-mdxjs@0.3.0: dependencies: acorn: 8.14.0 @@ -27006,12 +27632,29 @@ snapshots: micromark-util-combine-extensions: 1.0.0 micromark-util-types: 1.0.2 + micromark-extension-mdxjs@3.0.0: + dependencies: + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) + micromark-extension-mdx-expression: 3.0.0 + micromark-extension-mdx-jsx: 3.0.1 + micromark-extension-mdx-md: 2.0.0 + micromark-extension-mdxjs-esm: 3.0.0 + micromark-util-combine-extensions: 2.0.1 + micromark-util-types: 2.0.1 + micromark-factory-destination@1.0.0: dependencies: micromark-util-character: 1.1.0 micromark-util-symbol: 1.0.1 micromark-util-types: 1.0.2 + micromark-factory-destination@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-factory-label@1.0.2: dependencies: micromark-util-character: 1.1.0 @@ -27019,6 +27662,13 @@ snapshots: micromark-util-types: 1.0.2 uvu: 0.5.6 + micromark-factory-label@2.0.1: + dependencies: + devlop: 1.1.0 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-factory-mdx-expression@1.0.7: dependencies: micromark-factory-space: 1.0.0 @@ -27030,11 +27680,28 @@ snapshots: uvu: 0.5.6 vfile-message: 3.1.3 + micromark-factory-mdx-expression@2.0.2: + dependencies: + '@types/estree': 1.0.6 + devlop: 1.1.0 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 + micromark-factory-space@1.0.0: dependencies: micromark-util-character: 1.1.0 micromark-util-types: 1.0.2 + micromark-factory-space@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-types: 2.0.1 + micromark-factory-title@1.0.2: dependencies: micromark-factory-space: 1.0.0 @@ -27043,6 +27710,13 @@ snapshots: micromark-util-types: 1.0.2 uvu: 0.5.6 + micromark-factory-title@2.0.1: + dependencies: + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-factory-whitespace@1.0.0: dependencies: micromark-factory-space: 1.0.0 @@ -27050,30 +27724,61 @@ snapshots: micromark-util-symbol: 1.0.1 micromark-util-types: 1.0.2 + micromark-factory-whitespace@2.0.1: + dependencies: + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-util-character@1.1.0: dependencies: micromark-util-symbol: 1.0.1 micromark-util-types: 1.0.2 + micromark-util-character@2.1.1: + dependencies: + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-util-chunked@1.0.0: dependencies: micromark-util-symbol: 1.0.1 + micromark-util-chunked@2.0.1: + dependencies: + micromark-util-symbol: 2.0.1 + micromark-util-classify-character@1.0.0: dependencies: micromark-util-character: 1.1.0 micromark-util-symbol: 1.0.1 micromark-util-types: 1.0.2 + micromark-util-classify-character@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-util-combine-extensions@1.0.0: dependencies: micromark-util-chunked: 1.0.0 micromark-util-types: 1.0.2 + micromark-util-combine-extensions@2.0.1: + dependencies: + micromark-util-chunked: 2.0.1 + micromark-util-types: 2.0.1 + micromark-util-decode-numeric-character-reference@1.0.0: dependencies: micromark-util-symbol: 1.0.1 + micromark-util-decode-numeric-character-reference@2.0.2: + dependencies: + micromark-util-symbol: 2.0.1 + micromark-util-decode-string@1.0.2: dependencies: decode-named-character-reference: 1.0.2 @@ -27081,8 +27786,17 @@ snapshots: micromark-util-decode-numeric-character-reference: 1.0.0 micromark-util-symbol: 1.0.1 + micromark-util-decode-string@2.0.1: + dependencies: + decode-named-character-reference: 1.0.2 + micromark-util-character: 2.1.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-symbol: 2.0.1 + micromark-util-encode@1.0.1: {} + micromark-util-encode@2.0.1: {} + micromark-util-events-to-acorn@1.2.1: dependencies: '@types/acorn': 4.0.6 @@ -27093,22 +27807,49 @@ snapshots: vfile-location: 4.0.1 vfile-message: 3.1.3 + micromark-util-events-to-acorn@2.0.2: + dependencies: + '@types/acorn': 4.0.6 + '@types/estree': 1.0.6 + '@types/unist': 3.0.3 + devlop: 1.1.0 + estree-util-visit: 2.0.0 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + vfile-message: 4.0.2 + micromark-util-html-tag-name@1.1.0: {} + micromark-util-html-tag-name@2.0.1: {} + micromark-util-normalize-identifier@1.0.0: dependencies: micromark-util-symbol: 1.0.1 + micromark-util-normalize-identifier@2.0.1: + dependencies: + micromark-util-symbol: 2.0.1 + micromark-util-resolve-all@1.0.0: dependencies: micromark-util-types: 1.0.2 + micromark-util-resolve-all@2.0.1: + dependencies: + micromark-util-types: 2.0.1 + micromark-util-sanitize-uri@1.1.0: dependencies: micromark-util-character: 1.1.0 micromark-util-encode: 1.0.1 micromark-util-symbol: 1.0.1 + micromark-util-sanitize-uri@2.0.1: + dependencies: + micromark-util-character: 2.1.1 + micromark-util-encode: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-subtokenize@1.0.2: dependencies: micromark-util-chunked: 1.0.0 @@ -27116,10 +27857,21 @@ snapshots: micromark-util-types: 1.0.2 uvu: 0.5.6 + micromark-util-subtokenize@2.0.3: + dependencies: + devlop: 1.1.0 + micromark-util-chunked: 2.0.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + micromark-util-symbol@1.0.1: {} + micromark-util-symbol@2.0.1: {} + micromark-util-types@1.0.2: {} + micromark-util-types@2.0.1: {} + micromark@2.11.4: dependencies: debug: 4.1.1 @@ -27149,6 +27901,28 @@ snapshots: transitivePeerDependencies: - supports-color + micromark@4.0.1: + dependencies: + '@types/debug': 4.1.5 + debug: 4.1.1 + decode-named-character-reference: 1.0.2 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.2 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-chunked: 2.0.1 + micromark-util-combine-extensions: 2.0.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-encode: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-subtokenize: 2.0.3 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.1 + transitivePeerDependencies: + - supports-color + micromatch@4.0.4: dependencies: braces: 3.0.2 @@ -27505,6 +28279,10 @@ snapshots: dependencies: abbrev: 1.1.1 + nopt@7.2.1: + dependencies: + abbrev: 2.0.0 + normalize-html-whitespace@1.0.0: {} normalize-package-data@2.5.0: @@ -27521,6 +28299,12 @@ snapshots: semver: 7.6.3 validate-npm-package-license: 3.0.4 + normalize-package-data@6.0.2: + dependencies: + hosted-git-info: 7.0.2 + semver: 7.6.3 + validate-npm-package-license: 3.0.4 + normalize-path@3.0.0: {} normalize-range@0.1.2: {} @@ -27537,6 +28321,10 @@ snapshots: dependencies: semver: 7.6.3 + npm-install-checks@6.3.0: + dependencies: + semver: 7.6.3 + npm-lifecycle@3.1.5: dependencies: byline: 5.0.0 @@ -27550,6 +28338,15 @@ snapshots: npm-normalize-package-bin@1.0.1: {} + npm-normalize-package-bin@3.0.1: {} + + npm-package-arg@11.0.3: + dependencies: + hosted-git-info: 7.0.2 + proc-log: 4.2.0 + semver: 7.6.3 + validate-npm-package-name: 5.0.1 + npm-package-arg@8.1.0: dependencies: hosted-git-info: 3.0.8 @@ -27569,6 +28366,13 @@ snapshots: npm-package-arg: 8.1.0 semver: 7.6.3 + npm-pick-manifest@9.1.0: + dependencies: + npm-install-checks: 6.3.0 + npm-normalize-package-bin: 3.0.1 + npm-package-arg: 11.0.3 + semver: 7.6.3 + npm-registry-fetch@9.0.0: dependencies: '@npmcli/ci-detect': 1.3.0 @@ -28013,6 +28817,14 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.1.6 + parse-json@7.1.1: + dependencies: + '@babel/code-frame': 7.22.5 + error-ex: 1.3.2 + json-parse-even-better-errors: 3.0.2 + lines-and-columns: 2.0.4 + type-fest: 3.13.1 + parse-latin@4.3.0: dependencies: nlcst-to-string: 2.0.4 @@ -28941,6 +29753,8 @@ snapshots: dependencies: parse-ms: 2.1.0 + proc-log@4.2.0: {} + process-nextick-args@1.0.7: {} process-nextick-args@2.0.1: {} @@ -29194,7 +30008,7 @@ snapshots: react: 19.0.0-rc-f90a6bcc-20240827 react-remove-scroll-bar: 2.3.6(@types/react@19.0.0)(react@19.0.0-rc-f90a6bcc-20240827) react-style-singleton: 2.2.1(@types/react@19.0.0)(react@19.0.0-rc-f90a6bcc-20240827) - tslib: 2.7.0 + tslib: 2.8.1 use-callback-ref: 1.3.2(@types/react@19.0.0)(react@19.0.0-rc-f90a6bcc-20240827) use-sidecar: 1.1.2(@types/react@19.0.0)(react@19.0.0-rc-f90a6bcc-20240827) optionalDependencies: @@ -29297,6 +30111,11 @@ snapshots: json-parse-even-better-errors: 2.3.1 npm-normalize-package-bin: 1.0.1 + read-package-json-fast@3.0.2: + dependencies: + json-parse-even-better-errors: 3.0.2 + npm-normalize-package-bin: 3.0.1 + read-package-json@2.1.1: dependencies: glob: 7.1.7 @@ -29603,6 +30422,13 @@ snapshots: transitivePeerDependencies: - supports-color + remark-mdx@3.1.0: + dependencies: + mdast-util-mdx: 3.0.0 + micromark-extension-mdxjs: 3.0.0 + transitivePeerDependencies: + - supports-color + remark-message-control@6.0.0: dependencies: mdast-comment-marker: 1.1.2 @@ -29616,6 +30442,15 @@ snapshots: transitivePeerDependencies: - supports-color + remark-parse@11.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-from-markdown: 2.0.2 + micromark-util-types: 2.0.1 + unified: 11.0.5 + transitivePeerDependencies: + - supports-color + remark-parse@8.0.3: dependencies: ccount: 1.1.0 @@ -29646,6 +30481,12 @@ snapshots: dependencies: mdast-util-to-nlcst: 4.0.1 + remark-stringify@11.0.0: + dependencies: + '@types/mdast': 4.0.4 + mdast-util-to-markdown: 2.1.2 + unified: 11.0.5 + remote-origin-url@0.5.3: dependencies: parse-git-config: 1.1.1 @@ -30446,6 +31287,12 @@ snapshots: emoji-regex: 9.2.2 strip-ansi: 7.1.0 + string-width@6.1.0: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 10.3.0 + strip-ansi: 7.1.0 + string-width@7.1.0: dependencies: emoji-regex: 10.3.0 @@ -30683,6 +31530,8 @@ snapshots: dependencies: has-flag: 4.0.0 + supports-color@9.4.0: {} + supports-preserve-symlinks-flag@1.0.0: {} svg-parser@2.0.4: {} @@ -31036,8 +31885,6 @@ snapshots: tslib@2.5.3: {} - tslib@2.7.0: {} - tslib@2.8.1: {} tsutils@3.21.0(typescript@5.7.2): @@ -31115,6 +31962,8 @@ snapshots: type-fest@0.8.1: {} + type-fest@3.13.1: {} + type-fest@4.18.3: {} type-is@1.6.18: @@ -31234,6 +32083,33 @@ snapshots: transitivePeerDependencies: - supports-color + unified-engine@11.2.2: + dependencies: + '@types/concat-stream': 2.0.3 + '@types/debug': 4.1.5 + '@types/is-empty': 1.2.3 + '@types/node': 20.17.6 + '@types/unist': 3.0.3 + concat-stream: 2.0.0 + debug: 4.1.1 + extend: 3.0.2 + glob: 10.4.5 + ignore: 6.0.2 + is-empty: 1.2.0 + is-plain-obj: 4.1.0 + load-plugin: 6.0.3 + parse-json: 7.1.1 + trough: 2.1.0 + unist-util-inspect: 8.1.0 + vfile: 6.0.3 + vfile-message: 4.0.2 + vfile-reporter: 8.1.1 + vfile-statistics: 3.0.0 + yaml: 2.3.4 + transitivePeerDependencies: + - bluebird + - supports-color + unified-engine@8.1.0: dependencies: concat-stream: 2.0.0 @@ -31271,6 +32147,16 @@ snapshots: trough: 2.1.0 vfile: 5.3.6 + unified@11.0.5: + dependencies: + '@types/unist': 3.0.3 + bail: 2.0.2 + devlop: 1.1.0 + extend: 3.0.2 + is-plain-obj: 4.1.0 + trough: 2.1.0 + vfile: 6.0.3 + unified@9.2.1: dependencies: '@types/unist': 2.0.3 @@ -31307,10 +32193,18 @@ snapshots: dependencies: is-empty: 1.2.0 + unist-util-inspect@8.1.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-is@4.1.0: {} unist-util-is@5.2.0: {} + unist-util-is@6.0.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-modify-children@2.0.0: dependencies: array-iterate: 1.1.4 @@ -31319,6 +32213,10 @@ snapshots: dependencies: '@types/unist': 2.0.3 + unist-util-position-from-estree@2.0.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-position@3.0.4: {} unist-util-position@4.0.4: @@ -31346,6 +32244,10 @@ snapshots: dependencies: '@types/unist': 2.0.3 + unist-util-stringify-position@4.0.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-visit-children@1.1.4: {} unist-util-visit-parents@3.1.1: @@ -31358,6 +32260,11 @@ snapshots: '@types/unist': 2.0.3 unist-util-is: 5.2.0 + unist-util-visit-parents@6.0.1: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.0 + unist-util-visit@2.0.3: dependencies: '@types/unist': 2.0.3 @@ -31370,6 +32277,12 @@ snapshots: unist-util-is: 5.2.0 unist-util-visit-parents: 5.1.3 + unist-util-visit@5.0.0: + dependencies: + '@types/unist': 3.0.3 + unist-util-is: 6.0.0 + unist-util-visit-parents: 6.0.1 + unistore@3.4.1(react@19.0.0-rc-7283a213-20241206): optionalDependencies: react: 19.0.0-rc-7283a213-20241206 @@ -31579,6 +32492,11 @@ snapshots: '@types/unist': 2.0.3 unist-util-stringify-position: 3.0.3 + vfile-message@4.0.2: + dependencies: + '@types/unist': 3.0.3 + unist-util-stringify-position: 4.0.0 + vfile-reporter@6.0.2: dependencies: repeat-string: 1.6.1 @@ -31588,10 +32506,31 @@ snapshots: vfile-sort: 2.2.2 vfile-statistics: 1.1.4 + vfile-reporter@8.1.1: + dependencies: + '@types/supports-color': 8.1.3 + string-width: 6.1.0 + supports-color: 9.4.0 + unist-util-stringify-position: 4.0.0 + vfile: 6.0.3 + vfile-message: 4.0.2 + vfile-sort: 4.0.0 + vfile-statistics: 3.0.0 + vfile-sort@2.2.2: {} + vfile-sort@4.0.0: + dependencies: + vfile: 6.0.3 + vfile-message: 4.0.2 + vfile-statistics@1.1.4: {} + vfile-statistics@3.0.0: + dependencies: + vfile: 6.0.3 + vfile-message: 4.0.2 + vfile@4.2.1: dependencies: '@types/unist': 2.0.3 @@ -31606,6 +32545,11 @@ snapshots: unist-util-stringify-position: 3.0.3 vfile-message: 3.1.3 + vfile@6.0.3: + dependencies: + '@types/unist': 3.0.3 + vfile-message: 4.0.2 + vm-browserify@1.1.2: {} w3c-xmlserializer@4.0.0: @@ -31620,6 +32564,8 @@ snapshots: transitivePeerDependencies: - supports-color + walk-up-path@3.0.1: {} + walker@1.0.8: dependencies: makeerror: 1.0.12 @@ -31840,6 +32786,10 @@ snapshots: dependencies: isexe: 2.0.0 + which@4.0.0: + dependencies: + isexe: 3.1.1 + wide-align@1.1.5: dependencies: string-width: 4.2.3 diff --git a/test/development/app-dir/missing-required-html-tags/index.test.ts b/test/development/app-dir/missing-required-html-tags/index.test.ts index 36211c6d2dccc..f9d2de956e517 100644 --- a/test/development/app-dir/missing-required-html-tags/index.test.ts +++ b/test/development/app-dir/missing-required-html-tags/index.test.ts @@ -13,6 +13,13 @@ describe('app-dir - missing required html tags', () => { it('should show error overlay', async () => { const browser = await next.browser('/') + // There was a bug where multiple dialogs were being rendered when required + // html tags were missing. This test ensures there is no regression. + await retry(async () => { + const dialogs = await browser.elementsByCss('nextjs-portal') + expect(dialogs).toHaveLength(1) + }) + await assertHasRedbox(browser) expect(await getRedboxDescription(browser)).toMatchInlineSnapshot(` "The following tags are missing in the Root Layout: , . diff --git a/turbopack/packages/turbo-tracing-next-plugin/test/with-mongodb-mongoose/.gitignore b/turbopack/packages/turbo-tracing-next-plugin/test/with-mongodb-mongoose/.gitignore index 1437c53f70bc2..ab0b6bd36d513 100644 --- a/turbopack/packages/turbo-tracing-next-plugin/test/with-mongodb-mongoose/.gitignore +++ b/turbopack/packages/turbo-tracing-next-plugin/test/with-mongodb-mongoose/.gitignore @@ -3,7 +3,12 @@ # dependencies /node_modules /.pnp -.pnp.js +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/versions # testing /coverage