feat: create tm-core and apps/cli (#1093)
- add typescript - add npm workspaces
This commit is contained in:
45
packages/tm-core/src/index.ts
Normal file
45
packages/tm-core/src/index.ts
Normal file
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* @fileoverview Main entry point for the tm-core package
|
||||
* This file exports all public APIs from the core Task Master library
|
||||
*/
|
||||
|
||||
// Export main facade
|
||||
export {
|
||||
TaskMasterCore,
|
||||
createTaskMasterCore,
|
||||
type TaskMasterCoreOptions,
|
||||
type ListTasksResult
|
||||
} from './task-master-core';
|
||||
|
||||
// Re-export types
|
||||
export type * from './types';
|
||||
|
||||
// Re-export interfaces (types only to avoid conflicts)
|
||||
export type * from './interfaces';
|
||||
|
||||
// Re-export constants
|
||||
export * from './constants';
|
||||
|
||||
// Re-export providers
|
||||
export * from './providers';
|
||||
|
||||
// Re-export storage (selectively to avoid conflicts)
|
||||
export {
|
||||
FileStorage,
|
||||
ApiStorage,
|
||||
StorageFactory,
|
||||
type ApiStorageConfig
|
||||
} from './storage';
|
||||
export { PlaceholderStorage, type StorageAdapter } from './storage';
|
||||
|
||||
// Re-export parser
|
||||
export * from './parser';
|
||||
|
||||
// Re-export utilities
|
||||
export * from './utils';
|
||||
|
||||
// Re-export errors
|
||||
export * from './errors';
|
||||
|
||||
// Re-export entities
|
||||
export { TaskEntity } from './entities/task.entity';
|
||||
Reference in New Issue
Block a user