Skip to main content
Home

@fathym/common@0.2.274
Built and signed on GitHub Actions

The Fathym reference architecture, used for cross cutting concerns and repeatable design patterns.

This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
94%
Published
a month ago (0.2.274)
class SetVersion

SetVersion provides an interface for setting the version of a Deno project.

Examples

From direct import

import { SetVersion } from '@fathym/common/build';

const setVersion = new SetVersion();

await setVersion.Configure();

Constructors

new
SetVersion()

Creates a new SetVersion instance with the version pulled from the first deno arg.

new
SetVersion(version: string)

Creates a new SetVersion instance with the provided version number.

new
SetVersion(denoArgsVersion?: string[] | string)

Creates a new SetVersion instance.

Properties

protected
version: string

Methods

Configure(denoCfgPath?: string): Promise<string>

Updates the version in the specified deno configuration file.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@fathym/common

Import symbol

import { SetVersion } from "@fathym/common/build";
or

Import directly with a jsr specifier

import { SetVersion } from "jsr:@fathym/common/build";

Add Package

pnpm i jsr:@fathym/common
or (using pnpm 10.8 or older)
pnpm dlx jsr add @fathym/common

Import symbol

import { SetVersion } from "@fathym/common/build";

Add Package

yarn add jsr:@fathym/common
or (using Yarn 4.8 or older)
yarn dlx jsr add @fathym/common

Import symbol

import { SetVersion } from "@fathym/common/build";

Add Package

vlt install jsr:@fathym/common

Import symbol

import { SetVersion } from "@fathym/common/build";

Add Package

npx jsr add @fathym/common

Import symbol

import { SetVersion } from "@fathym/common/build";

Add Package

bunx jsr add @fathym/common

Import symbol

import { SetVersion } from "@fathym/common/build";