refactor: rework imports/exports

This commit is contained in:
Andy Burke 2025-06-22 22:35:50 -07:00
parent f2edf6f292
commit e44ee48eaa
5 changed files with 6 additions and 15 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@andyburke/fsdb", "name": "@andyburke/fsdb",
"version": "0.2.0", "version": "0.3.0",
"license": "MIT", "license": "MIT",
"exports": { "exports": {
".": "./fsdb.ts", ".": "./fsdb.ts",

View file

@ -1,5 +1,3 @@
import { FSDB_INDEXER_SYMLINKS } from './indexers/symlinks.ts'; import { FSDB_INDEXER_SYMLINKS } from './indexers/symlinks.ts';
export default { export { FSDB_INDEXER_SYMLINKS };
FSDB_INDEXER_SYMLINKS
};

View file

@ -3,9 +3,4 @@ import by_email from './organizers/by_email.ts';
import by_lurid from './organizers/by_lurid.ts'; import by_lurid from './organizers/by_lurid.ts';
import by_phone from './organizers/by_phone.ts'; import by_phone from './organizers/by_phone.ts';
export default { export { by_character, by_email, by_lurid, by_phone };
by_character,
by_email,
by_lurid,
by_phone
};

View file

@ -1,11 +1,9 @@
import * as asserts from '@std/assert'; import * as asserts from '@std/assert';
import * as fsdb from '../fsdb.ts'; 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 { get_data_dir, random_email_address, random_phone_number } from './helpers.ts';
import lurid from '@andyburke/lurid'; import lurid from '@andyburke/lurid';
import by_email from '../organizers/by_email.ts'; import { by_character, by_email, by_phone } from '../organizers.ts';
import by_character from '../organizers/by_character.ts';
import by_phone from '../organizers/by_phone.ts';
import { sentence } from 'jsr:@ndaidong/txtgen'; import { sentence } from 'jsr:@ndaidong/txtgen';
Deno.test({ Deno.test({

View file

@ -1,6 +1,6 @@
import * as asserts from '@std/assert'; import * as asserts from '@std/assert';
import * as fsdb from '../fsdb.ts'; 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 { get_data_dir, random_email_address, random_phone_number } from './helpers.ts';
import lurid from '@andyburke/lurid'; import lurid from '@andyburke/lurid';
import by_email from '../organizers/by_email.ts'; import by_email from '../organizers/by_email.ts';