From 78fd86fed193fc56a224901f68d71bbf2325ad12 Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 22 Jul 2022 08:07:28 +0800 Subject: [PATCH] Avoid breaking changes --- packages/contracts-interface/package.json | 8 ++++---- packages/contracts-interface/tsconfig.json | 2 +- packages/optimism-networks/package.json | 8 ++++---- packages/optimism-networks/tsconfig.json | 2 +- packages/providers/package.json | 8 ++++---- packages/providers/tsconfig.json | 2 +- packages/queries/package.json | 8 ++++---- packages/queries/tsconfig.json | 2 +- packages/transaction-notifier/package.json | 8 ++++---- packages/transaction-notifier/tsconfig.json | 2 +- packages/wei/package.json | 8 ++++---- packages/wei/tsconfig.json | 2 +- 12 files changed, 30 insertions(+), 30 deletions(-) diff --git a/packages/contracts-interface/package.json b/packages/contracts-interface/package.json index 5a720591f..8ce5e0972 100644 --- a/packages/contracts-interface/package.json +++ b/packages/contracts-interface/package.json @@ -6,10 +6,10 @@ "version": "2.74.2", "description": "A library for interacting with Synthetix smart contracts", "source": "./src/index.ts", - "main": "./build/src/index.js", - "module": "./build/src/index.js", - "browser": "./build/src/index.js", - "types": "./build/src/index.d.ts", + "main": "./build/node/src/index.js", + "module": "./build/node/src/index.js", + "browser": "./build/node/src/index.js", + "types": "./build/node/src/index.d.ts", "files": [ "build", "src" diff --git a/packages/contracts-interface/tsconfig.json b/packages/contracts-interface/tsconfig.json index e2f9acc21..454db0c91 100644 --- a/packages/contracts-interface/tsconfig.json +++ b/packages/contracts-interface/tsconfig.json @@ -4,7 +4,7 @@ "declaration": true, "declarationMap": true, "module": "commonjs", - "outDir": "./build/src" + "outDir": "./build/node/src" }, "include": ["src"] } diff --git a/packages/optimism-networks/package.json b/packages/optimism-networks/package.json index 2ac6bf810..71454d036 100644 --- a/packages/optimism-networks/package.json +++ b/packages/optimism-networks/package.json @@ -6,10 +6,10 @@ "version": "2.74.2", "description": "Javascript library for handling networks on Optimism Layer 2", "source": "./src/index.ts", - "main": "./build/index.js", - "module": "./build/index.js", - "browser": "./build/index.js", - "types": "./build/index.d.ts", + "main": "./build/node/index.js", + "module": "./build/node/index.js", + "browser": "./build/node/index.js", + "types": "./build/node/index.d.ts", "files": [ "build", "src" diff --git a/packages/optimism-networks/tsconfig.json b/packages/optimism-networks/tsconfig.json index b0f45cc0b..3e79ed35c 100644 --- a/packages/optimism-networks/tsconfig.json +++ b/packages/optimism-networks/tsconfig.json @@ -4,7 +4,7 @@ "declaration": true, "declarationMap": true, "module": "commonjs", - "outDir": "./build" + "outDir": "./build/node" }, "include": ["src"] } diff --git a/packages/providers/package.json b/packages/providers/package.json index 071455054..761b112ad 100644 --- a/packages/providers/package.json +++ b/packages/providers/package.json @@ -6,10 +6,10 @@ "version": "2.74.4", "description": "Javascript library for handling providers on Layer 1 & Optimism Layer 2", "source": "./src/index.ts", - "main": "./build/index.js", - "module": "./build/index.js", - "browser": "./build/index.js", - "types": "./build/index.d.ts", + "main": "./build/node/index.js", + "module": "./build/node/index.js", + "browser": "./build/node/index.js", + "types": "./build/node/index.d.ts", "files": [ "build", "src" diff --git a/packages/providers/tsconfig.json b/packages/providers/tsconfig.json index b0f45cc0b..3e79ed35c 100644 --- a/packages/providers/tsconfig.json +++ b/packages/providers/tsconfig.json @@ -4,7 +4,7 @@ "declaration": true, "declarationMap": true, "module": "commonjs", - "outDir": "./build" + "outDir": "./build/node" }, "include": ["src"] } diff --git a/packages/queries/package.json b/packages/queries/package.json index b0c7f2910..2f7407d9d 100644 --- a/packages/queries/package.json +++ b/packages/queries/package.json @@ -6,10 +6,10 @@ "version": "2.74.7", "description": "react-query for pulling synthetix data in react interfaces", "source": "./src/index.ts", - "main": "./build/src/index.js", - "module": "./build/src/index.js", - "browser": "./build/src/index.js", - "types": "./build/src/index.d.ts", + "main": "./build/node/src/index.js", + "module": "./build/node/src/index.js", + "browser": "./build/node/src/index.js", + "types": "./build/node/src/index.d.ts", "files": [ "build", "src" diff --git a/packages/queries/tsconfig.json b/packages/queries/tsconfig.json index e3e81e2a7..1390b2b10 100644 --- a/packages/queries/tsconfig.json +++ b/packages/queries/tsconfig.json @@ -5,7 +5,7 @@ "declarationMap": true, "baseUrl": ".", "module": "commonjs", - "outDir": "./build" + "outDir": "./build/node" }, "include": ["src"] } diff --git a/packages/transaction-notifier/package.json b/packages/transaction-notifier/package.json index 553da3aaa..d7c4c5d81 100644 --- a/packages/transaction-notifier/package.json +++ b/packages/transaction-notifier/package.json @@ -6,10 +6,10 @@ "version": "2.74.5", "description": "Javascript library for handling networks on Optimism Layer 2", "source": "./src/index.ts", - "main": "./build/index.js", - "module": "./build/index.js", - "browser": "./build/index.js", - "types": "./build/index.d.ts", + "main": "./build/node/index.js", + "module": "./build/node/index.js", + "browser": "./build/node/index.js", + "types": "./build/node/index.d.ts", "files": [ "build", "src" diff --git a/packages/transaction-notifier/tsconfig.json b/packages/transaction-notifier/tsconfig.json index b0f45cc0b..3e79ed35c 100644 --- a/packages/transaction-notifier/tsconfig.json +++ b/packages/transaction-notifier/tsconfig.json @@ -4,7 +4,7 @@ "declaration": true, "declarationMap": true, "module": "commonjs", - "outDir": "./build" + "outDir": "./build/node" }, "include": ["src"] } diff --git a/packages/wei/package.json b/packages/wei/package.json index db53b2f3f..164d8ab3f 100644 --- a/packages/wei/package.json +++ b/packages/wei/package.json @@ -6,10 +6,10 @@ "version": "2.74.2", "description": "Convenient BigNumber library for web3", "source": "./src/index.ts", - "main": "./build/index.js", - "module": "./build/index.js", - "browser": "./build/index.js", - "types": "./build/index.d.ts", + "main": "./build/node/index.js", + "module": "./build/node/index.js", + "browser": "./build/node/index.js", + "types": "./build/node/index.d.ts", "files": [ "build", "src" diff --git a/packages/wei/tsconfig.json b/packages/wei/tsconfig.json index b0f45cc0b..3e79ed35c 100644 --- a/packages/wei/tsconfig.json +++ b/packages/wei/tsconfig.json @@ -4,7 +4,7 @@ "declaration": true, "declarationMap": true, "module": "commonjs", - "outDir": "./build" + "outDir": "./build/node" }, "include": ["src"] }