Experimental Live Docify Plugin with VSCode Marketplace Publishing#1650
Experimental Live Docify Plugin with VSCode Marketplace Publishing#1650rocketstack-matt merged 10 commits intofinos:mainfrom
Conversation
| publish: | ||
| runs-on: ubuntu-latest | ||
| if: startsWith(github.event.release.tag_name, 'v') && !github.event.release.prerelease | ||
| if: (startsWith(github.event.release.tag_name, 'v') && !startsWith(github.event.release.tag_name, 'vscode-')) && !github.event.release.prerelease |
There was a problem hiding this comment.
I can back this out for the main build, but originally defined an automated task to publish to VSCode marketplace if a release tag with "vscode-" was created. That clashes with this existing rule that only looks for v....
There was a problem hiding this comment.
Couldn't we just use semantic-release for this?
There was a problem hiding this comment.
I think we can look to set that up in subsequent PR once confirm publishing to the market place works. Set the version as 0.0.1 for now.
# Conflicts: # calm-plugins/vscode/package-lock.json
ce27082 to
c723b0c
Compare
As discussed with @rocketstack-matt that was fixed already on the PR - https://github.com/finos/architecture-as-code/pull/1650/files#diff-e440dbaf04525b6f2a9a3a32351b1791…. The issue is upon testing this, one needs to run a new build of calm-widgets which doesn't happen at the individual project level. I will raise an update for the README.md for now to run from root package:vscode and mention this on next office hours as we have a similar setup for other modules e.g. npm run build on the shared project won't recompile the calm-models project. |
|
🎉 This PR is included in version 1.7.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |


Description
This PR introduces a more evolved experimental CALM VS Code extension that demonstrates live docify capabilities with marketplace publishing setup. Building on the original POC, it showcases how CALM architecture visualization and documentation can be integrated directly into the VS Code development workflow.
What end users get:
calm docify --websitemodeTechnical foundation:
Type of Change
Affected Components
calm-plugins/vscode/)Improvements Over Original POC
🎯 Bug Fixes
calm docify --scaffolddefault menu generation (some of the logic will move out into docify module as part of Introduce a two-stage website generation flow for CALM Docify that integrates with Docusaurus #1563)🏗️ Production-Ready Architecture
Built with Redux/State Store + MVVM + Hexagonal Architecture for maintainability and testing:
graph TB UI[VS Code UI<br/>TreeView, Webview, Commands] VM[View Models<br/>Presentation Logic] M[Mediators<br/>Cross-cutting Concerns] Store[Application Store<br/>Global State] UI <--> VM VM --> Store M --> Store M --> VM subgraph "VSCode Framework-Free Zone" VM Store end subgraph "VS Code Integration" UI M end style Store fill:#e1f5fe style VM fill:#f3e5f5 style M fill:#fff3e0 style UI fill:#e8f5e8Testing
Checklist
calm-vscode-plugin-0.0.1.vsix)📋 In Progress/Planned
--scaffoldmode from docify CLI will replace most of the code insrc/cli/+templatesfolder (See Introduce a two-stage website generation flow for CALM Docify that integrates with Docusaurus #1563)src/models/and settings need updating to potentially use models from @finos/calm-models and reduce use of any