feat(ui): yarn -> pnpm (#26309)

This commit is contained in:
Alexey Kulakov
2025-08-20 13:01:22 -07:00
committed by GitHub
parent ee5059a6a7
commit 919e5c2aa4
40 changed files with 16767 additions and 14794 deletions

View File

@@ -379,18 +379,18 @@ static-assets: ## Compile the static routes to serve alongside the API
.PHONY: test-ui
test-ui: ## Run Nomad UI test suite
@echo "==> Installing JavaScript assets"
@cd ui && npm rebuild node-sass
@cd ui && yarn install
@pnpm rebuild node-sass
@pnpm install --silent --fetch-timeout 300000
@echo "==> Running ember tests"
@cd ui && npm test
@pnpm -F nomad-ui test
.PHONY: ember-dist
ember-dist: ## Build the static UI assets from source
@echo "==> Installing JavaScript assets"
@cd ui && yarn install --silent --network-timeout 300000
@cd ui && npm rebuild node-sass
@pnpm install --silent --fetch-timeout 300000
@pnpm rebuild node-sass
@echo "==> Building Ember application"
@cd ui && npm run build
@pnpm -F nomad-ui build
.PHONY: dev-ui
dev-ui: ember-dist static-assets ## Build a dev UI binary