Skip to content

Commit

Permalink
guild-components v6. update to nextra 3.alpha (#1275)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yassin Eldeeb <yassineldeeb94@gmail.com>
Co-authored-by: yangxingyuan <39261479+sanyuan0704@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Aleksandra <alexsandra.sikora@gmail.com>
  • Loading branch information
7 people authored Oct 10, 2023
1 parent c85558c commit c1ed672
Show file tree
Hide file tree
Showing 38 changed files with 693 additions and 1,444 deletions.
9 changes: 9 additions & 0 deletions .changeset/@theguild_components-1275-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@theguild/components": patch
---
dependencies updates:
- Updated dependency [`nextra@3.0.0-alpha.4` ↗︎](https://www.npmjs.com/package/nextra/v/3.0.0) (from `2.13.2`, in `dependencies`)
- Updated dependency [`nextra-theme-docs@3.0.0-alpha.4` ↗︎](https://www.npmjs.com/package/nextra-theme-docs/v/3.0.0) (from `2.13.2`, in `dependencies`)
- Removed dependency [`focus-trap-react@10.2.2` ↗︎](https://www.npmjs.com/package/focus-trap-react/v/10.2.2) (from `dependencies`)
- Removed dependency [`react-instantsearch-dom@6.40.4` ↗︎](https://www.npmjs.com/package/react-instantsearch-dom/v/6.40.4) (from `dependencies`)
- Removed dependency [`use-debounce@9.0.4` ↗︎](https://www.npmjs.com/package/use-debounce/v/9.0.4) (from `dependencies`)
5 changes: 5 additions & 0 deletions .changeset/mean-hounds-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@theguild/components': major
---

update nextra to v3, remove Modal, Banner, SearchBar v1
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
"@theguild/tailwind-config": "0.3.0",
"@types/jest-image-snapshot": "6.2.1",
"@types/react": "18.2.25",
"@types/react-instantsearch-core": "6.26.5",
"@types/react-instantsearch-dom": "6.12.4",
"@types/react-paginate": "7.1.2",
"@types/webpack": "5.28.3",
"concurrently": "8.2.1",
Expand Down Expand Up @@ -85,6 +83,7 @@
},
"pnpm": {
"overrides": {
"hast-util-to-estree": "^2.3.3",
"@theguild/remark-npm2yarn": "workspace:*",
"@theguild/remark-mermaid": "workspace:*"
}
Expand Down
16 changes: 10 additions & 6 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"import": "./dist/next.config.mjs",
"types": "./dist/next.config.d.ts"
},
"./compile": {
"import": "./dist/compile.mjs",
"types": "./dist/compile.d.ts"
},
"./*": {
"import": "./dist/*.js",
"types": "./dist/*.d.ts"
Expand All @@ -38,6 +42,9 @@
],
"next.config": [
"./dist/next.config.d.ts"
],
"compile": [
"./dist/compile.d.ts"
]
}
},
Expand Down Expand Up @@ -67,18 +74,15 @@
"@radix-ui/react-navigation-menu": "1.1.4",
"algoliasearch": "4.19.1",
"clsx": "2.0.0",
"focus-trap-react": "10.2.2",
"fuzzy": "^0.1.3",
"next-videos": "1.5.0",
"nextra": "2.13.2",
"nextra-theme-docs": "2.13.2",
"react-instantsearch-dom": "6.40.4",
"nextra": "3.0.0-alpha.4",
"nextra-theme-docs": "3.0.0-alpha.4",
"react-paginate": "8.2.0",
"react-player": "2.13.0",
"remark-mdx-disable-explicit-jsx": "0.1.0",
"search-insights": "2.8.3",
"semver": "^7.3.8",
"use-debounce": "9.0.4"
"semver": "^7.3.8"
},
"devDependencies": {
"@theguild/algolia": "workspace:*",
Expand Down
3 changes: 3 additions & 0 deletions packages/components/src/compile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from 'nextra/compile';
export { remarkLinkRewrite } from 'nextra/mdx-plugins';
export { buildDynamicMDX, buildDynamicMeta } from 'nextra/remote';
36 changes: 0 additions & 36 deletions packages/components/src/components/banner.stories.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions packages/components/src/components/banner.tsx

This file was deleted.

Loading

1 comment on commit c1ed672

@vercel
Copy link

@vercel vercel bot commented on c1ed672 Oct 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.