-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #63 from oslabs-beta/export_deps
refactor: how we import dependencies when importing Zoic
- Loading branch information
Showing
11 changed files
with
65 additions
and
340 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
.DS_Store | ||
src/tests/coverage_report/ | ||
src/tests/coverage_report/ | ||
deno.lock |
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,12 @@ | ||
{ | ||
"name": "@hankthetank27/zoic", | ||
"version": "1.0.6", | ||
"license": "MIT", | ||
"exports": "./zoic.ts", | ||
"imports": { | ||
"std/base64": "https://deno.land/std@0.89.0/encoding/base64.ts", | ||
"std/asserts": "https://deno.land/std@0.224.0/testing/asserts.ts", | ||
"std/bdd": "https://deno.land/std@0.224.0/testing/bdd.ts", | ||
"oak": "https://deno.land/x/oak@v17.1.4/mod.ts", | ||
"oak/application": "https://deno.land/x/oak@v17.1.4/application.ts", | ||
"redis": "https://deno.land/x/redis@v0.37.1/mod.ts", | ||
"redis/command": "https://deno.land/x/redis@v0.37.1/command.ts", | ||
"cors": "https://deno.land/x/cors@v1.2.2/mod.ts" | ||
} | ||
} | ||
"name": "Zoic", | ||
"version": "1.0.7", | ||
"description": "Caching middleware library for Oak", | ||
"exports": { | ||
".": "./zoic.ts" | ||
}, | ||
"tasks": { | ||
"test": "deno test ./src/tests/ --allow-net --allow-import" | ||
}, | ||
"imports": {} | ||
} |
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,17 @@ | ||
export { | ||
assert, | ||
assertEquals, | ||
assertInstanceOf, | ||
assertThrows, | ||
assertRejects, | ||
assertExists | ||
} from "https://deno.land/std@0.224.0/testing/asserts.ts"; | ||
export { decode as base64decode, encode as base64encode } from 'https://deno.land/std@0.89.0/encoding/base64.ts'; | ||
export { Context, Application, Router } from "https://deno.land/x/oak@v17.1.4/mod.ts"; | ||
export { connect } from "https://deno.land/x/redis@v0.37.1/mod.ts"; | ||
export { oakCors } from "https://deno.land/x/cors@v1.2.2/mod.ts"; | ||
export { describe, it } from "https://deno.land/std@0.224.0/testing/bdd.ts"; | ||
|
||
export type { ApplicationListenEvent } from "https://deno.land/x/oak@v17.1.4/application.ts"; | ||
export type { Redis } from "https://deno.land/x/redis@v0.37.1/mod.ts"; | ||
|
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
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