@elastic/monaco-esql 3.1.13 → 3.1.16

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.
package/NOTICE.txt ADDED
@@ -0,0 +1,2 @@
1
+ ES|QL highlighting for Monarch
2
+ Copyright 2025-2026 Elasticsearch B.V.
@@ -1,4 +1,12 @@
1
1
  "use strict";
2
+ /*
3
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
4
+ * or more contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright
6
+ * ownership. Elasticsearch B.V. licenses this file to you under
7
+ * the MIT license (the "License"); you may
8
+ * not use this file except in compliance with the License.
9
+ */
2
10
  Object.defineProperty(exports, "__esModule", { value: true });
3
11
  exports.temporalUnits = exports.operators = exports.delimiters = exports.functions = exports.literals = exports.options = exports.processingCommands = exports.sourceCommands = exports.headerCommands = void 0;
4
12
  exports.headerCommands = ["SET"];
@@ -9,6 +17,7 @@ exports.sourceCommands = [
9
17
  "SHOW INFO",
10
18
  "SHOW",
11
19
  "TS",
20
+ "PROMQL",
12
21
  ];
13
22
  exports.processingCommands = [
14
23
  "CHANGE_POINT",
package/lib/index.js CHANGED
@@ -1,4 +1,12 @@
1
1
  "use strict";
2
+ /*
3
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
4
+ * or more contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright
6
+ * ownership. Elasticsearch B.V. licenses this file to you under
7
+ * the MIT license (the "License"); you may
8
+ * not use this file except in compliance with the License.
9
+ */
2
10
  Object.defineProperty(exports, "__esModule", { value: true });
3
11
  exports.monarch = void 0;
4
12
  const tslib_1 = require("tslib");
@@ -1,4 +1,12 @@
1
1
  "use strict";
2
+ /*
3
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
4
+ * or more contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright
6
+ * ownership. Elasticsearch B.V. licenses this file to you under
7
+ * the MIT license (the "License"); you may
8
+ * not use this file except in compliance with the License.
9
+ */
2
10
  Object.defineProperty(exports, "__esModule", { value: true });
3
11
  exports.language = void 0;
4
12
  const tslib_1 = require("tslib");
package/lib/monarch.js CHANGED
@@ -1,4 +1,12 @@
1
1
  "use strict";
2
+ /*
3
+ * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
4
+ * or more contributor license agreements. See the NOTICE file distributed with
5
+ * this work for additional information regarding copyright
6
+ * ownership. Elasticsearch B.V. licenses this file to you under
7
+ * the MIT license (the "License"); you may
8
+ * not use this file except in compliance with the License.
9
+ */
2
10
  Object.defineProperty(exports, "__esModule", { value: true });
3
11
  exports.create = void 0;
4
12
  const create = (deps = {}) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elastic/monaco-esql",
3
- "version": "3.1.13",
3
+ "version": "3.1.16",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -9,21 +9,23 @@
9
9
  "description": "Monaco editor Monarch language syntax definitions for ES|QL",
10
10
  "main": "lib/index.js",
11
11
  "files": [
12
+ "NOTICE.txt",
12
13
  "LICENSE",
13
14
  "lib/"
14
15
  ],
15
16
  "scripts": {
16
17
  "format": "biome format ./src",
17
18
  "format:fix": "biome format --write ./src",
18
- "lint": "biome lint ./src",
19
- "lint:fix": "biome lint --write ./src",
19
+ "lint": "eslint .",
20
+ "lint:fix": "eslint . --fix",
20
21
  "test": "echo \"no tests...\"",
21
22
  "clean": "npx rimraf@5.0.5 lib",
22
23
  "build:es2020": "tsc --project tsconfig.build.json --module commonjs --target es2020 --outDir lib",
23
24
  "build": "yarn build:es2020",
24
25
  "storybook": "storybook dev -p 6006",
25
26
  "build-storybook": "storybook build",
26
- "release": "npx release-it --ci"
27
+ "release": "npx release-it --ci",
28
+ "prepare": "husky"
27
29
  },
28
30
  "license": "MIT",
29
31
  "repository": {
@@ -50,23 +52,36 @@
50
52
  "monaco-editor": "*"
51
53
  },
52
54
  "devDependencies": {
53
- "@biomejs/biome": "2.3.8",
55
+ "@babel/eslint-parser": "7.28.5",
56
+ "@biomejs/biome": "2.3.11",
54
57
  "@chromatic-com/storybook": "4.1.3",
58
+ "@eslint/js": "9.39.2",
55
59
  "@monaco-editor/react": "4.7.0",
56
- "@storybook/addon-docs": "10.1.9",
57
- "@storybook/addon-onboarding": "10.1.9",
58
- "@storybook/addon-vitest": "10.1.9",
59
- "@storybook/react-vite": "10.1.9",
60
+ "@storybook/addon-docs": "10.1.11",
61
+ "@storybook/addon-onboarding": "10.1.11",
62
+ "@storybook/addon-vitest": "10.1.11",
63
+ "@storybook/react-vite": "10.1.11",
60
64
  "@types/react": "19.2.7",
61
65
  "@vitest/browser": "4.0.16",
62
66
  "@vitest/browser-playwright": "4.0.16",
63
67
  "@vitest/coverage-v8": "4.0.16",
68
+ "eslint": "9.39.2",
69
+ "eslint-plugin-react": "7.37.5",
70
+ "globals": "17.0.0",
71
+ "husky": "9.1.7",
72
+ "lint-staged": "16.2.7",
64
73
  "monaco-editor": "0.55.1",
65
74
  "playwright": "1.57.0",
66
75
  "react": "19.2.3",
67
76
  "react-dom": "19.2.3",
68
- "storybook": "10.1.9",
77
+ "storybook": "10.1.11",
69
78
  "typescript": "5.9.3",
79
+ "typescript-eslint": "8.52.0",
70
80
  "vitest": "4.0.16"
81
+ },
82
+ "lint-staged": {
83
+ "*.{js,ts,tsx,mjs}": [
84
+ "eslint --fix"
85
+ ]
71
86
  }
72
87
  }