Skip to content

Commit

Permalink
remove tsimp (#10325)
Browse files Browse the repository at this point in the history
incidental

## Description

Latest `tsimp` is pulling in Rimraf v6 which breaks install under Node 18.

Replace one use of `tsimp` with https://bloomberg.github.io/ts-blank-space/ 

The other import was never used so it simply removes it

### Security Considerations
fewer deps

### Scaling Considerations
none

### Documentation Considerations
none

### Testing Considerations
CI suffices

### Upgrade Considerations
none
  • Loading branch information
mergify[bot] authored Dec 2, 2024
2 parents 4a76042 + 8e23534 commit cf56e91
Show file tree
Hide file tree
Showing 8 changed files with 289 additions and 279 deletions.
1 change: 0 additions & 1 deletion multichain-testing/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.tsimp
.yarn/*
!.yarn/patches/*
# fetched chain info from running starship
Expand Down
11 changes: 3 additions & 8 deletions multichain-testing/ava.fusdc.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import mainConfig from './ava.main.config.js';

export default {
extensions: {
ts: 'module',
},
require: ['@endo/init/debug.js'],
nodeArguments: ['--import=tsimp/import'],
...mainConfig,
files: ['test/fast-usdc/**/*.test.ts'],
concurrency: 1,
serial: true,
timeout: '125s',
};
5 changes: 3 additions & 2 deletions multichain-testing/ava.main.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ export default {
extensions: {
ts: 'module',
},
require: ['@endo/init/debug.js'],
nodeArguments: ['--import=tsimp/import'],
// Each test imports `@endo/ses-ava/prepare-endo.js` which does its own @endo/init
// require: ['@endo/init/debug.js'],
nodeArguments: ['--import=ts-blank-space/register'],
files: ['test/**/*.test.ts', '!test/fast-usdc/**/*.test.ts'],
concurrency: 1,
serial: true,
Expand Down
12 changes: 6 additions & 6 deletions multichain-testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,23 @@
"@cosmjs/crypto": "^0.32.4",
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@endo/errors": "^1.2.5",
"@endo/far": "^1.1.5",
"@endo/nat": "^5.0.10",
"@endo/ses-ava": "^1.2.5",
"@endo/errors": "^1.2.8",
"@endo/far": "^1.1.9",
"@endo/nat": "^5.0.13",
"@endo/ses-ava": "^1.2.8",
"@types/eslint": "^8",
"@types/fs-extra": "^11",
"@types/node": "^20.11.13",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"ava": "^6.1.3",
"ava": "^6.2.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"execa": "9.1.0",
"fs-extra": "^11.2.0",
"patch-package": "^8.0.0",
"starshipjs": "2.4.1",
"tsimp": "^2.0.10",
"ts-blank-space": "^0.4.4",
"tsx": "^4.15.6",
"typescript": "^5.3.3"
},
Expand Down
Loading

0 comments on commit cf56e91

Please sign in to comment.