@difizen/libro-cofine-textmate 0.3.16 → 1.0.1

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.
@@ -8,7 +8,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
8
8
  function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
9
9
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
10
10
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
- import { inject, singleton } from '@difizen/mana-app';
11
+ import { inject, singleton } from '@difizen/libro-common/app';
12
12
  import { Registry, parseRawGrammar } from 'vscode-textmate';
13
13
  import { TextmateRegistry } from "./textmate-registry.js";
14
14
  export var isBasicWasmSupported = typeof window.WebAssembly !== 'undefined';
@@ -1,4 +1,4 @@
1
1
  export declare function fetchOniguruma(): Promise<ArrayBuffer | Response>;
2
- export declare const TextmateModule: import("@difizen/mana-app").SyringeModule<import("@difizen/mana-app").Syringe.Module>;
2
+ export declare const TextmateModule: import("@difizen/libro-common/app").SyringeModule<import("@difizen/libro-common/app").Syringe.Module>;
3
3
  export default TextmateModule;
4
4
  //# sourceMappingURL=monaco-module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"monaco-module.d.ts","sourceRoot":"","sources":["../src/monaco-module.ts"],"names":[],"mappings":"AAkBA,wBAAsB,cAAc,IAAI,OAAO,CAAC,WAAW,GAAG,QAAQ,CAAC,CAkBtE;AAOD,eAAO,MAAM,cAAc,uFAc2B,CAAC;AACvD,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"monaco-module.d.ts","sourceRoot":"","sources":["../src/monaco-module.ts"],"names":[],"mappings":"AAkBA,wBAAsB,cAAc,IAAI,OAAO,CAAC,WAAW,GAAG,QAAQ,CAAC,CAkBtE;AAOD,eAAO,MAAM,cAAc,uGAc2B,CAAC;AACvD,eAAe,cAAc,CAAC"}
@@ -5,7 +5,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
5
5
  /* eslint-disable func-names */
6
6
  /* eslint-disable global-require */
7
7
 
8
- import { Module } from '@difizen/mana-app';
8
+ import { Module } from '@difizen/libro-common/app';
9
9
  import * as oniguruma from 'vscode-oniguruma';
10
10
  import * as onig from 'vscode-oniguruma/release/onig.wasm';
11
11
  import { isBasicWasmSupported, MonacoGrammarRegistry, OnigurumaPromise } from "./monaco-grammar-registry.js";
@@ -1,6 +1,6 @@
1
1
  import { EditorHandlerContribution } from '@difizen/libro-cofine-editor-core';
2
- import type { Contribution } from '@difizen/mana-app';
3
- import { Disposable, DisposableCollection } from '@difizen/mana-app';
2
+ import type { Contribution } from '@difizen/libro-common/app';
3
+ import { Disposable, DisposableCollection } from '@difizen/libro-common/app';
4
4
  import * as monaco from '@difizen/monaco-editor-core';
5
5
  import { MonacoGrammarRegistry, OnigurumaPromise } from './monaco-grammar-registry.js';
6
6
  import { MonacoThemeRegistry } from './monaco-theme-registry.js';
