Skip to content

Commit

Permalink
Use Effect
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Nov 29, 2023
1 parent 454cde8 commit 3e476be
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
8 changes: 8 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"node": "20",
"npm": "9 || 10"
},
"type": "module",
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/node20": "^20.1.2",
Expand All @@ -12,5 +13,8 @@
"prettier-plugin-sh": "^0.13.1",
"tsx": "^4.6.0",
"typescript": "^5.3.2"
},
"dependencies": {
"effect": "^2.0.0-next.56"
}
}
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
console.log('hello')
import { Effect } from 'effect'

await Effect.runPromise(Effect.logInfo('hello'))

0 comments on commit 3e476be

Please sign in to comment.