@duet3d/monacotokens 3.7.0-alpha.8 → 3.7.0-alpha.9

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.
@@ -1,4 +1,4 @@
1
- import type * as monaco from "monaco-editor/esm/vs/editor/editor.api.js";
1
+ import type * as monaco from "monaco-editor-core/esm/vs/editor/editor.api.js";
2
2
  /**
3
3
  * Names declared inside the currently-edited model via RRF's meta language (`var foo = ...`, `global bar = ...`).
4
4
  * Populated by `attachLocalVariableScanner(editor)` and consulted by the expression completion provider when
@@ -1,4 +1,4 @@
1
- import type * as monaco from "monaco-editor/esm/vs/editor/editor.api.js";
1
+ import type * as monaco from "monaco-editor-core/esm/vs/editor/editor.api.js";
2
2
  /**
3
3
  * Open the gcode search overlay anchored to the current cursor position, styled like the F2 rename widget.
4
4
  */
@@ -1,4 +1,4 @@
1
- import type * as monaco from "monaco-editor/esm/vs/editor/editor.api.js";
1
+ import type * as monaco from "monaco-editor-core/esm/vs/editor/editor.api.js";
2
2
  export declare const gcodeFDMLanguage: monaco.languages.IMonarchLanguage;
3
3
  export declare const gcodeCNCLanguage: monaco.languages.IMonarchLanguage;
4
4
  export declare const gcodeLanguageConfiguration: monaco.languages.LanguageConfiguration;
@@ -1,3 +1,3 @@
1
- import type * as monaco from "monaco-editor/esm/vs/editor/editor.api.js";
1
+ import type * as monaco from "monaco-editor-core/esm/vs/editor/editor.api.js";
2
2
  export declare const menuLanguage: monaco.languages.IMonarchLanguage;
3
3
  export declare const menuLanguageConfiguration: monaco.languages.LanguageConfiguration;
@@ -1,3 +1,3 @@
1
- import type * as monaco from "monaco-editor/esm/vs/editor/editor.api.js";
1
+ import type * as monaco from "monaco-editor-core/esm/vs/editor/editor.api.js";
2
2
  export declare const stm32Language: monaco.languages.IMonarchLanguage;
3
3
  export declare const stm32LanguageConfiguration: monaco.languages.LanguageConfiguration;
@@ -1,4 +1,4 @@
1
- import type * as monaco from "monaco-editor/esm/vs/editor/editor.api.js";
1
+ import type * as monaco from "monaco-editor-core/esm/vs/editor/editor.api.js";
2
2
  export { getMachineContext, onMachineContextChange } from "./objectmodel/machine-context";
3
3
  /**
4
4
  * Flatten a machine object-model snapshot into a list of dotted paths (with `[0]` placeholders for arrays).
@@ -1,4 +1,4 @@
1
- import type * as monaco from "monaco-editor/esm/vs/editor/editor.api.js";
1
+ import type * as monaco from "monaco-editor-core/esm/vs/editor/editor.api.js";
2
2
  /**
3
3
  * Register all Duet-specific languages (gcode-fdm, gcode-cnc, stm32, menu) with a Monaco instance,
4
4
  * attaching their tokenizers, language configurations, and (for gcode) completion + hover providers.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duet3d/monacotokens",
3
- "version": "3.7.0-alpha.8",
3
+ "version": "3.7.0-alpha.9",
4
4
  "description": "TypeScript library that holds syntax highlighting files for the Monaco editor",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -33,6 +33,6 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@duet3d/objectmodel": "~3.7.0-alpha.8",
36
- "monaco-editor": "^0.55.1"
36
+ "monaco-editor-core": "^0.55.1"
37
37
  }
38
38
  }