From 8b0e1efd4f3e89fe19af92c60c65e0e855836155 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 2 Jan 2022 11:41:47 +0100 Subject: [PATCH] Merge pull request #10100 from ddevault/main codemirror-promql: use npm to run lezer-generator --- web/ui/module/codemirror-promql/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/ui/module/codemirror-promql/package.json b/web/ui/module/codemirror-promql/package.json index d21b73b52..4447b57e7 100644 --- a/web/ui/module/codemirror-promql/package.json +++ b/web/ui/module/codemirror-promql/package.json @@ -6,7 +6,7 @@ "module": "dist/esm/index.js", "scripts": { "build": "npm run build:grammar && npm run build:lib", - "build:grammar": "lezer-generator src/grammar/promql.grammar -o src/grammar/parser", + "build:grammar": "npx lezer-generator src/grammar/promql.grammar -o src/grammar/parser", "build:lib": "bash ./build.sh", "test": "npm run build:grammar && ts-mocha -p tsconfig.json ./**/*.test.ts", "test:coverage": "npm run build:grammar && nyc ts-mocha -p ./tsconfig.json ./**/*.test.ts",