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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace espree and doctrine with typescript in docgen. #21238

Closed
wants to merge 70 commits into from

Commits on Apr 3, 2020

  1. Update TypeScript to 3.8.3

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    3d792ec View commit details
    Browse the repository at this point in the history
  2. Extract getExportTokens and rename it to getExportStatements

    Because TypeScript AST uses the term, statement.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    fd0a4a6 View commit details
    Browse the repository at this point in the history
  3. Add script: dump-ast.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    e0165e0 View commit details
    Browse the repository at this point in the history
  4. Refactor getExportEntries.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c87aaff View commit details
    Browse the repository at this point in the history
  5. hasExportKeyword -> hasExportModifier, hasDefaultKeyword -> hasDefaul…

    …tModifier
    
    They better describe what they do.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    eb4b14b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    47b0f41 View commit details
    Browse the repository at this point in the history
  7. Refactor getJsdocFromToken

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    22b8388 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d546688 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ad2aea1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9372027 View commit details
    Browse the repository at this point in the history
  11. Fix index.js

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    3528e37 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6966050 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    69a6fa5 View commit details
    Browse the repository at this point in the history
  14. Remove unnecessary comment.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    84671d4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    528fa02 View commit details
    Browse the repository at this point in the history
  16. Fix fileName.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    5b7aec9 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    05eea4c View commit details
    Browse the repository at this point in the history
  18. Add types to test.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b22acb8 View commit details
    Browse the repository at this point in the history
  19. Removed unnecessary files and espree

    Update package-lock.json
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    5c52fe8 View commit details
    Browse the repository at this point in the history
  20. Remove type checker.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    d98bb09 View commit details
    Browse the repository at this point in the history
  21. Add primitive types.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    7e18aad View commit details
    Browse the repository at this point in the history
  22. Add more type generations.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b1d1d21 View commit details
    Browse the repository at this point in the history
  23. Add function and object.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    34ea53b View commit details
    Browse the repository at this point in the history
  24. Add more types.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    7b3224b View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2b2e52c View commit details
    Browse the repository at this point in the history
  26. import -> require

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    7ebc964 View commit details
    Browse the repository at this point in the history
  27. Handle @typedef.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c83fc7e View commit details
    Browse the repository at this point in the history
  28. Uncomment tests.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    67012d7 View commit details
    Browse the repository at this point in the history
  29. type field for typedef.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    535efa5 View commit details
    Browse the repository at this point in the history
  30. Format typedef.

    Format test result.
    
    Format test for typedef.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    6a47250 View commit details
    Browse the repository at this point in the history
  31. Show default value.

    Test formatter default value.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    296c61e View commit details
    Browse the repository at this point in the history
  32. When a doc has no description but has tags, it's documented.

    Test for new undocumented condition.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    5f90185 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    dd14b0f View commit details
    Browse the repository at this point in the history
  34. Remove arg name and dot.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    294d4cd View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    c3c4137 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    c89e1a1 View commit details
    Browse the repository at this point in the history
  37. Fix lone qualified name.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    097cc9c View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    89ca742 View commit details
    Browse the repository at this point in the history
  39. Handle generics.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    859fecc View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    673fa13 View commit details
    Browse the repository at this point in the history
  41. escapedText -> text.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    4e522b5 View commit details
    Browse the repository at this point in the history
  42. Remove unnecessary script.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    4ac2228 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    6b0b0f6 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    86fc6b9 View commit details
    Browse the repository at this point in the history
  45. Remove unnecessary code.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    2f8076e View commit details
    Browse the repository at this point in the history
  46. Add known issues.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    fa1d12d View commit details
    Browse the repository at this point in the history
  47. Respect WP coding style.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    843d4b6 View commit details
    Browse the repository at this point in the history
  48. Add jsdoc comments.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    4029682 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    9811795 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    f92fd7f View commit details
    Browse the repository at this point in the history
  51. Show type error.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    b879fb0 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    8654f4e View commit details
    Browse the repository at this point in the history
  53. Fix test failures.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    7f026d5 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    ada4448 View commit details
    Browse the repository at this point in the history
  55. Remove ES2020 or rename it to ESNext.

    It isn't important because it's just setting targets.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    f114bda View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    62014e8 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    28172ef View commit details
    Browse the repository at this point in the history
  58. Remove getLocalName().

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c621be2 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    1f8a54f View commit details
    Browse the repository at this point in the history
  60. Remove unnecessary code.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    d869e45 View commit details
    Browse the repository at this point in the history
  61. Fix curly.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    d5f9b22 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    c6c9c99 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    ad088d8 View commit details
    Browse the repository at this point in the history
  64. Remove invalid test case.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    8586be6 View commit details
    Browse the repository at this point in the history
  65. Update docs

    Update docs.
    Update docs.
    Update docs.
    Update doc.
    Update docs.
    Update docs.
    Update docs.
    Update doc.
    Update doc.
    Update doc.
    Update doc.
    Update doc.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    c5f7b88 View commit details
    Browse the repository at this point in the history
  66. sF -> internalSourceFile.

    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    e4c60f3 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    d150875 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    2f20e58 View commit details
    Browse the repository at this point in the history
  69. Revert "Use optional chaining + optional catch binding!"

    This reverts commit f92fd7f.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    209271a View commit details
    Browse the repository at this point in the history
  70. Revert "Update docs"

    This reverts commit c5f7b88.
    sainthkh committed Apr 3, 2020
    Configuration menu
    Copy the full SHA
    0ec03a5 View commit details
    Browse the repository at this point in the history