@keq-request/cli 5.0.0-alpha.27 → 5.0.0-alpha.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/dist/cli.cjs +1060 -1112
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1180 -1232
- package/dist/cli.js.map +1 -1
- package/dist/compiler/compiler.d.ts.map +1 -1
- package/dist/compiler/tasks/setup/index.d.ts.map +1 -1
- package/dist/compiler/tasks/setup/utils/index.d.ts +0 -1
- package/dist/compiler/tasks/setup/utils/index.d.ts.map +1 -1
- package/dist/compiler/tasks/setup/utils/parse-runtime-config.d.ts +3 -0
- package/dist/compiler/tasks/setup/utils/parse-runtime-config.d.ts.map +1 -0
- package/dist/compiler/types/compiler-context.d.ts +1 -1
- package/dist/compiler/types/compiler-context.d.ts.map +1 -1
- package/dist/compiler/types/compiler-hooks.d.ts +2 -1
- package/dist/compiler/types/compiler-hooks.d.ts.map +1 -1
- package/dist/define-config.d.ts +3 -0
- package/dist/define-config.d.ts.map +1 -0
- package/dist/index.cjs +1130 -1184
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1041 -1094
- package/dist/index.js.map +1 -1
- package/dist/models/module-definition.d.ts +3 -2
- package/dist/models/module-definition.d.ts.map +1 -1
- package/dist/plugins/body-fallback/constants/index.d.ts +2 -0
- package/dist/plugins/body-fallback/constants/index.d.ts.map +1 -0
- package/dist/plugins/body-fallback/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/body-fallback/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/body-fallback/index.d.ts +3 -0
- package/dist/plugins/body-fallback/index.d.ts.map +1 -1
- package/dist/plugins/chinese-to-pinyin/chinese-to-pinyin.plugin.d.ts +3 -0
- package/dist/plugins/chinese-to-pinyin/chinese-to-pinyin.plugin.d.ts.map +1 -1
- package/dist/plugins/chinese-to-pinyin/constants/index.d.ts +2 -0
- package/dist/plugins/chinese-to-pinyin/constants/index.d.ts.map +1 -0
- package/dist/plugins/chinese-to-pinyin/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/chinese-to-pinyin/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/download-http-file/constants/index.d.ts +2 -0
- package/dist/plugins/download-http-file/constants/index.d.ts.map +1 -0
- package/dist/plugins/download-http-file/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/download-http-file/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/download-http-file/download-http-file.plugin.d.ts +5 -2
- package/dist/plugins/download-http-file/download-http-file.plugin.d.ts.map +1 -1
- package/dist/plugins/download-local-file/constants/index.d.ts +2 -0
- package/dist/plugins/download-local-file/constants/index.d.ts.map +1 -0
- package/dist/plugins/download-local-file/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/download-local-file/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/download-local-file/download-local-file.plugin.d.ts +3 -0
- package/dist/plugins/download-local-file/download-local-file.plugin.d.ts.map +1 -1
- package/dist/plugins/eslint/constants/index.d.ts +2 -0
- package/dist/plugins/eslint/constants/index.d.ts.map +1 -0
- package/dist/plugins/eslint/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/eslint/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/eslint/eslint.plugin.d.ts +18 -0
- package/dist/plugins/eslint/eslint.plugin.d.ts.map +1 -0
- package/dist/plugins/eslint/index.d.ts +1 -14
- package/dist/plugins/eslint/index.d.ts.map +1 -1
- package/dist/plugins/generate-declaration/generate-declaration.plugin.d.ts.map +1 -1
- package/dist/plugins/generate-declaration/generators/schema-declaration/schema.generator.d.ts.map +1 -1
- package/dist/plugins/generate-micro-function/generate-micro-function.plugin.d.ts.map +1 -1
- package/dist/plugins/generate-nestjs-module/generate-nestjs-module.d.ts.map +1 -1
- package/dist/plugins/initialize/initialize.plugin.d.ts.map +1 -1
- package/dist/plugins/prettier/constants/index.d.ts +2 -0
- package/dist/plugins/prettier/constants/index.d.ts.map +1 -0
- package/dist/plugins/prettier/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/prettier/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/prettier/prettier.plugin.d.ts +3 -0
- package/dist/plugins/prettier/prettier.plugin.d.ts.map +1 -1
- package/dist/plugins/shaking/constants/index.d.ts +2 -0
- package/dist/plugins/shaking/constants/index.d.ts.map +1 -0
- package/dist/plugins/shaking/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/shaking/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/shaking/shaking.plugin.d.ts +3 -0
- package/dist/plugins/shaking/shaking.plugin.d.ts.map +1 -1
- package/dist/plugins/terminal-select/constants/index.d.ts +2 -0
- package/dist/plugins/terminal-select/constants/index.d.ts.map +1 -0
- package/dist/plugins/terminal-select/constants/metadata-storage.d.ts +6 -0
- package/dist/plugins/terminal-select/constants/metadata-storage.d.ts.map +1 -0
- package/dist/plugins/terminal-select/terminal-select.plugin.d.ts +3 -0
- package/dist/plugins/terminal-select/terminal-select.plugin.d.ts.map +1 -1
- package/dist/plugins.cjs +208 -47
- package/dist/plugins.cjs.map +1 -1
- package/dist/plugins.js +208 -47
- package/dist/plugins.js.map +1 -1
- package/dist/translators/index.d.ts +3 -0
- package/dist/translators/index.d.ts.map +1 -0
- package/dist/translators/micro-function.translator.d.ts +5 -0
- package/dist/translators/micro-function.translator.d.ts.map +1 -0
- package/dist/translators/nestjs.translator.d.ts +5 -0
- package/dist/translators/nestjs.translator.d.ts.map +1 -0
- package/dist/translators.cjs +2061 -0
- package/dist/translators.cjs.map +1 -0
- package/dist/translators.js +2023 -0
- package/dist/translators.js.map +1 -0
- package/dist/types/address.d.ts +8 -0
- package/dist/types/address.d.ts.map +1 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/runtime-config.d.ts +39 -8
- package/dist/types/runtime-config.d.ts.map +1 -1
- package/dist/types/translator.d.ts +5 -0
- package/dist/types/translator.d.ts.map +1 -0
- package/dist/utils/is-valid-url.d.ts +16 -0
- package/dist/utils/is-valid-url.d.ts.map +1 -0
- package/package.json +8 -3
- package/dist/compiler/tasks/setup/utils/validate-modules.d.ts +0 -2
- package/dist/compiler/tasks/setup/utils/validate-modules.d.ts.map +0 -1
- package/dist/define-keq-config.d.ts +0 -3
- package/dist/define-keq-config.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../../src/compiler/compiler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAIjE,OAAO,EAKL,gBAAgB,EAEjB,MAAM,kBAAkB,CAAA;AAKzB,OAAO,EAEL,2BAA2B,EAC5B,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"compiler.d.ts","sourceRoot":"","sources":["../../src/compiler/compiler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAIjE,OAAO,EAKL,gBAAgB,EAEjB,MAAM,kBAAkB,CAAA;AAKzB,OAAO,EAEL,2BAA2B,EAC5B,MAAM,oBAAoB,CAAA;AAI3B,UAAU,OAAQ,SAAQ,gBAAgB;IACxC,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,EAAE,OAAO,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,GAAG,2BAA2B,CAAA;CACpD;AAGD,qBAAa,QAAQ;IAuBV,OAAO,EAAE,OAAO;IAtBzB,OAAO,EAAE,eAAe,CAAK;IAE7B,KAAK,EAAE,aAAa,CAiBnB;gBAGQ,OAAO,EAAE,OAAO;IAgBnB,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAyB3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/compiler/tasks/setup/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/compiler/tasks/setup/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAClC,OAAO,EAAiB,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAE5E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAKtD,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,MAAM,CAAC,EAAE,KAAK,GAAG;QACf,KAAK,EAAE,iBAAiB,EAAE,CAAA;KAC3B,CAAA;CACF;AAkED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,GAAG,eAAe,GAAG,SAAS,CAAC,eAAe,CAAC,CAkB3H"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/tasks/setup/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/tasks/setup/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAA;AAC9C,cAAc,gCAAgC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse-runtime-config.d.ts","sourceRoot":"","sources":["../../../../../src/compiler/tasks/setup/utils/parse-runtime-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,aAAa,EAAsB,MAAM,kBAAkB,CAAA;AAG/E,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,aAAa,CA8B/D"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiDocumentV3_1, Artifact, Asset } from '../../models/index.js';
|
|
2
|
-
import { RuntimeConfig } from '../../types/
|
|
2
|
+
import { RuntimeConfig } from '../../types/index.js';
|
|
3
3
|
import { IgnoreMatcher } from '../../utils/ignore-matcher.js';
|
|
4
4
|
export interface CompilerContext {
|
|
5
5
|
rc?: RuntimeConfig;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-context.d.ts","sourceRoot":"","sources":["../../../src/compiler/types/compiler-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"compiler-context.d.ts","sourceRoot":"","sources":["../../../src/compiler/types/compiler-context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAGzD,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,aAAa,CAAA;IAClB,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,SAAS,CAAC,EAAE,eAAe,EAAE,CAAA;IAC7B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;CACjB"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AsyncParallelHook, AsyncSeriesBailHook, AsyncSeriesHook, SyncHook } from 'tapable';
|
|
2
2
|
import { TaskWrapper } from '../tasks/index.js';
|
|
3
3
|
import { ModuleDefinition } from '../../models/index.js';
|
|
4
|
+
import { Address } from '../../types/index.js';
|
|
4
5
|
export interface CompilerHooks {
|
|
5
6
|
setup: AsyncParallelHook<[TaskWrapper]>;
|
|
6
7
|
afterSetup: AsyncSeriesHook<[TaskWrapper]>;
|
|
7
8
|
beforeDownload: AsyncSeriesHook<[TaskWrapper]>;
|
|
8
|
-
download: AsyncSeriesBailHook<[
|
|
9
|
+
download: AsyncSeriesBailHook<[Address, ModuleDefinition, TaskWrapper], string | undefined>;
|
|
9
10
|
afterDownload: AsyncSeriesHook<[TaskWrapper]>;
|
|
10
11
|
beforeCompile: AsyncSeriesHook<[TaskWrapper]>;
|
|
11
12
|
compile: AsyncParallelHook<[TaskWrapper]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler-hooks.d.ts","sourceRoot":"","sources":["../../../src/compiler/types/compiler-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"compiler-hooks.d.ts","sourceRoot":"","sources":["../../../src/compiler/types/compiler-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAG1C,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,iBAAiB,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IACvC,UAAU,EAAE,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IAE1C,cAAc,EAAE,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IAC9C,QAAQ,EAAE,mBAAmB,CAAC,CAAC,OAAO,EAAE,gBAAgB,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC3F,aAAa,EAAE,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IAE7C,aAAa,EAAE,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IAC7C,OAAO,EAAE,iBAAiB,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IACzC,YAAY,EAAE,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IAE5C,aAAa,EAAE,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IAC7C,OAAO,EAAE,iBAAiB,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IACzC,YAAY,EAAE,eAAe,CAAC,CAAC,WAAW,CAAC,CAAC,CAAA;IAE5C,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAA;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"define-config.d.ts","sourceRoot":"","sources":["../src/define-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAGrD,wBAAgB,YAAY,CAAC,MAAM,EAAE,SAAS,GAAG,SAAS,CAEzD"}
|