Skip to content

Commit

Permalink
Merge pull request #8 from theethernaut/lerna
Browse files Browse the repository at this point in the history
Lerna
  • Loading branch information
eternauta1337 authored Mar 9, 2024
2 parents 48d17d4 + 9753a91 commit bddd387
Show file tree
Hide file tree
Showing 30 changed files with 10,239 additions and 52,454 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ for Ethereum hackers.

`npm i -g ethernaut-cli`

Warning! This software is still in alpha, and very experimental rn.

## Intuitive navigation

No more man pages. No more --help.
Expand Down
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "1.0.2",
"npmClient": "npm",
"packages": ["packages/*"]
}
12,355 changes: 9,296 additions & 3,059 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@
"name": "ethernaut-cli-monorepo",
"version": "1.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"count": "git ls-files --exclude-standard ':!:package-lock.json' ':!:*.md' ':!:packages/ethernaut-challenges/contracts/*' ':!:packages/ethernaut-challenges/abis/*' ':!:packages/ethernaut-challenges/gamedata/*' ':!:packages/ethernaut-common/data/*' | xargs wc -l",
"chain": "packages/ethernaut-cli/ethernaut network node --fork 'none' --port 8545",
"build": "npm run build --workspaces && node ./scripts/fix-hardhat.js",
"compile": "npm run compile --workspaces",
"publish": "npm run publish --workspaces",
"build": "lerna run build && node ./scripts/fix-hardhat.js",
"compile": "lerna run compile",
"publish": "lerna publish",
"lint": "eslint 'packages/**/*.js'",
"format": "prettier --write 'packages/**/*.js'",
"test": "npm run test --workspaces"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-mocha": "^10.3.0",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"lerna": "^8.1.2",
"prettier": "^3.2.5"
}
}
5 changes: 3 additions & 2 deletions packages/ethernaut-ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ethernaut-ai",
"version": "1.0.0-alpha.3",
"version": "1.0.2",
"description": "AI assistant that interprets user input and executes hardhat tasks",
"main": "src/index.js",
"scripts": {
Expand All @@ -21,5 +21,6 @@
"devDependencies": {
"hardhat": "^2.20.0",
"nyc": "^15.1.0"
}
},
"gitHead": "5ffea95c7b8186e6365da19d189a79f09a78d475"
}
Loading

0 comments on commit bddd387

Please sign in to comment.