Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relaxed ts dependency #456

Merged
merged 24 commits into from Oct 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c3b0767
Export declarations from typescript library.
dsherret Oct 4, 2018
130cb8a
Easier ability to execute scripts.
dsherret Oct 4, 2018
1b9aedf
Taking a different path.
dsherret Oct 5, 2018
eb2897b
Run through all the tests for every version.
dsherret Oct 5, 2018
86b3dc6
Get typescript compiler versions to test from package.json.
dsherret Oct 5, 2018
5012c74
Fix linting errors.
dsherret Oct 5, 2018
9589721
Fix tests for ts 3.1.1.
dsherret Oct 5, 2018
dfd519d
Run all tests on travis.
dsherret Oct 5, 2018
73586e2
Only transpile coverage tests.
dsherret Oct 5, 2018
b82a196
Type check the library when switching typescript versions.
dsherret Oct 5, 2018
ddda5ab
Various fixes.
dsherret Oct 5, 2018
0a9aa6f
Fix some inspection files.
dsherret Oct 5, 2018
fecb326
Ensure there are no compile errors in the project on the CI.
dsherret Oct 5, 2018
241d458
Package before running tests.
dsherret Oct 5, 2018
f58fc0c
Add npx to dev dependencies.
dsherret Oct 5, 2018
2224281
Merge branch 'dev' into relaxedTsDependency2
dsherret Oct 6, 2018
03cc397
Fix declaration file to export from typescript library.
dsherret Oct 6, 2018
54cf266
Merge branch 'dev' into relaxedTsDependency2
dsherret Oct 6, 2018
3b6a0e1
Separate out building declarations.
dsherret Oct 6, 2018
985b720
Change typescript version in declaration files when ensuring no decla…
dsherret Oct 6, 2018
4acb731
Removing npm.
dsherret Oct 6, 2018
2f1feb4
Only support 3.0.x for now. 3.1.x seems broken (lots of types resolvi…
dsherret Oct 6, 2018
319db5c
ts is already exported from public.
dsherret Oct 6, 2018
7fbbf3d
Do not export ts namespace import.
dsherret Oct 6, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -15,5 +15,6 @@
/docs/Gemfile.lock
/docs/_site
/dist-scripts
/dist-declarations
/.nyc_output
/npm-debug.log
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -3,7 +3,10 @@ node_js:
- "6"
before_script:
- npm run lint
- npm run ensure-no-project-compile-errors
- npm run build-declarations
script:
- npm run test-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- npm run test-ts-versions
after_script:
- npm run code-verification
11 changes: 7 additions & 4 deletions lib/ts-simple-ast.d.ts
@@ -1,4 +1,5 @@
import { ts, SyntaxKind, CompilerOptions, EmitHint, ScriptKind, NewLineKind, LanguageVariant, ScriptTarget, TypeFlags, ObjectFlags, SymbolFlags, TypeFormatFlags, DiagnosticCategory, EditorSettings, ModuleResolutionKind } from "./typescript/typescript";
import * as ts from "typescript";
import { SyntaxKind, CompilerOptions, EmitHint, ScriptKind, NewLineKind, LanguageVariant, ScriptTarget, TypeFlags, ObjectFlags, SymbolFlags, TypeFormatFlags, DiagnosticCategory, EditorSettings, ModuleResolutionKind } from "typescript";
import { CodeBlockWriter } from "./codeBlockWriter/code-block-writer";

export declare class Directory {
Expand Down Expand Up @@ -4035,9 +4036,9 @@ export declare class Node<NodeType extends ts.Node = ts.Node> {
*/
forget(): void;
/**
* Gets if the node was forgotten.
* Gets if the compiler node was forgotten.
*
* This will be true when the node was forgotten or removed.
* This will be true when the compiler node was forgotten or removed.
*/
wasForgotten(): boolean;
/**
Expand Down Expand Up @@ -9980,7 +9981,9 @@ interface TypeParameterDeclarationSpecificStructure {
default?: string;
}

export * from "./typescript/typescript";
export declare type CompilerNodeBrandPropertyNamesType = "_classElementBrand" | "_declarationBrand" | "_expressionBrand" | "_functionLikeDeclarationBrand" | "_jsDocTypeBrand" | "_leftHandSideExpressionBrand" | "_literalExpressionBrand" | "_memberExpressionBrand" | "_objectLiteralBrandBrand" | "_primaryExpressionBrand" | "_propertyAccessExpressionLikeQualifiedNameBrand" | "_statementBrand" | "_typeElementBrand" | "_typeNodeBrand" | "_unaryExpressionBrand" | "_updateExpressionBrand";

export { ts, SyntaxKind, CompilerOptions, EmitHint, ScriptKind, NewLineKind, LanguageVariant, ScriptTarget, TypeFlags, ObjectFlags, SymbolFlags, TypeFormatFlags, DiagnosticCategory, EditorSettings, ModuleResolutionKind };
export * from "./codeBlockWriter/code-block-writer";

/** @deprecated Use the named export "Project" */
Expand Down