Bump dev (w/ detectPackage) (#587)

This commit is contained in:
Jaco authored and GitHub committed 2022-01-06 08:04:39 +02:00
1 parent c29242a872
commit 61600fcf26
52 files changed
+26 -226

No files matched your search

-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' };