Skip to content

Commit

Permalink
use esbuild, tsc and eslint instead of tsdx
Browse files Browse the repository at this point in the history
  • Loading branch information
lenkan committed Nov 11, 2023
1 parent 031fde6 commit eac7b78
Show file tree
Hide file tree
Showing 38 changed files with 6,771 additions and 19,338 deletions.
18 changes: 18 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"rules": {
"prefer-const": "warn",
"no-var": "warn",
"no-self-assign": "warn",
"no-case-declarations": "warn",
"no-constant-condition": "warn",
"no-empty": "warn",
"@typescript-eslint/no-non-null-asserted-optional-chain": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-namespace": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/ban-ts-comment": "warn"
}
}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ The code is built using Typescript and running code locally requires a Mac or Li
npm install
```

Typescript source files needs to be transpiled before running scripts

- Build:
```bash
npm run build
```


Account Creation Workflow

Expand Down
228 changes: 0 additions & 228 deletions examples/integration-scripts/bip39_shim/package-lock.json

This file was deleted.

11 changes: 0 additions & 11 deletions examples/integration-scripts/bip39_shim/package.json

This file was deleted.

24 changes: 0 additions & 24 deletions examples/integration-scripts/bip39_shim/tsconfig.json

This file was deleted.

11 changes: 0 additions & 11 deletions examples/integration-scripts/bip39_shim/tsconfig.node.json

This file was deleted.

2 changes: 1 addition & 1 deletion examples/integration-scripts/externalModule.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { strict as assert } from 'assert';
import signify from 'signify-ts';
import { BIP39Shim } from './bip39_shim/src/bip39_shim.ts';
import { BIP39Shim } from './modules/bip39_shim';

const url = 'http://127.0.0.1:3901';
const boot_url = 'http://127.0.0.1:3903';
Expand Down
Loading

0 comments on commit eac7b78

Please sign in to comment.