From e680ef0263c81bca7c1835b9f7908bb3495abd65 Mon Sep 17 00:00:00 2001 From: SikongJueluo <1822250894@qq.com> Date: Mon, 27 Oct 2025 22:33:27 +0800 Subject: [PATCH] reconstruct: project compile --- .justfile | 10 +++++----- targets/tsconfig.accesscontrol.json | 9 +++++++++ targets/tsconfig.autocraft.json | 9 +++++++++ targets/tsconfig.cliExample.json | 9 +++++++++ targets/tsconfig.test.json | 9 +++++++++ targets/tsconfig.tuiExample.json | 9 +++++++++ tsconfig.accesscontrol.json | 9 --------- tsconfig.autocraft.json | 9 --------- tsconfig.cliExample.json | 9 --------- tsconfig.test.json | 9 --------- tsconfig.tuiExample.json | 9 --------- 11 files changed, 50 insertions(+), 50 deletions(-) create mode 100644 targets/tsconfig.accesscontrol.json create mode 100644 targets/tsconfig.autocraft.json create mode 100644 targets/tsconfig.cliExample.json create mode 100644 targets/tsconfig.test.json create mode 100644 targets/tsconfig.tuiExample.json delete mode 100644 tsconfig.accesscontrol.json delete mode 100644 tsconfig.autocraft.json delete mode 100644 tsconfig.cliExample.json delete mode 100644 tsconfig.test.json delete mode 100644 tsconfig.tuiExample.json diff --git a/.justfile b/.justfile index 0bb07ee..f73aa69 100644 --- a/.justfile +++ b/.justfile @@ -5,21 +5,21 @@ sync-path := if os_family() == "windows" { "/cygdrive/c/Users/sikongjueluo/AppDa build: build-autocraft build-accesscontrol build-test build-example sync build-autocraft: - pnpm tstl -p ./tsconfig.autocraft.json + pnpm tstl -p ./targets/tsconfig.autocraft.json build-accesscontrol: - pnpm tstl -p ./tsconfig.accesscontrol.json + pnpm tstl -p ./targets/tsconfig.accesscontrol.json build-test: - pnpm tstl -p ./tsconfig.test.json + pnpm tstl -p ./targets/tsconfig.test.json build-example: build-tuiExample build-cliExample build-tuiExample: - pnpm tstl -p ./tsconfig.tuiExample.json + pnpm tstl -p ./targets/tsconfig.tuiExample.json build-cliExample: - pnpm tstl -p ./tsconfig.cliExample.json + pnpm tstl -p ./targets/tsconfig.cliExample.json sync: rsync --delete -r "./build/" "{{ sync-path }}" diff --git a/targets/tsconfig.accesscontrol.json b/targets/tsconfig.accesscontrol.json new file mode 100644 index 0000000..976f19b --- /dev/null +++ b/targets/tsconfig.accesscontrol.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", + "extends": "../tsconfig.json", + "tstl": { + "luaBundle": "../build/accesscontrol.lua", + "luaBundleEntry": "../src/accesscontrol/main.ts" + }, + "include": ["../src/accesscontrol/*.ts"] +} diff --git a/targets/tsconfig.autocraft.json b/targets/tsconfig.autocraft.json new file mode 100644 index 0000000..e4f4d93 --- /dev/null +++ b/targets/tsconfig.autocraft.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", + "extends": "../tsconfig.json", + "tstl": { + "luaBundle": "../build/autocraft.lua", + "luaBundleEntry": "../src/autocraft/main.ts" + }, + "include": ["../src/autocraft/*.ts"] +} diff --git a/targets/tsconfig.cliExample.json b/targets/tsconfig.cliExample.json new file mode 100644 index 0000000..a7f3fe6 --- /dev/null +++ b/targets/tsconfig.cliExample.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", + "extends": "../tsconfig.json", + "tstl": { + "luaBundle": "../build/cliExample.lua", + "luaBundleEntry": "../src/cliExample/main.ts" + }, + "include": ["../src/cliExample/*.ts", "../src/lib/ccCLI/*.ts"] +} diff --git a/targets/tsconfig.test.json b/targets/tsconfig.test.json new file mode 100644 index 0000000..67b8c2d --- /dev/null +++ b/targets/tsconfig.test.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", + "extends": "../tsconfig.json", + "tstl": { + "luaBundle": "../build/test.lua", + "luaBundleEntry": "../src/test/main.ts" + }, + "include": ["../src/test/*.ts"] +} diff --git a/targets/tsconfig.tuiExample.json b/targets/tsconfig.tuiExample.json new file mode 100644 index 0000000..ae99a33 --- /dev/null +++ b/targets/tsconfig.tuiExample.json @@ -0,0 +1,9 @@ +{ + "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", + "extends": "../tsconfig.json", + "tstl": { + "luaBundle": "../build/tuiExample.lua", + "luaBundleEntry": "../src/tuiExample/main.ts" + }, + "include": ["../src/tuiExample/*.ts", "../src/lib/ccTUI/*.ts"] +} diff --git a/tsconfig.accesscontrol.json b/tsconfig.accesscontrol.json deleted file mode 100644 index 8b69f63..0000000 --- a/tsconfig.accesscontrol.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", - "extends": "./tsconfig.json", - "tstl": { - "luaBundle": "build/accesscontrol.lua", - "luaBundleEntry": "src/accesscontrol/main.ts" - }, - "include": ["src/accesscontrol/*.ts"] -} diff --git a/tsconfig.autocraft.json b/tsconfig.autocraft.json deleted file mode 100644 index 5b45209..0000000 --- a/tsconfig.autocraft.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", - "extends": "./tsconfig.json", - "tstl": { - "luaBundle": "build/autocraft.lua", - "luaBundleEntry": "src/autocraft/main.ts" - }, - "include": ["src/autocraft/*.ts"] -} diff --git a/tsconfig.cliExample.json b/tsconfig.cliExample.json deleted file mode 100644 index b1f6d81..0000000 --- a/tsconfig.cliExample.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", - "extends": "./tsconfig.json", - "tstl": { - "luaBundle": "build/cliExample.lua", - "luaBundleEntry": "src/cliExample/main.ts" - }, - "include": ["src/cliExample/*.ts", "src/lib/ccCLI/*.ts"] -} diff --git a/tsconfig.test.json b/tsconfig.test.json deleted file mode 100644 index d0212ea..0000000 --- a/tsconfig.test.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", - "extends": "./tsconfig.json", - "tstl": { - "luaBundle": "build/test.lua", - "luaBundleEntry": "src/test/main.ts" - }, - "include": ["src/test/*.ts"] -} diff --git a/tsconfig.tuiExample.json b/tsconfig.tuiExample.json deleted file mode 100644 index 75686b0..0000000 --- a/tsconfig.tuiExample.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/MCJack123/TypeScriptToLua/master/tsconfig-schema.json", - "extends": "./tsconfig.json", - "tstl": { - "luaBundle": "build/tuiExample.lua", - "luaBundleEntry": "src/tuiExample/main.ts" - }, - "include": ["src/tuiExample/*.ts", "src/lib/ccTUI/*.ts"] -}