Skip to content
Snippets Groups Projects
  1. Apr 03, 2023
    • Jed Fox's avatar
      Update to latest stable date-fns version (#849) · 5d921f7a
      Jed Fox authored
      Previously, we were using an alpha version of date-fns v2. Now we’re
      using the latest stable v2.
      Unverified
      5d921f7a
    • Alberto Gasparin's avatar
      Convert loot-core to TS p1 (#841) · 79ad04dd
      Alberto Gasparin authored
      Part 1 of the conversion. Mostly renaming js to ts and making sure
      things make still sense. Added also handy TS ESLint rules.
      
      In order to support the various .web/.electron/... I ended up adopting
      `index.d.ts` as pattern to share type definition. Let me know if that
      makes sense for you too. Right now the function type definition is
      duplicated, but the solution will be importing from `index.d.ts` and
      using `const fn: FnDef = () => ...` that way we can keep all variants in
      sync from a single type file.
      
      Such rewrite however is better done in another PR otherwise we risk
      confusing git and loosing history (rename + too many changes). Another
      thing that might do in the next PR is convert all files to ESModules, as
      things get confusing between CJS exports, ESM default/named and TS adds
      extra complains.
      Unverified
      79ad04dd
  2. Mar 28, 2023
  3. Mar 17, 2023
  4. Mar 16, 2023
  5. Mar 09, 2023
  6. Feb 28, 2023
  7. Feb 12, 2023
    • Jed Fox's avatar
      Updates to the template/goal feature (#588) · a8656162
      Jed Fox authored
      * Dedupe loot-core webpack configs
      
      * Swap to parsing using Peggy
      
      * Actually record syntax errors
      
      * Refactor template types
      
      * Add notifications after applying the templates
      
      * “Successfully”
      
      * Try a Nearley grammar
      
      * Revert "Try a Nearley grammar"
      
      This reverts commit 1e11c07b855a492b905f1291c3eadd93f78ac3de.
      
      Not going with this approach since the error messages are inscrutable.
      
      * switch to PEG.js which has slightly better tooling support
      
      * fix parser
      
      * Fix error reporting
      
      * Adjust grammar for better error messages
      
      Also allow spaces between currency symbol and number
      
      * Fix grammar
      
      * Make #template prefix case insensitive
      
      * Trailing commas
      
      * Remove patch-package from loot-core
      Unverified
      a8656162
  8. Feb 02, 2023
  9. Jan 25, 2023
  10. Jan 14, 2023
  11. Jan 12, 2023
  12. Jan 03, 2023
  13. Dec 29, 2022
  14. Sep 02, 2022
  15. Aug 31, 2022
  16. Aug 26, 2022
  17. Aug 24, 2022
  18. Aug 23, 2022
  19. Aug 12, 2022
  20. Jul 24, 2022
  21. Jul 20, 2022
  22. Jul 08, 2022
  23. Jul 07, 2022
  24. Jun 29, 2022
  25. Apr 29, 2022
Loading