docs: migrate UI docs (#13245)

* docs: create a new UI docs project (#13233)

* docs: create a new UI docs project

* fix installation errors

* docs: migrate UI docs content to new project (#13241)

* Fix content

* added examples for some components

* finish adding examples

* lint fix

* fix build errors

* delete empty files

* path fixes + refactor

* fix build error
This commit is contained in:
Shahed Nasser
2025-08-20 11:42:25 +03:00
committed by GitHub
parent 5b7a041246
commit d1a1135328
748 changed files with 13079 additions and 7319 deletions
+25 -30
View File
@@ -4,56 +4,51 @@
"private": true,
"scripts": {
"dev": "next dev",
"dev:monorepo": "yarn dev -p 3002",
"contentlayer:build": "contentlayer build",
"build": "yarn copy-colors && yarn contentlayer:build && next build",
"dev:monorepo": "yarn prep && yarn dev -p 3005",
"build": "yarn prep && next build",
"build:dev": "NODE_ENV=test yarn build",
"start": "next start",
"start:monorepo": "yarn start -p 3002",
"start:monorepo": "yarn start -p 3005",
"lint": "next lint --fix",
"copy-colors": "ts-node ./scripts/copy-colors.ts",
"lint:content": "eslint --no-config-lookup -c .content.eslintrc.mjs src/content/docs --fix"
"lint:content": "eslint --no-config-lookup -c .content.eslintrc.mjs app/**/*.mdx --fix",
"prep": "node ./scripts/prepare.mjs"
},
"dependencies": {
"@faker-js/faker": "^8.0.2",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@medusajs/icons": "2.9.0",
"@medusajs/ui": "4.0.19",
"@medusajs/ui-preset": "2.9.0",
"autoprefixer": "10.4.14",
"build-scripts": "*",
"clsx": "^2.0.0",
"contentlayer": "^0.3.4",
"date-fns": "^3.3.1",
"@next/mdx": "15.3.5",
"@stefanprobst/rehype-extract-toc": "^3.0.0",
"clsx": "^2.1.0",
"docs-ui": "*",
"docs-utils": "*",
"mdast-util-toc": "^7.0.0",
"next": "15.3.5",
"next-contentlayer": "^0.3.4",
"next-themes": "^0.2.1",
"postcss": "8.4.27",
"react": "rc",
"react-dom": "rc",
"rehype-mdx-code-props": "^3.0.1",
"rehype-mdx-code-props": "^2.0.0",
"rehype-slug": "^6.0.0",
"remark": "^14.0.3",
"slugify": "^1.6.6",
"tailwind": "*",
"tailwindcss": "3.3.3",
"typescript": "5.1.6",
"unist-builder": "3.0.0",
"unist-util-visit": "4.1.2"
"remark-directive": "^3.0.0",
"remark-frontmatter": "^5.0.0",
"remark-rehype-plugins": "*",
"slugify": "^1.6.6"
},
"devDependencies": {
"@types/node": "20.4.9",
"@types/mdx": "^2.0.13",
"@types/node": "^20",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react@rc",
"autoprefixer": "^10.0.1",
"build-scripts": "*",
"eslint": "^9.13.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react-hooks": "^5.0.0",
"react-docgen": "^7.1.0",
"remark-rehype-plugins": "*",
"ts-node": "^10.9.1",
"types": "*"
"postcss": "^8",
"tailwind": "*",
"tailwindcss": "^3.3.0",
"tsconfig": "*",
"types": "*",
"typescript": "^5"
},
"engines": {
"node": ">=20"