@wagmi/cli
Advanced tools
Comparing version 0.0.0-canary-20240327144503 to 0.0.0-canary-20240327150550
@@ -5,3 +5,8 @@ import { findUp } from 'find-up'; | ||
const cwd = process.cwd(); | ||
const tsconfig = await findUp('tsconfig.json', { cwd }); | ||
const tsconfig = await findUp([ | ||
'tsconfig.json', | ||
'tsconfig.base.json', | ||
'tsconfig.lib.json', | ||
'tsconfig.node.json', | ||
], { cwd }); | ||
if (tsconfig) | ||
@@ -8,0 +13,0 @@ return true; |
@@ -1,2 +0,2 @@ | ||
export const version = '0.0.0-canary-20240327144503'; | ||
export const version = '0.0.0-canary-20240327150550'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.0.0-canary-20240327144503"; | ||
export declare const version = "0.0.0-canary-20240327150550"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "@wagmi/cli", | ||
"description": "Manage and generate code from Ethereum ABIs", | ||
"version": "0.0.0-canary-20240327144503", | ||
"version": "0.0.0-canary-20240327150550", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -6,3 +6,11 @@ import { findUp } from 'find-up' | ||
const cwd = process.cwd() | ||
const tsconfig = await findUp('tsconfig.json', { cwd }) | ||
const tsconfig = await findUp( | ||
[ | ||
'tsconfig.json', | ||
'tsconfig.base.json', | ||
'tsconfig.lib.json', | ||
'tsconfig.node.json', | ||
], | ||
{ cwd }, | ||
) | ||
if (tsconfig) return true | ||
@@ -9,0 +17,0 @@ |
@@ -1,1 +0,1 @@ | ||
export const version = '0.0.0-canary-20240327144503' | ||
export const version = '0.0.0-canary-20240327150550' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
463441
4916