fix: lint, type errors

test: specify types for path checks in interpreter tests

test: add optional chaining in lexer tests to prevent errors

test: add optional chaining in parser tests to prevent errors

fix: clean up whitespace and formatting in AST and lexer files

feat: enhance CLI with improved error handling and user prompts

fix: update index and interpreter files for better type handling

fix: clean up parser code for better readability and error handling

build: enable minification in tsdown configuration
This commit is contained in:
2025-09-01 02:44:45 +07:00
parent eb357ef703
commit 13d79e37bb
14 changed files with 279 additions and 248 deletions

View File

@@ -1,15 +1,19 @@
{
"name": "questlang-interpreter",
"version": "1.0.0",
"license": "MIT",
"description": "TypeScript interpreter for QuestLang programming language",
"license": "MIT",
"keywords": [
"questlang",
"interpreter",
"typescript",
"language"
],
"type": "module",
"exports": {
".": {
"import": "./dist/index.js"
}
},
"bin": {
"questlang": "dist/cli.js"
},
@@ -21,19 +25,14 @@
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix"
},
"dependencies": {
"@clack/prompts": "^0.11.0"
},
"devDependencies": {
"@antfu/eslint-config": "^5.2.1",
"@robonen/tsconfig": "^0.0.2",
"tsdown": "^0.14.2",
"typescript": "^5.9.2",
"vitest": "^3.2.4"
},
"dependencies": {
"@clack/prompts": "^0.11.0"
},
"exports": {
".": {
"import": "./dist/index.js"
}
}
}