mirror of
https://github.com/pezkuwichain/pezkuwi-subquery.git
synced 2026-07-25 05:25:40 +00:00
Migrate to native @pezkuwi packages and remove swap integrations
Replace npm aliases (@polkadot -> @pezkuwi) with direct @pezkuwi package imports. Add tsconfig path mappings to redirect @polkadot type references from @subql/types to @pezkuwi equivalents, enabling proper type resolution without installing @polkadot packages. Remove Polkadot ecosystem swap/bridge integrations (HydraDx, AssetConversion) as they're incompatible with Pezkuwi.
This commit is contained in:
+17
-1
@@ -7,12 +7,28 @@
|
||||
"importHelpers": true,
|
||||
"resolveJsonModule": true,
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "dist",
|
||||
"rootDir": ".",
|
||||
"target": "es2020",
|
||||
"skipLibCheck": true,
|
||||
"strictNullChecks": false,
|
||||
"strict": true
|
||||
"strict": true,
|
||||
"paths": {
|
||||
"@polkadot/types": ["./node_modules/@pezkuwi/types/cjs/index.d.ts"],
|
||||
"@polkadot/types/*": ["./node_modules/@pezkuwi/types/cjs/*"],
|
||||
"@polkadot/types-codec": ["./node_modules/@pezkuwi/types-codec/cjs/index.d.ts"],
|
||||
"@polkadot/types-codec/*": ["./node_modules/@pezkuwi/types-codec/cjs/*"],
|
||||
"@polkadot/api": ["./node_modules/@pezkuwi/api/cjs/index.d.ts"],
|
||||
"@polkadot/api/*": ["./node_modules/@pezkuwi/api/cjs/*"],
|
||||
"@pezkuwi/types": ["./node_modules/@pezkuwi/types/cjs/index.d.ts"],
|
||||
"@pezkuwi/types/*": ["./node_modules/@pezkuwi/types/cjs/*"],
|
||||
"@pezkuwi/types-codec": ["./node_modules/@pezkuwi/types-codec/cjs/index.d.ts"],
|
||||
"@pezkuwi/types-codec/*": ["./node_modules/@pezkuwi/types-codec/cjs/*"],
|
||||
"@pezkuwi/api": ["./node_modules/@pezkuwi/api/cjs/index.d.ts"],
|
||||
"@pezkuwi/api/*": ["./node_modules/@pezkuwi/api/cjs/*"]
|
||||
},
|
||||
"baseUrl": "."
|
||||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
|
||||
Reference in New Issue
Block a user