Add deps.ts

This commit is contained in:
Alex Gleason 2023-03-24 13:23:02 -05:00
parent e3df8579a0
commit 64413d572b
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
6 changed files with 7 additions and 7 deletions

2
src/deps.ts Normal file
View File

@ -0,0 +1,2 @@
export { readLines } from 'https://deno.land/std@0.178.0/io/mod.ts';
export { Keydb } from 'https://deno.land/x/keydb@1.0.0/sqlite.ts';

View File

@ -1,7 +1,6 @@
#!/bin/sh
//bin/true; exec deno run -A "$0" "$@"
import { readLines } from 'https://deno.land/std@0.178.0/io/mod.ts';
import { Keydb } from 'https://deno.land/x/keydb@1.0.0/sqlite.ts';
import { Keydb, readLines } from '../deps.ts';
import type { InputMessage, OutputMessage } from '../types.ts';

View File

@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run
import { readLines } from 'https://deno.land/std@0.178.0/io/mod.ts';
import { readLines } from '../deps.ts';
import type { InputMessage, OutputMessage } from '../types.ts';

View File

@ -1,5 +1,5 @@
#!/usr/bin/env -S deno run
import { readLines } from 'https://deno.land/std@0.178.0/io/mod.ts';
import { readLines } from '../deps.ts';
import type { InputMessage, OutputMessage } from '../types.ts';

View File

@ -1,7 +1,6 @@
#!/bin/sh
//bin/true; exec deno run -A "$0" "$@"
import { readLines } from 'https://deno.land/std@0.178.0/io/mod.ts';
import { Keydb } from 'https://deno.land/x/keydb@1.0.0/sqlite.ts';
import { Keydb, readLines } from '../deps.ts';
import type { InputMessage, OutputMessage } from '../types.ts';

View File

@ -1,6 +1,6 @@
#!/bin/sh
//bin/true; exec deno run -A "$0" "$@"
import { readLines } from 'https://deno.land/std@0.178.0/io/mod.ts';
import { readLines } from '../deps.ts';
import type { InputMessage, OutputMessage } from '../types.ts';