-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
614 additions
and
389 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,2 +1,3 @@ | ||
.dnt-import-map.json | ||
coverage/ | ||
npm/ |
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
logtape/README.md |
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 |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"workspace": [ | ||
"./logtape", | ||
"./file" | ||
], | ||
"imports": { | ||
"@david/which-runtime": "jsr:@david/which-runtime@^0.2.1", | ||
"@deno/dnt": "jsr:@deno/dnt@^0.41.1", | ||
"@std/assert": "jsr:@std/assert@^0.222.1", | ||
"@std/async": "jsr:@std/async@^0.222.1", | ||
"@std/fs": "jsr:@std/fs@^0.223.0", | ||
"@std/path": "jsr:@std/path@^1.0.2", | ||
"@std/testing": "jsr:@std/testing@^0.222.1", | ||
"consolemock": "npm:consolemock@^1.1.0" | ||
}, | ||
"unstable": [ | ||
"fs" | ||
], | ||
"lock": false, | ||
"exclude": [ | ||
".github/", | ||
"docs/" | ||
], | ||
"tasks": { | ||
"check": { | ||
"command": "deno check **/*.ts && deno lint && deno fmt --check", | ||
"dependencies": [ | ||
"check:versions" | ||
] | ||
}, | ||
"check:versions": "deno run --allow-read scripts/check_versions.ts", | ||
"test": "deno test --allow-read --allow-write", | ||
"coverage": "rm -rf coverage && deno task test --coverage && deno coverage --html coverage", | ||
"dnt-all": "deno task --recursive dnt", | ||
"test-all:bun": "deno task --recursive test:bun", | ||
"test-all": { | ||
"dependencies": [ | ||
"test", | ||
"test-all:bun" | ||
] | ||
}, | ||
"publish": { | ||
"command": "deno publish", | ||
"dependencies": [ | ||
"check", | ||
"test" | ||
] | ||
}, | ||
"hooks:install": "deno run --allow-read=deno.json,.git/hooks/ --allow-write=.git/hooks/ jsr:@hongminhee/deno-task-hooks", | ||
"hooks:pre-commit": { | ||
"dependencies": [ | ||
"check" | ||
] | ||
}, | ||
"hooks:pre-push": { | ||
"dependencies": [ | ||
"check", | ||
"test" | ||
] | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{"package":"@logtape/file","version":"0.9.0-dev.1","index":{"getFileSink()":{"kind":[{"char":"f","kind":"Function","title":"Function"}],"name":"getFileSink","file":".","doc":"Get a file sink.\n\nNote that this function is unavailable in the browser.\n","url":"https://jsr.io/@logtape/[email protected]/doc/~/getFileSink","deprecated":false,"label":"getFileSink()"},"getRotatingFileSink()":{"kind":[{"char":"f","kind":"Function","title":"Function"}],"name":"getRotatingFileSink","file":".","doc":"Get a rotating file sink.\n\nThis sink writes log records to a file, and rotates the file when it reaches\nthe `maxSize`. The rotated files are named with the original file name\nfollowed by a dot and a number, starting from 1. The number is incremented\nfor each rotation, and the maximum number of files to keep is `maxFiles`.\n\nNote that this function is unavailable in the browser.\n","url":"https://jsr.io/@logtape/[email protected]/doc/~/getRotatingFileSink","deprecated":false,"label":"getRotatingFileSink()"}}} |
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
Binary file not shown.
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
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
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
Oops, something went wrong.