mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Clean up stale yarn references after pnpm migration
Remove the yarn install target from packages/web_client/Makefile since client builds now use corepack/pnpm via the root Makefile, and fix a few leftover yarn mentions in comments and docs.
This commit is contained in:
@@ -13,7 +13,7 @@ import { gunzipSync } from "node:zlib";
|
||||
* 2. Replace production bundle URLs with Vite dev server entry points
|
||||
* 3. Remove production CSS (Vite injects CSS via JS in dev mode)
|
||||
*
|
||||
* This allows `GALAXY_URL=https://usegalaxy.org yarn develop` to work with
|
||||
* This allows `GALAXY_URL=https://usegalaxy.org pnpm develop` to work with
|
||||
* full HMR support without any server-side changes.
|
||||
*/
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
This wrapper script largely serves as a point documentation and convenience for
|
||||
running Galaxy's Python tests. All Python tests shipped with Galaxy can be run with
|
||||
pytest directly. Galaxy's client unit tests can be run with make client-test
|
||||
or yarn directly as documented in detail in client/README.md.
|
||||
or pnpm directly as documented in detail in client/README.md.
|
||||
|
||||
The main test types are as follows:
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ api_tags_metadata = [
|
||||
|
||||
# Set this if asset handling should be sent to vite.
|
||||
# Run vite with:
|
||||
# yarn dev
|
||||
# pnpm dev
|
||||
# Start tool shed with:
|
||||
# TOOL_SHED_VITE_PORT=4040 TOOL_SHED_API_VERSION=v2 ./run_tool_shed.sh
|
||||
TOOL_SHED_VITE_PORT: Optional[str] = os.environ.get("TOOL_SHED_VITE_PORT", None)
|
||||
|
||||
@@ -54,15 +54,10 @@ setup-venv:
|
||||
test:
|
||||
$(IN_VENV) pytest $(TESTS)
|
||||
|
||||
dist: clean $(VENV)/bin/yarn galaxy/web_client/client_build_hash.txt
|
||||
dist: clean setup-venv galaxy/web_client/client_build_hash.txt
|
||||
$(IN_VENV) python -m build
|
||||
ls -l dist
|
||||
|
||||
$(VENV)/bin/yarn: setup-venv
|
||||
$(IN_VENV) pip install build nodeenv
|
||||
$(IN_VENV) nodeenv -n $(shell cat ../../client/.node_version) -p
|
||||
$(IN_VENV) npm install --global yarn
|
||||
|
||||
galaxy/web_client/client_build_hash.txt:
|
||||
$(IN_VENV) cd ../..; make client-production
|
||||
mv ../../client/dist galaxy/web_client
|
||||
|
||||
Reference in New Issue
Block a user