Bump dev (w/ detectPackage) (#587)

This commit is contained in:
Jaco
2022-01-06 07:04:39 +01:00
committed by GitHub
parent c29242a872
commit 61600fcf26
52 changed files with 26 additions and 226 deletions
-8
View File
@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/example-react authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
declare const __dirname: string | undefined;
export default __dirname;
@@ -1,8 +0,0 @@
// Copyright 2017-2022 @polkadot/example-react 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;
@@ -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/example-react', version: '0.88.2-2' };
export const packageInfo = { name: '@polkadot/example-react', path: 'auto', type: 'auto', version: '0.88.2-2' };