`fs-extra` was not added as a dependency. Scripts that were using `fs-extra` relied on an indirect dependency on an
older version of `fs-extra`. These scripts only used functions that `fs-extra` exports from `fs`. The latest version of
`fs-extra` doesn’t even export these in the ESM export, only in the CJS export. So while my original idea was to update
to the latest version of `fs-extra`, instead I removed the dependency entirely.
* fix: Add back JSON assertion to support-window script
Adds back the JSON assertion that caused the workflow to fail on the
latest Node version.
* fix: Update extension on path in support-window workflow
* Update more export-just-namespace exemptions
These tslint per-line comments were previously not changed when running tslint-rule-to-eslint.js
* First attempt at replacing tslint disable comments
It's too slow to run on my laptop, so probably should run as a single `find` command.
* Better find/xargs sed combo
* Tooling: dt-header fast follow fixes
* Enable JSDoc, jakebailey is right
* Improve type annotations slightly
A little less precision globally, a little more where it's useful.
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
* Ghostbuster script
* Generate ghost list from API
* Write scheduled workflow
* Update logging
* Support opening a PR
* Move git config to where it’s needed
* Update schedule to daily
Co-authored-by: Ryan Cavanaugh <ryanca@microsoft.com>
It removes empty folders from now-removed packages so that test-all will
run without complaining. Also removes folders that are empty except for
`node_modules`.
Unwated artefact of #49492 was a change in the order of no longer needed
pacakges from alphabetical sort to chronological (desc)
This commit restores the alphabetical sort.
Thanks!
/cc @jablko @andrewbranch
* fix not-needed script regression, introduced by removing of the sourceRepoURL parameter in #49620 (3868b76e67)
* doc fix example of npm run not-needed
If you don't call it, you get the number of parameters of os.cpus, which
is 0, which parseDefinition treats as a single to return an empty result
instead of parsing.
* Update update-codeowners.js: switch to @definitelytyped
I forgot to update this when the rest of DT switch from types-publisher
to @definitelytyped.
* move new deps to devDeps
* remove extraneous comma
* Restrict workflow to DefinitelyTyped/DefinitelyTyped
* Add update-codeowners script
Right now it works but doesn't open a PR for you.
Also not present as an npm script.
* Dump in a bunch of code from TS
* A few fixes and updates
1. Fix package.json formatting.
2. Adapt copied code from TS.
* Ready to test locally
* Fix git add
* Put everything in one Promise chain
Also start compiling JS files in scripts/