From 5f0ca9cdc0a8a41fb14de47459309b792c35e14c Mon Sep 17 00:00:00 2001 From: Tobey Blaber Date: Fri, 3 Mar 2023 23:17:35 +0000 Subject: [PATCH 1/4] Correcting index.html syntax for tpv v0.2.3 --- src/commands/synchronize.ts | 2 +- test/commands/synchronize.spec/refreshIndexHtml.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/synchronize.ts b/src/commands/synchronize.ts index cedfcfe..d19a183 100644 --- a/src/commands/synchronize.ts +++ b/src/commands/synchronize.ts @@ -225,7 +225,7 @@ export const refreshVersionJs = ( export const refreshIndexHtml = (metadata: refreshedMetadata): string => ``; + }/"/>`; /** * Generates all necessary symbolic links for {@link https://citkane.github.io/typedoc-plugin-versions typedoc-plugin-versions}. diff --git a/test/commands/synchronize.spec/refreshIndexHtml.spec.ts b/test/commands/synchronize.spec/refreshIndexHtml.spec.ts index 6389e2e..7803aa8 100644 --- a/test/commands/synchronize.spec/refreshIndexHtml.spec.ts +++ b/test/commands/synchronize.spec/refreshIndexHtml.spec.ts @@ -6,14 +6,14 @@ describe('when metadata = { versions: [ "v1.0.0" ], stable: "v1.0.0" }', () => { it('should redirect to stable', () => { expect( refreshIndexHtml({ versions: ['v1.0.0'], stable: 'v1.0.0' }) - ).toBe(''); + ).toBe(''); }); }); describe('when metadata = { versions: [ "v0.1.0" ], dev: "v0.1.0" }', () => { it('should redirect to dev', () => { expect(refreshIndexHtml({ versions: ['v0.1.0'], dev: 'v0.1.0' })).toBe( - '' + '' ); }); }); From 48464a491b4dad65a0e7af34771e256e5a7fc031 Mon Sep 17 00:00:00 2001 From: Tobey Blaber Date: Fri, 3 Mar 2023 23:18:17 +0000 Subject: [PATCH 2/4] Version bump for release --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 906c055..a3bf1a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "typedoc-plugin-versions-cli", - "version": "0.1.10", + "version": "0.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "typedoc-plugin-versions-cli", - "version": "0.1.10", + "version": "0.2.0", "funding": [ { "type": "github", diff --git a/package.json b/package.json index 2d24a54..4a333d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typedoc-plugin-versions-cli", - "version": "0.1.11", + "version": "0.2.0", "description": "A companion CLI tool for typedoc-plugins-versions.", "main": "./dist/index.js", "bin": { From 62a6d06b3b35015ff44e7cd6d30959defb86053f Mon Sep 17 00:00:00 2001 From: Tobey Blaber Date: Fri, 3 Mar 2023 23:21:19 +0000 Subject: [PATCH 3/4] Correct version bump for release --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4a333d6..1ea4426 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typedoc-plugin-versions-cli", - "version": "0.2.0", + "version": "0.1.12", "description": "A companion CLI tool for typedoc-plugins-versions.", "main": "./dist/index.js", "bin": { From c7470427fe2903afc1f93ef7d08c77e5c6f17563 Mon Sep 17 00:00:00 2001 From: Tobey Blaber Date: Fri, 3 Mar 2023 23:22:08 +0000 Subject: [PATCH 4/4] npm i --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index a3bf1a3..ad527cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "typedoc-plugin-versions-cli", - "version": "0.2.0", + "version": "0.1.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "typedoc-plugin-versions-cli", - "version": "0.2.0", + "version": "0.1.12", "funding": [ { "type": "github",