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
Commits on May 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 16c53af - Browse repository at this point
Copy the full SHA 16c53afView commit details
Commits on May 16, 2021
-
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.
Configuration menu - View commit details
-
Copy full SHA for 548fb21 - Browse repository at this point
Copy the full SHA 548fb21View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 6cb62bc - Browse repository at this point
Copy the full SHA 6cb62bcView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 66b89a5 - Browse repository at this point
Copy the full SHA 66b89a5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 662abfc - Browse repository at this point
Copy the full SHA 662abfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for df9f35d - Browse repository at this point
Copy the full SHA df9f35dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a2db673 - Browse repository at this point
Copy the full SHA a2db673View commit details
Commits on May 17, 2021
-
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.
Configuration menu - View commit details
-
Copy full SHA for dd5ab70 - Browse repository at this point
Copy the full SHA dd5ab70View commit details