Skip to content

Commit

Permalink
Automated CI commit of compiled javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
ci-connections committed Sep 27, 2018
1 parent 4b008a1 commit f29fd9d
Show file tree
Hide file tree
Showing 33 changed files with 636 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/bin/compile-typescript-docs.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#! /usr/bin/env node
export {};
82 changes: 82 additions & 0 deletions dist/bin/compile-typescript-docs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/bin/compile-typescript-docs.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { SnippetCompilationResult } from './src/SnippetCompiler';
export { SnippetCompilationResult } from './src/SnippetCompiler';
export declare function compileSnippets(markdownFileOrFiles?: string | string[]): Promise<SnippetCompilationResult[]>;
23 changes: 23 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/src/CodeBlockExtractor.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export declare class CodeBlockExtractor {
static readonly TYPESCRIPT_CODE_PATTERN: RegExp;
private constructor();
static extract(markdownFilePath: string): Promise<string[]>;
private static readFile;
private static extractCodeBlocksFromMarkdown;
}
30 changes: 30 additions & 0 deletions dist/src/CodeBlockExtractor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/CodeBlockExtractor.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions dist/src/CodeWrapper.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export declare class CodeWrapper {
private constructor();
static wrap(code: string): string;
}
18 changes: 18 additions & 0 deletions dist/src/CodeWrapper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/CodeWrapper.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/src/LocalImportSubstituter.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { PackageDefinition } from './PackageInfo';
export declare class LocalImportSubstituter {
private readonly packageName;
private readonly pathToPackageMain;
constructor(packageDefinition: PackageDefinition);
substituteLocalPackageImports(code: string): string;
}
25 changes: 25 additions & 0 deletions dist/src/LocalImportSubstituter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/LocalImportSubstituter.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions dist/src/PackageInfo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export interface PackageDefinition {
readonly name: string;
readonly main: string;
}
export declare class PackageInfo {
private constructor();
static read(): Promise<PackageDefinition>;
}
15 changes: 15 additions & 0 deletions dist/src/PackageInfo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/src/PackageInfo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions dist/src/SnippetCompiler.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import * as Bluebird from 'bluebird';
import { TSError } from 'ts-node/dist/index';
export interface SnippetCompilationResult {
readonly file: string;
readonly index: number;
readonly snippet: string;
readonly error?: TSError;
}
export declare class SnippetCompiler {
private readonly workingDirectory;
private readonly runner;
constructor(workingDirectory: string);
compileSnippets(documentationFiles: string[]): Bluebird<SnippetCompilationResult[]>;
private cleanWorkingDirectory;
private extractAllCodeBlocks;
private extractFileCodeBlocks;
private sanitiseCodeBlock;
private testCodeCompilation;
}
75 changes: 75 additions & 0 deletions dist/src/SnippetCompiler.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f29fd9d

Please sign in to comment.