-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #145 Migrates from `tsup` to `ts-bridge`.
- Loading branch information
Showing
5 changed files
with
73 additions
and
583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,26 +17,29 @@ | |
"url": "https://github.com/MetaMask/rpc-errors.git" | ||
}, | ||
"license": "MIT", | ||
"author": "Erik Marks <[email protected]>", | ||
"sideEffects": false, | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js", | ||
"types": "./dist/types/index.d.ts" | ||
"import": { | ||
"types": "./dist/index.d.mts", | ||
"default": "./dist/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/index.d.cts", | ||
"default": "./dist/index.cjs" | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "./dist/index.js", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/types/index.d.ts", | ||
"types": "./dist/index.d.cts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "tsup --clean && yarn build:types", | ||
"build:clean": "rimraf dist && yarn build", | ||
"build": "ts-bridge --project tsconfig.build.json --clean", | ||
"build:docs": "typedoc", | ||
"build:types": "tsc --project tsconfig.build.json", | ||
"lint": "yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog", | ||
"lint:changelog": "auto-changelog validate --prettier", | ||
"lint:constraints": "yarn constraints", | ||
|
@@ -60,6 +63,7 @@ | |
"@metamask/eslint-config-jest": "^12.1.0", | ||
"@metamask/eslint-config-nodejs": "^12.1.0", | ||
"@metamask/eslint-config-typescript": "^12.1.0", | ||
"@ts-bridge/cli": "^0.5.1", | ||
"@types/jest": "^28.1.6", | ||
"@types/node": "^16", | ||
"@typescript-eslint/eslint-plugin": "^5.43.0", | ||
|
@@ -79,7 +83,6 @@ | |
"prettier-plugin-packagejson": "^2.3.0", | ||
"ts-jest": "^28.0.7", | ||
"ts-node": "^10.7.0", | ||
"tsup": "^7.2.0", | ||
"typedoc": "^0.23.28", | ||
"typescript": "~4.9.5" | ||
}, | ||
|
@@ -93,8 +96,7 @@ | |
}, | ||
"lavamoat": { | ||
"allowScripts": { | ||
"@lavamoat/preinstall-always-fail": false, | ||
"tsup>esbuild": false | ||
"@lavamoat/preinstall-always-fail": false | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.