Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 24be087

Browse files
authored
Merge branch 'master' into greenkeeper/cz-conventional-changelog-2.1.0
2 parents 1b8c85b + 2bd0e0f commit 24be087

File tree

5 files changed

+33
-37
lines changed

5 files changed

+33
-37
lines changed

.vscode/tasks.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
{
2-
// See https://go.microsoft.com/fwlink/?LinkId=733558
3-
// for the documentation about the tasks.json format
4-
"version": "0.1.0",
5-
"command": "npm",
6-
"isShellCommand": true,
7-
"showOutput": "silent",
8-
"suppressTaskName": true,
9-
"tasks": [
10-
{
11-
"taskName": "build",
12-
"args": [
13-
"run",
14-
"build",
15-
"--",
16-
"--watch"
17-
],
18-
"echoCommand": true,
19-
"isBuildCommand": true,
20-
"isWatching": true
21-
}
22-
]
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "build:watch",
9+
"group": {
10+
"kind": "build",
11+
"isDefault": true
12+
},
13+
"isBackground": true,
14+
"presentation": {
15+
"echo": true,
16+
"reveal": "silent",
17+
"focus": false,
18+
"panel": "shared"
19+
},
20+
"problemMatcher": [
21+
"$tsc-watch"
22+
]
23+
}
24+
]
2325
}

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"clean": "rimraf dist",
1818
"prebuild": "npm run clean",
1919
"build": "tsc --sourceMap",
20+
"build:watch": "npm run build -- --watch",
2021
"build:inline": "tsc --inlineSourceMap",
2122
"pretest": "npm run clean && npm run build:inline",
2223
"test": "nyc ava",
@@ -38,7 +39,6 @@
3839
"devDependencies": {
3940
"@knisterpeter/standard-tslint": "^1.6.0",
4041
"@types/babel-generator": "^6.7.14",
41-
"@types/chalk": "^0.4.31",
4242
"@types/diff": "^3.2.0",
4343
"@types/node": "^8.0.0",
4444
"@types/react": "^16.0.0",
@@ -63,7 +63,7 @@
6363
"astq": "^2.0.2",
6464
"babel-generator": "^6.24.1",
6565
"babylon": "7.0.0-beta.9",
66-
"chalk": "2.1.0",
66+
"chalk": "^2.3.0",
6767
"dts-dom": "^0.1.20",
6868
"get-stdin": "^5.0.1",
6969
"meow": "^3.7.0",

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import astToCode from 'babel-generator';
2-
import * as chalk from 'chalk';
2+
import chalk from 'chalk';
33
import * as dom from 'dts-dom';
44
import { IOptions } from './index';
55
import { propTypeQueryExpression, AstQuery } from './typings';

tests/parsing-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import test, { TestContext } from 'ava';
22

3-
import * as chalk from 'chalk';
3+
import chalk from 'chalk';
44
import * as diff from 'diff';
55
import * as fs from 'fs';
66
import * as path from 'path';

0 commit comments

Comments
 (0)