@powerlines/plugin-date 0.12.501 → 0.12.502
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/dist/_virtual/_rolldown/runtime.cjs +0 -1
- package/dist/components/date-fns.cjs +0 -513
- package/dist/components/date-fns.d.cts +0 -13
- package/dist/components/date-fns.d.cts.map +0 -1
- package/dist/components/date-fns.d.mts +0 -13
- package/dist/components/date-fns.d.mts.map +0 -1
- package/dist/components/date-fns.mjs +0 -514
- package/dist/components/date-fns.mjs.map +0 -1
- package/dist/components/dayjs.cjs +0 -459
- package/dist/components/dayjs.d.cts +0 -13
- package/dist/components/dayjs.d.cts.map +0 -1
- package/dist/components/dayjs.d.mts +0 -13
- package/dist/components/dayjs.d.mts.map +0 -1
- package/dist/components/dayjs.mjs +0 -460
- package/dist/components/dayjs.mjs.map +0 -1
- package/dist/components/index.cjs +0 -1
- package/dist/components/index.d.cts +0 -4
- package/dist/components/index.d.mts +0 -4
- package/dist/components/index.mjs +0 -1
- package/dist/components/luxon.cjs +0 -463
- package/dist/components/luxon.d.cts +0 -13
- package/dist/components/luxon.d.cts.map +0 -1
- package/dist/components/luxon.d.mts +0 -13
- package/dist/components/luxon.d.mts.map +0 -1
- package/dist/components/luxon.mjs +0 -464
- package/dist/components/luxon.mjs.map +0 -1
- package/dist/components/moment.cjs +0 -449
- package/dist/components/moment.d.cts +0 -13
- package/dist/components/moment.d.cts.map +0 -1
- package/dist/components/moment.d.mts +0 -13
- package/dist/components/moment.d.mts.map +0 -1
- package/dist/components/moment.mjs +0 -450
- package/dist/components/moment.mjs.map +0 -1
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +0 -21
- package/dist/index.d.cts.map +0 -1
- package/dist/index.d.mts +0 -21
- package/dist/index.d.mts.map +0 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +0 -1
- package/dist/types/index.cjs +0 -0
- package/dist/types/index.d.cts +0 -3
- package/dist/types/index.d.mts +0 -3
- package/dist/types/index.mjs +0 -1
- package/dist/types/plugin.cjs +0 -0
- package/dist/types/plugin.d.cts +0 -53
- package/dist/types/plugin.d.cts.map +0 -1
- package/dist/types/plugin.d.mts +0 -53
- package/dist/types/plugin.d.mts.map +0 -1
- package/dist/types/plugin.mjs +0 -1
- package/dist/types/runtime.cjs +0 -0
- package/dist/types/runtime.d.cts +0 -723
- package/dist/types/runtime.d.cts.map +0 -1
- package/dist/types/runtime.d.mts +0 -723
- package/dist/types/runtime.d.mts.map +0 -1
- package/dist/types/runtime.mjs +0 -1
package/dist/types/plugin.d.mts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { EnvPluginContext, EnvPluginOptions, EnvPluginResolvedConfig, EnvPluginUserConfig } from "@powerlines/plugin-env/types/plugin";
|
|
2
|
-
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
|
-
type DateLibraryType = "date-fns" | "dayjs" | "luxon" | "moment";
|
|
5
|
-
interface DatePluginOptions {
|
|
6
|
-
/**
|
|
7
|
-
* The type of date library to use
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* This value is used to determine which date library to use for date manipulation. It can be one of the following:
|
|
11
|
-
* - [date-fns](https://date-fns.org/)
|
|
12
|
-
* - [dayjs](https://day.js.org/)
|
|
13
|
-
* - [luxon](https://moment.github.io/luxon/)
|
|
14
|
-
* - [moment](https://momentjs.com/)
|
|
15
|
-
*
|
|
16
|
-
* @defaultValue "date-fns"
|
|
17
|
-
*/
|
|
18
|
-
type?: DateLibraryType;
|
|
19
|
-
/**
|
|
20
|
-
* Options for the Env plugin.
|
|
21
|
-
*/
|
|
22
|
-
env?: EnvPluginOptions;
|
|
23
|
-
/**
|
|
24
|
-
* The default locale to use for date formatting and parsing.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* This value is used as the default locale for date formatting and parsing. It can be overridden by the `LOCALE` environment variable or the `DEFAULT_LOCALE` environment variable.
|
|
28
|
-
*
|
|
29
|
-
* @defaultValue "en-US"
|
|
30
|
-
*/
|
|
31
|
-
defaultLocale?: string;
|
|
32
|
-
}
|
|
33
|
-
interface DatePluginUserConfig extends EnvPluginUserConfig {
|
|
34
|
-
/**
|
|
35
|
-
* Options for the date plugin.
|
|
36
|
-
*/
|
|
37
|
-
date?: Omit<DatePluginOptions, "env">;
|
|
38
|
-
}
|
|
39
|
-
interface DatePluginResolvedConfig extends EnvPluginResolvedConfig {
|
|
40
|
-
/**
|
|
41
|
-
* Options for the date plugin.
|
|
42
|
-
*/
|
|
43
|
-
date: Required<Omit<DatePluginOptions, "env">>;
|
|
44
|
-
}
|
|
45
|
-
type DatePluginContext<TResolvedConfig extends DatePluginResolvedConfig = DatePluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
46
|
-
declare type __ΩDateLibraryType = any[];
|
|
47
|
-
declare type __ΩDatePluginOptions = any[];
|
|
48
|
-
declare type __ΩDatePluginUserConfig = any[];
|
|
49
|
-
declare type __ΩDatePluginResolvedConfig = any[];
|
|
50
|
-
declare type __ΩDatePluginContext = any[];
|
|
51
|
-
//#endregion
|
|
52
|
-
export { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig };
|
|
53
|
-
//# sourceMappingURL=plugin.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;KAyBY,eAAA;AAAA,UAEK,iBAAA;EAFL;;;;;AAEZ;;;;;;;EAaE,IAAA,GAAO,eAAA;EAeP;;;EAVA,GAAA,GAAM,gBAAA;EAa8B;;;;;;;;EAHpC,aAAA;AAAA;AAAA,UAGe,oBAAA,SAA6B,mBAAA;EAIf;;AAG/B;EAHE,IAAA,GAAO,IAAA,CAAK,iBAAA;AAAA;AAAA,UAGG,wBAAA,SAAiC,uBAAA;EAIjC;;;EAAf,IAAA,EAAM,QAAA,CAAS,IAAA,CAAK,iBAAA;AAAA;AAAA,KAGV,iBAAA,yBACc,wBAAA,GAA2B,wBAAA,IACjD,gBAAA,CAAiB,eAAA;AAAA"}
|
package/dist/types/plugin.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{};
|
package/dist/types/runtime.cjs
DELETED
|
File without changes
|