Skip to content
monaco-yaml / 1.0.0

monaco-yaml 1.0.0

Install from the command line:
Learn more about npm packages
$ npm install @harness/monaco-yaml@1.0.0
Install via package.json:
"@harness/monaco-yaml": "1.0.0"

About this version

Monaco YAML

YAML language plugin for the Monaco Editor. It provides the following features when editing YAML files:

  • Code completion, based on JSON schemas or by looking at similar objects in the same file
  • Hovers, based on JSON schemas
  • Validation: Syntax errors and schema validation
  • Formatting
  • Document Symbols
  • Syntax highlighting
  • Automatically load remote schema files (by enabling DiagnosticsOptions.enableSchemaRequest)

Schemas can also be provided by configuration. See here for the API that the JSON plugin offers to configure the JSON language support.

Publish to Harness private repository

Make changes, then increase version in package.json. Then run:

yarn
yarn build
npm publish

If you don't have permission to publish, clone UIKit and run yarn setup in UIKit folder to setup Harness token first. The token will be shared with this repo as well.

Installing

yarn add monaco-yaml Both vs loader and ESM are supported. See examples directory for esm and umd examples.

Development

  • git clone https://github.com/pengx17/monaco-yaml
  • cd monaco-yaml
  • yarn
  • open $/monaco-yaml/demo/index.html in your favorite browser.

Credits

Maintain

Manually clone dependencies list below and update the project files accordingly:

Details


Assets

  • monaco-yaml-1.0.0-npm.tgz

Download activity

  • Total downloads 19,728
  • Last 30 days 0
  • Last week 0
  • Today 0