1. Oct 05, 2022
  2. Sep 30, 2022
  3. Sep 29, 2022
  4. Sep 28, 2022
  5. Sep 27, 2022
  6. Sep 26, 2022
  7. Sep 24, 2022
  8. Sep 23, 2022
    • Steven R. Loomis's avatar
      1ac4e116
    • Steven R. Loomis's avatar
      700db810
    • Steven R. Loomis's avatar
    • Marc Durdin's avatar
      chore(developer): ts v4.8.3 upgrade breaks mocha 10.0.0 with ts-node · 33fd8cff
      Marc Durdin authored
      Mocha with ts-register was failing with an error for Keyman Developer
      Server.
      
      ```
      Error: Debug Failure. False expression: Non-string value passed to
      `ts.resolveTypeReferenceDirective`, likely by a wrapping package working
      with an outdated `resolveTypeReferenceDirectives` signature. This is
      probably not a problem in TS itself.
      ```
      
      The `^4.5.4` version reference for typescript was too lax, and so npm
      gave us typescript 4.8.3, which was the latest version in use in the
      repo in this branch (in kmc-model). This is also why the build only
      failed on this branch -- on master branch, the latest version referenced
      was still 4.5.4.
      
      Changing to `~4.5.4` ensures that it stayed on the 4.5.x series, and
      mocha then ran version 4.5.5 of tsc.
      
      This is something we should resolve when we move the entire repo to tsc
      4.8+. Currently we are still on 4.5.
      
      Note: it may be sensible to review all versioning for typescript,
      because the minor version changes are causing functionality breaks,
      which kinda violates the spirit of semver ("MINOR version when you add
      functionality in a backwards compatible manner"). We can be more
      restrictive by updating all package.json references to typescript to
      `~4.5.4` instead of the current `^4.5.4` in use throughout. If/when we
      do this, we will need to check our ts-node references also.
      33fd8cff
  9. Sep 22, 2022
  10. Sep 21, 2022