From e1b7267699cf2386c7a6ef56dc8c6f8ce4cd0cce Mon Sep 17 00:00:00 2001 From: verytactical <186486509+verytactical@users.noreply.github.com> Date: Fri, 27 Dec 2024 19:27:34 +0400 Subject: [PATCH] fix: knip --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ae3aab61..054808dac 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "author": "Steve Korshakov ", "license": "MIT", "scripts": { - "gen:grammar": "ohm generateBundles --withTypes src/grammar/*.ohm", + "gen:grammar:old": "ohm generateBundles --withTypes src/grammar/prev/*.ohm", + "gen:grammar:new": "pgen src/grammar/next/grammar.gg -o src/grammar/next/grammar.ts", + "gen:grammar": "yarn gen:grammar:old && yarn gen:grammar:new", "gen:pack": "ts-node ./scripts/pack.ts", "gen:compiler": "ts-node ./scripts/prepare.ts", "gen": "yarn gen:grammar && yarn gen:pack && yarn gen:compiler",