Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cli): publish @mermaidchart/cli v0.1.0 #24

Merged
merged 2 commits into from
Apr 22, 2024

Conversation

aloisklink
Copy link
Contributor

This is the initial public release of the @mermaidchart/cli.

It's still using an alpha version of the @mermaidchart/sdk library, since it relies on a feature that isn't in the latest @mermaidchart/sdk release.


As a quick fix, I've also added a default title for diagrams are linked from markdown files, e.g. npx @mermaidchart/cli link folder/to/my-markdown-file.md will title the diagrams as my-markdown-file.md:123.

This title is just the `<filename>:<lineno>`, and won't be updated when
the diagram is updated, even if the line number and/or filename change
in the future.
This is the initial release.
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
office-plugin-site ⬜️ Ignored (Inspect) Apr 22, 2024 10:12am

@@ -57,7 +55,7 @@
"@inquirer/confirm": "^2.0.15",
"@inquirer/input": "^1.2.14",
"@inquirer/select": "^1.3.1",
"@mermaidchart/sdk": "workspace:^",
"@mermaidchart/sdk": "^0.2.1-alpha.0",
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to change this? Pnpm release will automatically put the correct version right?

Copy link
Contributor Author

@aloisklink aloisklink Apr 22, 2024

Choose a reason for hiding this comment

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

Do we need to change this? Pnpm release will automatically put the correct version right?

Yep, but npm publish won't. And the workspace:^ breaks with things like https://gitpkg.vercel.app, which makes testing things in git subfolders more difficult.

It sounds like it also doesn't work with PNPM v9's new built-in install from a git subfolder feature, unfortunately: pnpm/pnpm#7487 (comment)

@aloisklink aloisklink merged commit 31d45c3 into main Apr 22, 2024
6 checks passed
@aloisklink aloisklink deleted the chore/release-v0.1.0-of-cli branch April 22, 2024 13:54
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