Skip to content

Commit 5a8c5d6

Browse files
committed
chore: upgrade to typescript 3.0.x
1 parent 653f6df commit 5a8c5d6

File tree

3 files changed

+8
-19
lines changed

3 files changed

+8
-19
lines changed

packages/build/.prettierrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/build/package.json

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
"@types/node": "^10.1.1",
1818
"cross-spawn": "^6.0.5",
1919
"debug": "^3.1.0",
20-
"fs-extra": "^6.0.1",
20+
"fs-extra": "^7.0.0",
2121
"glob": "^7.1.2",
2222
"mocha": "^5.1.1",
23-
"nyc": "^11.7.1",
23+
"nyc": "^12.0.2",
2424
"prettier": "^1.14.0",
2525
"rimraf": "^2.6.2",
2626
"source-map-support": "^0.5.5",
27-
"strong-docs": "^3.2.0",
27+
"strong-docs": "^4.0.0",
2828
"tslint": "^5.9.1",
29-
"typescript": "~2.8.4"
29+
"typescript": "^3.0.1"
3030
},
3131
"bin": {
3232
"lb-tsc": "./bin/compile-package.js",
@@ -39,13 +39,7 @@
3939
"lb-clean": "./bin/run-clean.js"
4040
},
4141
"scripts": {
42-
"lint": "npm run prettier:check",
43-
"lint:fix": "npm run prettier:fix",
44-
"prettier:cli": "node bin/run-prettier \"bin/**/*.js\"",
45-
"prettier:check": "npm run prettier:cli -- -l",
46-
"prettier:fix": "npm run prettier:cli -- --write",
4742
"test": "npm run mocha",
48-
"mocha": "node bin/run-mocha --timeout 30000 \"test/integration/*.js\"",
49-
"posttest": "npm run lint"
43+
"mocha": "node bin/run-mocha --timeout 30000 \"test/integration/*.js\""
5044
}
5145
}

packages/build/test/integration/scripts.integration.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,14 @@ describe('build', function() {
173173
'api-docs should have been created',
174174
);
175175
var typedocDir = require.resolve('typedoc/package.json');
176+
typedocDir = path.resolve(typedocDir, '..');
176177
assert(
177-
!fs.existsSync(path.join(typedocDir, '../node_modules/typescript')),
178+
!fs.existsSync(path.join(typedocDir, './node_modules/typescript')),
178179
'typedoc local dependency of typescript should have been renamed',
179180
);
180181
assert(
181182
!fs.existsSync(
182-
path.join(typedocDir, '../node_modules/.bin'),
183+
path.join(typedocDir, './node_modules/.bin/tsc'),
183184
'typedoc local scripts from typescript should have been removed',
184185
),
185186
);

0 commit comments

Comments
 (0)