Skip to content

Commit

Permalink
feat: use neverthrow & eta
Browse files Browse the repository at this point in the history
fix: windows path issues
  • Loading branch information
Curve committed Nov 8, 2023
1 parent e394755 commit 4e9768c
Show file tree
Hide file tree
Showing 10 changed files with 198 additions and 288 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
ecmaVersion: "latest",
sourceType : "module",
},
plugins: ["@typescript-eslint", "react"],
plugins: ["@typescript-eslint", "react", "eslint-plugin-neverthrow"],
rules : {
"object-curly-spacing" : ["error", "always"],
"brace-style" : ["error", "allman"],
Expand Down Expand Up @@ -60,4 +60,4 @@ module.exports = {
}
}]
},
};
};
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "saucer-app",
"description": "A CLI utility for saucer",
"description": "🛸 A command-line utility for saucer",
"keywords": [
"saucer"
],
"version": "4.0.5",
"version": "4.1.0",
"license": "MIT",
"author": "Curve (https://github.com/Curve)",
"type": "module",
Expand All @@ -16,21 +16,25 @@
"url": "https://github.com/saucer/saucer-cli/issues"
},
"scripts": {
"build": "tsc && chmod +x dist/cli.js"
"build": "tsc",
"build:executable": "pnpm run build && chmod +x dist/index.js && cp -r src/templates dist"
},
"bin": {
"saucer": "dist/cli.js"
"saucer": "dist/index.js"
},
"files": [
"dist"
],
"dependencies": {
"commander": "^11.0.0",
"eslint-plugin-neverthrow": "^1.1.4",
"eta": "^3.1.1",
"figures": "^5.0.0",
"fs-extra": "^11.1.1",
"ink": "^4.1.0",
"ink-spinner": "^5.0.0",
"mime-types": "^2.1.35",
"neverthrow": "^6.1.0",
"react": "^18.2.0",
"typescript": "^5.0.3"
},
Expand Down
Loading

0 comments on commit 4e9768c

Please sign in to comment.