From d25e11bee6ca5ca523884da132d18e1400e077b9 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 24 Aug 2021 14:41:48 +0200 Subject: Initial commit --- node_modules/nexe/lib/options.d.ts | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 node_modules/nexe/lib/options.d.ts (limited to 'node_modules/nexe/lib/options.d.ts') diff --git a/node_modules/nexe/lib/options.d.ts b/node_modules/nexe/lib/options.d.ts new file mode 100644 index 0000000..ea28d23 --- /dev/null +++ b/node_modules/nexe/lib/options.d.ts @@ -0,0 +1,56 @@ +import * as parseArgv from 'minimist'; +import { NexeCompiler } from './compiler'; +import { NexeTarget } from './target'; +export declare const version = "{{replace:0}}"; +export interface NexePatch { + (compiler: NexeCompiler, next: () => Promise): Promise; +} +export interface NexeOptions { + build: boolean; + input: string; + output: string; + targets: (string | NexeTarget)[]; + name: string; + remote: string; + asset: string; + cwd: string; + fs: boolean | string[]; + flags: string[]; + configure: string[]; + vcBuild: string[]; + make: string[]; + snapshot?: string; + resources: string[]; + temp: string; + rc: { + [key: string]: string; + }; + enableNodeCli: boolean; + bundle: boolean | string; + patches: (string | NexePatch)[]; + plugins: (string | NexePatch)[]; + native: any; + mangle: boolean; + ghToken: string; + sourceUrl?: string; + enableStdIn?: boolean; + python?: string; + loglevel: 'info' | 'silent' | 'verbose'; + silent?: boolean; + fakeArgv?: boolean; + verbose?: boolean; + info?: boolean; + ico?: string; + debugBundle?: boolean; + warmup?: string; + clean?: boolean; + /** + * Api Only + */ + downloadOptions: any; +} +declare const argv: parseArgv.ParsedArgs; +declare let help: string; +export declare function resolveEntry(input: string, cwd: string, maybeEntry: string | undefined, bundle: boolean | string): string; +declare function normalizeOptions(input?: Partial): NexeOptions; +export { argv, normalizeOptions, help }; -- cgit