refactor: rework imports/exports
This commit is contained in:
parent
f2edf6f292
commit
e44ee48eaa
5 changed files with 6 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@andyburke/fsdb",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.0",
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
".": "./fsdb.ts",
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import { FSDB_INDEXER_SYMLINKS } from './indexers/symlinks.ts';
|
||||
|
||||
export default {
|
||||
FSDB_INDEXER_SYMLINKS
|
||||
};
|
||||
export { FSDB_INDEXER_SYMLINKS };
|
||||
|
|
|
@ -3,9 +3,4 @@ import by_email from './organizers/by_email.ts';
|
|||
import by_lurid from './organizers/by_lurid.ts';
|
||||
import by_phone from './organizers/by_phone.ts';
|
||||
|
||||
export default {
|
||||
by_character,
|
||||
by_email,
|
||||
by_lurid,
|
||||
by_phone
|
||||
};
|
||||
export { by_character, by_email, by_lurid, by_phone };
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
import * as asserts from '@std/assert';
|
||||
import * as fsdb from '../fsdb.ts';
|
||||
import { FSDB_INDEXER_SYMLINKS } from '../indexers/symlinks.ts';
|
||||
import { FSDB_INDEXER_SYMLINKS } from '../indexers.ts';
|
||||
import { get_data_dir, random_email_address, random_phone_number } from './helpers.ts';
|
||||
import lurid from '@andyburke/lurid';
|
||||
import by_email from '../organizers/by_email.ts';
|
||||
import by_character from '../organizers/by_character.ts';
|
||||
import by_phone from '../organizers/by_phone.ts';
|
||||
import { by_character, by_email, by_phone } from '../organizers.ts';
|
||||
import { sentence } from 'jsr:@ndaidong/txtgen';
|
||||
|
||||
Deno.test({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import * as asserts from '@std/assert';
|
||||
import * as fsdb from '../fsdb.ts';
|
||||
import { FSDB_INDEXER_SYMLINKS } from '../indexers/symlinks.ts';
|
||||
import { FSDB_INDEXER_SYMLINKS } from '../indexers.ts';
|
||||
import { get_data_dir, random_email_address, random_phone_number } from './helpers.ts';
|
||||
import lurid from '@andyburke/lurid';
|
||||
import by_email from '../organizers/by_email.ts';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue