Skip to content

Commit

Permalink
Merge pull request #24 from Mermaid-Chart/chore/release-v0.1.0-of-cli
Browse files Browse the repository at this point in the history
chore(cli): publish @mermaidchart/cli v0.1.0
  • Loading branch information
aloisklink authored Apr 22, 2024
2 parents ecd9e46 + 80aac64 commit 31d45c3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
10 changes: 10 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.0] - 2024-04-22

Initial release.
6 changes: 2 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"name": "@mermaidchart/cli",
"version": "0.1.0-alpha.0",
"version": "0.1.0",
"description": "CLI for interacting with https://MermaidChart.com, the platform that makes collaborating with Mermaid diagrams easy",
"main": "index.js",
"bin": {
"mermaid-chart": "dist/cli.js"
},
"//1": "temporarily disable pushing until we finish progress on this",
"private": true,
"engines": {
"node": "^18.18.0 || ^20.0.0"
},
Expand Down Expand Up @@ -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",
"commander": "^11.1.0",
"remark": "^15.0.1",
"remark-frontmatter": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/remark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function plugin({ client, ...options }: MCPluginOptions) {
case 'link':
node.value = await link(node.value, client, {
cache: options.cache,
title: ``,
title, // TODO: should we update this title in the future, since the filename/line number might change
getProjectId: options.getProjectId,
ignoreAlreadyLinked: true,
});
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mermaidchart/sdk",
"version": "0.2.0",
"version": "0.2.1-alpha.0",
"description": "Access the MermaidChart services with OAuth and type safety.",
"browser": "dist/bundle.iife.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 31d45c3

Please sign in to comment.