Skip to content

Commit 4bb82ae

Browse files
committed
Merge branch 'main' into fix/fix-CRLF-windows-issue
Updates the newly created `packages/cli/CHANGELOG.md` file.
2 parents dce5bfa + 31d45c3 commit 4bb82ae

File tree

5 files changed

+19
-7
lines changed

5 files changed

+19
-7
lines changed

packages/cli/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
6+
## [Unreleased]
7+
8+
### Fixed
9+
10+
- Improve handling of Windows CRLF line-endings
11+
12+
## [0.1.0] - 2024-04-22
13+
14+
Initial release.

packages/cli/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
{
22
"name": "@mermaidchart/cli",
3-
"version": "0.1.0-alpha.0",
3+
"version": "0.1.0",
44
"description": "CLI for interacting with https://MermaidChart.com, the platform that makes collaborating with Mermaid diagrams easy",
55
"main": "index.js",
66
"bin": {
77
"mermaid-chart": "dist/cli.js"
88
},
9-
"//1": "temporarily disable pushing until we finish progress on this",
10-
"private": true,
119
"engines": {
1210
"node": "^18.18.0 || ^20.0.0"
1311
},
@@ -57,7 +55,7 @@
5755
"@inquirer/confirm": "^2.0.15",
5856
"@inquirer/input": "^1.2.14",
5957
"@inquirer/select": "^1.3.1",
60-
"@mermaidchart/sdk": "workspace:^",
58+
"@mermaidchart/sdk": "^0.2.1-alpha.0",
6159
"commander": "^11.1.0",
6260
"remark": "^15.0.1",
6361
"remark-frontmatter": "^5.0.0",

packages/cli/src/remark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function plugin({ client, ...options }: MCPluginOptions) {
5353
case 'link':
5454
node.value = await link(node.value, client, {
5555
cache: options.cache,
56-
title: ``,
56+
title, // TODO: should we update this title in the future, since the filename/line number might change
5757
getProjectId: options.getProjectId,
5858
ignoreAlreadyLinked: true,
5959
});

packages/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mermaidchart/sdk",
3-
"version": "0.2.0",
3+
"version": "0.2.1-alpha.0",
44
"description": "Access the MermaidChart services with OAuth and type safety.",
55
"browser": "dist/bundle.iife.js",
66
"types": "dist/index.d.ts",

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)