Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
chore: update project config (#149)
Browse files Browse the repository at this point in the history
Output of `check-aegir-project` tool
  • Loading branch information
achingbrain authored Jan 15, 2022
1 parent 04801f4 commit 6eb8556
Show file tree
Hide file tree
Showing 21 changed files with 497 additions and 412 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
15 changes: 2 additions & 13 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,12 @@
{
"lerna": "3.22.0",
"lerna": "4.0.0",
"packages": [
"packages/*"
],
"version": "independent",
"command": {
"bootstrap": {
"hoist": true
},
"run": {
"stream": true
},
"publish": {
"message": "chore: publish",
"createRelease": "github",
"conventionalCommits": true
},
"version": {
"private": false
}
}
}
}
38 changes: 20 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
"name": "js-libp2p-interfaces",
"version": "1.0.0",
"description": "Interfaces for JS Libp2p",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p-interfaces.git"
},
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
},
"keywords": [
"interface",
"libp2p"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"private": true,
"scripts": {
"reset": "lerna run clean && rimraf ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist",
Expand All @@ -18,26 +35,11 @@
"dep-check": "lerna run dep-check",
"release": "lerna exec --concurrency 1 -- semantic-release -e semantic-release-monorepo"
},
"bugs": "https://github.com/libp2p/js-libp2p-interfaces/issues",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces#readme",
"license": "Apache-2.0 OR MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p-interfaces.git"
},
"keywords": [
"libp2p",
"interface"
],
"workspaces": [
"packages/*"
],
"dependencies": {
"lerna": "^4.0.0",
"rimraf": "^3.0.2"
},
"engines": {
"node": ">=15.0.0",
"npm": ">=7.0.0"
}
"workspaces": [
"packages/*"
]
}
2 changes: 1 addition & 1 deletion packages/libp2p-connection/LICENSE-MIT
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
102 changes: 58 additions & 44 deletions packages/libp2p-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,61 +2,47 @@
"name": "@libp2p/connection",
"version": "1.0.3",
"description": "JS Libp2p connections",
"type": "module",
"files": [
"src",
"dist"
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-connection#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p-interfaces.git"
},
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
},
"keywords": [
"interface",
"libp2p"
],
"types": "dist/src/index.d.ts",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"*/index",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"eslintConfig": {
"extends": "ipfs"
},
"scripts": {
"lint": "aegir lint",
"dep-check": "aegir dep-check dist/src/**/*.js",
"build": "tsc",
"pretest": "npm run build",
"test": "aegir test -f ./dist/test/**/*.js",
"test:chrome": "npm run test -- -t browser",
"test:chrome-webworker": "npm run test -- -t webworker",
"test:firefox": "npm run test -- -t browser -- --browser firefox",
"test:firefox-webworker": "npm run test -- -t webworker -- --browser firefox",
"test:node": "npm run test -- -t node --cov",
"test:electron-main": "npm run test -- -t electron-main"
},
"repository": {
"type": "git",
"url": "git+https://github.com/libp2p/js-libp2p-interfaces.git"
},
"keywords": [
"libp2p",
"interface"
"files": [
"src",
"dist/src",
"!dist/test",
"!**/*.tsbuildinfo"
],
"author": "",
"license": "Apache-2.0 OR MIT",
"bugs": {
"url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
},
"homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-connection#readme",
"dependencies": {
"@libp2p/interfaces": "^1.0.0",
"@multiformats/multiaddr": "^10.1.1",
"err-code": "^3.0.1"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^1.0.0",
"aegir": "^36.1.3"
},
"exports": {
".": {
"import": "./dist/src/index.js",
Expand All @@ -67,6 +53,12 @@
"types": "./dist/src/status.d.ts"
}
},
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
}
},
"release": {
"branches": [
"master"
Expand Down Expand Up @@ -147,5 +139,27 @@
"@semantic-release/github",
"@semantic-release/git"
]
},
"scripts": {
"lint": "aegir lint",
"dep-check": "aegir dep-check dist/src/**/*.js",
"build": "tsc",
"pretest": "npm run build",
"test": "aegir test -f ./dist/test/**/*.js",
"test:chrome": "npm run test -- -t browser",
"test:chrome-webworker": "npm run test -- -t webworker",
"test:firefox": "npm run test -- -t browser -- --browser firefox",
"test:firefox-webworker": "npm run test -- -t webworker -- --browser firefox",
"test:node": "npm run test -- -t node --cov",
"test:electron-main": "npm run test -- -t electron-main"
},
"dependencies": {
"@libp2p/interfaces": "^1.0.0",
"@multiformats/multiaddr": "^10.1.1",
"err-code": "^3.0.1"
},
"devDependencies": {
"@libp2p/peer-id-factory": "^1.0.0",
"aegir": "^36.1.3"
}
}
2 changes: 1 addition & 1 deletion packages/libp2p-interface-compliance-tests/LICENSE-MIT
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
Loading

0 comments on commit 6eb8556

Please sign in to comment.