Skip to content

Commit c133808

Browse files
committed
Fix issue with CRLF line breaks, Prepare 2.0.0 release
1 parent 0ebf619 commit c133808

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.github/workflows/publish.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- name: Install dependencies and build 🔧
1818
run: yarn --frozen-lockfile && yarn build
1919
- name: Publish package on NPM 📦
20-
run: npm publish --tag beta
20+
run: npm publish
21+
# run: npm publish --tag beta
2122
env:
2223
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## [Unreleased]
44

5+
## [2.0.0] - 2023-10-10
6+
7+
> Included whole changes from the 2.0.0-beta.1
8+
9+
### Fixed
10+
- Fixed issue with FL/CRLF line breaks in the documentation file
511

612
## [2.0.0-beta.1] - 2023-10-08
713

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mockoon-config-transformer",
33
"description": "A CLI tool to bundle/extract Mockoon environment files in a git-friendly files tree with 100% backward compatibility",
4-
"version": "2.0.0-beta.1",
4+
"version": "2.0.0",
55
"type": "module",
66
"files": [
77
"dist"

src/config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const name = 'mockoon-config-transformer';
2-
export const version = '2.0.0-beta.1';
2+
export const version = '2.0.0';
33

44
export const SUPPORTED_MIGRATION = 28;
55
export const SUPPORTED_COMMANDS = {

src/transformers/extract/documentation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const heading = (
2828
];
2929

3030
export const lineBreak = (count?: number): Text[] =>
31-
new Array(count || 1).fill({ type: 'text', value: '\r\n' });
31+
new Array(count || 1).fill({ type: 'text', value: '\n' });
3232

3333
export type docSectionItem = {
3434
title: string;

0 commit comments

Comments
 (0)