Skip to content

Commit

Permalink
Merge pull request #16 from ITZSHOAIB/ss/named-exports
Browse files Browse the repository at this point in the history
feat: improved project structure and replaced tools
  • Loading branch information
ITZSHOAIB authored Sep 16, 2024
2 parents bfcbb6c + 6489d42 commit 7ab9431
Show file tree
Hide file tree
Showing 21 changed files with 228 additions and 364 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-tips-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chukti": patch
---

Improved project structure and CLI
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,15 @@ To initialize a Chukti project, use the `npx chukti init` command. You can speci
During the initialization, you will be prompted to choose between the following project types:

```bash
🚀 Initializing a new Chukti project with Cucumber
? Choose your chukti project setup: (Use arrow keys)
❯ A TypeScript project with Hardhat + Viem
A Typescript project with Forge + Anvil (should be installed manually)
┌ 🚀 Initializing a new Chukti project with Cucumber
◇ Confirm the folder name to initialize the project:
│ new_project
◆ Choose your chukti project setup for new_project:
│ ○ A TypeScript project with Hardhat + Viem
│ ● A Typescript project with Forge + Anvil (should be installed manually)
```

### Confused? What to choose?
Expand Down
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,17 @@
"./cucumber": {
"types": "./dist/cucumber/index.d.ts",
"import": "./dist/cucumber/index.js",
"require": "./dist/cucumber/index.js"
"require": "./dist/cucumber/index.cjs"
},
"./local-blockchain": {
"types": "./dist/local-blockchain/index.d.ts",
"import": "./dist/local-blockchain/index.js",
"require": "./dist/local-blockchain/index.cjs"
},
"./viem": {
"types": "./dist/viem/index.d.ts",
"import": "./dist/viem/index.js",
"require": "./dist/viem/index.cjs"
}
},
"scripts": {
Expand All @@ -40,12 +50,12 @@
"lint": "tsc"
},
"dependencies": {
"@clack/prompts": "^0.7.0",
"@cucumber/cucumber": "^11.0.0",
"command-exists": "^1.2.9",
"cross-spawn": "^7.0.3",
"fs-extra": "^11.2.0",
"inquirer": "^10.2.2",
"kleur": "^4.1.5",
"picocolors": "^1.1.0",
"tree-kill": "^1.2.2",
"ts-node": "^10.9.2",
"viem": "^2.21.2",
Expand Down
Loading

0 comments on commit 7ab9431

Please sign in to comment.