mirror of
https://github.com/zulip/zulip.git
synced 2025-10-22 20:42:14 +00:00
starlight_help: Use ‘astro check’ for development only.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
db89874bb0
commit
57e8c44e81
5
.github/workflows/zulip-ci.yml
vendored
5
.github/workflows/zulip-ci.yml
vendored
@@ -155,6 +155,11 @@ jobs:
|
||||
PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
||||
PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
|
||||
|
||||
- name: Run astro check
|
||||
if: ${{ matrix.include_frontend_tests }}
|
||||
run: |
|
||||
pnpm run --filter=starlight_help check
|
||||
|
||||
- name: Run puppeteer tests
|
||||
if: ${{ matrix.include_frontend_tests }}
|
||||
run: |
|
||||
|
24
pnpm-lock.yaml
generated
24
pnpm-lock.yaml
generated
@@ -524,21 +524,12 @@ importers:
|
||||
|
||||
starlight_help:
|
||||
dependencies:
|
||||
'@astrojs/check':
|
||||
specifier: ^0.9.3
|
||||
version: 0.9.4(prettier-plugin-astro@0.14.1)(prettier@3.5.3)(typescript@5.9.2)
|
||||
'@astrojs/starlight':
|
||||
specifier: ^0.35.1
|
||||
version: 0.35.2(astro@5.13.5(@types/node@22.18.1)(encoding@0.1.13)(jiti@2.5.1)(rollup@4.50.0)(terser@5.44.0)(typescript@5.9.2)(yaml@2.8.1))
|
||||
'@iconify-json/fa':
|
||||
specifier: ^1.2.1
|
||||
version: 1.2.2
|
||||
'@types/hast':
|
||||
specifier: ^3.0.4
|
||||
version: 3.0.4
|
||||
'@types/mdast':
|
||||
specifier: ^4.0.4
|
||||
version: 4.0.4
|
||||
astro:
|
||||
specifier: ^5.1.2
|
||||
version: 5.13.5(@types/node@22.18.1)(encoding@0.1.13)(jiti@2.5.1)(rollup@4.50.0)(terser@5.44.0)(typescript@5.9.2)(yaml@2.8.1)
|
||||
@@ -560,9 +551,6 @@ importers:
|
||||
sharp:
|
||||
specifier: ^0.34.1
|
||||
version: 0.34.3
|
||||
typescript:
|
||||
specifier: ^5.4.5
|
||||
version: 5.9.2
|
||||
unist-util-visit:
|
||||
specifier: ^5.0.0
|
||||
version: 5.0.0
|
||||
@@ -570,6 +558,15 @@ importers:
|
||||
specifier: ^22.1.0
|
||||
version: 22.2.0
|
||||
devDependencies:
|
||||
'@astrojs/check':
|
||||
specifier: ^0.9.3
|
||||
version: 0.9.4(prettier-plugin-astro@0.14.1)(prettier@3.5.3)(typescript@5.9.2)
|
||||
'@types/hast':
|
||||
specifier: ^3.0.4
|
||||
version: 3.0.4
|
||||
'@types/mdast':
|
||||
specifier: ^4.0.4
|
||||
version: 4.0.4
|
||||
mdast-util-to-markdown:
|
||||
specifier: ^2.1.2
|
||||
version: 2.1.2
|
||||
@@ -624,6 +621,9 @@ importers:
|
||||
remark-stringify:
|
||||
specifier: ^11.0.0
|
||||
version: 11.0.0
|
||||
typescript:
|
||||
specifier: ^5.4.5
|
||||
version: 5.9.2
|
||||
unified:
|
||||
specifier: ^11.0.5
|
||||
version: 11.0.5
|
||||
|
@@ -5,16 +5,14 @@
|
||||
"scripts": {
|
||||
"dev": "astro dev",
|
||||
"start": "astro dev",
|
||||
"build": "astro check && astro build",
|
||||
"check": "astro check",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.9.3",
|
||||
"@astrojs/starlight": "^0.35.1",
|
||||
"@iconify-json/fa": "^1.2.1",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"astro": "^5.1.2",
|
||||
"hast-util-from-html": "^2.0.3",
|
||||
"hast-util-to-html": "^9.0.5",
|
||||
@@ -22,11 +20,13 @@
|
||||
"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"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.9.3",
|
||||
"@types/hast": "^3.0.4",
|
||||
"@types/mdast": "^4.0.4",
|
||||
"mdast-util-to-markdown": "^2.1.2",
|
||||
"remark-frontmatter": "^5.0.0",
|
||||
"remark-gfm": "^4.0.1",
|
||||
@@ -45,6 +45,7 @@
|
||||
"remark-preset-lint-markdown-style-guide": "^6.0.1",
|
||||
"remark-preset-lint-recommended": "^7.0.1",
|
||||
"remark-stringify": "^11.0.0",
|
||||
"typescript": "^5.4.5",
|
||||
"unified": "^11.0.5",
|
||||
"unified-lint-rule": "^3.0.1"
|
||||
}
|
||||
|
@@ -74,6 +74,7 @@ run ./tools/check-schemas
|
||||
run ./manage.py makemessages --locale en
|
||||
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
||||
run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
|
||||
run pnpm run --filter=starlight_help check
|
||||
run ./tools/test-js-with-puppeteer "${forcearg[@]}"
|
||||
|
||||
printf '\n\e[32mAll OK!\e[0m\n'
|
||||
|
Reference in New Issue
Block a user