Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Migrate CLI to TypeScript #10802

Merged
merged 41 commits into from
May 18, 2020
Merged

CLI: Migrate CLI to TypeScript #10802

merged 41 commits into from
May 18, 2020

Commits on May 15, 2020

  1. refactor(cli): add tsconfig.json

    鈿狅笍 All files in `template*` directories are ignored because they must be as it in the `dist`.
    gaetanmaisse committed May 15, 2020
    Configuration menu
    Copy the full SHA
    f0954f6 View commit details
    Browse the repository at this point in the history
  2. refactor(cli): migrate Yarn and NPM related files to TS

     - Add needed @types packages
     - remove `silent: true` option in `sync` calls as it looks like it's not a valid option
     - remove `encoding: 'utf-8'` option in `spawn` calls as it looks like it's not a valid option
    gaetanmaisse committed May 15, 2020
    Configuration menu
    Copy the full SHA
    211acb6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a4d5135 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    924686a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f923d9a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e5c3998 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ce1a495 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d8e77a1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e49f81 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8e0e02f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7661068 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f481ef0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    db5a8de View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    eea1a03 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    9e0fa87 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a124364 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    493ab0f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d3179de View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ccdffd2 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    30c09dd View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    d4d6149 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    97bb8fd View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7a75fd3 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    9bb9c69 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    828f562 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    ef30988 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    d0b0d1f View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    306125f View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    56930ac View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    66e077b View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    0cd9cde View commit details
    Browse the repository at this point in the history
  32. refactor(cli): activate strict mode in TS (except strictNullChecks)

    Activating `strictNullChecks` makes TS compilation throw a lot of errors that need to refactor some part of the code.
    These refactoring will be done in another commit.
    gaetanmaisse committed May 15, 2020
    Configuration menu
    Copy the full SHA
    d4b2203 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Configuration menu
    Copy the full SHA
    66e6fdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5f4eee1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1ffb88 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2020

  1. Configuration menu
    Copy the full SHA
    7ea8f77 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc237c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb149f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ffa1522 View commit details
    Browse the repository at this point in the history
  5. refactor(cli): improve typing of window

    In order to be able to extend types in global scope with an `import` at the top of the file we have to create a new dedicated file (and can not use already existing typings.d.ts).
    For details, see https://stackoverflow.com/questions/30960386/how-to-extend-the-window-typescript-interface/30961346#30961346
    gaetanmaisse committed May 17, 2020
    Configuration menu
    Copy the full SHA
    5860974 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9583c02 View commit details
    Browse the repository at this point in the history