diff --git a/README.md b/README.md index ec4a35e..fb2b49e 100644 --- a/README.md +++ b/README.md @@ -34,13 +34,6 @@ npx wshcmx build npx wshcmx watch ``` -## Флаги -CLI поддерживает флаги: - -| Флаг | Описание | -| - | - | -| **--retain-non-ascii-characters** | Декодирует не ASCII символы после транспиляции | - ## Основные особенности ### Особенности из коробки diff --git a/package-lock.json b/package-lock.json index 16714bc..bdfeafc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@wshcmx/cli", - "version": "3.2.0", + "version": "3.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@wshcmx/cli", - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "workspaces": [ "./test/project" diff --git a/package.json b/package.json index d795320..453d102 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wshcmx/cli", - "version": "3.2.0", + "version": "3.3.0", "main": "dist/index.js", "type": "module", "repository": "github:wshcmx/cli", diff --git a/src/core/args.ts b/src/core/args.ts index 54a3331..984dba3 100644 --- a/src/core/args.ts +++ b/src/core/args.ts @@ -10,7 +10,6 @@ class ArgsParser { help: { type: 'boolean', short: 'h', default: false }, version: { type: 'boolean', short: 'v', default: false }, project: { type: 'string', short: 'p', default: 'tsconfig.json' }, - 'retain-non-ascii-characters': { type: 'boolean', default: false }, }, allowPositionals: true }); diff --git a/src/core/build.ts b/src/core/build.ts index d3d62bc..5c9c845 100644 --- a/src/core/build.ts +++ b/src/core/build.ts @@ -8,7 +8,6 @@ import { removeExports } from '../transformers/remove_exports.js'; import { convertTemplateStrings } from '../transformers/template_strings.js'; import { transformNamespaces } from '../transformers/transform_namespaces.js'; import { noDeclarationInLoop } from '../checks/no-declaration-in-loop.js'; -import { args } from './args.js'; import { logger } from './logger.js'; export function buildTypescriptFiles(configuration: ts.ParsedCommandLine) { @@ -92,13 +91,6 @@ function decorateHostWriteFile(host: ts.CompilerHost) { data = `<%\n//