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

Support export declarations #801

Closed

Commits on Apr 5, 2019

  1. Revert "rebuild specs"

    This reverts most of commit 3716ba7.
    lddubeau committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    0847ebb View commit details
    Browse the repository at this point in the history
  2. Fix remaining specs that need fixing.

    These were not affected by the revert in the previous commit.
    lddubeau committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    4157c57 View commit details
    Browse the repository at this point in the history
  3. Reset the hidden field at conversion start.

    In the test suite, a single app is reused for all the converter tests. If the
    plugins do not appropriately reset their state at the start of a conversion,
    then one test may affect later tests.
    lddubeau committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    2929533 View commit details
    Browse the repository at this point in the history
  4. Prune non-exported declarations rather than not create them.

    The earlier code would skip the creation of a declaration when the
    flag excludeNotExported was turned on. This could cause problems
    because it is not always possible at the time of the declaration
    creation to know whether the declaration will ultimately be
    exported. Consider:
    
    const foo =  1;
    export { foo }
    
    At the time of processing the first line, it is not known that foo
    will be exported.
    
    The new code lets all declarations be created and later, if
    excludeNotExported is turned on, it prunes the declarations that
    were not exported.
    lddubeau committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    d5a69e5 View commit details
    Browse the repository at this point in the history
  5. Don't restrict the flag array.

    Instead of deciding ahead of time which flags the themes may
    need, put all flags in the array and let the themes determine which
    flags matter to them.
    lddubeau committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    7a074ac View commit details
    Browse the repository at this point in the history
  6. Add Export flag.

    The Export flag is used to indicate that a symbol is directly under
    the effect of an `export` keyword in the TS source or directly subject
    to an export declaration.
    
    This flag is different from the Exported flag, which indicates that a
    symbol is externally either directly *or* indirectly.
    
    Class members provide a good example of the distinction between the
    two flags. They never get the Export flag because they cannot be
    individuall exported. However, they have the Exported flag true if
    their containing class is exported.
    lddubeau committed Apr 5, 2019
    Configuration menu
    Copy the full SHA
    1c786a8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a84ac0c View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2019

  1. Configuration menu
    Copy the full SHA
    97aa3c0 View commit details
    Browse the repository at this point in the history
  2. Rebasing made minced-meat of the package-lock, regenerate.

    I used ``npm install --package-lock-only`` as specified in the npm doc. Didn't
    do any good...
    lddubeau committed Apr 6, 2019
    Configuration menu
    Copy the full SHA
    a905224 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2019

  1. Configuration menu
    Copy the full SHA
    ae6a2ea View commit details
    Browse the repository at this point in the history
  2. Fix rebuild specs script to actually rebuild everything

    ... and rebuild specs for new tests
    Gerrit0 committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    c94942d View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2019

  1. Add test from TypeStrong#1103

    Also:
    - clean up scripts/rebuild_specs.js, making it easier to use for debugging a single test.
    - move log message about TS version to the CLI
    - Use rimraf instead of rm for Windows compatibility when developing
    - Fix bugs with object literals causing a crash, rebuild tests.
    Gerrit0 committed Nov 3, 2019
    Configuration menu
    Copy the full SHA
    db47e79 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2019

  1. Configuration menu
    Copy the full SHA
    c7a349e View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2019

  1. Configuration menu
    Copy the full SHA
    7f6f173 View commit details
    Browse the repository at this point in the history
  2. Fix function specs

    Gerrit0 committed Nov 10, 2019
    Configuration menu
    Copy the full SHA
    fc94d9e View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

  1. Lint

    Gerrit0 committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    e91f7b1 View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2019

  1. Configuration menu
    Copy the full SHA
    6e68253 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1511cea View commit details
    Browse the repository at this point in the history