From 3d5aa9ea429dabe4aa5e9f4531727ff87dab57cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20Ko=CC=88ninger?= Date: Thu, 14 May 2026 23:05:10 +0200 Subject: [PATCH] fix(#5345): remove cross-env dependency and NODE_ENV=development --- spring-boot-admin-server-ui/package-lock.json | 26 ------------------- spring-boot-admin-server-ui/package.json | 5 ++-- 2 files changed, 2 insertions(+), 29 deletions(-) diff --git a/spring-boot-admin-server-ui/package-lock.json b/spring-boot-admin-server-ui/package-lock.json index b7b143545fd..a838abe069e 100644 --- a/spring-boot-admin-server-ui/package-lock.json +++ b/spring-boot-admin-server-ui/package-lock.json @@ -75,7 +75,6 @@ "@vitejs/plugin-vue": "6.0.6", "@vue/test-utils": "2.4.10", "axios-mock-adapter": "^2.1.0", - "cross-env": "^10.1.0", "eslint": "^10.0.0", "eslint-config-prettier": "^10.0.0", "eslint-plugin-prettier": "^5.0.0", @@ -476,13 +475,6 @@ "tslib": "^2.4.0" } }, - "node_modules/@epic-web/invariant": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@epic-web/invariant/-/invariant-1.0.0.tgz", - "integrity": "sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==", - "dev": true, - "license": "MIT" - }, "node_modules/@esbuild/aix-ppc64": { "version": "0.28.0", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.0.tgz", @@ -4669,24 +4661,6 @@ "cronstrue": "bin/cli.js" } }, - "node_modules/cross-env": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-10.1.0.tgz", - "integrity": "sha512-GsYosgnACZTADcmEyJctkJIoqAhHjttw7RsFrVoJNXbsWWqaq6Ym+7kZjq6mS45O0jij6vtiReppKQEtqWy6Dw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@epic-web/invariant": "^1.0.0", - "cross-spawn": "^7.0.6" - }, - "bin": { - "cross-env": "dist/bin/cross-env.js", - "cross-env-shell": "dist/bin/cross-env-shell.js" - }, - "engines": { - "node": ">=20" - } - }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", diff --git a/spring-boot-admin-server-ui/package.json b/spring-boot-admin-server-ui/package.json index 025044475db..ab87bf6182c 100644 --- a/spring-boot-admin-server-ui/package.json +++ b/spring-boot-admin-server-ui/package.json @@ -4,8 +4,8 @@ "description": "Spring Boot Admin UI", "scripts": { "build": "vite build --emptyOutDir --sourcemap", - "build:dev": "cross-env NODE_ENV=development vite build --emptyOutDir --sourcemap --mode development", - "build:watch": "cross-env NODE_ENV=development vite build --emptyOutDir --sourcemap --watch --mode development", + "build:dev": "vite build --emptyOutDir --sourcemap --mode development", + "build:watch": "vite build --emptyOutDir --sourcemap --watch --mode development", "dev": "vite", "test": "vitest run --silent", "test:watch": "vitest", @@ -86,7 +86,6 @@ "@vitejs/plugin-vue": "6.0.6", "@vue/test-utils": "2.4.10", "axios-mock-adapter": "^2.1.0", - "cross-env": "^10.1.0", "eslint": "^10.0.0", "eslint-config-prettier": "^10.0.0", "eslint-plugin-prettier": "^5.0.0",