Merge pull request #1138 from orbitdb/fix/helia-6

Clean ups
This commit is contained in:
Hayden Young 2023-12-16 00:29:28 +08:00 committed by GitHub
commit c09e045581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 297 additions and 2406 deletions

3
.gitignore vendored
View File

@ -1,9 +1,6 @@
# Don't distribute the dependencies
node_modules/
# Don't track code coverage reports
coverage/
#Don't track ipfs files
test/ipfs/
test/browser/ipfs/

View File

@ -10,19 +10,10 @@ dist/*.map
# Don't distribute the debug build
dist/orbitdb.js
# Don't distribute screenshot
# See examples at https://github.com/orbitdb/orbit-db
images/
.git
.circleci
benchmarks
test
ipfs
docker
conf
Makefile
API.md
CHANGELOG.md
FAQ.md
GUIDE.md
CONTRIBUTING.md
CODE_OF_CONDUCT.md

View File

@ -7,14 +7,13 @@ test: deps
npm run test -- --exit
build: test
mkdir -p examples/browser/lib/
npm run build
@echo "Build success!"
clean:
rm -rf node_modules/
rm -rf coverage/
rm -rf docs/api/
rm -rf dist/
rm -f test/browser/bundle.js*
clean-dependencies: clean

2674
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,7 @@
"url": "https://github.com/orbitdb/orbitdb"
},
"engines": {
"node": ">=16.0.0"
"node": ">=20.0.0"
},
"files": [
"src",
@ -29,8 +29,6 @@
"uint8arrays": "^5.0.0"
},
"devDependencies": {
"assert": "^2.1.0",
"babel-loader": "^9.1.3",
"c8": "^8.0.1",
"cross-env": "^7.0.3",
"fs-extra": "^11.2.0",
@ -38,7 +36,6 @@
"it-all": "^3.0.4",
"jsdoc": "^4.0.2",
"mocha": "^10.2.0",
"open-cli": "^7.2.0",
"path-browserify": "^1.0.1",
"playwright-test": "^14.0.0",
"rimraf": "^5.0.5",
@ -47,12 +44,10 @@
"webpack-cli": "^5.1.4"
},
"scripts": {
"lint:docs": "remark -qf -u validate-links .",
"test:all": "npm run test:browser-multiple-tabs && npm run test",
"test": "cross-env mocha --config test/.mocharc.json",
"test:ci": "cross-env c8 mocha --config test/.mocharc.json",
"test:browser": "npm run build:tests && ./node_modules/.bin/playwright-test test/browser/bundle.js --runner mocha",
"build": "npm run build:dist && npm run build:debug",
"build": "npm run build:docs && npm run build:dist && npm run build:debug",
"build:dist": "webpack --config conf/webpack.config.js",
"build:debug": "webpack --config conf/webpack.debug.config.js",
"build:docs": "jsdoc -c ./conf/jsdoc/jsdoc.json -r src/** -d ./docs/api -R ./docs/jsdoc/README.md",
@ -81,6 +76,7 @@
"decentralised",
"distributed",
"ipfs",
"libp2p",
"p2p",
"peer-to-peer"
]