Skip to content

Commit 00924f4

Browse files
committed
common: attempt to update common's module type to nodenext
1 parent ed3fcbf commit 00924f4

File tree

4 files changed

+31
-4
lines changed

4 files changed

+31
-4
lines changed

packages/indexer-common/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"@types/lodash.clonedeep": "^4.5.7",
3030
"@types/lodash.intersection": "^4.4.7",
3131
"@types/lodash.xor": "^4.5.7",
32+
"@types/sequelize": "4.28.20",
3233
"@urql/core": "3.1.0",
3334
"@urql/exchange-execute": "2.1.0",
3435
"axios": "1.6.2",

packages/indexer-common/src/indexer-management/resolvers/indexing-rules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
IndexingRuleCreationAttributes,
88
} from '../models'
99
import { IndexerManagementDefaults, IndexerManagementResolverContext } from '../client'
10-
import { Transaction } from 'sequelize/types'
10+
import { Transaction } from 'sequelize'
1111
import { fetchIndexingRules } from '../rules'
1212
import { processIdentifier } from '../../'
1313
import groupBy from 'lodash.groupby'

packages/indexer-common/tsconfig.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"rootDir": "src",
55
"outDir": "dist",
66
"target": "es2020",
7-
"module": "commonjs",
7+
"module": "nodenext",
8+
"moduleResolution": "nodenext",
9+
"allowSyntheticDefaultImports": true,
810
"declaration": true,
911
"sourceMap": true,
1012
"esModuleInterop": true,
@@ -20,7 +22,9 @@
2022
],
2123
"resolveJsonModule": true
2224
},
23-
"include": ["src/**/*.ts"],
25+
"include": [
26+
"src/**/*.ts"
27+
],
2428
"exclude": [],
2529
"references": []
2630
}

yarn.lock

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2689,6 +2689,11 @@
26892689
dependencies:
26902690
"@babel/types" "^7.20.7"
26912691

2692+
"@types/bluebird@*":
2693+
version "3.5.42"
2694+
resolved "https://registry.yarnpkg.com/@types/bluebird/-/bluebird-3.5.42.tgz#7ec05f1ce9986d920313c1377a5662b1b563d366"
2695+
integrity sha512-Jhy+MWRlro6UjVi578V/4ZGNfeCOcNCp0YaFNIUGFKlImowqwb1O/22wDVk3FDGMLqxdpOV3qQHD5fPEH4hK6A==
2696+
26922697
"@types/body-parser@*":
26932698
version "1.19.5"
26942699
resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4"
@@ -2711,6 +2716,13 @@
27112716
dependencies:
27122717
"@types/node" "*"
27132718

2719+
"@types/continuation-local-storage@*":
2720+
version "3.2.7"
2721+
resolved "https://registry.yarnpkg.com/@types/continuation-local-storage/-/continuation-local-storage-3.2.7.tgz#363bbeb1ef35ee2298cc371e34c74eb1b0a0b52c"
2722+
integrity sha512-Q7dPOymVpRG5Zpz90/o26+OAqOG2Sw+FED7uQmTrJNCF/JAPTylclZofMxZKd6W7g1BDPmT9/C/jX0ZcSNTQwQ==
2723+
dependencies:
2724+
"@types/node" "*"
2725+
27142726
27152727
version "2.8.14"
27162728
resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.14.tgz#94eeb1c95eda6a8ab54870a3bf88854512f43a92"
@@ -2952,6 +2964,16 @@
29522964
"@types/mime" "^1"
29532965
"@types/node" "*"
29542966

2967+
2968+
version "4.28.20"
2969+
resolved "https://registry.yarnpkg.com/@types/sequelize/-/sequelize-4.28.20.tgz#b7313a54355f1d812cbffa0df6117a97835dbe01"
2970+
integrity sha512-XaGOKRhdizC87hDgQ0u3btxzbejlF+t6Hhvkek1HyphqCI4y7zVBIVAGmuc4cWJqGpxusZ1RiBToHHnNK/Edlw==
2971+
dependencies:
2972+
"@types/bluebird" "*"
2973+
"@types/continuation-local-storage" "*"
2974+
"@types/lodash" "*"
2975+
"@types/validator" "*"
2976+
29552977
"@types/serve-static@*":
29562978
version "1.15.7"
29572979
resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.7.tgz#22174bbd74fb97fe303109738e9b5c2f3064f714"
@@ -2966,7 +2988,7 @@
29662988
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8"
29672989
integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==
29682990

2969-
"@types/validator@^13.7.17":
2991+
"@types/validator@*", "@types/validator@^13.7.17":
29702992
version "13.12.2"
29712993
resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.12.2.tgz#760329e756e18a4aab82fc502b51ebdfebbe49f5"
29722994
integrity sha512-6SlHBzUW8Jhf3liqrGGXyTJSIFe4nqlJ5A5KaMZ2l/vbM3Wh3KSybots/wfWVzNLK4D1NZluDlSQIbIEPx6oyA==

0 commit comments

Comments
 (0)