Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
"prepare": "husky"
},
"dependencies": {
"@apollo/client": "^3.12.8",
"@apollo/client": "^3.13.1",
"@faustwp/blocks": "^6.0.0",
"@faustwp/cli": "^3.1.1",
"@faustwp/core": "^3.2.0",
"@headlessui/react": "^2.2.0",
"@heroicons/react": "^2.2.0",
"@icons-pack/react-simple-icons": "^11.2.0",
"@icons-pack/react-simple-icons": "^12.0.0",
"@js-temporal/polyfill": "^0.4.4",
"@mdx-js/loader": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@next/mdx": "^15.1.6",
"@shikijs/transformers": "^2.2.0",
"@next/mdx": "^15.1.7",
"@shikijs/transformers": "^3.0.0",
"@sindresorhus/slugify": "^2.2.1",
"classnames": "^2.5.1",
"date-fns": "^4.1.0",
Expand All @@ -36,39 +36,39 @@
"html-to-text": "^9.0.5",
"http-status-codes": "^2.3.0",
"lodash.debounce": "^4.0.8",
"next": "^15.1.1",
"next": "^15.1.7",
"next-sitemap": "^4.2.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"recma-nextjs-static-props": "^2.0.1",
"rehype-callouts": "^2.0.0",
"rehype-callouts": "^2.0.1",
"rehype-mdx-import-media": "^1.2.0",
"rehype-pretty-code": "^0.14.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.0",
"shiki": "^2.2.0"
"remark-gfm": "^4.0.1",
"shiki": "^3.0.0"
},
"devDependencies": {
"eslint-plugin-unicorn": "^56.0.1",
"@tailwindcss/postcss": "^4.0.1",
"@tailwindcss/postcss": "^4.0.7",
"@tailwindcss/typography": "^0.5.15",
"eslint": "^9.19.0",
"eslint": "^9.20.1",
"eslint-config-neon": "^0.2.4",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-unicorn": "^56.0.1",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"next-secure-headers": "^2.2.0",
"postcss": "^8.4.49",
"postcss": "^8.5.3",
"postcss-nesting": "^13.0.1",
"prettier": "^3.4.2",
"prettier": "^3.5.1",
"prettier-plugin-tailwindcss": "^0.6.11",
"tailwindcss": "^4.0.1"
"tailwindcss": "^4.0.7"
},
"engines": {
"node": "^22",
"npm": "use-pnpm"
},
"packageManager": "pnpm@10.2.0+sha512.0d27364e0139c6aadeed65ada153135e0ca96c8da42123bd50047f961339dc7a758fc2e944b428f52be570d1bd3372455c1c65fa2e7aa0bfbf931190f9552001",
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af",
"lint-staged": {
"*": "pnpm format",
"*.{js,jsx}": "pnpm lint"
Expand Down
167 changes: 152 additions & 15 deletions patches/rehype-pretty-code.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,159 @@ index 914285807221289f4a9b822fbcf18bec8e6da588..1470a5e4df4a68025de1a4b96444afb9
import { toString } from 'hast-util-to-string';
import rangeParser2 from 'parse-numeric-range';
diff --git a/package.json b/package.json
index 6d1e6d34025aa421ae4f4d6b302980ace4a60a54..a6f1a49c2b47fb6280e1b16b986147d49d235ca1 100644
index 6d1e6d34025aa421ae4f4d6b302980ace4a60a54..287d2f25fea0113ee5fa2b10afaaabac0839436f 100644
--- a/package.json
+++ b/package.json
@@ -32,13 +32,13 @@
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
@@ -1,77 +1,77 @@
{
- "name": "rehype-pretty-code",
- "version": "0.14.0",
- "description": "Beautiful code for your MD/MDX docs.",
- "homepage": "https://rehype-pretty.pages.dev",
- "type": "module",
- "main": "./dist/index.js",
- "module": "./dist/index.js",
- "source": "./src/index.ts",
- "types": "./dist/index.d.ts",
- "exports": {
- ".": {
- "types": "./dist/index.d.ts",
- "import": "./dist/index.js",
- "default": "./dist/index.js"
- },
- "./package.json": "./package.json"
- },
- "files": [
- "dist",
- "package.json",
- "README.md",
- "LICENSE"
- ],
- "dependencies": {
- "@types/hast": "^3.0.4",
- "hast-util-to-string": "^3.0.0",
- "parse-numeric-range": "^1.3.0",
- "rehype-parse": "^9.0.0",
- "unified": "^11.0.5",
- "unist-util-visit": "^5.0.0"
- },
- "devDependencies": {
- "@arethetypeswrong/cli": "^0.15.3",
- "@shikijs/transformers": "^1.9.1",
+ "@shikijs/transformers": "^2.2.0",
"@types/node": "^20.14.9",
"hast-util-to-html": "^9.0.1",
"mdast-util-to-hast": "^13.2.0",
"prettier": "^3.3.2",
"remark": "^15.0.1",
- "@types/node": "^20.14.9",
- "hast-util-to-html": "^9.0.1",
- "mdast-util-to-hast": "^13.2.0",
- "prettier": "^3.3.2",
- "remark": "^15.0.1",
- "shiki": "^1.9.1",
+ "shiki": "^2.2.0",
"tsup": "^8.1.0",
"tsx": "^4.15.7",
"typescript": "^5.5.2",
- "tsup": "^8.1.0",
- "tsx": "^4.15.7",
- "typescript": "^5.5.2",
- "vite": "^5.3.1",
- "vitest": "^1.6.0"
- },
- "peerDependencies": {
- "shiki": "^1.3.0"
- },
- "engines": {
- "node": ">=18"
- },
- "publishConfig": {
- "access": "public",
- "provenance": true
- },
- "sideEffects": false,
- "repository": {
- "type": "git",
- "url": "git+https://github.com/rehype-pretty/rehype-pretty-code.git",
- "directory": "packages/core"
- },
- "browserslist": [
- "node 18"
- ],
- "author": "https://github.com/atomiks",
- "license": "MIT",
- "scripts": {
- "build": "tsup --config=tsup.config.ts",
- "test": "vitest --run",
- "typecheck": "tsc --project tsconfig.json --noEmit",
- "clean": "rm -rf dist",
- "prebuild": "rm -rf dist",
- "check-package": "pnpm dlx publint@latest --strict && attw --pack --ignore-rules cjs-resolves-to-esm"
- }
+ "name": "rehype-pretty-code",
+ "version": "0.14.0",
+ "description": "Beautiful code for your MD/MDX docs.",
+ "homepage": "https://rehype-pretty.pages.dev",
+ "type": "module",
+ "main": "./dist/index.js",
+ "module": "./dist/index.js",
+ "source": "./src/index.ts",
+ "types": "./dist/index.d.ts",
+ "exports": {
+ ".": {
+ "types": "./dist/index.d.ts",
+ "import": "./dist/index.js",
+ "default": "./dist/index.js"
+ },
+ "./package.json": "./package.json"
+ },
+ "files": [
+ "dist",
+ "package.json",
+ "README.md",
+ "LICENSE"
+ ],
+ "dependencies": {
+ "@types/hast": "^3.0.4",
+ "hast-util-to-string": "^3.0.0",
+ "parse-numeric-range": "^1.3.0",
+ "rehype-parse": "^9.0.0",
+ "unified": "^11.0.5",
+ "unist-util-visit": "^5.0.0"
+ },
+ "devDependencies": {
+ "@arethetypeswrong/cli": "^0.15.3",
+ "@shikijs/transformers": "^3.0.0",
+ "@types/node": "^20.14.9",
+ "hast-util-to-html": "^9.0.1",
+ "mdast-util-to-hast": "^13.2.0",
+ "prettier": "^3.3.2",
+ "remark": "^15.0.1",
+ "shiki": "^3.0.0",
+ "tsup": "^8.1.0",
+ "tsx": "^4.15.7",
+ "typescript": "^5.5.2",
+ "vite": "^5.3.1",
+ "vitest": "^1.6.0"
+ },
+ "peerDependencies": {
+ "shiki": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ },
+ "publishConfig": {
+ "access": "public",
+ "provenance": true
+ },
+ "sideEffects": false,
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/rehype-pretty/rehype-pretty-code.git",
+ "directory": "packages/core"
+ },
+ "browserslist": [
+ "node 18"
+ ],
+ "author": "https://github.com/atomiks",
+ "license": "MIT",
+ "scripts": {
+ "build": "tsup --config=tsup.config.ts",
+ "test": "vitest --run",
+ "typecheck": "tsc --project tsconfig.json --noEmit",
+ "clean": "rm -rf dist",
+ "prebuild": "rm -rf dist",
+ "check-package": "pnpm dlx publint@latest --strict && attw --pack --ignore-rules cjs-resolves-to-esm"
+ }
}
Loading