Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 1e296c7

Browse files
myan9starpit
authored andcommitted
fix: remove config.d/version.json in favor of using the version field from package.json
Fixes #4300
1 parent 99a92ab commit 1e296c7

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

packages/test/src/api/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import * as colors from 'colors'
1919
import { Func, Suite, HookFunction, after as mochaAfter } from 'mocha'
2020
import { Application } from 'spectron'
2121

22-
import { version } from '@kui-shell/client/config.d/version.json'
22+
import { version } from '@kui-shell/client/package.json'
2323

2424
import * as CLI from './cli'
2525
import * as Selectors from './selectors'

plugins/plugin-client-alternate/config.d/version.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/plugin-client-default/config.d/version.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

plugins/plugin-core-support/about/src/about.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function renderFullVersion(name: string, version: string): Table {
191191
*
192192
*/
193193
const reportVersion = async ({ parsedOptions }: Arguments<VersionOptions>) => {
194-
const { version } = await import('@kui-shell/client/config.d/version.json').catch(() => {
194+
const { version } = await import('@kui-shell/client/package.json').catch(() => {
195195
console.log('using default version')
196196
return defaultConfig()
197197
})

0 commit comments

Comments
 (0)