Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jaredpalmer/tsdx
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6aeda02fd1e02390fab16d29c8bfa64909895af8
Choose a base ref
..
head repository: jaredpalmer/tsdx
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2195e90ba4ea3b695fdfa253c4c17fdc2e491a36
Choose a head ref
Showing with 5 additions and 3 deletions.
  1. +3 −1 src/deprecated.ts
  2. +2 −2 test/e2e/tsdx-build-default.test.js
4 changes: 3 additions & 1 deletion src/deprecated.ts
Original file line number Diff line number Diff line change
@@ -22,7 +22,9 @@ export async function moveTypes() {
'rootDir to "./src".\n' +
'TSDX has deprecated setting tsconfig.compilerOptions.rootDir to ' +
'"./" as it caused buggy output for declarationMaps and occassionally ' +
'for type declarations themselves.'
'for type declarations themselves.\n' +
'You may also need to change your include to remove "test", which also ' +
'caused declarations to be unnecessarily created for test files.'
);

try {
4 changes: 2 additions & 2 deletions test/e2e/tsdx-build-default.test.js
Original file line number Diff line number Diff line change
@@ -34,8 +34,8 @@ describe('tsdx build :: zero-config defaults', () => {
it("shouldn't compile files in test/ or types/", () => {
const output = execWithCache('node ../dist/index.js build');

expect(shell.test('-f', 'dist/test/')).toBeFalsy();
expect(shell.test('-f', 'dist/types/')).toBeFalsy();
expect(shell.test('-d', 'dist/test/')).toBeFalsy();
expect(shell.test('-d', 'dist/types/')).toBeFalsy();

expect(output.code).toBe(0);
});