Skip to content

Commit b16cee8

Browse files
dimaMachinahasparusgithub-actions[bot]
authored
update @theguild/components to use Nextra 4 (#1762)
Co-authored-by: Piotr Monwid-Olechnowicz <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1c3c16b commit b16cee8

File tree

110 files changed

+1438
-1500
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1438
-1500
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@theguild/components": patch
3+
---
4+
dependencies updates:
5+
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/nextra/v/4.0.0) (from `3.2.5`, in `dependencies`)
6+
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/nextra-theme-docs/v/4.0.0) (from `3.2.5`, in `dependencies`)
7+
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/next-videos/v/1.5.0) (from `dependencies`)
8+
- Removed dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/remark-mdx-disable-explicit-jsx/v/0.1.0) (from `dependencies`)
9+
- Updated dependency [`@theguild/tailwind-config@^0.6.2` ↗︎](https://www.npmjs.com/package/@theguild/tailwind-config/v/0.6.2) (from `0.6.2`, in `peerDependencies`)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@theguild/components": patch
3+
---
4+
dependencies updates:
5+
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/nextra/v/4.0.0) (from `4.0.0-app-router.28`, in `dependencies`)
6+
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/nextra-theme-docs/v/4.0.0) (from `4.0.0-app-router.21`, in `dependencies`)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@theguild/components": patch
3+
---
4+
dependencies updates:
5+
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/nextra/v/4.0.0) (from `4.0.0-app-router.28`, in `dependencies`)
6+
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/nextra-theme-docs/v/4.0.0) (from `4.0.0-app-router.28`, in `dependencies`)

.changeset/brave-sloths-film.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@theguild/components": patch
3+
---
4+
5+
Add `NextPageProps` utility type

.changeset/eight-dots-compare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@theguild/components": patch
3+
---
4+
5+
Use green card variant only for Hive

.changeset/odd-penguins-cry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@theguild/components': major
3+
---
4+
5+
Update components to be compatible with Nextra 4 and server components

.changeset/tasty-deers-pretend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@theguild/components': patch
3+
---
4+
5+
Add ContactTextLink and ContactButton

.changeset/tidy-hotels-compare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@theguild/components": patch
3+
---
4+
5+
Add "use client" to Heading

.changeset/unlucky-dolphins-arrive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@theguild/remark-mermaid': minor
3+
---
4+
5+
`"typesVersions"` field is removed from `package.json`, use `"moduleResolution": "node"` in your `tsconfig.json`

.eslintrc.cjs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,14 @@ module.exports = {
3434
config: 'tailwind.config.ts',
3535
whitelist: [
3636
// TODO: find a way to fix it and remove these classes since they are imported somewhere and are used
37-
'line',
3837
'hive-focus',
3938
'hive-focus-within',
40-
'@container', // Tailwind ESLint Plugin doesn't see the Container Queries classes but it does see prefixes like @sm:
39+
'nextra-hamburger',
40+
'@container', // Tailwind ESLint Plugin doesn't see the Container Queries classes, but it does see prefixes like @sm:
4141
],
4242
},
4343
},
4444
overrides: [
45-
{
46-
files: ['**/*.stories.{ts,tsx}'],
47-
rules: {
48-
'no-console': 'off',
49-
'import/no-default-export': 'off',
50-
},
51-
},
5245
{
5346
files: ['packages/**'],
5447
rules: {

0 commit comments

Comments
 (0)