Skip to content
On this page

buildVersionsJson()

Builds versions.json and place it to a certain location.

Arguments

NameRequiredTypeDefault ValueNote
configYESHerinaConfig//

Returns

Returns the location of version.json.

typescript
Promise<string>

Example

typescript
import {buildVersionsJson, defineHerinaConfig} from '@herina-rn/core';

const config = defineHerinaConfig({ ... });

const filePath = buildVersionsJson(config);

Released under the MIT License.