Skip to content
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

chore: Move source files into src/ and emit to lib/ with TypeScript #5568

Merged
merged 1 commit into from Apr 2, 2020

Commits on Apr 2, 2020

  1. chore: Move code to src/ and emit with TypeScript

    This updates our `tsconfig.json` so it emits our JavaScript files as
    well as type checking them. We compile into `./lib` which we then ship
    in our npm package. The source code has moved from `./lib` into `./src`.
    
    Because the `src/` directory is exclusively JS files, this change is a
    no-op in terms of code functionality but is the first step towards being
    able to replace `src/X.js` with `src/X.ts` in a way that allows us to
    migrate incrementally.
    
    The `lib` directory is gitignored, and the `src` directory is
    npmignored. On `npm publish` we will now run `npm run tsc` in order to
    generate the outputted code.
    jackfranklin committed Apr 2, 2020
    Copy the full SHA
    ba39aa8 View commit details
    Browse the repository at this point in the history