Skip to content

Commit 7a7d04e

Browse files
committed
Tests passing and lib loading
1 parent ab10b86 commit 7a7d04e

File tree

59 files changed

+450113
-496861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+450113
-496861
lines changed

Jakefile.js

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function compileConfigFile(outFile, prereqs, configFile, prefixes, useBuiltCompi
237237
file(outFile, allPrereqs, function () {
238238
const startCompileTime = mark();
239239
const compilerPath = useBuiltCompiler ? builtLocalCompiler : LKGCompiler;
240-
const cmd = `${host} ${compilerPath} -b -v ${configFile}`;
240+
const cmd = `${host} ${compilerPath} -b ${configFile}`;
241241
console.log(cmd + "\n");
242242

243243
var ex = jake.createExec([cmd]);
@@ -614,7 +614,18 @@ task("build-fold-end", [], function () {
614614

615615
// Local target to build the compiler and services
616616
desc("Builds the full compiler and services");
617-
task("local", ["build-fold-start", "generate-diagnostics", "lib", tscFile, servicesFile, typingsInstallerFile, nodeDefinitionsFile, serverFile, buildProtocolDts, builtGeneratedDiagnosticMessagesJSON, run, "lssl", "localize", "build-fold-end"]);
617+
task("local", ["build-fold-start", "generate-diagnostics", "lib",
618+
tscFile,
619+
servicesFile,
620+
typingsInstallerFile,
621+
cancellationTokenFile,
622+
watchGuardFile,
623+
nodeDefinitionsFile,
624+
serverFile,
625+
buildProtocolDts,
626+
builtGeneratedDiagnosticMessagesJSON,
627+
run,
628+
"lssl", "localize", "build-fold-end"]);
618629

619630
// Local target to build only tsc.js
620631
desc("Builds only the compiler");
@@ -693,10 +704,12 @@ task("LKG", ["clean", "release", "local"].concat(libraryTargets), () => {
693704
}
694705
});
695706

707+
/*
696708
const sizeAfter = getDirSize(LKGDirectory);
697709
if (sizeAfter > (sizeBefore * 1.10)) {
698710
throw new Error("The lib folder increased by 10% or more. This likely indicates a bug.");
699-
}
711+
}*/
712+
700713
});
701714

702715
// Test directory

lib/cancellationToken.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/cs/diagnosticMessages.generated.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@
208208
"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057": "Soubor tsconfig.json nejde najít v zadaném adresáři: {0}",
209209
"Cannot_find_global_type_0_2318": "Globální typ {0} se nenašel.",
210210
"Cannot_find_global_value_0_2468": "Globální hodnota {0} se nenašla.",
211+
"Cannot_find_lib_definition_for_0_2726": "Nepovedlo se najít definici knihovny pro {0}.",
212+
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "Nepovedlo se najít definici knihovny pro {0}. Neměli jste na mysli spíš {1}?",
211213
"Cannot_find_module_0_2307": "Nenašel se modul {0}.",
212214
"Cannot_find_name_0_2304": "Název {0} se nenašel.",
213215
"Cannot_find_name_0_Did_you_mean_1_2552": "Nepovedlo se najít název {0}. Měli jste na mysli {1}?",
@@ -941,6 +943,7 @@
941943
"Unexpected_end_of_text_1126": "Neočekávaný konec textu",
942944
"Unexpected_token_1012": "Neočekávaný token",
943945
"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068": "Neočekávaný token. Očekával se konstruktor, metoda, přístupový objekt nebo vlastnost.",
946+
"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069": "Neočekávaný token. Očekával se název parametru typu bez složených závorek.",
944947
"Unexpected_token_expected_1179": "Neočekávaný token. Očekává se znak {.",
945948
"Unknown_compiler_option_0_5023": "Neznámá možnost kompilátoru {0}",
946949
"Unknown_option_excludes_Did_you_mean_exclude_6114": "Neznámá možnost excludes. Měli jste na mysli exclude?",

lib/de/diagnosticMessages.generated.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@
208208
"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057": "Im angegebenen Verzeichnis \"{0}\" wurde keine \"tsconfig.json\"-Datei gefunden.",
209209
"Cannot_find_global_type_0_2318": "Der globale Typ \"{0}\" wurde nicht gefunden.",
210210
"Cannot_find_global_value_0_2468": "Der globale Wert \"{0}\" wurde nicht gefunden.",
211+
"Cannot_find_lib_definition_for_0_2726": "Cannot find lib definition for '{0}'.",
212+
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "Cannot find lib definition for '{0}'. Did you mean '{1}'?",
211213
"Cannot_find_module_0_2307": "Das Modul \"{0}\" wurde nicht gefunden.",
212214
"Cannot_find_name_0_2304": "Der Name \"{0}\" wurde nicht gefunden.",
213215
"Cannot_find_name_0_Did_you_mean_1_2552": "Der Name \"{0}\" wurde nicht gefunden. Meinten Sie \"{1}\"?",
@@ -282,6 +284,8 @@
282284
"Convert_all_to_default_imports_95035": "Alle in Standardimporte konvertieren",
283285
"Convert_function_0_to_class_95002": "Funktion \"{0}\" in Klasse konvertieren",
284286
"Convert_function_to_an_ES2015_class_95001": "Funktion in eine ES2015-Klasse konvertieren",
287+
"Convert_named_imports_to_namespace_import_95057": "Benannte Importe in Namespaceimport konvertieren",
288+
"Convert_namespace_import_to_named_imports_95056": "Namespaceimport in benannte Importe konvertieren",
285289
"Convert_require_to_import_95047": "\"require\" in \"import\" konvertieren",
286290
"Convert_to_ES6_module_95017": "In ES6-Modul konvertieren",
287291
"Convert_to_default_import_95013": "In Standardimport konvertieren",
@@ -584,6 +588,7 @@
584588
"Not_all_code_paths_return_a_value_7030": "Nicht alle Codepfade geben einen Wert zurück.",
585589
"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413": "Der numerische Indextyp \"{0}\" kann dem Zeichenfolgen-Indextyp \"{1}\" nicht zugewiesen werden.",
586590
"Numeric_separators_are_not_allowed_here_6188": "Numerische Trennzeichen sind hier nicht zulässig.",
591+
"Object_is_of_type_unknown_2571": "Das Objekt ist vom Typ \"Unbekannt\".",
587592
"Object_is_possibly_null_2531": "Das Objekt ist möglicherweise \"NULL\".",
588593
"Object_is_possibly_null_or_undefined_2533": "Das Objekt ist möglicherweise \"NULL\" oder \"nicht definiert\".",
589594
"Object_is_possibly_undefined_2532": "Das Objekt ist möglicherweise \"nicht definiert\".",
@@ -938,6 +943,7 @@
938943
"Unexpected_end_of_text_1126": "Unerwartetes Textende.",
939944
"Unexpected_token_1012": "Unerwartetes Token.",
940945
"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068": "Unerwartetes Token. Ein Konstruktor, eine Methode, eine Zugriffsmethode oder eine Eigenschaft wurde erwartet.",
946+
"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069": "Unerwartetes Token. Es wurde ein Typparametername ohne geschweifte Klammern erwartet.",
941947
"Unexpected_token_expected_1179": "Unerwartetes Token. \"{\" wurde erwartet.",
942948
"Unknown_compiler_option_0_5023": "Unbekannte Compileroption \"{0}\".",
943949
"Unknown_option_excludes_Did_you_mean_exclude_6114": "Unbekannte Option \"exclude\". Meinten Sie \"exclude\"?",

lib/enu/diagnosticMessages.generated.json.lcg

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,18 @@
309309
</Str>
310310
<Disp Icon="Str" />
311311
</Item>
312+
<Item ItemId=";A_non_dry_build_would_build_project_0_6357" ItemType="0" PsrId="306" Leaf="true">
313+
<Str Cat="Text">
314+
<Val><![CDATA[A non-dry build would build project '{0}']]></Val>
315+
</Str>
316+
<Disp Icon="Str" />
317+
</Item>
318+
<Item ItemId=";A_non_dry_build_would_delete_the_following_files_Colon_0_6356" ItemType="0" PsrId="306" Leaf="true">
319+
<Str Cat="Text">
320+
<Val><![CDATA[A non-dry build would delete the following files: {0}]]></Val>
321+
</Str>
322+
<Disp Icon="Str" />
323+
</Item>
312324
<Item ItemId=";A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371" ItemType="0" PsrId="306" Leaf="true">
313325
<Str Cat="Text">
314326
<Val><![CDATA[A parameter initializer is only allowed in a function or constructor implementation.]]></Val>
@@ -1149,6 +1161,24 @@
11491161
</Str>
11501162
<Disp Icon="Str" />
11511163
</Item>
1164+
<Item ItemId=";Build_all_projects_including_those_that_appear_to_be_up_to_date_6368" ItemType="0" PsrId="306" Leaf="true">
1165+
<Str Cat="Text">
1166+
<Val><![CDATA[Build all projects, including those that appear to be up to date]]></Val>
1167+
</Str>
1168+
<Disp Icon="Str" />
1169+
</Item>
1170+
<Item ItemId=";Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364" ItemType="0" PsrId="306" Leaf="true">
1171+
<Str Cat="Text">
1172+
<Val><![CDATA[Build one or more projects and their dependencies, if out of date]]></Val>
1173+
</Str>
1174+
<Disp Icon="Str" />
1175+
</Item>
1176+
<Item ItemId=";Building_project_0_6358" ItemType="0" PsrId="306" Leaf="true">
1177+
<Str Cat="Text">
1178+
<Val><![CDATA[Building project '{0}'...]]></Val>
1179+
</Str>
1180+
<Disp Icon="Str" />
1181+
</Item>
11521182
<Item ItemId=";Call_decorator_expression_90028" ItemType="0" PsrId="306" Leaf="true">
11531183
<Str Cat="Text">
11541184
<Val><![CDATA[Call decorator expression]]></Val>
@@ -1263,6 +1293,18 @@
12631293
</Str>
12641294
<Disp Icon="Str" />
12651295
</Item>
1296+
<Item ItemId=";Cannot_find_lib_definition_for_0_2726" ItemType="0" PsrId="306" Leaf="true">
1297+
<Str Cat="Text">
1298+
<Val><![CDATA[Cannot find lib definition for '{0}'.]]></Val>
1299+
</Str>
1300+
<Disp Icon="Str" />
1301+
</Item>
1302+
<Item ItemId=";Cannot_find_lib_definition_for_0_Did_you_mean_1_2727" ItemType="0" PsrId="306" Leaf="true">
1303+
<Str Cat="Text">
1304+
<Val><![CDATA[Cannot find lib definition for '{0}'. Did you mean '{1}'?]]></Val>
1305+
</Str>
1306+
<Disp Icon="Str" />
1307+
</Item>
12661308
<Item ItemId=";Cannot_find_module_0_2307" ItemType="0" PsrId="306" Leaf="true">
12671309
<Str Cat="Text">
12681310
<Val><![CDATA[Cannot find module '{0}'.]]></Val>
@@ -1827,6 +1869,12 @@
18271869
</Str>
18281870
<Disp Icon="Str" />
18291871
</Item>
1872+
<Item ItemId=";Delete_the_outputs_of_all_projects_6365" ItemType="0" PsrId="306" Leaf="true">
1873+
<Str Cat="Text">
1874+
<Val><![CDATA[Delete the outputs of all projects]]></Val>
1875+
</Str>
1876+
<Disp Icon="Str" />
1877+
</Item>
18301878
<Item ItemId=";Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084" ItemType="0" PsrId="306" Leaf="true">
18311879
<Str Cat="Text">
18321880
<Val><![CDATA[[Deprecated]5D; Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit]]></Val>
@@ -2127,6 +2175,12 @@
21272175
</Str>
21282176
<Disp Icon="Str" />
21292177
</Item>
2178+
<Item ItemId=";Enable_verbose_logging_6366" ItemType="0" PsrId="306" Leaf="true">
2179+
<Str Cat="Text">
2180+
<Val><![CDATA[Enable verbose logging]]></Val>
2181+
</Str>
2182+
<Disp Icon="Str" />
2183+
</Item>
21302184
<Item ItemId=";Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037" ItemType="0" PsrId="306" Leaf="true">
21312185
<Str Cat="Text">
21322186
<Val><![CDATA[Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.]]></Val>
@@ -3693,6 +3747,12 @@
36933747
</Str>
36943748
<Disp Icon="Str" />
36953749
</Item>
3750+
<Item ItemId=";Option_build_must_be_the_first_command_line_argument_6369" ItemType="0" PsrId="306" Leaf="true">
3751+
<Str Cat="Text">
3752+
<Val><![CDATA[Option '--build' must be the first command line argument.]]></Val>
3753+
</Str>
3754+
<Disp Icon="Str" />
3755+
</Item>
36963756
<Item ItemId=";Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047" ItemType="0" PsrId="306" Leaf="true">
36973757
<Str Cat="Text">
36983758
<Val><![CDATA[Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher.]]></Val>
@@ -3717,6 +3777,12 @@
37173777
</Str>
37183778
<Disp Icon="Str" />
37193779
</Item>
3780+
<Item ItemId=";Options_0_and_1_cannot_be_combined_6370" ItemType="0" PsrId="306" Leaf="true">
3781+
<Str Cat="Text">
3782+
<Val><![CDATA[Options '{0}' and '{1}' cannot be combined.]]></Val>
3783+
</Str>
3784+
<Disp Icon="Str" />
3785+
</Item>
37203786
<Item ItemId=";Options_Colon_6027" ItemType="0" PsrId="306" Leaf="true">
37213787
<Str Cat="Text">
37223788
<Val><![CDATA[Options:]]></Val>
@@ -3999,12 +4065,60 @@
39994065
</Str>
40004066
<Disp Icon="Str" />
40014067
</Item>
4068+
<Item ItemId=";Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363" ItemType="0" PsrId="306" Leaf="true">
4069+
<Str Cat="Text">
4070+
<Val><![CDATA[Project '{0}' can't be built because its dependency '{1}' has errors]]></Val>
4071+
</Str>
4072+
<Disp Icon="Str" />
4073+
</Item>
4074+
<Item ItemId=";Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353" ItemType="0" PsrId="306" Leaf="true">
4075+
<Str Cat="Text">
4076+
<Val><![CDATA[Project '{0}' is out of date because its dependency '{1}' is out of date]]></Val>
4077+
</Str>
4078+
<Disp Icon="Str" />
4079+
</Item>
4080+
<Item ItemId=";Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350" ItemType="0" PsrId="306" Leaf="true">
4081+
<Str Cat="Text">
4082+
<Val><![CDATA[Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}']]></Val>
4083+
</Str>
4084+
<Disp Icon="Str" />
4085+
</Item>
4086+
<Item ItemId=";Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352" ItemType="0" PsrId="306" Leaf="true">
4087+
<Str Cat="Text">
4088+
<Val><![CDATA[Project '{0}' is out of date because output file '{1}' does not exist]]></Val>
4089+
</Str>
4090+
<Disp Icon="Str" />
4091+
</Item>
4092+
<Item ItemId=";Project_0_is_up_to_date_6361" ItemType="0" PsrId="306" Leaf="true">
4093+
<Str Cat="Text">
4094+
<Val><![CDATA[Project '{0}' is up to date]]></Val>
4095+
</Str>
4096+
<Disp Icon="Str" />
4097+
</Item>
4098+
<Item ItemId=";Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351" ItemType="0" PsrId="306" Leaf="true">
4099+
<Str Cat="Text">
4100+
<Val><![CDATA[Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}']]></Val>
4101+
</Str>
4102+
<Disp Icon="Str" />
4103+
</Item>
4104+
<Item ItemId=";Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354" ItemType="0" PsrId="306" Leaf="true">
4105+
<Str Cat="Text">
4106+
<Val><![CDATA[Project '{0}' is up to date with .d.ts files from its dependencies]]></Val>
4107+
</Str>
4108+
<Disp Icon="Str" />
4109+
</Item>
40024110
<Item ItemId=";Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202" ItemType="0" PsrId="306" Leaf="true">
40034111
<Str Cat="Text">
40044112
<Val><![CDATA[Project references may not form a circular graph. Cycle detected: {0}]]></Val>
40054113
</Str>
40064114
<Disp Icon="Str" />
40074115
</Item>
4116+
<Item ItemId=";Projects_in_this_build_Colon_0_6355" ItemType="0" PsrId="306" Leaf="true">
4117+
<Str Cat="Text">
4118+
<Val><![CDATA[Projects in this build: {0}]]></Val>
4119+
</Str>
4120+
<Disp Icon="Str" />
4121+
</Item>
40084122
<Item ItemId=";Projects_to_reference_6300" ItemType="0" PsrId="306" Leaf="true">
40094123
<Str Cat="Text">
40104124
<Val><![CDATA[Projects to reference]]></Val>
@@ -4683,6 +4797,12 @@
46834797
</Str>
46844798
<Disp Icon="Str" />
46854799
</Item>
4800+
<Item ItemId=";Show_what_would_be_built_or_deleted_if_specified_with_clean_6367" ItemType="0" PsrId="306" Leaf="true">
4801+
<Str Cat="Text">
4802+
<Val><![CDATA[Show what would be built (or deleted, if specified with '--clean')]]></Val>
4803+
</Str>
4804+
<Disp Icon="Str" />
4805+
</Item>
46864806
<Item ItemId=";Signature_0_must_be_a_type_predicate_1224" ItemType="0" PsrId="306" Leaf="true">
46874807
<Str Cat="Text">
46884808
<Val><![CDATA[Signature '{0}' must be a type predicate.]]></Val>
@@ -4695,6 +4815,18 @@
46954815
</Str>
46964816
<Disp Icon="Str" />
46974817
</Item>
4818+
<Item ItemId=";Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362" ItemType="0" PsrId="306" Leaf="true">
4819+
<Str Cat="Text">
4820+
<Val><![CDATA[Skipping build of project '{0}' because its dependency '{1}' has errors]]></Val>
4821+
</Str>
4822+
<Disp Icon="Str" />
4823+
</Item>
4824+
<Item ItemId=";Skipping_clean_because_not_all_projects_could_be_located_6371" ItemType="0" PsrId="306" Leaf="true">
4825+
<Str Cat="Text">
4826+
<Val><![CDATA[Skipping clean because not all projects could be located]]></Val>
4827+
</Str>
4828+
<Disp Icon="Str" />
4829+
</Item>
46984830
<Item ItemId=";Source_Map_Options_6175" ItemType="0" PsrId="306" Leaf="true">
46994831
<Str Cat="Text">
47004832
<Val><![CDATA[Source Map Options]]></Val>
@@ -5745,6 +5877,12 @@
57455877
</Str>
57465878
<Disp Icon="Str" />
57475879
</Item>
5880+
<Item ItemId=";Updating_output_timestamps_of_project_0_6359" ItemType="0" PsrId="306" Leaf="true">
5881+
<Str Cat="Text">
5882+
<Val><![CDATA[Updating output timestamps of project '{0}'...]]></Val>
5883+
</Str>
5884+
<Disp Icon="Str" />
5885+
</Item>
57485886
<Item ItemId=";Use_synthetic_default_member_95016" ItemType="0" PsrId="306" Leaf="true">
57495887
<Str Cat="Text">
57505888
<Val><![CDATA[Use synthetic 'default' member.]]></Val>
@@ -6105,6 +6243,12 @@
61056243
</Str>
61066244
<Disp Icon="Str" />
61076245
</Item>
6246+
<Item ItemId=";delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360" ItemType="0" PsrId="306" Leaf="true">
6247+
<Str Cat="Text">
6248+
<Val><![CDATA[delete this - Project '{0}' is up to date because it was previously built]]></Val>
6249+
</Str>
6250+
<Disp Icon="Str" />
6251+
</Item>
61086252
<Item ItemId=";enum_declarations_can_only_be_used_in_a_ts_file_8015" ItemType="0" PsrId="306" Leaf="true">
61096253
<Str Cat="Text">
61106254
<Val><![CDATA['enum declarations' can only be used in a .ts file.]]></Val>

0 commit comments

Comments
 (0)