@kusto/monaco-kusto 13.0.0 → 13.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.
Files changed (27) hide show
  1. package/README.md +14 -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-04597f81.js} +2 -2
  7. package/release/dev/monaco.contribution.js +79 -25
  8. package/release/dev/{schema-a00277a0.js → schema-9c3b6c78.js} +2 -2
  9. package/release/dev/{types-25df5473.js → types-ffd2d452.js} +2 -2
  10. package/release/esm/editorExtensions/KustoIntelliSenseCloser.d.ts +17 -0
  11. package/release/esm/editorExtensions/KustoIntelliSenseCloser.js +42 -0
  12. package/release/esm/{commandHighlighter.js → editorExtensions/commandHighlighter.js} +1 -1
  13. package/release/esm/{globals-34bd2c33.js → globals-a0d2077f.js} +1 -1
  14. package/release/esm/kusto.worker.js +2 -2
  15. package/release/esm/kustoMode.js +2 -2
  16. package/release/esm/monaco.contribution.js +42 -4
  17. package/release/esm/{schema-9ec6976d.js → schema-4f17a725.js} +1 -1
  18. package/release/min/Kusto.Language.Bridge.min.js +202 -203
  19. package/release/min/kustoMode.js +2 -2
  20. package/release/min/kustoWorker.js +2 -2
  21. package/release/min/{main-6c0b27e3.js → main-c88e79ea.js} +2 -2
  22. package/release/min/monaco.contribution.js +2 -2
  23. package/release/min/{schema-cafdbe67.js → schema-7f7acd36.js} +2 -2
  24. package/release/min/{types-8288e7ff.js → types-edb6ea80.js} +2 -2
  25. /package/release/esm/{commandFormatter.d.ts → editorExtensions/commandFormatter.d.ts} +0 -0
  26. /package/release/esm/{commandFormatter.js → editorExtensions/commandFormatter.js} +0 -0
  27. /package/release/esm/{commandHighlighter.d.ts → editorExtensions/commandHighlighter.d.ts} +0 -0
package/README.md CHANGED
@@ -78,12 +78,23 @@ 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.1
95
+
96
+ - feat: Close IntelliSense automatically when running a query with `Shift+Enter`.
97
+
87
98
  ## 13.0.0
88
99
 
89
100
  - 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.1",
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"