From 36a81b2f6a13132a8e005cacd3e642e4322a427e Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 22 Jul 2022 10:58:22 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=94=B9=E4=B8=AA=E5=90=8D?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/cli/worker/cli.worker.js | 4 ++-- bin/cli/worker/template/{action_type.ts => action_type.t} | 0 .../template/{main_thread_template.ts => main_thread.t} | 0 .../template/{worker_thread_template.ts => worker_thread.t} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename bin/cli/worker/template/{action_type.ts => action_type.t} (100%) rename bin/cli/worker/template/{main_thread_template.ts => main_thread.t} (100%) rename bin/cli/worker/template/{worker_thread_template.ts => worker_thread.t} (100%) diff --git a/bin/cli/worker/cli.worker.js b/bin/cli/worker/cli.worker.js index 0c086db08..3549e75ca 100644 --- a/bin/cli/worker/cli.worker.js +++ b/bin/cli/worker/cli.worker.js @@ -34,14 +34,14 @@ module.exports = { [`${name}_worker`]: { 'main_thread': { action: {}, - [`${name}_main_thread.ts`]: path.resolve(__dirname, './template/main_thread_template.ts'), + [`${name}_main_thread.ts`]: path.resolve(__dirname, './template/main_thread_template.t'), }, utils: { 'action_type.ts': '', }, 'worker_thread': { action: {}, - [`${name}_worker_thread.ts`]: path.resolve(__dirname, './template/worker_thread_template.ts'), + [`${name}_worker_thread.ts`]: path.resolve(__dirname, './template/worker_thread_template.t'), }, }, }; diff --git a/bin/cli/worker/template/action_type.ts b/bin/cli/worker/template/action_type.t similarity index 100% rename from bin/cli/worker/template/action_type.ts rename to bin/cli/worker/template/action_type.t diff --git a/bin/cli/worker/template/main_thread_template.ts b/bin/cli/worker/template/main_thread.t similarity index 100% rename from bin/cli/worker/template/main_thread_template.ts rename to bin/cli/worker/template/main_thread.t diff --git a/bin/cli/worker/template/worker_thread_template.ts b/bin/cli/worker/template/worker_thread.t similarity index 100% rename from bin/cli/worker/template/worker_thread_template.ts rename to bin/cli/worker/template/worker_thread.t