diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af106c6..0d8f3e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/.releaserc b/.releaserc index 52ca829..ec23ab1 100644 --- a/.releaserc +++ b/.releaserc @@ -3,6 +3,7 @@ "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - "@semantic-release/github" + "@semantic-release/github", + "@semantic-release/npm" ] } \ No newline at end of file diff --git a/packages/lib/tests/transpiler.test.ts b/packages/lib/tests/transpiler.test.ts index 7ef2e79..5d6e512 100644 --- a/packages/lib/tests/transpiler.test.ts +++ b/packages/lib/tests/transpiler.test.ts @@ -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 @@ -28,7 +28,7 @@ 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, @@ -36,6 +36,6 @@ describe("transpiler", () => { }); expect(transpilerSoA.transform()).toBe(outSoA); - } + } }); });