Fix local imports of same module for @theatre/core

This commit is contained in:
Cole Lawrence 2022-07-13 09:53:22 -04:00
parent 11b5d175f4
commit ca65280b93
2 changed files with 10 additions and 16 deletions

View file

@ -1,12 +1,9 @@
import projectsSingleton from '@theatre/core/projects/projectsSingleton' import projectsSingleton from './projects/projectsSingleton'
import type {OnDiskState} from '@theatre/core/projects/store/storeTypes' import type {OnDiskState} from './projects/store/storeTypes'
import type { import type {IProject, IProjectConfig} from './projects/TheatreProject'
IProject, import TheatreProject from './projects/TheatreProject'
IProjectConfig,
} from '@theatre/core/projects/TheatreProject'
import TheatreProject from '@theatre/core/projects/TheatreProject'
import globals from '@theatre/shared/globals' import globals from '@theatre/shared/globals'
import * as types from '@theatre/core/propTypes' import * as types from './propTypes'
import {InvalidArgumentError} from '@theatre/shared/utils/errors' import {InvalidArgumentError} from '@theatre/shared/utils/errors'
import {validateName} from '@theatre/shared/utils/sanitizers' import {validateName} from '@theatre/shared/utils/sanitizers'
import userReadableTypeOfValue from '@theatre/shared/utils/userReadableTypeOfValue' import userReadableTypeOfValue from '@theatre/shared/utils/userReadableTypeOfValue'

View file

@ -5,14 +5,11 @@
*/ */
export * from './coreExports' export * from './coreExports'
export type { export type {IProject, IProjectConfig} from './projects/TheatreProject'
IProject, export type {ISequence} from './sequences/TheatreSequence'
IProjectConfig, export type {ISheetObject} from './sheetObjects/TheatreSheetObject'
} from '@theatre/core/projects/TheatreProject' export type {ISheet} from './sheets/TheatreSheet'
export type {ISequence} from '@theatre/core/sequences/TheatreSequence' export type {UnknownShorthandCompoundProps} from './propTypes'
export type {ISheetObject} from '@theatre/core/sheetObjects/TheatreSheetObject'
export type {ISheet} from '@theatre/core/sheets/TheatreSheet'
export type {UnknownShorthandCompoundProps} from '@theatre/core/propTypes'
import * as globalVariableNames from '@theatre/shared/globalVariableNames' import * as globalVariableNames from '@theatre/shared/globalVariableNames'
import type StudioBundle from '@theatre/studio/StudioBundle' import type StudioBundle from '@theatre/studio/StudioBundle'
import CoreBundle from './CoreBundle' import CoreBundle from './CoreBundle'