@@ -1 +1 @@
1
- {"version":3,"file":"monaco-textmate-service.d.ts","sourceRoot":"","sources":["../src/monaco-textmate-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EACL,UAAU,EACV,oBAAoB,EAIrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAOtD,OAAO,EAEL,qBAAqB,EACrB,gBAAgB,EACjB,MAAM,8BAA8B,CAAC;AACtC,OAA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A0BlB,SAAS,CAAC,QAAQ,CAAC,sBAAsB,uBAA8B;IAEvE,SAAS,CAAC,WAAW,QAAO,IAAI,CAiB9B;IAEF,SAAS,KAAK,kBAAkB,IAAI,MAAM,CAEzC;IAED,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU;cAc9B,kBAAkB,CAChC,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,oBAAoB,GAC9B,OAAO,CAAC,IAAI,CAAC;IAoEhB,SAAS,CAAC,eAAe,CACvB,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EAET,GACA,UAAU;CAqBd"}
@@ -15,7 +15,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
16
16
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
17
17
  import { EditorHandlerContribution } from '@difizen/libro-cofine-editor-core';
18
- import { Disposable, DisposableCollection, contrib, inject, singleton } from '@difizen/mana-app';
18
+ import { Disposable, DisposableCollection, contrib, inject, singleton } from '@difizen/libro-common/app';
19
19
  import * as monaco from '@difizen/monaco-editor-core';
20
20
  import { ILanguageService } from '@difizen/monaco-editor-core/esm/vs/editor/common/languages/language.js';
21
21
  import { TokenizationRegistry } from '@difizen/monaco-editor-core/esm/vs/editor/common/languages.js';
@@ -1,7 +1,7 @@
1
1
  import type { MixedTheme, ITextmateThemeSetting } from '@difizen/libro-cofine-editor-core';
2
2
  import { MixedThemeRegistry, InitializeContribution } from '@difizen/libro-cofine-editor-core';
3
- import type { Color } from '@difizen/mana-app';
4
- import { Emitter } from '@difizen/mana-app';
3
+ import type { Color } from '@difizen/libro-common/app';
4
+ import { Emitter } from '@difizen/libro-common/app';
5
5
  import * as monaco from '@difizen/monaco-editor-core';
6
6
  import { MonacoGrammarRegistry } from './monaco-grammar-registry.js';
7
7
  export interface MixStandaloneTheme {
@@ -12,7 +12,7 @@ export declare class MonacoThemeRegistry implements MixedThemeRegistry, Initiali
12
12
  protected registedTheme: string[];
13
13
  onInitialize(): void;
14
14
  protected themeChangedEmitter: Emitter<void>;
15
- onThemeChanged: import("@difizen/mana-app").Event<void>;
15
+ onThemeChanged: import("@difizen/libro-common/app").Event<void>;
16
16
  getThemeData(): MixedTheme;
17
17
  getThemeData(name: string): MixedTheme | undefined;
18
18
  getTheme(): MixStandaloneTheme;
@@ -1 +1 @@
1
- {"version":3,"file":"monaco-theme-registry.d.ts","sourceRoot":"","sources":["../src/monaco-theme-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,qBAAqB,EACtB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACvB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAqB,MAAM,mBAAmB,CAAC;AAC/D,OAAO,KAAK,MAAM,MAAM,6BAA6B,CAAC;AAItD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,UAAU,CAAC;CACvB;AAED,qBACa,mBAAoB,YAAW,kBAAkB,EAAE,sBAAsB;IAEpF,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,qBAAqB,CAAC;IAE1D,SAAS,CAAC,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AAM,CAAC,oBAAoB,KAAK,IAAI,GACzE,IAAI;IAKP,gBAAgB,CACd,MAAM,EAAE,qBAAqB,EAC7B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,EACnD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,oBAAoB,KAAK,IAAI,GACzE,UAAU;IA+Eb,SAAS,CAAC,SAAS,CACjB,UAAU,EAAE,GAAG,EACf,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,eAAe,KAAK,IAAI,GACtD,IAAI;IAiBP,SAAS,CAAC,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS;CAchF;AAED,yBAAiB,mBAAmB,CAAC;IAC5B,MAAM,kBAAkB,YAAY,CAAC;IACrC,MAAM,mBAAmB,aAAa,CAAC;IACvC,MAAM,gBAAgB,UAAU,CAAC;CACzC"}
@@ -19,7 +19,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
19
19
  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) { var desc = {}; Object.keys(descriptor).forEach(function (key) { desc[key] = descriptor[key]; }); desc.enumerable = !!desc.enumerable; desc.configurable = !!desc.configurable; if ('value' in desc || desc.initializer) { desc.writable = true; } desc = decorators.slice().reverse().reduce(function (desc, decorator) { return decorator(target, property, desc) || desc; }, desc); if (context && desc.initializer !== void 0) { desc.value = desc.initializer ? desc.initializer.call(context) : void 0; desc.initializer = undefined; } if (desc.initializer === void 0) { Object.defineProperty(target, property, desc); desc = null; } return desc; }
20
20
  function _initializerWarningHelper(descriptor, context) { throw new Error('Decorating class property failed. Please ensure that ' + 'transform-class-properties is enabled and runs after the decorators transform.'); }
21
21
  import { MixedThemeRegistry, InitializeContribution } from '@difizen/libro-cofine-editor-core';
22
- import { Emitter, inject, singleton } from '@difizen/mana-app';
22
+ import { Emitter, inject, singleton } from '@difizen/libro-common/app';
23
23
  import * as monaco from '@difizen/monaco-editor-core';
24
24
  import { StandaloneServices } from '@difizen/monaco-editor-core/esm/vs/editor/standalone/browser/standaloneServices.js';
25
25
  import { IStandaloneThemeService } from '@difizen/monaco-editor-core/esm/vs/editor/standalone/common/standaloneTheme.js';
@@ -1,4 +1,4 @@
1
- import { Syringe } from '@difizen/mana-app';
1
+ import { Syringe } from '@difizen/libro-common/app';
2
2
  import type { TextmateRegistry } from './textmate-registry.js';
3
3
  export declare const LanguageGrammarDefinitionContribution: Syringe.DefinedToken;
4
4
  export interface LanguageGrammarDefinitionContribution {
@@ -1 +1 @@
1
- {"version":3,"file":"textmate-contribution.d.ts","sourceRoot":"","sources":["../src/textmate-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,eAAO,MAAM,qCAAqC,sBAEjD,CAAC;AACF,MAAM,WAAW,qCAAqC;IACpD,wBAAwB,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/D,+BAA+B,CAAC,EAAE,OAAO,CAAC;CAC3C;AACD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE/D"}
1
+ {"version":3,"file":"textmate-contribution.d.ts","sourceRoot":"","sources":["../src/textmate-contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAGpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,eAAO,MAAM,qCAAqC,sBAEjD,CAAC;AACF,MAAM,WAAW,qCAAqC;IACpD,wBAAwB,EAAE,CAAC,QAAQ,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC/D,+BAA+B,CAAC,EAAE,OAAO,CAAC;CAC3C;AACD,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE/D"}
@@ -1,4 +1,4 @@
1
- import { Syringe } from '@difizen/mana-app';
1
+ import { Syringe } from '@difizen/libro-common/app';
2
2
  import * as monaco from '@difizen/monaco-editor-core';
3
3
  export var LanguageGrammarDefinitionContribution = Syringe.defineToken('LanguageGrammarDefinitionContribution');
4
4
  export function getEncodedLanguageId(languageId) {
@@ -1,4 +1,4 @@
1
- import { Disposable } from '@difizen/mana-app';
1
+ import { Disposable } from '@difizen/libro-common/app';
2
2
  import type { IGrammarConfiguration } from 'vscode-textmate';
3
3
  import type { TokenizerOption } from './textmate-tokenizer.js';
4
4
  export interface TextmateGrammarConfiguration extends IGrammarConfiguration {
@@ -1 +1 @@
1
- {"version":3,"file":"textmate-registry.d.ts","sourceRoot":"","sources":["../src/textmate-registry.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAE7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE/D,MAAM,WAAW,4BAA6B,SAAQ,qBAAqB;IACzE;;OAEG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC;CAC5C;AAED,MAAM,WAAW,yBAAyB;IACxC,oBAAoB,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACvD,aAAa,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;CACjD;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBACa,gBAAgB;IAC3B,SAAS,CAAC,QAAQ,CAAC,eA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CAAC;IACzB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,qBACa,gBAAgB;IAC3B,SAAS,CAAC,QAAQ,CAAC,eAAe,2CAAkD;IACpF,SAAS,CAAC,QAAQ,CAAC,gBAAgB,8CAG/B;IACJ,SAAS,CAAC,QAAQ,CAAC,iBAAiB,wBAA+B;IAEnE,IAAI,SAAS,IAAI,gBAAgB,CAAC,MAAM,CAAC,CAExC;IAED,4BAA4B,CAC1B,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,yBAAyB,GAClC,UAAU;IA4Bb,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS;IAKjE,8BAA8B,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,UAAU;IAkB7E,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAKhD,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAShD,4BAA4B,CAC1B,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,4BAA4B,GACnC,UAAU;IAkBb,uBAAuB,CAAC,UAAU,EAAE,MAAM,GAAG,4BAA4B;CAI1E"}
@@ -15,8 +15,8 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
15
15
  /* eslint-disable no-console */
16
16
  /* eslint-disable no-restricted-syntax */
17
17
 
18
- import { Disposable } from '@difizen/mana-app';
19
- import { singleton } from '@difizen/mana-app';
18
+ import { Disposable } from '@difizen/libro-common/app';
19
+ import { singleton } from '@difizen/libro-common/app';
20
20
  export var TextmateRegistry = (_dec = singleton(), _dec(_class = /*#__PURE__*/function () {
21
21
  function TextmateRegistry() {
22
22
  _classCallCheck(this, TextmateRegistry);
@@ -8,7 +8,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
8
8
  /* eslint-disable global-require */
9
9
 
10
10
  import { ThemeContribution } from '@difizen/libro-cofine-editor-core';
11
- import { singleton } from '@difizen/mana-app';
11
+ import { singleton } from '@difizen/libro-common/app';
12
12
  import darkDefaults from "./data/monaco-themes/vscode/dark_defaults.json";
13
13
  import darkEditor from "./data/monaco-themes/vscode/dark_editor.json";
14
14
  import darkPlus from "./data/monaco-themes/vscode/dark_plus.json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@difizen/libro-cofine-textmate",
3
- "version": "0.3.16",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "libro",
@@ -33,8 +33,8 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@difizen/libro-cofine-editor-core": "^0.3.16",
37
- "@difizen/mana-app": "latest",
36
+ "@difizen/libro-cofine-editor-core": "^1.0.1",
37
+ "@difizen/libro-common": "^1.0.1",
38
38
  "fast-plist": "^0.1.2",
39
39
  "vscode-oniguruma": "^1.5.1",
40
40
  "vscode-textmate": "^9.0.0"
@@ -1,4 +1,4 @@
1
- import { inject, singleton } from '@difizen/mana-app';
1
+ import { inject, singleton } from '@difizen/libro-common/app';
2
2
  import type { IOnigLib, IRawGrammar, IRawTheme } from 'vscode-textmate';
3
3
  import { Registry, parseRawGrammar } from 'vscode-textmate';
4
4
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable func-names */
2
2
  /* eslint-disable global-require */
3
3
 
4
- import { Module } from '@difizen/mana-app';
4
+ import { Module } from '@difizen/libro-common/app';
5
5
  import * as oniguruma from 'vscode-oniguruma';
6
6
  import * as onig from 'vscode-oniguruma/release/onig.wasm';
7
7
 
@@ -1,12 +1,12 @@
1
1
  import { EditorHandlerContribution } from '@difizen/libro-cofine-editor-core';
2
- import type { Contribution } from '@difizen/mana-app';
2
+ import type { Contribution } from '@difizen/libro-common/app';
3
3
  import {
4
4
  Disposable,
5
5
  DisposableCollection,
6
6
  contrib,
7
7
  inject,
8
8
  singleton,
9
- } from '@difizen/mana-app';
9
+ } from '@difizen/libro-common/app';
10
10
  import * as monaco from '@difizen/monaco-editor-core';
11
11
  import { ILanguageService } from '@difizen/monaco-editor-core/esm/vs/editor/common/languages/language.js';
12
12
  import { TokenizationRegistry } from '@difizen/monaco-editor-core/esm/vs/editor/common/languages.js';
@@ -6,8 +6,8 @@ import {
6
6
  MixedThemeRegistry,
7
7
  InitializeContribution,
8
8
  } from '@difizen/libro-cofine-editor-core';
9
- import type { Color } from '@difizen/mana-app';
10
- import { Emitter, inject, singleton } from '@difizen/mana-app';
9
+ import type { Color } from '@difizen/libro-common/app';
10
+ import { Emitter, inject, singleton } from '@difizen/libro-common/app';
11
11
  import * as monaco from '@difizen/monaco-editor-core';
12
12
  import { StandaloneServices } from '@difizen/monaco-editor-core/esm/vs/editor/standalone/browser/standaloneServices.js';
13
13
  import { IStandaloneThemeService } from '@difizen/monaco-editor-core/esm/vs/editor/standalone/common/standaloneTheme.js';
@@ -1,4 +1,4 @@
1
- import { Syringe } from '@difizen/mana-app';
1
+ import { Syringe } from '@difizen/libro-common/app';
2
2
  import * as monaco from '@difizen/monaco-editor-core';
3
3
 
4
4
  import type { TextmateRegistry } from './textmate-registry.js';
@@ -1,8 +1,8 @@
1
1
  /* eslint-disable no-console */
2
2
  /* eslint-disable no-restricted-syntax */
3
3
 
4
- import { Disposable } from '@difizen/mana-app';
5
- import { singleton } from '@difizen/mana-app';
4
+ import { Disposable } from '@difizen/libro-common/app';
5
+ import { singleton } from '@difizen/libro-common/app';
6
6
  import type { IGrammarConfiguration } from 'vscode-textmate';
7
7
 
8
8
  import type { TokenizerOption } from './textmate-tokenizer.js';
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable global-require */
2
2
  import type { ThemeRegistry } from '@difizen/libro-cofine-editor-core';
3
3
  import { ThemeContribution } from '@difizen/libro-cofine-editor-core';
4
- import { singleton } from '@difizen/mana-app';
4
+ import { singleton } from '@difizen/libro-common/app';
5
5
 
6
6
  import darkDefaults from './data/monaco-themes/vscode/dark_defaults.json';
7
7
  import darkEditor from './data/monaco-themes/vscode/dark_editor.json';