From e5811f378d7bb153c23861491636a3b68da914db Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Wed, 23 Oct 2024 11:51:59 -0700 Subject: [PATCH] test: replace tsimp with ts-blank-space --- multichain-testing/.gitignore | 1 - multichain-testing/package.json | 4 +- multichain-testing/yarn.lock | 100 ++++---------------------------- 3 files changed, 12 insertions(+), 93 deletions(-) diff --git a/multichain-testing/.gitignore b/multichain-testing/.gitignore index d68f7883f97..bd550b4d526 100644 --- a/multichain-testing/.gitignore +++ b/multichain-testing/.gitignore @@ -1,4 +1,3 @@ -.tsimp .yarn/* !.yarn/patches/* # fetched chain info from running starship diff --git a/multichain-testing/package.json b/multichain-testing/package.json index e7723347a3d..152b9c016e3 100644 --- a/multichain-testing/package.json +++ b/multichain-testing/package.json @@ -35,7 +35,7 @@ "fs-extra": "^11.2.0", "patch-package": "^8.0.0", "starshipjs": "2.4.1", - "tsimp": "^2.0.10", + "ts-blank-space": "^0.4.1", "tsx": "^4.15.6", "typescript": "~5.6.2" }, @@ -50,7 +50,7 @@ "@endo/init/debug.js" ], "nodeArguments": [ - "--import=tsimp/import" + "--loader=ts-blank-space/register" ], "files": [ "**/*.test.ts" diff --git a/multichain-testing/yarn.lock b/multichain-testing/yarn.lock index f1b033b69e6..3b5f887f584 100644 --- a/multichain-testing/yarn.lock +++ b/multichain-testing/yarn.lock @@ -554,22 +554,6 @@ __metadata: languageName: node linkType: hard -"@isaacs/cached@npm:^1.0.1": - version: 1.0.1 - resolution: "@isaacs/cached@npm:1.0.1" - dependencies: - "@isaacs/catcher": "npm:^1.0.0" - checksum: 10c0/1c15dc2a60873f2c73f4b04ed59ecfc8d9679976ff09af1b5b45e7273a590a4f86a339cc4c785c2d22309277ca47293611af20dd7d41550cdcfb53e06a04ac65 - languageName: node - linkType: hard - -"@isaacs/catcher@npm:^1.0.0, @isaacs/catcher@npm:^1.0.4": - version: 1.0.4 - resolution: "@isaacs/catcher@npm:1.0.4" - checksum: 10c0/d8b77e2c6b84a6301d390d0b2badea1b4a321f2e8ba662645b045efc42f20a54a6c760f3181fab4ed0d90da58f2cb084a93490a892c53b4da21ec05278b8ba4f - languageName: node - linkType: hard - "@isaacs/cliui@npm:^8.0.2": version: 8.0.2 resolution: "@isaacs/cliui@npm:8.0.2" @@ -2225,7 +2209,7 @@ __metadata: languageName: node linkType: hard -"foreground-child@npm:^3.1.0, foreground-child@npm:^3.1.1": +"foreground-child@npm:^3.1.0": version: 3.1.1 resolution: "foreground-child@npm:3.1.1" dependencies: @@ -2401,7 +2385,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^10.2.2, glob@npm:^10.3.10, glob@npm:^10.3.7": +"glob@npm:^10.2.2, glob@npm:^10.3.10": version: 10.4.1 resolution: "glob@npm:10.4.1" dependencies: @@ -3261,15 +3245,6 @@ __metadata: languageName: node linkType: hard -"mkdirp@npm:^3.0.1": - version: 3.0.1 - resolution: "mkdirp@npm:3.0.1" - bin: - mkdirp: dist/cjs/src/bin.js - checksum: 10c0/9f2b975e9246351f5e3a40dcfac99fcd0baa31fbfab615fe059fb11e51f10e4803c63de1f384c54d656e4db31d000e4767e9ef076a22e12a641357602e31d57d - languageName: node - linkType: hard - "ms@npm:2.1.2": version: 2.1.2 resolution: "ms@npm:2.1.2" @@ -3598,13 +3573,6 @@ __metadata: languageName: node linkType: hard -"pirates@npm:^4.0.6": - version: 4.0.6 - resolution: "pirates@npm:4.0.6" - checksum: 10c0/00d5fa51f8dded94d7429700fb91a0c1ead00ae2c7fd27089f0c5b63e6eca36197fe46384631872690a66f390c5e27198e99006ab77ae472692ab9c2ca903f36 - languageName: node - linkType: hard - "plur@npm:^5.1.0": version: 5.1.0 resolution: "plur@npm:5.1.0" @@ -3804,17 +3772,6 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:^5.0.5": - version: 5.0.7 - resolution: "rimraf@npm:5.0.7" - dependencies: - glob: "npm:^10.3.7" - bin: - rimraf: dist/esm/bin.mjs - checksum: 10c0/bd6dbfaa98ae34ce1e54d1e06045d2d63e8859d9a1979bb4a4628b652b459a2d17b17dc20ee072b034bd2d09bd691e801d24c4d9cfe94e16fdbcc8470a1d4807 - languageName: node - linkType: hard - "root-workspace-0b6124@workspace:.": version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." @@ -3839,7 +3796,7 @@ __metadata: fs-extra: "npm:^11.2.0" patch-package: "npm:^8.0.0" starshipjs: "npm:2.4.1" - tsimp: "npm:^2.0.10" + ts-blank-space: "npm:^0.4.1" tsx: "npm:^4.15.6" typescript: "npm:~5.6.2" languageName: unknown @@ -4005,24 +3962,6 @@ __metadata: languageName: node linkType: hard -"sock-daemon@npm:^1.4.2": - version: 1.4.2 - resolution: "sock-daemon@npm:1.4.2" - dependencies: - rimraf: "npm:^5.0.5" - signal-exit: "npm:^4.1.0" - socket-post-message: "npm:^1.0.3" - checksum: 10c0/1b5e0b02fdd8cd5454fc7de80557c11aac5d88085d0cee80ead08b8f4df5e3c0a4b50ebb2ae2113dab94f36dc88b5d3b7d4b1c2c8e53bbcfbddfc741abf3bd00 - languageName: node - linkType: hard - -"socket-post-message@npm:^1.0.3": - version: 1.0.3 - resolution: "socket-post-message@npm:1.0.3" - checksum: 10c0/d3ffb51dad97754856aaa6709e036196f4b8b674f00366b71591ead122bcdbc073827f67d17c8b03c9a28c921b2c7cb277c581f6ca318d472034eae7afc169d1 - languageName: node - linkType: hard - "socks-proxy-agent@npm:^8.0.3": version: 8.0.3 resolution: "socks-proxy-agent@npm:8.0.3" @@ -4259,24 +4198,12 @@ __metadata: languageName: node linkType: hard -"tsimp@npm:^2.0.10": - version: 2.0.11 - resolution: "tsimp@npm:2.0.11" +"ts-blank-space@npm:^0.4.1": + version: 0.4.1 + resolution: "ts-blank-space@npm:0.4.1" dependencies: - "@isaacs/cached": "npm:^1.0.1" - "@isaacs/catcher": "npm:^1.0.4" - foreground-child: "npm:^3.1.1" - mkdirp: "npm:^3.0.1" - pirates: "npm:^4.0.6" - rimraf: "npm:^5.0.5" - signal-exit: "npm:^4.1.0" - sock-daemon: "npm:^1.4.2" - walk-up-path: "npm:^3.0.1" - peerDependencies: - typescript: ^5.1.0 - bin: - tsimp: dist/esm/bin.mjs - checksum: 10c0/20743dc21ce31678050582903bfcd2d600fa17305f70162cb4127f2fd208116354549a921574f6c26cdfca5cb07c24526094e5519bb294f2ddd13c06cd2f43eb + typescript: "npm:5.1.6 - 5.6.x" + checksum: 10c0/dd8b48eed43af36d0bc1490117e2351e6a7105e463af2e86e4881003139ca3a8c139647470412c299334ba2c2badaf32c4fe6c78e98c2de8a19481e462de58e9 languageName: node linkType: hard @@ -4319,7 +4246,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.6.2": +"typescript@npm:5.1.6 - 5.6.x, typescript@npm:~5.6.2": version: 5.6.3 resolution: "typescript@npm:5.6.3" bin: @@ -4329,7 +4256,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.6.2#optional!builtin": +"typescript@patch:typescript@npm%3A5.1.6 - 5.6.x#optional!builtin, typescript@patch:typescript@npm%3A~5.6.2#optional!builtin": version: 5.6.3 resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin::version=5.6.3&hash=8c6c40" bin: @@ -4394,13 +4321,6 @@ __metadata: languageName: node linkType: hard -"walk-up-path@npm:^3.0.1": - version: 3.0.1 - resolution: "walk-up-path@npm:3.0.1" - checksum: 10c0/3184738e0cf33698dd58b0ee4418285b9c811e58698f52c1f025435a85c25cbc5a63fee599f1a79cb29ca7ef09a44ec9417b16bfd906b1a37c305f7aa20ee5bc - languageName: node - linkType: hard - "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1"