This repository has been archived by the owner on May 22, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add TypeScript build step (#675)
* feat: setup typescript * feat: emit into "dist" directory * feat: make tests green again * feat: rename first test to use typescript * feat: add prepack instructions * feat: migrate first src file * feat: please formatter * feat: please prettier * feat: build before linting * feat: use WIP eslint config, ignore fixtures * feat: don't need to build before linting w/ new eslint * Revert "feat: don't need to build before linting w/ new eslint" This reverts commit 949f862. * feat: make dist/bin.js executable * chore: exec dist file * feat: correct order for stubbing * feat: upgrade target to es6 * feat: remove @ava/typescript and run tests against dist folder * chore: make prettier happy * feat: support linting README.md * chore: use npm prerelease of @netlify/eslint-config-node as recommended in #675 (comment) * feat: make prepush hook run tsc, too * feat: don't forget to run "build" in CI * chore: update eslint-config to release * chore: extend linting and formatting to TS files * refactor: convert export type * chore: dont emit sourcemaps * chore: omit tsbuildinfo from dist files * chore: remove tsbuildinfo from .gitignore, only ship .js and .d.ts Co-authored-by: Netlify Team Account 1 <netlify-team-account-1@users.noreply.github.com> Co-authored-by: Eduardo Bouças <mail@eduardoboucas.com>
- Loading branch information
1e3ac5a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⏱ Benchmark results
largeDepsEsbuild: 11.6s
largeDepsZisi: 57.8s