mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +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-capitalization --no-generate
|
||||||
PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --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
|
- name: Run puppeteer tests
|
||||||
if: ${{ matrix.include_frontend_tests }}
|
if: ${{ matrix.include_frontend_tests }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
24
pnpm-lock.yaml
generated
24
pnpm-lock.yaml
generated
@@ -524,21 +524,12 @@ importers:
|
|||||||
|
|
||||||
starlight_help:
|
starlight_help:
|
||||||
dependencies:
|
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':
|
'@astrojs/starlight':
|
||||||
specifier: ^0.35.1
|
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))
|
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':
|
'@iconify-json/fa':
|
||||||
specifier: ^1.2.1
|
specifier: ^1.2.1
|
||||||
version: 1.2.2
|
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:
|
astro:
|
||||||
specifier: ^5.1.2
|
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)
|
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:
|
sharp:
|
||||||
specifier: ^0.34.1
|
specifier: ^0.34.1
|
||||||
version: 0.34.3
|
version: 0.34.3
|
||||||
typescript:
|
|
||||||
specifier: ^5.4.5
|
|
||||||
version: 5.9.2
|
|
||||||
unist-util-visit:
|
unist-util-visit:
|
||||||
specifier: ^5.0.0
|
specifier: ^5.0.0
|
||||||
version: 5.0.0
|
version: 5.0.0
|
||||||
@@ -570,6 +558,15 @@ importers:
|
|||||||
specifier: ^22.1.0
|
specifier: ^22.1.0
|
||||||
version: 22.2.0
|
version: 22.2.0
|
||||||
devDependencies:
|
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:
|
mdast-util-to-markdown:
|
||||||
specifier: ^2.1.2
|
specifier: ^2.1.2
|
||||||
version: 2.1.2
|
version: 2.1.2
|
||||||
@@ -624,6 +621,9 @@ importers:
|
|||||||
remark-stringify:
|
remark-stringify:
|
||||||
specifier: ^11.0.0
|
specifier: ^11.0.0
|
||||||
version: 11.0.0
|
version: 11.0.0
|
||||||
|
typescript:
|
||||||
|
specifier: ^5.4.5
|
||||||
|
version: 5.9.2
|
||||||
unified:
|
unified:
|
||||||
specifier: ^11.0.5
|
specifier: ^11.0.5
|
||||||
version: 11.0.5
|
version: 11.0.5
|
||||||
|
|||||||
@@ -5,16 +5,14 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "astro dev",
|
"dev": "astro dev",
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"build": "astro check && astro build",
|
"check": "astro check",
|
||||||
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/check": "^0.9.3",
|
|
||||||
"@astrojs/starlight": "^0.35.1",
|
"@astrojs/starlight": "^0.35.1",
|
||||||
"@iconify-json/fa": "^1.2.1",
|
"@iconify-json/fa": "^1.2.1",
|
||||||
"@types/hast": "^3.0.4",
|
|
||||||
"@types/mdast": "^4.0.4",
|
|
||||||
"astro": "^5.1.2",
|
"astro": "^5.1.2",
|
||||||
"hast-util-from-html": "^2.0.3",
|
"hast-util-from-html": "^2.0.3",
|
||||||
"hast-util-to-html": "^9.0.5",
|
"hast-util-to-html": "^9.0.5",
|
||||||
@@ -22,11 +20,13 @@
|
|||||||
"remark": "^15.0.1",
|
"remark": "^15.0.1",
|
||||||
"remark-mdx": "^3.1.0",
|
"remark-mdx": "^3.1.0",
|
||||||
"sharp": "^0.34.1",
|
"sharp": "^0.34.1",
|
||||||
"typescript": "^5.4.5",
|
|
||||||
"unist-util-visit": "^5.0.0",
|
"unist-util-visit": "^5.0.0",
|
||||||
"unplugin-icons": "^22.1.0"
|
"unplugin-icons": "^22.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@astrojs/check": "^0.9.3",
|
||||||
|
"@types/hast": "^3.0.4",
|
||||||
|
"@types/mdast": "^4.0.4",
|
||||||
"mdast-util-to-markdown": "^2.1.2",
|
"mdast-util-to-markdown": "^2.1.2",
|
||||||
"remark-frontmatter": "^5.0.0",
|
"remark-frontmatter": "^5.0.0",
|
||||||
"remark-gfm": "^4.0.1",
|
"remark-gfm": "^4.0.1",
|
||||||
@@ -45,6 +45,7 @@
|
|||||||
"remark-preset-lint-markdown-style-guide": "^6.0.1",
|
"remark-preset-lint-markdown-style-guide": "^6.0.1",
|
||||||
"remark-preset-lint-recommended": "^7.0.1",
|
"remark-preset-lint-recommended": "^7.0.1",
|
||||||
"remark-stringify": "^11.0.0",
|
"remark-stringify": "^11.0.0",
|
||||||
|
"typescript": "^5.4.5",
|
||||||
"unified": "^11.0.5",
|
"unified": "^11.0.5",
|
||||||
"unified-lint-rule": "^3.0.1"
|
"unified-lint-rule": "^3.0.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ run ./tools/check-schemas
|
|||||||
run ./manage.py makemessages --locale en
|
run ./manage.py makemessages --locale en
|
||||||
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
||||||
run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --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[@]}"
|
run ./tools/test-js-with-puppeteer "${forcearg[@]}"
|
||||||
|
|
||||||
printf '\n\e[32mAll OK!\e[0m\n'
|
printf '\n\e[32mAll OK!\e[0m\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user