switching language to tswq

This commit is contained in:
2025-08-17 16:10:13 -06:00
parent f554b09efc
commit 03662d980f
26 changed files with 573 additions and 4596 deletions

View File

@@ -0,0 +1,26 @@
{
"name": "boringlang",
"version": "0.1.0",
"type": "module",
"description": "The Boring programming language CLI",
"author": "Andrew Segavac",
"homepage": "https://code.buildbetter.boats/asegavac/boringlang",
"repository": {
"type": "git",
"url": "ssh://gitea@code.buildbetter.boats:2282/asegavac/boringlang.git"
},
"scripts": {
"dev": "bun run src/index.ts",
"build": "bun build ./src/index.ts --outfile dist/boringlang --compile",
"test": "bun test",
"type-check": "tsc --noEmit",
},
"dependencies": {
"@bunli/core": "latest",
},
"devDependencies": {
"@bunli/test": "latest",
"@types/bun": "latest",
"bunli": "latest"
}
}

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bun
import { createCLI } from "@bunli/core";
const cli = createCLI({
name: "boringlang",
version: "0.1.0",
description: "Boring programming language CLI",
});
await cli.run();

View File

@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"outDir": "./dist",
"rootDir": "./src",
"types": ["bun-types"]
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test/**/*"]
}