From b05e94176c7ae0829c8f6472737627c3f5b703de Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:21:24 -0500 Subject: [PATCH 1/2] 1.1.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e0520b6..1a41936 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sern/create-bot", - "version": "1.1.1", + "version": "1.1.2", "main": "./dist/index.js", "license": "MIT", "scripts": { From 8ee4fa0927d0196314ea7bb8bbba63eac94514f5 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Sun, 2 Jul 2023 22:07:24 -0500 Subject: [PATCH 2/2] fix: sern config wrong key --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index cdbf920..636b046 100644 --- a/src/index.ts +++ b/src/index.ts @@ -168,7 +168,7 @@ async function createProject( await Promise.all([ fs.promises.writeFile( path.join(root, 'sern.config.json'), - JSON.stringify(config), + JSON.stringify(config, null, 2), 'utf8' ), fs.promises.writeFile( @@ -207,7 +207,7 @@ function createConfig(isTypescript: boolean) { language: isTypescript ? 'typescript' : 'javascript', paths: { base: 'src', - cmds_dir: 'commands', + commands: 'commands', }, }; }