Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "broccoli-typescript-compiler",
"version": "5.0.0",
"version": "6.0.0",
"description": "A Broccoli plugin which compiles TypeScript files.",
"keywords": [
"TypeScript",
Expand Down Expand Up @@ -39,24 +39,24 @@
"test": "git submodule update --init && qunit dist/tests/*-test.js"
},
"dependencies": {
"broccoli-funnel": "^2.0.2",
"broccoli-merge-trees": "^4.1.0",
"broccoli-funnel": "^3.0.3",
"broccoli-merge-trees": "^4.2.0",
"broccoli-plugin": "^4.0.1",
"fs-tree-diff": "^2.0.1",
"heimdalljs": "0.3.3",
"md5-hex": "^3.0.1",
"typescript": "~3.9.2",
"walk-sync": "^2.0.2"
"walk-sync": "^2.1.0"
},
"devDependencies": {
"@types/mkdirp": "^1.0.0",
"@types/node": "*",
"@types/node": "^14.0.4",
"@types/qunit": "^2.9.0",
"broccoli": "^3.2.0",
"broccoli": "^3.4.2",
"broccoli-test-helper": "2.0.0",
"fixturify": "^1.2.0",
"fixturify": "^2.1.0",
"json-schema": "^0.2.5",
"json-schema-to-typescript": "^8.0.1",
"json-schema-to-typescript": "^9.1.0",
"mkdirp": "^1.0.3",
"prettier": "^1.19.1",
"qunit": "^2.9.3",
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/output-patcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class OutputPatcher {
break;
case "create":
case "change":
fs.writeFileSync(entry.fullPath, contents.get(path));
fs.writeFileSync(entry.fullPath, contents.get(path) ?? "");
break;
default:
throw new Error(`unrecognized case ${op}`);
Expand Down
4 changes: 2 additions & 2 deletions src/generated/typescript-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface CompilerOptionsDefinition {
/**
* Specify output directory for generated declaration files. Requires TypeScript version 2.0 or later.
*/
declarationDir?: string;
declarationDir?: string | null;
/**
* Show diagnostic information.
*/
Expand Down Expand Up @@ -509,7 +509,7 @@ export interface TsNodeDefinition {
/**
* Specify output directory for generated declaration files. Requires TypeScript version 2.0 or later.
*/
declarationDir?: string;
declarationDir?: string | null;
/**
* Show diagnostic information.
*/
Expand Down
Loading