Skip to content

Commit 5557b7d

Browse files
chore: adding dist for testing without npm publish
1 parent 89e4a30 commit 5557b7d

410 files changed

Lines changed: 16119 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules
2-
/dist
32
/coverage
43

54
yarn.lock

dist/CompilerOptions.d.ts

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
import * as ts from "typescript";
2+
declare type OmitIndexSignature<T> = {
3+
[K in keyof T as string extends K ? never : number extends K ? never : K]: T[K];
4+
};
5+
export interface TransformerImport {
6+
transform: string;
7+
import?: string;
8+
after?: boolean;
9+
afterDeclarations?: boolean;
10+
type?: "program" | "config" | "checker" | "raw" | "compilerOptions";
11+
[option: string]: any;
12+
}
13+
export interface LuaPluginImport {
14+
name: string;
15+
import?: string;
16+
[option: string]: any;
17+
}
18+
export declare type CompilerOptions = OmitIndexSignature<ts.CompilerOptions> & {
19+
buildMode?: BuildMode;
20+
noImplicitSelf?: boolean;
21+
noHeader?: boolean;
22+
luaBundle?: string;
23+
luaBundleEntry?: string;
24+
luaTarget?: LuaTarget;
25+
luaLibImport?: LuaLibImportKind;
26+
sourceMapTraceback?: boolean;
27+
luaPlugins?: LuaPluginImport[];
28+
plugins?: Array<ts.PluginImport | TransformerImport>;
29+
tstlVerbose?: boolean;
30+
[option: string]: any;
31+
};
32+
export declare enum LuaLibImportKind {
33+
None = "none",
34+
Always = "always",
35+
Inline = "inline",
36+
Require = "require"
37+
}
38+
export declare enum LuaTarget {
39+
Universal = "universal",
40+
Lua51 = "5.1",
41+
Lua52 = "5.2",
42+
Lua53 = "5.3",
43+
Lua54 = "5.4",
44+
LuaJIT = "JIT"
45+
}
46+
export declare enum BuildMode {
47+
Default = "default",
48+
Library = "library"
49+
}
50+
export declare const isBundleEnabled: (options: CompilerOptions) => boolean;
51+
export declare function validateOptions(options: CompilerOptions): ts.Diagnostic[];
52+
export {};

dist/CompilerOptions.js

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/CompilerOptions.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)