-
Notifications
You must be signed in to change notification settings - Fork 924
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor, remove legacy api.ts, remove legacy index.ts content (#9018)
- Loading branch information
1 parent
9f2759d
commit ca3c1ce
Showing
2 changed files
with
0 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +0,0 @@ | ||
// import { getScopeComponent } from './api/consumer/index'; | ||
import HooksManager from './hooks'; | ||
// import { registerCoreExtensions } from './extensions/bit'; | ||
// import { manifestsMap as coreExtensions } from './extensions/bit'; | ||
|
||
// export { coreExtensions }; | ||
|
||
HooksManager.init(); | ||
|
||
// export function show(scopePath: string, id: string, opts?: Record<string, any>) { | ||
// // When using the API programmatically do not use the scope cache by default | ||
// const loadScopeFromCache = opts && opts.loadScopeFromCache !== undefined ? !!opts.loadScopeFromCache : false; | ||
// // @ts-ignore AUTO-ADDED-AFTER-MIGRATION-PLEASE-FIX! | ||
// return getScopeComponent({ scopePath, id, allVersions: opts && opts.versions, loadScopeFromCache }).then( | ||
// ({ component }) => { | ||
// if (Array.isArray(component)) { | ||
// return component.map((v) => v.toObject()); | ||
// } | ||
// return component.toObject(); | ||
// } | ||
// ); | ||
// } | ||
This file was deleted.
Oops, something went wrong.