Bump deps (#1727)
This commit is contained in:
@@ -30,11 +30,12 @@
|
||||
"postinstall": "polkadot-dev-yarn-only",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules polkadot-dev-run-test --coverage --runInBand --testPathIgnorePatterns crosscheck --testPathIgnorePatterns toMiniSecretCmp",
|
||||
"test:mnemonicCmp": "polkadot-dev-run-test packages/util-crypto/src/mnemonic/toMiniSecretCmp.spec.ts",
|
||||
"test:one": "polkadot-dev-run-test --runInBand"
|
||||
"test:one": "polkadot-dev-run-test --runInBand",
|
||||
"test:node": "polkadot-dev-run-node-test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.20.12",
|
||||
"@polkadot/dev": "^0.68.10",
|
||||
"@polkadot/dev": "^0.68.16",
|
||||
"@types/jest": "^29.4.0"
|
||||
},
|
||||
"resolutions": {
|
||||
|
||||
@@ -5,7 +5,7 @@ import known from '@substrate/ss58-registry';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
|
||||
import other from './test/ss58registry.test.json';
|
||||
import other from './test/ss58registry.test.json' assert { type: 'json' };
|
||||
|
||||
describe('@substrate/ss58-registry', (): void => {
|
||||
it('has known values', (): void => {
|
||||
|
||||
11
packages/util/src/json.d.ts
vendored
11
packages/util/src/json.d.ts
vendored
@@ -1,11 +0,0 @@
|
||||
// Copyright 2017-2023 @polkadot/util authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Be able to import json in TS
|
||||
// https://stackoverflow.com/questions/49996456/importing-json-file-in-typescript
|
||||
declare module '*.json' {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const value: any;
|
||||
|
||||
export default value;
|
||||
}
|
||||
@@ -24,6 +24,7 @@
|
||||
"@polkadot/x-textencoder": ["x-textencoder/src/browser"],
|
||||
"@polkadot/x-ws": ["x-ws/src/browser"]
|
||||
},
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"target": "es2020"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user