-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(TDP-12694): jest and cdn script configs broken after pnpm use-case (
- Loading branch information
Guillaume NICOLAS
authored
Nov 24, 2023
1 parent
4dc277f
commit 06598a0
Showing
5 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@talend/scripts-config-cdn': patch | ||
--- | ||
|
||
fix(TDP-12694): require valid package-lock file path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@talend/scripts-config-jest': patch | ||
--- | ||
|
||
fix(TDP-12694): broken applyBabelTransformOn after pnpm use-case |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { applyBabelTransformOn } from '../utils'; | ||
|
||
describe('utilities', () => { | ||
describe('applyBabelTransformOn', () => { | ||
it('should add babel transform directive', () => { | ||
const config = { | ||
transformIgnorePatterns: ['node_modules/(?!(?:.pnpm/)?(d3|internmap))'], | ||
}; | ||
applyBabelTransformOn(config, ['dexie']); | ||
expect(config.transformIgnorePatterns[0]).toBe( | ||
'node_modules/(?!(?:.pnpm/)?(d3|internmap|dexie))', | ||
); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters