Skip to content

Commit

Permalink
chore: copy d.ts files during build (#8086)
Browse files Browse the repository at this point in the history
* chore: copy d.ts files during build

* changelog

* Revert "chore: copy d.ts files during build"

This reverts commit 5d2c2e7.

* move d.ts files to root of module
  • Loading branch information
SimenB committed Mar 8, 2019
1 parent af47382 commit a5ae2f5
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
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
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/jest-reporters/src/coverage_reporter.ts
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
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
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
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
File renamed without changes.

0 comments on commit a5ae2f5

Please sign in to comment.