fix inter-repo dependencies and remove now-redundant package-locks within packages

fix linter again
This commit is contained in:
Greg Weisbrod
2021-11-08 00:46:22 -05:00
parent b5beeb6668
commit 0d6e723a7e
13 changed files with 38 additions and 50076 deletions

View File

@@ -23,9 +23,10 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm install - run: npm install -g npm@7
- run: npm run lint - run: npm ci
- run: npm run build - run: npm run build
- run: npm run lint
unit: unit:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -41,7 +42,9 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm install --ignore-engines - run: npm install -g npm@7
- run: npm ci
- run: npm run build
- run: npm test - run: npm test
integration: integration:
@@ -65,7 +68,9 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm install --ignore-engines - run: npm install -g npm@7
- run: npm ci
- run: npm run build
- run: npm run test:integration - run: npm run test:integration
env: env:
HOST: localhost HOST: localhost
@@ -92,5 +97,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: npm install - run: npm install -g npm@7
- run: npm ci
- run: npm run build
- run: npm run test:browser - run: npm run test:browser

3
.gitignore vendored
View File

@@ -71,3 +71,6 @@ scripts/cache
# browser tests # browser tests
testCompiledForWeb testCompiledForWeb
# lerna debug
lerna-debug.log

View File

@@ -1,7 +1,5 @@
{ {
"packages": [
"packages/*"
],
"version": "independent", "version": "independent",
"useWorkspaces": true,
"npmClient": "npm" "npmClient": "npm"
} }

20
package-lock.json generated
View File

@@ -18082,7 +18082,7 @@
"buffer": "5.6.0", "buffer": "5.6.0",
"create-hash": "^1.2.0", "create-hash": "^1.2.0",
"decimal.js": "^10.2.0", "decimal.js": "^10.2.0",
"ripple-address-codec": "file:../ripple-address-codec" "ripple-address-codec": "^4.1.1"
}, },
"engines": { "engines": {
"node": ">=10.22.0", "node": ">=10.22.0",
@@ -18106,7 +18106,7 @@
"brorand": "^1.0.5", "brorand": "^1.0.5",
"elliptic": "^6.5.4", "elliptic": "^6.5.4",
"hash.js": "^1.0.3", "hash.js": "^1.0.3",
"ripple-address-codec": "file:../ripple-address-codec" "ripple-address-codec": "^4.0.0"
}, },
"engines": { "engines": {
"node": ">= 10", "node": ">= 10",
@@ -18122,9 +18122,9 @@
"bip39": "^3.0.4", "bip39": "^3.0.4",
"https-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"ripple-address-codec": "file:../ripple-address-codec", "ripple-address-codec": "^4.1.1",
"ripple-binary-codec": "file:../ripple-binary-codec", "ripple-binary-codec": "^1.1.3",
"ripple-keypairs": "file:../ripple-keypairs", "ripple-keypairs": "^1.0.3",
"ws": "^8.2.2" "ws": "^8.2.2"
}, },
"engines": { "engines": {
@@ -29748,7 +29748,7 @@
"buffer": "5.6.0", "buffer": "5.6.0",
"create-hash": "^1.2.0", "create-hash": "^1.2.0",
"decimal.js": "^10.2.0", "decimal.js": "^10.2.0",
"ripple-address-codec": "file:../ripple-address-codec" "ripple-address-codec": "^4.1.1"
}, },
"dependencies": { "dependencies": {
"buffer": { "buffer": {
@@ -29769,7 +29769,7 @@
"brorand": "^1.0.5", "brorand": "^1.0.5",
"elliptic": "^6.5.4", "elliptic": "^6.5.4",
"hash.js": "^1.0.3", "hash.js": "^1.0.3",
"ripple-address-codec": "file:../ripple-address-codec" "ripple-address-codec": "^4.0.0"
} }
}, },
"rsvp": { "rsvp": {
@@ -32160,9 +32160,9 @@
"bip39": "^3.0.4", "bip39": "^3.0.4",
"https-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"ripple-address-codec": "file:../ripple-address-codec", "ripple-address-codec": "^4.1.1",
"ripple-binary-codec": "file:../ripple-binary-codec", "ripple-binary-codec": "^1.1.3",
"ripple-keypairs": "file:../ripple-keypairs", "ripple-keypairs": "^1.0.3",
"ws": "^8.2.2" "ws": "^8.2.2"
}, },
"dependencies": { "dependencies": {

View File

@@ -2,11 +2,11 @@
"name": "xrpl.js", "name": "xrpl.js",
"private": true, "private": true,
"scripts": { "scripts": {
"test": "lerna run test", "test": "lerna run test --stream",
"test:browser": "lerna run test:browser", "test:browser": "lerna run test:browser --stream",
"test:integration": "lerna run test:integration", "test:integration": "lerna run test:integration --stream",
"lint": "lerna run lint", "lint": "lerna run lint --stream",
"build": "lerna run build" "build": "lerna run build --stream"
}, },
"dependencies": { "dependencies": {
"ripple-address-codec": "file:packages/ripple-address-codec", "ripple-address-codec": "file:packages/ripple-address-codec",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -17,7 +17,7 @@
"buffer": "5.6.0", "buffer": "5.6.0",
"create-hash": "^1.2.0", "create-hash": "^1.2.0",
"decimal.js": "^10.2.0", "decimal.js": "^10.2.0",
"ripple-address-codec": "file:../ripple-address-codec" "ripple-address-codec": "^4.1.1"
}, },
"scripts": { "scripts": {
"build": "tsc -b && cp ./src/enums/definitions.json ./dist/enums", "build": "tsc -b && cp ./src/enums/definitions.json ./dist/enums",

File diff suppressed because it is too large Load Diff

View File

@@ -21,7 +21,7 @@
"brorand": "^1.0.5", "brorand": "^1.0.5",
"elliptic": "^6.5.4", "elliptic": "^6.5.4",
"hash.js": "^1.0.3", "hash.js": "^1.0.3",
"ripple-address-codec": "file:../ripple-address-codec" "ripple-address-codec": "^4.0.0"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

File diff suppressed because it is too large Load Diff

View File

@@ -24,9 +24,9 @@
"bip39": "^3.0.4", "bip39": "^3.0.4",
"https-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0",
"lodash": "^4.17.4", "lodash": "^4.17.4",
"ripple-address-codec": "file:../ripple-address-codec", "ripple-address-codec": "^4.1.1",
"ripple-binary-codec": "file:../ripple-binary-codec", "ripple-binary-codec": "^1.1.3",
"ripple-keypairs": "file:../ripple-keypairs", "ripple-keypairs": "^1.0.3",
"ws": "^8.2.2" "ws": "^8.2.2"
}, },
"resolutions": { "resolutions": {

View File

@@ -2,12 +2,12 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<!-- encoding must be set for mocha's special characters to render properly --> <!-- encoding must be set for mocha's special characters to render properly -->
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" /> <link rel="stylesheet" href="../../../node_modules/mocha/mocha.css" />
</head> </head>
<body> <body>
<div id="deb"></div> <div id="deb"></div>
<div id="mocha"></div> <div id="mocha"></div>
<script src="../node_modules/mocha/mocha.js"></script> <script src="../../../node_modules/mocha/mocha.js"></script>
<script src="hacks/phantomhacks.js"></script> <script src="hacks/phantomhacks.js"></script>
<script src="../build/xrpl-latest.js"></script> <script src="../build/xrpl-latest.js"></script>
<script> <script>