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"] }