-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: change deno fmt rules * chore: run deno fmt with new rules
- Loading branch information
1 parent
47a17e7
commit 416734d
Showing
14 changed files
with
1,089 additions
and
830 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
{ | ||
"fmt": { | ||
"lineWidth": 120, | ||
"exclude": ["node_modules"] | ||
}, | ||
"lint": { | ||
"include": ["src"] | ||
}, | ||
"lock": false, | ||
"tasks": { | ||
"backport": "rm -rf out && deno run --no-prompt --allow-read=. --allow-write=. https://deno.land/x/deno2node@v1.9.0/src/cli.ts", | ||
"dev": "deno lint && deno fmt --check && deno check src/mod.ts", | ||
"test": "deno test --seed=123456 --parallel ./test/", | ||
"coverage": "rm -rf ./test/cov_profile && deno task test --coverage=./test/cov_profile && deno coverage --lcov --output=./coverage.lcov ./test/cov_profile" | ||
} | ||
"fmt": { | ||
"indentWidth": 4, | ||
"exclude": [ | ||
"node_modules", | ||
"test/cov_profile", | ||
".vscode", | ||
"coverage.lcov", | ||
"out" | ||
], | ||
"proseWrap": "preserve" | ||
}, | ||
"lint": { | ||
"include": ["src"] | ||
}, | ||
"lock": false, | ||
"tasks": { | ||
"backport": "rm -rf out && deno run --no-prompt --allow-read=. --allow-write=. https://deno.land/x/deno2node@v1.9.0/src/cli.ts", | ||
"dev": "deno lint && deno fmt --check && deno check src/mod.ts", | ||
"test": "deno test --seed=123456 --parallel ./test/", | ||
"coverage": "rm -rf ./test/cov_profile && deno task test --coverage=./test/cov_profile && deno coverage --lcov --output=./coverage.lcov ./test/cov_profile" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"name": "@grammyjs/commands", | ||
"version": "0.3.1", | ||
"description": "grammY Commands Plugin", | ||
"main": "out/mod.js", | ||
"scripts": { | ||
"backport": "deno task backport", | ||
"prepare": "deno task backport" | ||
}, | ||
"keywords": [ | ||
"grammY", | ||
"telegram", | ||
"bot", | ||
"commands" | ||
], | ||
"author": "Roz <roz@rjmunhoz.me>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"grammy": "^1.17.1", | ||
"ts-pattern": "^5.0.1" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.1.6" | ||
}, | ||
"files": [ | ||
"out" | ||
] | ||
"name": "@grammyjs/commands", | ||
"version": "0.3.1", | ||
"description": "grammY Commands Plugin", | ||
"main": "out/mod.js", | ||
"scripts": { | ||
"backport": "deno task backport", | ||
"prepare": "deno task backport" | ||
}, | ||
"keywords": [ | ||
"grammY", | ||
"telegram", | ||
"bot", | ||
"commands" | ||
], | ||
"author": "Roz <roz@rjmunhoz.me>", | ||
"license": "MIT", | ||
"dependencies": { | ||
"grammy": "^1.17.1", | ||
"ts-pattern": "^5.0.1" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^5.1.6" | ||
}, | ||
"files": [ | ||
"out" | ||
] | ||
} |
Oops, something went wrong.