Skip to content

Commit f097933

Browse files
authored
Merge pull request #8 from BlankRiser/update-version
Update to v0.1.1
2 parents 9d3753a + fa6b485 commit f097933

7 files changed

Lines changed: 11 additions & 11 deletions

File tree

apps/docs/src/content/docs/api-reference.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "API Reference"
44

55
# Conversion
66

7-
```ts twoslash
7+
```ts
88
import { Conversion } from "@devhaven/unit-conversion";
99

1010
const conversion = new Conversion();
@@ -19,7 +19,7 @@ const result = conversion.value(10).from("meter").to("foot");
1919
- Default: 2
2020
- Number of decimal places to round the conversion result to.
2121

22-
```ts twoslash
22+
```ts
2323
import { Conversion } from "@devhaven/unit-conversion";
2424

2525
const conversion = new Conversion({ decimals: 4 });
@@ -33,7 +33,7 @@ const result = conversion.value(10).from("meter").to("foot");
3333
- Default: false
3434
- If true, the conversion result will be a floating-point number.
3535

36-
```ts twoslash
36+
```ts
3737
import { Conversion } from "@devhaven/unit-conversion";
3838

3939
const conversion = new Conversion({ isFloat: true });

apps/docs/src/content/docs/conversions/length.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This category is useful for engineering, construction, design, or any domain whe
1414

1515
## Quick Example
1616

17-
```ts twoslash
17+
```ts
1818
import { Conversion } from "@devhaven/unit-conversion";
1919

2020
const convert = new Conversion();
@@ -32,7 +32,7 @@ console.log(convert.value(1).from("inch").to("centimeter"));
3232

3333
All conversions are approximate to the configured decimal precision.
3434

35-
```ts twoslash
35+
```ts
3636
import { Conversion } from "@devhaven/unit-conversion";
3737

3838
const convert = new Conversion({ includeUnit: false });
@@ -80,7 +80,7 @@ convert.value(50).from("meter").to("yard");
8080

8181
Conversions can be customized with global config values when creating a Conversion instance.
8282

83-
```ts twoslash
83+
```ts
8484
import { Conversion } from "@devhaven/unit-conversion";
8585

8686
const convert = new Conversion({

apps/docs/src/content/docs/conversions/number.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The **Number** category supports conversions between number bases such as binary
1414

1515
## Quick Example
1616

17-
```ts twoslash
17+
```ts
1818
import { Conversion } from "@devhaven/unit-conversion";
1919

2020
const convert = new Conversion();

apps/docs/src/content/docs/conversions/time.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The **time** category provides conversions between milliseconds, seconds, minute
1414

1515
## Quick Example
1616

17-
```ts twoslash
17+
```ts
1818
import { Conversion } from "@devhaven/unit-conversion";
1919

2020
const convert = new Conversion();

apps/docs/src/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A lightweight TypeScript library for converting units.
88

99
### Quick Start
1010

11-
```ts twoslash
11+
```ts
1212
import { Conversion } from "@devhaven/unit-conversion";
1313

1414
const convert = new Conversion();

packages/unit-conversion/jsr.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devhaven/unit-conversion",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"exports": "./src/index.ts",
55
"license": "Apache-2.0",
66
"publish": {

packages/unit-conversion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devhaven/unit-conversion",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "A type-safe unit conversion library.",
55
"license": "Apache-2.0",
66
"author": "Ram Shankar Choudhary",

0 commit comments

Comments
 (0)