Skip to content

Commit c8fc612

Browse files
committed
Run ./scripts/build/build.sh
1 parent 1d673c6 commit c8fc612

File tree

6 files changed

+36
-1
lines changed

6 files changed

+36
-1
lines changed

package.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,6 +1948,16 @@
19481948
"default": "./quartersToYears.mjs"
19491949
}
19501950
},
1951+
"./roundToNearestHours": {
1952+
"require": {
1953+
"types": "./roundToNearestHours.d.ts",
1954+
"default": "./roundToNearestHours.js"
1955+
},
1956+
"import": {
1957+
"types": "./roundToNearestHours.d.mts",
1958+
"default": "./roundToNearestHours.mjs"
1959+
}
1960+
},
19511961
"./roundToNearestMinutes": {
19521962
"require": {
19531963
"types": "./roundToNearestMinutes.d.ts",
@@ -5058,6 +5068,16 @@
50585068
"default": "./fp/weeksToDays.mjs"
50595069
}
50605070
},
5071+
"./fp/yearsToDays": {
5072+
"require": {
5073+
"types": "./fp/yearsToDays.d.ts",
5074+
"default": "./fp/yearsToDays.js"
5075+
},
5076+
"import": {
5077+
"types": "./fp/yearsToDays.d.mts",
5078+
"default": "./fp/yearsToDays.mjs"
5079+
}
5080+
},
50615081
"./fp/yearsToMonths": {
50625082
"require": {
50635083
"types": "./fp/yearsToMonths.d.ts",
@@ -6053,4 +6073,4 @@
60536073
"typescript": "^5.3.2",
60546074
"vitest": "^0.34.6"
60556075
}
6056-
}
6076+
}

src/fp/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ export * from "./subYears/index.js";
257257
export * from "./toDate/index.js";
258258
export * from "./transpose/index.js";
259259
export * from "./weeksToDays/index.js";
260+
export * from "./yearsToDays/index.js";
260261
export * from "./yearsToMonths/index.js";
261262
export * from "./yearsToQuarters/index.js";
262263
export type * from "../types.js";
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2+
3+
import { roundToNearestHours as fn } from "../../roundToNearestHours/index.js";
4+
import { convertToFP } from "../_lib/convertToFP/index.js";
5+
6+
export const roundToNearestHours = convertToFP(fn, 1);
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2+
3+
import { roundToNearestHours as fn } from "../../roundToNearestHours/index.js";
4+
import { convertToFP } from "../_lib/convertToFP/index.js";
5+
6+
export const roundToNearestHoursWithOptions = convertToFP(fn, 2);

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ export * from "./previousTuesday/index.js";
189189
export * from "./previousWednesday/index.js";
190190
export * from "./quartersToMonths/index.js";
191191
export * from "./quartersToYears/index.js";
192+
export * from "./roundToNearestHours/index.js";
192193
export * from "./roundToNearestMinutes/index.js";
193194
export * from "./secondsToHours/index.js";
194195
export * from "./secondsToMilliseconds/index.js";

typedoc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@
191191
"./src/previousWednesday/index.ts",
192192
"./src/quartersToMonths/index.ts",
193193
"./src/quartersToYears/index.ts",
194+
"./src/roundToNearestHours/index.ts",
194195
"./src/roundToNearestMinutes/index.ts",
195196
"./src/secondsToHours/index.ts",
196197
"./src/secondsToMilliseconds/index.ts",

0 commit comments

Comments
 (0)