Skip to content

Conversation

@chrishoage
Copy link
Contributor

Spawned out of a discussion from Discord this PR adds support for the monaco-yaml package, which allows reading a JSON Schema offering type-hints for Docker Compose files

Steps to Test:

  1. Have a Komodo Core environment which has different kinds of compose files (files on disk, UI defined, etc) along with arbitrary yaml files defined as sidecar configs
  2. Navigate between different kinds of editors
  3. Only docker compose file yaml files should have type hints from the plugin, others should be ignored.
  4. There should be no regressions with the rest of the editors

Proof of Work:

image image image

integrity sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==
dependencies:
vscode-jsonrpc "8.2.0"
vscode-languageserver-types "3.17.5"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it is preparing to accept LSP haha.

This would be from monaco-yaml?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah when I saw these lines in the lock file I thought I made a mistake. I reset the branch and reset the lock file and they came back - so I went and checked monaco-yaml and indeed they have dependencies on it.

My hope is that this means that it will be easy to integrate into monaco-languageserver when we get there

Copy link
Member

@mbecker20 mbecker20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mbecker20 mbecker20 changed the base branch from main to 1.19.2 August 27, 2025 05:56
vscode-languageserver-textdocument "^1.0.0"
vscode-languageserver-types "^3.0.0"
vscode-uri "^3.0.0"
yaml "^2.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see

@mbecker20 mbecker20 merged commit 5974464 into moghtech:1.19.2 Aug 27, 2025
mbecker20 added a commit that referenced this pull request Sep 1, 2025
* 1.19.2-dev-0

* deploy 1.19.2-dev-1

* Add option to make run command detachable (#766)

* improve missing files log to include the missing paths

* bump mungos for urlencoding mongo creds

* Update permissioning.md - typo: "priviledges" -> "privileges" (#770)

* Add support for monaco-yaml and docker compose spec validatiaon (#772)

* deploy 1.19.2-dev-2

* on delete user, remove from all user groups

* fix Google login issues around `picture`

* unsafe_unsanitized_startup_config

* improve git provider support re #355

* should fix #468

* should fix exit code re #597

* deploy 1.19.2-dev-3

* fix container ports sorting (#776)

* missing serde default

* deploy 1.19.2-dev-4

* ensure git tokens trimmed in remote url

* Add link to Authentik support docs

* Fix incorrect commit branch when using linked repo re #634

* Better display container port ranges (#786)

* ensure build and sync also commit to correct branch. re #634

* deploy 1.19.2-dev-5

* Improve login form (#788)

* Use proper form for login, add autocomplete and names to input fields

* Do not return null if loading

* Remove unused function

* Cleanup and streamline

* improve login screen flash on reload

* first builder given same name as first server

* 1.19.2

---------

Co-authored-by: mbecker20 <[email protected]>
Co-authored-by: Brian Bradley <[email protected]>
Co-authored-by: Ravi Wolter-Krishan <[email protected]>
Co-authored-by: Christopher Hoage <[email protected]>
Co-authored-by: jack <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants