Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(allow-scripts): generate & ship typescript declarations (#675)
* feat(allow-scripts): generate & ship typescript declarations This adds `.d.ts` generation to `@lavamoat/allow-scripts`. - Many type defs added to `src/types` for those modules which do not have them (nor are there any published to DefinitelyTyped). In the future, some of these could be submitted to DefinitelyTyped, if we wish. - Upgrade `yargs` - Create reusable TS configuration supporting incremental builds - Declaration files generated at build time and shipped in the `types` folder (which is now in `.gitignore`) - Created `.depcheckrc` - Added, updated, removed and/or fixed many docstring types Note: the uncommon `skipLibCheck = false` setting in this module's `tsconfig.json` enables typechecking of the `.d.ts` files themselves. These files are not compiled. * chore(deps): upgrade base tsconfig for node 16
- Loading branch information