* definition-parser: Use scoped names when testing mappings for relative
imports.
* miscellany/utils: When removing version number, keeps wildcard at the
end of mapping.
* miscellany/utils: When checking the existence of a version number,
catch those packages that include a wildcard path mapping.
Co-authored-by: Federico Panico <federicopanico@gmail.com>
* Functions MVP
* Actually commit root files
* Fix typo
* Enable remote build?
* Save temp directory as artifact?
* Blah
* Try to convince Oryx to use yarn
* Make independent tsconfig for deployed app
* Remote build doesn’t need to run tsc
* Whatever
* Functions have to be at the source root
* Add test function for fileshare
* Stooppppp
* SDFKLJSDFJKLDSFJKLSFDKLJ
* Make test HTTP trigger run the whole thing
* Set timeout to an hour
* Remove unused config
* App insights starts on its own, I think
* Update fs-extra
* Update node in dependencies
* Fix type error
* Use file lock, fix app insights
* Log response
* Bump timeout to 1:30
* Rename triggers for better alphabetical sort
* Update gitignore
* Update CI versions to latest two LTS
* Improve process logging + expectedFailures addition
1. Improve the error message in runWithChildProcesses to pass through
the failure reason.
2. Add mithril and mithril-global to expectedFailures, since I haven't
found a satisfactory way to make them pass on 4.3 in my two attempts at
DefinitelyTyped/DefinitelyTyped#51482 and
DefinitelyTyped/DefinitelyTyped#51765.
* yarn format
* fix: parser fails with older scoped packages.
Given a path mapping as
```
"paths": {
"@ckeditor/ckeditor5-utils": [
"ckeditor__ckeditor5-utils/v10"
]
}
```
definitions-parser failed to understand that `/v10` is not part of the
package name, and that the key of the mapping must be a scoped name.
* Resolve PR comments
- add test coverage
- simplify implementation
* Add test in definition-parser
* Use scopedPackageName in Error for missing mapping
Co-authored-by: Piotr Błażejewicz <peterblazejewicz@users.noreply.github.com>
* Add timeout to https.request.
I haven't looked at the source, but Stack Overflow claims there is no
timeout by default.
* change FetchOptions to intersect https.RequestOptions
* Add manual timeout to downloadAndExtractFile
Open question:
I'm not sure whether to add a clearTimeout call to `on("error", reject)`
* add rejectAndClearTimeout function