kibana/packages/kbn-monaco
Alex Szabo 8cf68dc6ba
[Ops] Bump Node.js to version 18 (#160289)
## Summary

Bumps node.js to 18.17.0 (replacement for PR #144012 which was later
reverted)

As a result, these categorical additions were needed: 
- `node` evocations will need the `--openssl-legacy-provider` flag,
wherever it would use certain crypto functionalities
- tests required updating of the expected HTTPS Agent call arguments,
`noDelay` seems to be a default
 - `window.[NAME]` fields cannot be written directly
 - some stricter typechecks

This is using our in-house built node.js 18 versions through the URLs
the proxy-cache. (built with
https://github.com/elastic/kibana-custom-nodejs-builds/pull/4)

These urls are served from a bucket, where the RHEL7/Centos7 compatible
node distributables are. (see:
https://github.com/elastic/kibana-ci-proxy-cache/pull/7)

Further todos: 
 - [x] check docs wording and consistency
 - [ ] update the dependency report
 - [x] explain custom builds in documentation
 - [x] node_sass prebuilts

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
Co-authored-by: Thomas Watson <w@tson.dk>
2023-07-27 14:12:48 +02:00
..
scripts [Step 1][ESQL] Syntax part (#146379) 2022-12-07 14:12:28 +03:00
src [Step 2][ESQL] Autocomplete part (#148307) 2023-01-03 22:35:55 +03:00
BUILD.bazel [Ops] Bump Node.js to version 18 (#160289) 2023-07-27 14:12:48 +02:00
index.ts [Step 2][ESQL] Autocomplete part (#148307) 2023-01-03 22:35:55 +03:00
jest.config.js Elastic License 2.0 (#90099) 2021-02-03 18:12:39 -08:00
kibana.jsonc [codeowners] rename global experience to @elastic/appex-sharedux 2023-01-18 10:02:49 -07:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md [kbn/ui-shared-deps] split into two packages (#110558) 2021-09-16 12:06:46 -07:00
server.ts Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
webpack.config.js Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00

@kbn/monaco

A customized version of monaco that is automatically configured the way we want it to be when imported as @kbn/monaco. Additionally, imports to this package are automatically shared with all plugins using @kbn/ui-shared-deps-npm and @kbn/ui-shared-deps-src.

Includes custom xjson language support. The es_ui_shared plugin has an example of how to use it, in the future we will likely expose helpers from this package to make using it everywhere a little more seamless.