Bump dev (w/ detectPackage) (#905)

This commit is contained in:
Jaco authored and GitHub committed 2022-01-06 08:11:06 +02:00
1 parent 0780e4eea8
commit 921237b388
7 files changed
+8 -28

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
declare const __dirname: string | undefined;
export default __dirname;
-8
View File
@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/phishing 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;
-3
View File
@@ -1,3 +0,0 @@
{
"type":"commonjs"
}
+1 -2
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);
+1 -1
View File
@@ -3,4 +3,4 @@
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/phishing', version: '0.7.24' };
export const packageInfo = { name: '@polkadot/phishing', path: 'auto', type: 'auto', version: '0.7.24' };