diff --git a/package.json b/package.json index a582ea407..2ad5ca220 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Public monorepo for Turnkey SDK & API", "scripts": { "changeset": "changeset", - "build-all": "pnpm run --r --filter \"./packages/**\" build", + "build-all": "tsc --build tsconfig.mono.json", "build:watch": "tsc --build tsconfig.mono.json --watch", "csb:install": "corepack enable && pnpm install -r", "csb:build": "pnpm run build-all", diff --git a/packages/api-key-stamper/package.json b/packages/api-key-stamper/package.json index 376f88669..21aa0bfca 100644 --- a/packages/api-key-stamper/package.json +++ b/packages/api-key-stamper/package.json @@ -2,15 +2,6 @@ "name": "@turnkey/api-key-stamper", "version": "0.2.0", "main": "./dist/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/index.js", - "default": "./dist/esm/index.js" - } - }, "types": "./dist/index.d.ts", "license": "Apache-2.0", "description": "API key stamper for @turnkey/http", @@ -42,9 +33,8 @@ }, "scripts": { "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", - "build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", + "build": "tsc", "clean": "rimraf ./dist ./.cache", - "pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", "test": "jest", "typecheck": "tsc -p tsconfig.typecheck.json" }, diff --git a/packages/api-key-stamper/tsconfig.esm.json b/packages/api-key-stamper/tsconfig.esm.json deleted file mode 100644 index 28bc36727..000000000 --- a/packages/api-key-stamper/tsconfig.esm.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./dist/esm", - "rootDir": "./src", - "composite": false, - "declaration": false, - "declarationMap": false - } -} diff --git a/packages/cosmjs/package.json b/packages/cosmjs/package.json index a9ae5cd76..78f280534 100644 --- a/packages/cosmjs/package.json +++ b/packages/cosmjs/package.json @@ -2,15 +2,6 @@ "name": "@turnkey/cosmjs", "version": "0.4.14", "main": "./dist/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/index.js", - "default": "./dist/esm/index.js" - } - }, "types": "./dist/index.d.ts", "license": "Apache-2.0", "description": "Turnkey Cosmos Signer for CosmJS", @@ -41,9 +32,8 @@ }, "scripts": { "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", - "build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", + "build": "tsc", "clean": "rimraf ./dist ./.cache", - "pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", "test": "jest --passWithNoTests", "typecheck": "tsc -p tsconfig.typecheck.json" }, diff --git a/packages/cosmjs/tsconfig.esm.json b/packages/cosmjs/tsconfig.esm.json deleted file mode 100644 index 28bc36727..000000000 --- a/packages/cosmjs/tsconfig.esm.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./dist/esm", - "rootDir": "./src", - "composite": false, - "declaration": false, - "declarationMap": false - } -} diff --git a/packages/ethers/package.json b/packages/ethers/package.json index a553d6a22..ce188a3ff 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -2,15 +2,6 @@ "name": "@turnkey/ethers", "version": "0.18.3", "main": "./dist/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/index.js", - "default": "./dist/esm/index.js" - } - }, "types": "./dist/index.d.ts", "license": "Apache-2.0", "description": "Turnkey Signer for Ethers", @@ -41,9 +32,8 @@ }, "scripts": { "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", - "build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", + "build": "tsc", "clean": "rimraf ./dist ./.cache", - "pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", "compile:contracts": "hardhat compile", "test": "jest", "typecheck": "tsc -p tsconfig.typecheck.json" diff --git a/packages/ethers/tsconfig.esm.json b/packages/ethers/tsconfig.esm.json deleted file mode 100644 index 28bc36727..000000000 --- a/packages/ethers/tsconfig.esm.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./dist/esm", - "rootDir": "./src", - "composite": false, - "declaration": false, - "declarationMap": false - } -} diff --git a/packages/http/package.json b/packages/http/package.json index fcf2ba125..f8b4619af 100644 --- a/packages/http/package.json +++ b/packages/http/package.json @@ -2,15 +2,6 @@ "name": "@turnkey/http", "version": "2.3.1", "main": "./dist/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/index.js", - "default": "./dist/esm/index.js" - } - }, "types": "./dist/index.d.ts", "license": "Apache-2.0", "description": "Typed HTTP client for interacting with Turnkey API", @@ -39,9 +30,8 @@ }, "scripts": { "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", - "build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", + "build": "tsc", "clean": "rimraf ./dist ./.cache", - "pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", "test": "jest", "typecheck": "tsc -p tsconfig.typecheck.json" }, diff --git a/packages/http/tsconfig.esm.json b/packages/http/tsconfig.esm.json deleted file mode 100644 index 28bc36727..000000000 --- a/packages/http/tsconfig.esm.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./dist/esm", - "rootDir": "./src", - "composite": false, - "declaration": false, - "declarationMap": false - } -} diff --git a/packages/iframe-stamper/package.json b/packages/iframe-stamper/package.json index 4e19abce1..914056ef6 100644 --- a/packages/iframe-stamper/package.json +++ b/packages/iframe-stamper/package.json @@ -2,15 +2,6 @@ "name": "@turnkey/iframe-stamper", "version": "0.2.1", "main": "./dist/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/index.js", - "default": "./dist/esm/index.js" - } - }, "types": "./dist/index.d.ts", "license": "Apache-2.0", "description": "Iframe-based stamper for @turnkey/http", @@ -41,9 +32,8 @@ }, "scripts": { "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", - "build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", + "build": "tsc", "clean": "rimraf ./dist ./.cache", - "pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", "test": "jest", "typecheck": "tsc -p tsconfig.typecheck.json" }, diff --git a/packages/iframe-stamper/tsconfig.esm.json b/packages/iframe-stamper/tsconfig.esm.json deleted file mode 100644 index 28bc36727..000000000 --- a/packages/iframe-stamper/tsconfig.esm.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./dist/esm", - "rootDir": "./src", - "composite": false, - "declaration": false, - "declarationMap": false - } -} diff --git a/packages/viem/package.json b/packages/viem/package.json index 6b60f0f60..d969884a8 100644 --- a/packages/viem/package.json +++ b/packages/viem/package.json @@ -2,15 +2,6 @@ "name": "@turnkey/viem", "version": "0.3.4", "main": "./dist/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/index.js", - "default": "./dist/esm/index.js" - } - }, "types": "./dist/index.d.ts", "license": "Apache-2.0", "description": "Turnkey Helpers to work with Viem", @@ -44,9 +35,8 @@ }, "scripts": { "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", - "build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", + "build": "tsc", "clean": "rimraf ./dist ./.cache", - "pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", "test": "jest", "anvil": "anvil", "typecheck": "tsc -p tsconfig.typecheck.json", diff --git a/packages/viem/tsconfig.esm.json b/packages/viem/tsconfig.esm.json deleted file mode 100644 index 28bc36727..000000000 --- a/packages/viem/tsconfig.esm.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./dist/esm", - "rootDir": "./src", - "composite": false, - "declaration": false, - "declarationMap": false - } -} diff --git a/packages/webauthn-stamper/package.json b/packages/webauthn-stamper/package.json index d195dd620..3ff712bdc 100644 --- a/packages/webauthn-stamper/package.json +++ b/packages/webauthn-stamper/package.json @@ -2,15 +2,6 @@ "name": "@turnkey/webauthn-stamper", "version": "0.3.0", "main": "./dist/index.js", - "module": "./dist/esm/index.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/esm/index.js", - "require": "./dist/index.js", - "default": "./dist/esm/index.js" - } - }, "types": "./dist/index.d.ts", "license": "Apache-2.0", "description": "Webauthn stamper for @turnkey/http", @@ -41,9 +32,8 @@ }, "scripts": { "prepublishOnly": "pnpm -w run clean-all && pnpm -w run build-all", - "build": "tsc -b ./tsconfig.esm.json ./tsconfig.json", + "build": "tsc", "clean": "rimraf ./dist ./.cache", - "pack": "npm pack && mv *.tgz /Users/jessecollier/git/test-app-1/", "test": "jest", "typecheck": "tsc -p tsconfig.typecheck.json" }, diff --git a/packages/webauthn-stamper/tsconfig.esm.json b/packages/webauthn-stamper/tsconfig.esm.json deleted file mode 100644 index 28bc36727..000000000 --- a/packages/webauthn-stamper/tsconfig.esm.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./dist/esm", - "rootDir": "./src", - "composite": false, - "declaration": false, - "declarationMap": false - } -}