Align tsconfig to allow moduleResolution: nodenext (#5530)

* Align tsconfig to allow moduleResolution: nodenext

* Small adjustments (revert nodenext req. changes)

* Adjust for current compilation

* Read metadata compare from file

* Adjust

* Fix assertions
This commit is contained in:
Jaco
2023-03-09 20:10:53 +02:00
committed by GitHub
parent 9ac9d72082
commit 611ff12a3d
56 changed files with 145 additions and 130 deletions
+2 -2
View File
@@ -3,8 +3,8 @@
import type { HexString } from '@polkadot/util/types';
import fs from 'fs';
import path from 'path';
import fs from 'node:fs';
import path from 'node:path';
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
+2 -2
View File
@@ -3,8 +3,8 @@
import type { HexString } from '@polkadot/util/types';
import fs from 'fs';
import path from 'path';
import fs from 'node:fs';
import path from 'node:path';
import yargs from 'yargs';
import { hideBin } from 'yargs/helpers';
+1 -1
View File
@@ -3,7 +3,7 @@
import type { Registry } from '@polkadot/types/types';
import type { TypeDef } from '@polkadot/types-create/types';
import type { ModuleTypes } from '../util/imports';
import type { ModuleTypes } from '../util/imports.js';
import Handlebars from 'handlebars';
import path from 'path';
+1 -1
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@polkadot/util/types';
import type { ExtraTypes } from '../generate/types';
import type { ExtraTypes } from '../generate/types.js';
import { Metadata, TypeRegistry } from '@polkadot/types';