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: copy d.ts files during build #8086

Merged
merged 4 commits into from
Mar 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

### Chore & Maintenance

- `[*]` Make sure to include `d.ts` files in the tarball when building ([#8086](https://github.com/facebook/jest/pull/8086))

### Performance

## 24.3.1
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-reporters/src/coverage_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*/

// TODO: Remove this
/// <reference path="./istanbul-lib-coverage.d.ts" />
/// <reference path="./istanbul-api.d.ts" />
/// <reference path="../istanbul-lib-coverage.d.ts" />
/// <reference path="../istanbul-api.d.ts" />

import path from 'path';
import {Config} from '@jest/types';
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-reporters/src/generateEmptyCoverage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// TODO: Remove this
/// <reference path="./istanbul-lib-coverage.d.ts" />
/// <reference path="../istanbul-lib-coverage.d.ts" />

import {Config} from '@jest/types';
import {readInitialCoverage} from 'istanbul-lib-instrument';
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-reporters/src/notify_reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

// TODO: Remove this
/// <reference path="./node-notifier.d.ts" />
/// <reference path="../node-notifier.d.ts" />

import path from 'path';
import util from 'util';
Expand Down
2 changes: 2 additions & 0 deletions packages/jest-serializer/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// TODO: Remove this
/// <reference path="../v8.d.ts" />

import fs from 'fs';
import v8 from 'v8';
Expand Down