Skip to content

Commit 148c5c9

Browse files
committed
chore: switch to es2022 ecmaVersion
1 parent 3c9075c commit 148c5c9

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parserOptions": {
3-
"ecmaVersion": 2017,
3+
"ecmaVersion": 2022,
44
"sourceType": "module",
55
"ecmaFeatures": {
66
"jsx": true

packages/betsy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"build": "npm run build:lib & npm run build:es",
1313
"build:lib": "tsc --outDir lib --module commonjs",
14-
"build:es": "tsc --outDir es --module ES2020 --target ES2020",
14+
"build:es": "tsc --outDir es --module ES2022 --target ES2022",
1515
"clean": "rimraf es lib coverage",
1616
"typecheck": "tsc --noEmit",
1717
"test": "jest",

packages/betsy/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"rootDir": "src",
66
"outDir": ".code",
77
"newLine": "LF",
8-
"lib": ["dom", "es2017"],
8+
"lib": ["dom", "es2022"],
99
"moduleResolution": "node",
1010
"importHelpers": true,
1111
"declaration": true,

packages/overmind-devtools-client/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "src",
77
"outDir": "dist",
88
"newLine": "LF",
9-
"lib": ["dom", "es2017"],
9+
"lib": ["dom", "es2022"],
1010
"moduleResolution": "node",
1111
"importHelpers": true,
1212
"pretty": true,

packages/overmind-graphql/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"build": "npm run build:lib & npm run build:es",
1313
"build:lib": "tsc --outDir lib --module commonjs",
14-
"build:es": "tsc --outDir es --module ES2020 --target ES2020",
14+
"build:es": "tsc --outDir es --module ES2022 --target ES2022",
1515
"clean": "rimraf es lib coverage",
1616
"typecheck": "tsc --noEmit",
1717
"test:watch": "jest --watch --updateSnapshot --coverage false",

packages/overmind-graphql/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "src",
77
"outDir": ".code",
88
"newLine": "LF",
9-
"lib": ["dom", "es2017"],
9+
"lib": ["dom", "es2022"],
1010
"moduleResolution": "node",
1111
"importHelpers": true,
1212
"declaration": true,

packages/overmind-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"build": "npm run build:lib & npm run build:es",
1313
"build:lib": "tsc --outDir lib --module commonjs",
14-
"build:es": "tsc --outDir es --module ES2020 --target ES2020",
14+
"build:es": "tsc --outDir es --module ES2022 --target ES2022",
1515
"clean": "rimraf es lib coverage",
1616
"typecheck": "tsc --noEmit",
1717
"test": "jest --runInBand",

packages/overmind-react/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "src",
77
"outDir": ".code",
88
"newLine": "LF",
9-
"lib": ["dom", "es2017"],
9+
"lib": ["dom", "es2022"],
1010
"moduleResolution": "node",
1111
"strictNullChecks": true,
1212
"importHelpers": true,

packages/overmind-statechart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"scripts": {
1212
"build": "npm run build:lib & npm run build:es",
1313
"build:lib": "tsc --outDir lib --module commonjs",
14-
"build:es": "tsc --outDir es --module ES2020 --target ES2020",
14+
"build:es": "tsc --outDir es --module ES2022 --target ES2022",
1515
"clean": "rimraf es lib coverage",
1616
"typecheck": "tsc --noEmit",
1717
"test": "jest --runInBand",

packages/overmind-statechart/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"rootDir": "src",
77
"outDir": ".code",
88
"newLine": "LF",
9-
"lib": ["dom", "es2017"],
9+
"lib": ["dom", "es2022"],
1010
"moduleResolution": "node",
1111
"importHelpers": true,
1212
"declaration": true,

0 commit comments

Comments
 (0)