From 31c26467dc30af18fbb59eea5effc97f029101af Mon Sep 17 00:00:00 2001 From: Cedric van Putten Date: Sat, 16 Mar 2024 03:48:38 +0100 Subject: [PATCH] refactor: drop `expo-atlas/middleware` entry point --- middleware.d.ts | 1 - middleware.js | 1 - src/index.ts | 4 ++-- src/middleware.ts | 2 -- 4 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 middleware.d.ts delete mode 100644 middleware.js delete mode 100644 src/middleware.ts diff --git a/middleware.d.ts b/middleware.d.ts deleted file mode 100644 index b9b0cff..0000000 --- a/middleware.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './build/src/middleware'; diff --git a/middleware.js b/middleware.js deleted file mode 100644 index 7229ab7..0000000 --- a/middleware.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('./build/src/middleware.js'); diff --git a/src/index.ts b/src/index.ts index 940c6b6..a6f840b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,10 +1,10 @@ import './utils/global'; export type * from './data/types'; - export { MetroGraphSource } from './data/MetroGraphSource'; export { StatsFileSource } from './data/StatsFileSource'; export { AtlasError, AtlasValidationError } from './utils/errors'; -export { createStatsFile, validateStatsFile, getStatsMetdata, getStatsPath } from './utils/stats'; +export { createAtlasMiddleware } from './utils/middleware'; export { fuzzyFilterModules } from './utils/search'; +export { createStatsFile, validateStatsFile, getStatsMetdata, getStatsPath } from './utils/stats'; diff --git a/src/middleware.ts b/src/middleware.ts deleted file mode 100644 index 3e2106b..0000000 --- a/src/middleware.ts +++ /dev/null @@ -1,2 +0,0 @@ -export { MetroGraphSource } from './data/MetroGraphSource'; -export { createAtlasMiddleware } from './utils/middleware';