@kusto/monaco-kusto 13.0.0 → 13.0.2

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.
Files changed (25) hide show
  1. package/README.md +19 -3
  2. package/package.json +6 -4
  3. package/release/dev/Kusto.Language.Bridge.min.js +202 -203
  4. package/release/dev/kustoMode.js +2 -2
  5. package/release/dev/kustoWorker.js +2 -2
  6. package/release/dev/{main-5033cd82.js → main-2fc60bf1.js} +2 -2
  7. package/release/dev/monaco.contribution.js +2 -2
  8. package/release/dev/{schema-a00277a0.js → schema-4073036d.js} +2 -2
  9. package/release/dev/{types-25df5473.js → types-142781ba.js} +2 -2
  10. package/release/esm/{commandHighlighter.js → editorExtensions/commandHighlighter.js} +1 -1
  11. package/release/esm/{globals-34bd2c33.js → globals-ac8b7ea1.js} +1 -1
  12. package/release/esm/kusto.worker.js +2 -2
  13. package/release/esm/kustoMode.js +2 -2
  14. package/release/esm/monaco.contribution.js +4 -4
  15. package/release/esm/{schema-9ec6976d.js → schema-0a4e5e41.js} +1 -1
  16. package/release/min/Kusto.Language.Bridge.min.js +202 -203
  17. package/release/min/kustoMode.js +2 -2
  18. package/release/min/kustoWorker.js +2 -2
  19. package/release/min/{main-6c0b27e3.js → main-0cb1ed3d.js} +2 -2
  20. package/release/min/monaco.contribution.js +2 -2
  21. package/release/min/{schema-cafdbe67.js → schema-ba14fa16.js} +2 -2
  22. package/release/min/{types-8288e7ff.js → types-48ca9ca8.js} +2 -2
  23. /package/release/esm/{commandFormatter.d.ts → editorExtensions/commandFormatter.d.ts} +0 -0
  24. /package/release/esm/{commandFormatter.js → editorExtensions/commandFormatter.js} +0 -0
  25. /package/release/esm/{commandHighlighter.d.ts → editorExtensions/commandHighlighter.d.ts} +0 -0
package/README.md CHANGED
@@ -78,12 +78,28 @@ Every PR should come with a test that checks it.
78
78
 
79
79
  ## Running integration tests
80
80
 
81
- - Run `yarn test:integration:install` from the root of the project
82
- - Run `yarn test:integration` from the package folder to run the tests in headless mode
83
- - Run `yarn test:integration:watch` from the package folder to run the tests in a browser and rebuild after each change
81
+ - From the project root, run `yarn test:install` to install test dependencies.
82
+ - In the package folder:
83
+ - Run `yarn test:it` to execute tests in headless mode.
84
+ - Run `yarn test:it:ui` to open the tests in a browser and rebuild automatically after each change.
85
+ - Run `yarn test:it:serve` to start the test server and rebuild automatically after each change.
86
+ - Run `yarn test:it:watch` to run tests in the terminal and automatically re-run them when test files change.
87
+
88
+ > **Best practice:**
89
+ > Before running `yarn test:it` or `yarn test:it:watch`, first run `yarn test:it:serve`.
90
+ > These scripts (`test:it` and `test:it:watch`) do **not** automatically rebuild the project, so running the server ensures your latest code is tested.
84
91
 
85
92
  ## Changelog
86
93
 
94
+ ## 13.0.2
95
+
96
+ - fix: revert the behaviour that closed the IntelliSense/completion menu when pressing `Shift+Enter` (introduced in 13.0.1).
97
+
98
+ ## 13.0.1
99
+
100
+ - feat: Close IntelliSense automatically when running a query with `Shift+Enter`.
101
+ - chore: upgrade **language‑service‑next** to **v12.0.0**.
102
+
87
103
  ## 13.0.0
88
104
 
89
105
  - breaking change: upgrade monaco-editor version to 0.52.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kusto/monaco-kusto",
3
- "version": "13.0.0",
3
+ "version": "13.0.2",
4
4
  "description": "CSL, KQL plugin for the Monaco Editor",
5
5
  "author": {
6
6
  "name": "Microsoft"
@@ -24,8 +24,10 @@
24
24
  "clean": "rimraf ./release",
25
25
  "start": "ts-node ./scripts/dev.ts",
26
26
  "test": "jest",
27
- "test:integration": "playwright test -c tests/integration/playwright.config.ts",
28
- "test:integration:watch": "ts-node ./scripts/test.ts"
27
+ "test:it": "playwright test -c tests/integration/playwright.config.ts",
28
+ "test:it:ui": "ts-node ./scripts/test-ui.ts",
29
+ "test:it:serve": "concurrently \"yarn rollup -c ./scripts/rollup.esm.js -w --bundleConfigAsCjs\" \"yarn vite tests/integration serve --config tests/integration/vite.config.ts\"",
30
+ "test:it:watch": "PWTEST_WATCH=1 playwright test -c tests/integration/playwright.config.ts"
29
31
  },
30
32
  "types": "./release/esm/monaco.contribution.d.ts",
31
33
  "module": "./release/esm/monaco.contribution.js",
@@ -75,7 +77,7 @@
75
77
  },
76
78
  "dependencies": {
77
79
  "@kusto/language-service": "0.0.283",
78
- "@kusto/language-service-next": "11.7.6",
80
+ "@kusto/language-service-next": "12.0.0",
79
81
  "lodash-es": "^4.17.21",
80
82
  "vscode-languageserver-types": "^3.17.4",
81
83
  "xregexp": "^5.1.1"