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

Test against newest TS versions #28

Merged
merged 8 commits into from May 17, 2021
Merged

Test against newest TS versions #28

merged 8 commits into from May 17, 2021

Commits on May 15, 2021

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

Commits on May 16, 2021

  1. test(typescript): allow test plugins to load in newer TS versions

    Loading plugins by path is blocked in newer TS versions for security reasons. Convert the test
    plugins to packages and install them locally so we can include them in the tsconfig by name.
    andyrooger committed May 16, 2021
    Configuration menu
    Copy the full SHA
    548fb21 View commit details
    Browse the repository at this point in the history
  2. test(deps): create workspace package.json for tests

    Moved fake plugin packages and various typescript versions to a package.json in the workspace. This
    is installed before running tests and means we can also include the main plugin by name
    andyrooger committed May 16, 2021
    Configuration menu
    Copy the full SHA
    6cb62bc View commit details
    Browse the repository at this point in the history
  3. feat(orderwarning): ignore plugins included by their local paths

    Newer versions of TS only allow plugins to be specified by package name. Dropped the tests and the
    code for guessing when the plugin is included via a local path. This will make no difference to
    anyone using the plugin normally via npm, and won't make any difference to properly set up
    projects.
    andyrooger committed May 16, 2021
    Configuration menu
    Copy the full SHA
    66b89a5 View commit details
    Browse the repository at this point in the history
  4. test(orderwarning): fix orderwarning tests for newer TS versions

    Since we cannot load the plugin by filepath in newer TS versions, and we can't alias a package from
    a local path, it's hard to install the plugin with a different name and generate warnings in the
    tests. Added it awkwardly as a new name todo this.
    andyrooger committed May 16, 2021
    Configuration menu
    Copy the full SHA
    662abfc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df9f35d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a2db673 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. test(deps): adjust test dep locations to work with local packages

    Moved the default TS dependency to the project root to work around issues with packages that have
    peer deps being installed as local folders. Adjusted stored paths to compensate. Included TS as a
    peer dep for the dummy plugins that need it.
    andyrooger committed May 17, 2021
    Configuration menu
    Copy the full SHA
    dd5ab70 View commit details
    Browse the repository at this point in the history