mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-22 05:05:48 +00:00
migrate from yarn to npm (#148)
* migrate from yarn to npm * fix unrelated prettier error
This commit is contained in:
@@ -5,9 +5,9 @@ name: Node.js CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_with_nvm:
|
build_with_nvm:
|
||||||
@@ -23,10 +23,10 @@ jobs:
|
|||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: "${{ steps.nvm.outputs.NVMRC }}"
|
node-version: "${{ steps.nvm.outputs.NVMRC }}"
|
||||||
- run: yarn install
|
- run: npm install
|
||||||
- run: yarn run test
|
- run: npm test
|
||||||
- run: yarn run lint
|
- run: npm run lint
|
||||||
- run: yarn run compile
|
- run: npm run compile
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: yarn install
|
- run: npm install
|
||||||
- run: yarn run test
|
- run: npm test
|
||||||
- run: yarn run lint
|
- run: npm run lint
|
||||||
- run: yarn run compile
|
- run: npm run compile
|
||||||
|
|||||||
@@ -98,10 +98,10 @@ Encode the transaction object for multi-signing.
|
|||||||
|
|
||||||
Run unit tests with:
|
Run unit tests with:
|
||||||
|
|
||||||
yarn test
|
npm test
|
||||||
|
|
||||||
Use `--coverage` to generate and display code coverage information:
|
Use `--coverage` to generate and display code coverage information:
|
||||||
|
|
||||||
yarn test --coverage
|
npm test --coverage
|
||||||
|
|
||||||
This tells jest to output code coverage info in the `./coverage` directory, in addition to showing it on the command line.
|
This tells jest to output code coverage info in the `./coverage` directory, in addition to showing it on the command line.
|
||||||
14315
packages/ripple-binary-codec/package-lock.json
generated
Normal file
14315
packages/ripple-binary-codec/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -55,6 +55,6 @@
|
|||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10.22.0",
|
"node": ">=10.22.0",
|
||||||
"yarn": "^1.22.4"
|
"npm": ">=7.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,8 @@ let json = {
|
|||||||
Account: "rUnFEsHjxqTswbivzL2DNHBb34rhAgZZZK",
|
Account: "rUnFEsHjxqTswbivzL2DNHBb34rhAgZZZK",
|
||||||
PreviousTxnLgrSeq: 8,
|
PreviousTxnLgrSeq: 8,
|
||||||
LedgerEntryType: "AccountRoot",
|
LedgerEntryType: "AccountRoot",
|
||||||
PreviousTxnID: "0735A0B32B2A3F4C938B76D6933003E29447DB8C7CE382BBE089402FF12A03E5".toLowerCase(),
|
PreviousTxnID:
|
||||||
|
"0735A0B32B2A3F4C938B76D6933003E29447DB8C7CE382BBE089402FF12A03E5".toLowerCase(),
|
||||||
Flags: 0,
|
Flags: 0,
|
||||||
Sequence: 1,
|
Sequence: 1,
|
||||||
Balance: "10000000000",
|
Balance: "10000000000",
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user