Skip to content

Commit

Permalink
fix: bundle everything together
Browse files Browse the repository at this point in the history
  • Loading branch information
zeon256 committed May 25, 2024
1 parent 62aabc3 commit 27ea04b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
node-version: 20
- name: Install dependencies
run: npm install -g semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec
run: npm install -g semantic-release @semantic-release/git @semantic-release/changelog @semantic-release/exec @semantic-release/npm
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github"
"@semantic-release/github",
"@semantic-release/npm"
]
}
8 changes: 4 additions & 4 deletions packages/lib/tests/transpiler.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import fs from "fs";
import { JsonLayout, MarkdownTable2Json } from "../src/lib";
import fs from "node:fs";
import { JsonLayout, MarkdownTable2Json } from "../src/mdt2json";

describe("transpiler", () => {
// generate array of numbers from 1 to 1
Expand Down Expand Up @@ -28,14 +28,14 @@ describe("transpiler", () => {
});

it("simple tables soa", () => {
for(const {inMd, outSoA} of files) {
for (const { inMd, outSoA } of files) {
const transpilerSoA = new MarkdownTable2Json({
markdownString: inMd,
layout: JsonLayout.SoA,
minify: true,
});

expect(transpilerSoA.transform()).toBe(outSoA);
}
}
});
});

0 comments on commit 27ea04b

Please sign in to comment.