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

Commit

Permalink
chore: remove lerna (#330)
Browse files Browse the repository at this point in the history
Now that aegir has run and exec commands lerna is no longer required.
  • Loading branch information
achingbrain authored Jan 6, 2023
1 parent 3ef29b7 commit 6678592
Show file tree
Hide file tree
Showing 32 changed files with 46 additions and 58 deletions.
10 changes: 0 additions & 10 deletions lerna.json

This file was deleted.

34 changes: 16 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,26 @@
},
"private": true,
"scripts": {
"reset": "lerna run clean && rimraf ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist",
"test": "lerna run --concurrency 1 test -- --",
"test:node": "lerna run --concurrency 1 test:node -- --",
"test:chrome": "lerna run --concurrency 1 test:chrome -- --",
"test:chrome-webworker": "lerna --concurrency 1 run test:chrome-webworker -- --",
"test:firefox": "lerna run --concurrency 1 test:firefox -- --",
"test:firefox-webworker": "lerna run --concurrency 1 test:firefox-webworker -- --",
"test:electron-main": "lerna run --concurrency 1 test:electron-main -- --",
"test:electron-renderer": "lerna run --concurrency 1 test:electron-renderer -- --",
"clean": "lerna run clean",
"generate": "lerna run generate",
"build": "lerna run build",
"lint": "lerna run lint",
"reset": "aegir run clean && aegir clean ./node_modules ./package-lock.json packages/*/node_modules packages/*/package-lock.json packages/*/dist",
"test": "aegir run test",
"test:node": "aegir run test:node",
"test:chrome": "aegir run test:chrome",
"test:chrome-webworker": "aegir run test:chrome-webworker",
"test:firefox": "aegir run test:firefox",
"test:firefox-webworker": "aegir run test:firefox-webworker",
"test:electron-main": "aegir run test:electron-main",
"test:electron-renderer": "aegir run test:electron-renderer",
"clean": "aegir run clean",
"generate": "aegir run generate",
"build": "aegir run build",
"lint": "aegir run lint",
"docs": "NODE_OPTIONS=--max_old_space_size=4096 aegir docs",
"docs:no-publish": "npm run docs -- --publish false",
"dep-check": "lerna run dep-check",
"release": "npm run docs:no-publish && lerna run --concurrency 1 release && npm run docs"
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs"
},
"dependencies": {
"aegir": "^37.7.3",
"lerna": "^6.0.1",
"rimraf": "^3.0.2"
"aegir": "^37.9.0"
},
"workspaces": [
"packages/*"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-address-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"release": "aegir release"
},
"dependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"dependencies": {
"@libp2p/interface-compliance-tests": "^3.0.0",
"@libp2p/interface-connection": "^3.0.0",
"aegir": "^37.7.3",
"aegir": "^37.9.0",
"sinon": "^15.0.0",
"ts-sinon": "^2.0.2"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"@multiformats/multiaddr": "^11.0.0",
"aegir": "^37.7.3",
"aegir": "^37.9.0",
"it-all": "^2.0.0",
"it-pair": "^2.0.2",
"it-pipe": "^2.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-connection-encrypter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"uint8arraylist": "^2.1.2"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-connection-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"uint8arraylist": "^2.1.2"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-content-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"multiformats": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-dht/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"multiformats": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"multiformats": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"release": "aegir release"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-libp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"@libp2p/interface-connection": "^3.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"@libp2p/interface-connection-encrypter-compliance-tests": "^4.0.0",
"@libp2p/interface-peer-discovery-compliance-tests": "^2.0.0",
"@libp2p/interface-stream-muxer-compliance-tests": "^6.0.0",
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@libp2p/interface-peer-discovery": "^1.0.0",
"@libp2p/interfaces": "^3.0.0",
"@multiformats/multiaddr": "^11.0.0",
"aegir": "^37.7.3",
"aegir": "^37.9.0",
"delay": "^5.0.0",
"p-defer": "^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-peer-discovery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@libp2p/interfaces": "^3.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-peer-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"multiformats": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-peer-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-peer-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"@libp2p/interfaces": "^3.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-peer-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-pubsub-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"@libp2p/interface-pubsub": "^3.0.0",
"@libp2p/interfaces": "^3.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"aegir": "^37.7.3",
"aegir": "^37.9.0",
"delay": "^5.0.0",
"p-defer": "^4.0.0",
"p-event": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"uint8arraylist": "^2.1.2"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-record-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"dependencies": {
"@libp2p/interface-compliance-tests": "^3.0.0",
"@libp2p/interface-record": "^2.0.0",
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"uint8arraylist": "^2.1.2"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-registrar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@libp2p/interface-peer-id": "^2.0.0"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@libp2p/interface-connection": "^3.0.0",
"@libp2p/interface-stream-muxer": "^3.0.0",
"abortable-iterator": "^4.0.2",
"aegir": "^37.7.3",
"aegir": "^37.9.0",
"delay": "^5.0.0",
"it-all": "^2.0.0",
"it-drain": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-stream-muxer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"it-stream-types": "^1.0.4"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-transport-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"@libp2p/interface-transport": "^2.0.0",
"@libp2p/interfaces": "^3.0.0",
"@multiformats/multiaddr": "^11.0.0",
"aegir": "^37.7.3",
"aegir": "^37.9.0",
"it-all": "^2.0.0",
"it-drain": "^2.0.0",
"it-pipe": "^2.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-transport/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"it-stream-types": "^1.0.4"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"release": "aegir release"
},
"devDependencies": {
"aegir": "^37.7.3"
"aegir": "^37.9.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down

0 comments on commit 6678592

Please sign in to comment.