From 702aa2b9c3274ea254b3b1dbe444c9a4da4b2b32 Mon Sep 17 00:00:00 2001 From: Midgard Date: Wed, 18 Dec 2024 01:41:40 +0100 Subject: [PATCH] Fix: order of commands in npm run init ELI should be downloaded before generate, because it depends on that file. After clearing the generated assets directory, npm run init failed, this commit fixes that. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 23153a906..66eaba818 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ } }, "scripts": { - "init": "npm ci && npm run prep:layeroverview && npm run generate && npm run download:editor-layer-index && npm run generate:layouts && npm run clean", + "init": "npm ci && npm run prep:layeroverview && npm run download:editor-layer-index && npm run generate && npm run generate:layouts && npm run clean", "start": "npm run generate:layeroverview && npm run strt", "strt": "vite --host | sed 's/localhost:/127.0.0.1:/g'", "build": "./scripts/build.sh",