Adjust for new packageInfo (#272)

This commit is contained in:
Jaco
2022-01-05 10:23:46 +01:00
committed by GitHub
parent 2ee13d5063
commit 66c70aba9a
17 changed files with 16 additions and 70 deletions

View File

@@ -30,7 +30,7 @@
},
"devDependencies": {
"@babel/core": "^7.16.7",
"@polkadot/dev": "^0.65.11",
"@polkadot/dev": "^0.65.13",
"fflate": "^0.7.2",
"override-require": "^1.1.1"
},

View File

@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/wasm-crypto-asmjs authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
declare const __dirname: string | undefined;
export default __dirname;

View File

@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/wasm-crypto-asmjs authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
module.exports = typeof __dirname === 'string'
? __dirname.replace('/cjs', '')
: undefined;

View File

@@ -1,3 +1,3 @@
{
"type":"commonjs"
}
"type": "commonjs"
}

View File

@@ -5,8 +5,7 @@
import { detectPackage } from '@polkadot/util';
import dirname from './cjs/dirname';
import others from './detectOther';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, dirname, others);
detectPackage(packageInfo, packageInfo.path, others);

View File

@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/wasm-crypto-asmjs', version: '4.5.2-23' };
export const packageInfo = { name: '@polkadot/wasm-crypto-asmjs', path: 'auto', type: 'auto', version: '4.5.2-23' };

View File

@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/wasm-crypto-wasm authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
declare const __dirname: string | undefined;
export default __dirname;

View File

@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/wasm-crypto-wasm authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
module.exports = typeof __dirname === 'string'
? __dirname.replace('/cjs', '')
: undefined;

View File

@@ -1,3 +1,3 @@
{
"type":"commonjs"
}
"type": "commonjs"
}

View File

@@ -5,8 +5,7 @@
import { detectPackage } from '@polkadot/util';
import dirname from './cjs/dirname';
import others from './detectOther';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, dirname, others);
detectPackage(packageInfo, packageInfo.path, others);

View File

@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/wasm-crypto-wasm', version: '4.5.2-23' };
export const packageInfo = { name: '@polkadot/wasm-crypto-wasm', path: 'auto', type: 'auto', version: '4.5.2-23' };

View File

@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/wasm-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
declare const __dirname: string | undefined;
export default __dirname;

View File

@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/wasm-crypto authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
module.exports = typeof __dirname === 'string'
? __dirname.replace('/cjs', '')
: undefined;

View File

@@ -1,3 +0,0 @@
{
"type":"commonjs"
}

View File

@@ -5,8 +5,7 @@
import { detectPackage } from '@polkadot/util';
import dirname from './cjs/dirname';
import others from './detectOther';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, dirname, others);
detectPackage(packageInfo, packageInfo.path, others);

View File

@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/wasm-crypto', version: '4.5.2-23' };
export const packageInfo = { name: '@polkadot/wasm-crypto', path: 'auto', type: 'auto', version: '4.5.2-23' };

View File

@@ -1854,9 +1854,9 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.65.11":
version: 0.65.11
resolution: "@polkadot/dev@npm:0.65.11"
"@polkadot/dev@npm:^0.65.13":
version: 0.65.13
resolution: "@polkadot/dev@npm:0.65.13"
dependencies:
"@babel/cli": ^7.16.7
"@babel/core": ^7.16.7
@@ -1942,7 +1942,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: fff61419134166317047d50f30761596fba9b0fdffeae0e544edac09f4a49388ed969586dc2a121d83bcfcfdaa8a56111206f5fe7a745ef2be223d14b31eb9fa
checksum: 00508f66616867bf4bacaad6081924397386cb2cdc682ad6d24afe10061417bb07953e379b7027a6eba92e6f34c0b63feace821550675b918843549746b1093e
languageName: node
linkType: hard
@@ -8395,7 +8395,7 @@ resolve@^2.0.0-next.3:
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@babel/core": ^7.16.7
"@polkadot/dev": ^0.65.11
"@polkadot/dev": ^0.65.13
fflate: ^0.7.2
override-require: ^1.1.1
languageName: unknown