Skip to content

Commit

Permalink
update release & version scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Jun 19, 2018
1 parent 187dbe0 commit b749d5d
Show file tree
Hide file tree
Showing 3 changed files with 461 additions and 2 deletions.
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -22,6 +22,8 @@
"test-travis": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec out/tests/",
"benchmark": "node benchmark/benchmark.js",
"inspect": "node scripts/inspect.js",
"version": "npm run test && node scripts/release.js",
"postversion": "git push && git push --tags",
"prepublishOnly": "node scripts/release.js"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion release/main.d.ts
Expand Up @@ -26,7 +26,7 @@ export interface Thenable<T> extends PromiseLike<T> {
*/
export interface RegistryOptions {
theme?: IRawTheme;
loadGrammar(scopeName: string): Thenable<IRawGrammar>;
loadGrammar(scopeName: string): Thenable<IRawGrammar | undefined | null>;
getInjections?(scopeName: string): string[];
getOnigLib?(): Thenable<IOnigLib>;
}
Expand Down

0 comments on commit b749d5d

Please sign in to comment.