Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions packages/x-bus/.gitignore

This file was deleted.

195 changes: 0 additions & 195 deletions packages/x-bus/CHANGELOG.md

This file was deleted.

8 changes: 0 additions & 8 deletions packages/x-bus/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions packages/x-bus/eslint.config.mjs

This file was deleted.

6 changes: 0 additions & 6 deletions packages/x-bus/jest.config.js

This file was deleted.

62 changes: 0 additions & 62 deletions packages/x-bus/package.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/x-bus/tsconfig.cjs.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/x-bus/tsconfig.esm.json

This file was deleted.

21 changes: 0 additions & 21 deletions packages/x-bus/tsconfig.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/x-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"dependencies": {
"@empathyco/x-adapter": "^8.1.0-alpha.5",
"@empathyco/x-adapter-platform": "^1.1.0-alpha.20",
"@empathyco/x-bus": "^1.0.3-alpha.5",
"@empathyco/x-deep-merge": "^2.0.3-alpha.6",
"@empathyco/x-storage-service": "^2.0.3-alpha.4",
"@empathyco/x-types": "^10.1.0-alpha.15",
Expand Down
4 changes: 2 additions & 2 deletions packages/x-components/src/__tests__/bus.dummy.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { EmittedData, EventPayload, SubjectPayload } from '@empathyco/x-bus'
import type { Dictionary } from '@empathyco/x-utils'
import type { WireMetadata, XEventsTypes } from '../wiring'
import { XPriorityBus } from '@empathyco/x-bus'
import type { EmittedData, EventPayload, SubjectPayload } from '../x-bus'
import { Subject } from 'rxjs'
import { XPriorityBus } from '../x-bus'

export class XDummyBus<
SomeEvents extends Dictionary = XEventsTypes,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-components/src/composables/use-x-bus.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { EventPayload, SubjectPayload, XBus } from '@empathyco/x-bus'
import type { ComponentPublicInstance, Ref } from 'vue'
import type { FeatureLocation } from '../types/origin'
import type { XEvent, XEventPayload, XEventsTypes } from '../wiring/events.types'
import type { WireMetadata } from '../wiring/wiring.types'
import type { EventPayload, SubjectPayload, XBus } from '../x-bus'
import { Subscription } from 'rxjs'
import { getCurrentInstance, inject, isRef, onBeforeUnmount } from 'vue'
import { getRootXComponent, getXComponentXModuleName } from '../components/x-component.utils'
Expand Down
2 changes: 2 additions & 0 deletions packages/x-components/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export * from './store'
export * from './types'
export * from './utils'
export * from './wiring'
export * from './x-bus'
export * from './x-bus/x-priority-queue'
export * from './x-installer'
export * from './x-modules/device'
export * from './x-modules/empathize'
Expand Down
2 changes: 1 addition & 1 deletion packages/x-components/src/plugins/x-bus.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { XEventsTypes } from '../wiring/events.types'
import type { WireMetadata } from '../wiring/wiring.types'
import { XPriorityBus } from '@empathyco/x-bus'
import { XPriorityBus } from '../x-bus'
import { logDevtoolsXEvent } from './devtools/timeline.devtools'

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/x-components/src/plugins/x-emitters.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { XBus } from '@empathyco/x-bus'
import type { Dictionary } from '@empathyco/x-utils'
import type { Store } from 'vuex'
import type { AnySimpleStateSelector, AnyStateSelector } from '../store/utils/store-emitters.utils'
import type { XEventPayload, XEventsTypes } from '../wiring/events.types'
import type { WireMetadata } from '../wiring/wiring.types'
import type { XBus } from '../x-bus'
import type { AnyXModule } from '../x-modules/x-modules.types'
import { forEach } from '@empathyco/x-utils'
import { getGettersProxyFromModule } from '../store/utils/getters-proxy.utils'
Expand Down
Loading
Loading