Skip to content

Commit 20ef5bb

Browse files
Bump scaffold (#88)
* Bump scaffold * Adjustment --------- Co-authored-by: @compulim <@compulim> Co-authored-by: William Wong <compulim@hotmail.com>
1 parent abcc3b5 commit 20ef5bb

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

packages/integration-test/.eslintrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ overrides:
77
commonjs: true
88
files:
99
- '**/*.js'
10+
- files:
11+
- '**/*.mjs'
12+
parserOptions:
13+
ecmaVersion: latest
14+
sourceType: module

packages/react-chain-of-responsibility/__tests__/__setup__/typingTestTransformer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,16 @@ const run = ({ filename }) => {
77
const typeScript = require('typescript');
88

99
const TS_EXPECT_ERROR = /(\/\/\s+)(@ts-expect-error)[\s+(.*)]/gu;
10+
/** @type {import("typescript").CompilerOptions} */
1011
const TSCONFIG = {
1112
allowImportingTsExtensions: true,
1213
allowSyntheticDefaultImports: true,
1314
jsx: typeScript.JsxEmit.React,
15+
lib: ['lib.dom.d.ts', 'lib.esnext.d.ts'],
1416
noEmit: true,
1517
skipLibCheck: true,
16-
strict: true
18+
strict: true,
19+
target: ['ESNext']
1720
};
1821

1922
async function compile(filename) {

packages/react-chain-of-responsibility/jest.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
{
2424
"modules": "commonjs",
2525
"targets": {
26-
"node": "18"
26+
"node": "20"
2727
}
2828
}
2929
]

0 commit comments

Comments
 (0)