Skip to content

Commit da338bc

Browse files
authored
chore(deps): update dependencies (#108)
* chore(deps): update dependencies * chore(deps): upgrade dependencies * fix(types): update import type * chore(packages): upgrade `@halvaradop/tailwindcss` packages (#109) * chore(utilities): upgrade `@halvaradop/tailwindcss-utilities` * refactor(animation): upgrade `@halvaradop/tailwindcss-animations` * chore(animations): add `animation-` utilities - `animation-count-` - `animation-fill-mode-` - `animation-range-` - `animation-timeline-` * chore(app): implement the new version of the packages - Remove unnecesary code - Remove test in `animations` and `utilities` packages * chore(docs): update `README.md` files * chore(ui): update website (#110) * chore(ui): update website * chore(mdx): setup `mdx` * chore(ui): update website * chore: remove unnecessary code * chore(deps): remove `shiki` dependency
1 parent d227f95 commit da338bc

72 files changed

Lines changed: 3611 additions & 7323 deletions

Some content is hidden

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

app/mdx-components.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import type { MDXComponents } from "mdx/types"
2+
3+
export function useMDXComponents(components: MDXComponents): MDXComponents {
4+
return { ...components }
5+
}

app/next.config.mjs

Lines changed: 0 additions & 4 deletions
This file was deleted.

app/next.config.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import type { NextConfig } from "next"
2+
import createMDX from "@next/mdx"
3+
import rehypeHighlight from "rehype-highlight"
4+
5+
const nextConfig: NextConfig = {
6+
pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"],
7+
reactStrictMode: true,
8+
}
9+
10+
const withMDX = createMDX({
11+
extension: /\.mdx?$/,
12+
options: {
13+
remarkPlugins: [],
14+
rehypePlugins: [rehypeHighlight],
15+
},
16+
})
17+
18+
export default withMDX(nextConfig)

app/package.json

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,27 @@
1111
"format:check": "prettier --check ."
1212
},
1313
"dependencies": {
14-
"@halvaradop/ui-button": "^0.3.2",
15-
"@halvaradop/ui-core": "^0.2.1",
14+
"@halvaradop/ui-button": "0.4.0-beta.1",
15+
"@halvaradop/ui-core": "^0.5.0",
16+
"@mdx-js/loader": "^3.1.0",
17+
"@mdx-js/react": "^3.1.0",
18+
"@next/mdx": "^15.3.1",
1619
"framer-motion": "12.0.0-alpha.2",
17-
"next": "15.1.0",
18-
"react": "19.0.0-rc-66855b96-20241106",
19-
"react-dom": "19.0.0-rc-66855b96-20241106"
20+
"highlight.js": "^11.11.1",
21+
"next": "15.2.4",
22+
"react": "19.1.0",
23+
"react-dom": "19.1.0",
24+
"rehype-highlight": "^7.0.2"
2025
},
2126
"devDependencies": {
2227
"@halvaradop/tailwindcss-animations": "workspace:*",
2328
"@halvaradop/tailwindcss-core": "workspace:*",
2429
"@halvaradop/tailwindcss-utilities": "workspace:*",
25-
"@types/node": "^20.17.9",
26-
"@types/react": "^19.0.1",
27-
"@types/react-dom": "^19.0.2",
28-
"class-variance-authority": "^0.7.1",
29-
"shiki": "^1.24.2"
30+
"@tailwindcss/postcss": "^4.1.4",
31+
"@types/mdx": "^2.0.13",
32+
"@types/node": "^22.14.0",
33+
"@types/react": "^19.1.0",
34+
"@types/react-dom": "^19.1.1",
35+
"class-variance-authority": "^0.7.1"
3036
}
3137
}

app/postcss.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @type {import('postcss-load-config').Config} */
22
const config = {
33
plugins: {
4-
tailwindcss: {},
4+
"@tailwindcss/postcss": {},
55
},
66
}
77

app/public/assets/background.svg

Lines changed: 0 additions & 41 deletions
This file was deleted.

app/public/assets/community.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/public/assets/configurable-plugins.svg

Lines changed: 0 additions & 35 deletions
This file was deleted.

app/public/assets/console.svg

Lines changed: 3 additions & 0 deletions
Loading

app/public/assets/discussion.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)