@symbo.ls/create 2.11.458 → 2.11.461

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,10 +26,8 @@ __export(syncExtend_exports, {
26
26
  module.exports = __toCommonJS(syncExtend_exports);
27
27
  var import_utils = require("@domql/utils");
28
28
  var import_sync = require("@symbo.ls/sync");
29
- var import_Inspect = require("@symbo.ls/sync/Inspect");
30
- var import_Notifications = require("@symbo.ls/sync/Notifications");
31
29
  const initializeExtend = (app, ctx) => {
32
- return (0, import_utils.isObjectLike)(app.extend) ? app.extend : {};
30
+ return (0, import_utils.isObjectLike)(app.extend) ? app.extend : [];
33
31
  };
34
32
  const initializeSync = (app, ctx) => {
35
33
  const { editor } = ctx;
@@ -45,7 +43,7 @@ const initializeInspect = (app, ctx) => {
45
43
  return;
46
44
  const inspect = (0, import_utils.isUndefined)(editor.inspect) ? (0, import_utils.isDevelopment)() : editor.inspect;
47
45
  if (inspect)
48
- app.extend.push(import_Inspect.Inspect);
46
+ app.extend.push(import_sync.Inspect);
49
47
  };
50
48
  const initializeNotifications = (app, ctx) => {
51
49
  const { editor } = ctx;
@@ -53,5 +51,5 @@ const initializeNotifications = (app, ctx) => {
53
51
  return;
54
52
  const verbose = (0, import_utils.isUndefined)(editor.verbose) ? (0, import_utils.isDevelopment)() || ctx.verbose : editor.verbose;
55
53
  if (verbose)
56
- app.extend.push(import_Notifications.Notifications);
54
+ app.extend.push(import_sync.Notifications);
57
55
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.458",
3
+ "version": "2.11.461",
4
4
  "license": "MIT",
5
- "gitHead": "52755d3f8df59d603886bad64e7ac2d0a6ee7858",
5
+ "gitHead": "32f286633d362396bc530531518bb1a4dd8c319f",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -37,7 +37,7 @@
37
37
  "@symbo.ls/fetch": "^2.11.453",
38
38
  "@symbo.ls/init": "^2.11.453",
39
39
  "@symbo.ls/scratch": "^2.11.453",
40
- "@symbo.ls/sync": "^2.11.455",
40
+ "@symbo.ls/sync": "^2.11.460",
41
41
  "@symbo.ls/uikit": "^2.11.455",
42
42
  "@symbo.ls/utils": "^2.11.453",
43
43
  "domql": "^2.5.155"
package/src/syncExtend.js CHANGED
@@ -1,12 +1,10 @@
1
1
  'use strict'
2
2
 
3
3
  import { isObjectLike, isUndefined, isDevelopment } from '@domql/utils'
4
- import { SyncComponent } from '@symbo.ls/sync'
5
- import { Inspect } from '@symbo.ls/sync/Inspect'
6
- import { Notifications } from '@symbo.ls/sync/Notifications'
4
+ import { SyncComponent, Inspect, Notifications } from '@symbo.ls/sync'
7
5
 
8
6
  export const initializeExtend = (app, ctx) => {
9
- return isObjectLike(app.extend) ? app.extend : {}
7
+ return isObjectLike(app.extend) ? app.extend : []
10
8
  }
11
9
 
12
10
  export const initializeSync = (app, ctx) => {