mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
The format step was converting our ordered list items to have
incremental numbering instead of using `1.` for every list item. This
was not because of any remark-lint rule, but because of
`remark-stringify` which auto increments any lists it processes. We
followed the recommended fix from
ae2f941d88/packages/remark-lint-ordered-list-marker-value/readme.md (L185)
We also don't need remark-lint-ordered-list-marker-value package, since
that is already part of the markdown style guide with the value we
desire. Setting it to false was a mistake in the first place.
55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"name": "help-beta",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro check && astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro",
|
|
"format": "remark --ext mdx --frail --output --quiet --use remark-mdx -- .",
|
|
"format-silent": "remark --ext mdx --output --silent --use remark-mdx -- ."
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/check": "^0.9.3",
|
|
"@astrojs/starlight": "^0.35.1",
|
|
"@iconify-json/fa": "^1.2.1",
|
|
"@types/hast": "^3.0.4",
|
|
"astro": "^5.1.2",
|
|
"hast-util-from-html": "^2.0.3",
|
|
"hast-util-to-html": "^9.0.5",
|
|
"mdast-util-to-string": "^4.0.0",
|
|
"remark": "^15.0.1",
|
|
"remark-mdx": "^3.1.0",
|
|
"sharp": "^0.34.1",
|
|
"typescript": "^5.4.5",
|
|
"unist-util-visit": "^5.0.0",
|
|
"unplugin-icons": "^22.1.0",
|
|
"zod": "^3.25.67"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mdast": "^4.0.4",
|
|
"remark-cli": "^12.0.1",
|
|
"remark-frontmatter": "^5.0.0",
|
|
"remark-lint-fenced-code-flag": "^4.2.0",
|
|
"remark-lint-file-extension": "^3.0.1",
|
|
"remark-lint-final-definition": "^4.0.2",
|
|
"remark-lint-heading-increment": "^4.0.1",
|
|
"remark-lint-list-item-indent": "^4.0.1",
|
|
"remark-lint-list-item-spacing": "^5.0.1",
|
|
"remark-lint-maximum-heading-length": "^4.1.1",
|
|
"remark-lint-maximum-line-length": "^4.1.1",
|
|
"remark-lint-no-duplicate-definitions": "^4.0.1",
|
|
"remark-lint-no-duplicate-headings": "^4.0.1",
|
|
"remark-lint-no-file-name-irregular-characters": "^3.0.1",
|
|
"remark-lint-no-file-name-mixed-case": "^3.0.1",
|
|
"remark-lint-no-unused-definitions": "^4.0.2",
|
|
"remark-lint-unordered-list-marker-style": "^4.0.1",
|
|
"remark-preset-lint-markdown-style-guide": "^6.0.1",
|
|
"remark-preset-lint-recommended": "^7.0.1",
|
|
"remark-stringify": "^11.0.0",
|
|
"unified": "^11.0.5"
|
|
}
|
|
}
|