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 18, 2018
1 parent bdcc39f commit 33ca561
Show file tree
Hide file tree
Showing 22 changed files with 40 additions and 39 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 {};
11 changes: 7 additions & 4 deletions dist/bin/compile-typescript-docs.js

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

2 changes: 1 addition & 1 deletion dist/bin/compile-typescript-docs.js.map

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

5 changes: 2 additions & 3 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="bluebird" />
import * as Bluebird from 'bluebird';
import { SnippetCompilationResult } from './src/SnippetCompiler';
export declare function compileSnippets(markdownFileOrFiles?: string | string[]): Bluebird<SnippetCompilationResult[]>;
export { SnippetCompilationResult } from './src/SnippetCompiler';
export declare function compileSnippets(markdownFileOrFiles?: string | string[]): Promise<SnippetCompilationResult[]>;
3 changes: 1 addition & 2 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

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

8 changes: 3 additions & 5 deletions dist/src/CodeBlockExtractor.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/// <reference types="bluebird" />
import * as Bluebird from 'bluebird';
export declare class CodeBlockExtractor {
static readonly TYPESCRIPT_CODE_PATTERN: RegExp;
private constructor();
static extract(markdownFilePath: string): Bluebird<string[]>;
private static readFile(path);
private static extractCodeBlocksFromMarkdown(markdown);
static extract(markdownFilePath: string): Promise<string[]>;
private static readFile;
private static extractCodeBlocksFromMarkdown;
}
3 changes: 1 addition & 2 deletions dist/src/CodeBlockExtractor.js

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

2 changes: 1 addition & 1 deletion dist/src/CodeBlockExtractor.js.map

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

6 changes: 3 additions & 3 deletions dist/src/CodeWrapper.js

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

2 changes: 1 addition & 1 deletion dist/src/CodeWrapper.js.map

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

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

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

2 changes: 1 addition & 1 deletion dist/src/PackageInfo.js.map

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

11 changes: 5 additions & 6 deletions dist/src/SnippetCompiler.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/// <reference types="bluebird" />
import * as Bluebird from 'bluebird';
import { TSError } from 'ts-node/dist/index';
export interface SnippetCompilationResult {
Expand All @@ -12,9 +11,9 @@ export declare class SnippetCompiler {
private readonly runner;
constructor(workingDirectory: string);
compileSnippets(documentationFiles: string[]): Bluebird<SnippetCompilationResult[]>;
private cleanWorkingDirectory();
private extractAllCodeBlocks(documentationFiles);
private extractFileCodeBlocks(file, importSubstituter);
private sanitiseCodeBlock(importSubstituter, block);
private testCodeCompilation(example, index);
private cleanWorkingDirectory;
private extractAllCodeBlocks;
private extractFileCodeBlocks;
private sanitiseCodeBlock;
private testCodeCompilation;
}
3 changes: 2 additions & 1 deletion 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 33ca561

Please sign in to comment.