Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
starlight_help: Use ‘astro check’ for development only.
Anders Kaseorg57e8c44e8137
diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.ymlindex 63c58b19a17..dcd4637f045 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -155,6 +155,11 @@ jobs:PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generatePYTHONWARNINGS=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 testsif: ${{ matrix.include_frontend_tests }}run: |diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e6b9d3093ca..4f860e78d3b 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -524,21 +524,12 @@ importers:starlight_help:dependencies:- '@astrojs/check':- specifier: ^0.9.3'@astrojs/starlight':specifier: ^0.35.1version: 0.35.2([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))'@iconify-json/fa':specifier: ^1.2.1version: 1.2.2- '@types/hast':- specifier: ^3.0.4- version: 3.0.4- '@types/mdast':- specifier: ^4.0.4- version: 4.0.4astro:specifier: ^5.1.2version: 5.13.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])([email protected])@@ -560,9 +551,6 @@ importers:sharp:specifier: ^0.34.1version: 0.34.3- typescript:- specifier: ^5.4.5- version: 5.9.2unist-util-visit:specifier: ^5.0.0version: 5.0.0@@ -570,6 +558,15 @@ importers:specifier: ^22.1.0version: 22.2.0devDependencies:+ '@astrojs/check':+ specifier: ^0.9.3+ '@types/hast':+ specifier: ^3.0.4+ version: 3.0.4+ '@types/mdast':+ specifier: ^4.0.4+ version: 4.0.4mdast-util-to-markdown:specifier: ^2.1.2version: 2.1.2@@ -624,6 +621,9 @@ importers:remark-stringify:specifier: ^11.0.0version: 11.0.0+ typescript:+ specifier: ^5.4.5+ version: 5.9.2unified:specifier: ^11.0.5version: 11.0.5diff --git a/starlight_help/package.json b/starlight_help/package.jsonindex 767cc42e57a..32f5120593b 100644--- a/starlight_help/package.json+++ b/starlight_help/package.json@@ -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"}diff --git a/tools/test-all b/tools/test-allindex d01a3df9ddd..c9c5a03a903 100755--- a/tools/test-all+++ b/tools/test-all@@ -74,6 +74,7 @@ run ./tools/check-schemasrun ./manage.py makemessages --locale enrun env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generaterun env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate+run pnpm run --filter=starlight_help checkrun ./tools/test-js-with-puppeteer "${forcearg[@]}"printf '\n\e[32mAll OK!\e[0m\n'