From 1e16f9706a4684a912312a9bb6494d162bfbb465 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 12 Jan 2025 08:46:07 +0800 Subject: [PATCH] feat: use ts --- helloworld-js/main.js => helloworld-ts/main.ts | 0 script-meta.json | 4 ++-- update-meta.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename helloworld-js/main.js => helloworld-ts/main.ts (100%) diff --git a/helloworld-js/main.js b/helloworld-ts/main.ts similarity index 100% rename from helloworld-js/main.js rename to helloworld-ts/main.ts diff --git a/script-meta.json b/script-meta.json index e032bf5..36bdab1 100644 --- a/script-meta.json +++ b/script-meta.json @@ -1,6 +1,6 @@ { - "helloworld-js": { - "script_name": "helloworld-js", + "helloworld-ts": { + "script_name": "helloworld-ts", "script_length": 69, "script_sha256": "b301944e64def6c3a1ada4e327a7b2c2e37c576a65da5f797998355c51686f76" } diff --git a/update-meta.rs b/update-meta.rs index 4bb6114..2ab054d 100755 --- a/update-meta.rs +++ b/update-meta.rs @@ -46,7 +46,7 @@ fn main() -> XResult<()> { } let abs_dir_entry = std::path::absolute(&dir_entry.path())?; let main_rs = abs_dir_entry - .join("main.js"); + .join("main.ts"); script_meta_map.insert( script_dir.to_string(),