From c5e792114d1a822090b4e80a9c74b7b7c7990a3d Mon Sep 17 00:00:00 2001 From: permaficus Date: Wed, 5 Jun 2024 11:38:42 +0700 Subject: [PATCH 1/2] chore: change bundler type node to commonjs --- src/bin/cli.ts | 2 +- src/libs/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/cli.ts b/src/bin/cli.ts index 7b9aa9b..b620f1c 100644 --- a/src/bin/cli.ts +++ b/src/bin/cli.ts @@ -12,7 +12,7 @@ program .option('--minor-max ', 'maximum number of minor before reset to 0') .option('--init') .option('--update-version') - .addOption(new Option('--bundler ', 'package bundler').choices(['tsc', 'rollup', 'tsup', 'node'])) + .addOption(new Option('--bundler ', 'package bundler').choices(['tsc', 'rollup', 'tsup', 'commonjs'])) .action(async (options) => { if (options.updateVersion) { try { diff --git a/src/libs/types.ts b/src/libs/types.ts index 9724d76..b51ca60 100644 --- a/src/libs/types.ts +++ b/src/libs/types.ts @@ -8,5 +8,5 @@ export type UpdateArguments = { } export type Options = UpdateArguments export type BundlerOptions = { - bundler: 'tsc' | 'rollup' | 'tsup' | 'node' + bundler: 'tsc' | 'rollup' | 'tsup' | 'commonjs' } \ No newline at end of file From 006a1e685b890bc406416e36b9f94e0d53b372b7 Mon Sep 17 00:00:00 2001 From: permaficus Date: Wed, 5 Jun 2024 11:45:32 +0700 Subject: [PATCH 2/2] chore: udpate version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 414ea4f..abbed09 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "enmav", - "version": "0.4.18", + "version": "0.5.20", "main": "pub/src/index.js", "scripts": { "build:tsc": "rm -rf pub && node vupd.js && tsc"