@powerlines/plugin-date 0.12.500 → 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.
Files changed (57) hide show
  1. package/package.json +5 -5
  2. package/dist/_virtual/_rolldown/runtime.cjs +0 -29
  3. package/dist/components/date-fns.cjs +0 -528
  4. package/dist/components/date-fns.d.cts +0 -13
  5. package/dist/components/date-fns.d.cts.map +0 -1
  6. package/dist/components/date-fns.d.mts +0 -13
  7. package/dist/components/date-fns.d.mts.map +0 -1
  8. package/dist/components/date-fns.mjs +0 -528
  9. package/dist/components/date-fns.mjs.map +0 -1
  10. package/dist/components/dayjs.cjs +0 -474
  11. package/dist/components/dayjs.d.cts +0 -13
  12. package/dist/components/dayjs.d.cts.map +0 -1
  13. package/dist/components/dayjs.d.mts +0 -13
  14. package/dist/components/dayjs.d.mts.map +0 -1
  15. package/dist/components/dayjs.mjs +0 -474
  16. package/dist/components/dayjs.mjs.map +0 -1
  17. package/dist/components/index.cjs +0 -4
  18. package/dist/components/index.d.cts +0 -4
  19. package/dist/components/index.d.mts +0 -4
  20. package/dist/components/index.mjs +0 -6
  21. package/dist/components/luxon.cjs +0 -478
  22. package/dist/components/luxon.d.cts +0 -13
  23. package/dist/components/luxon.d.cts.map +0 -1
  24. package/dist/components/luxon.d.mts +0 -13
  25. package/dist/components/luxon.d.mts.map +0 -1
  26. package/dist/components/luxon.mjs +0 -478
  27. package/dist/components/luxon.mjs.map +0 -1
  28. package/dist/components/moment.cjs +0 -464
  29. package/dist/components/moment.d.cts +0 -13
  30. package/dist/components/moment.d.cts.map +0 -1
  31. package/dist/components/moment.d.mts +0 -13
  32. package/dist/components/moment.d.mts.map +0 -1
  33. package/dist/components/moment.mjs +0 -464
  34. package/dist/components/moment.mjs.map +0 -1
  35. package/dist/index.cjs +0 -67
  36. package/dist/index.d.cts +0 -21
  37. package/dist/index.d.cts.map +0 -1
  38. package/dist/index.d.mts +0 -21
  39. package/dist/index.d.mts.map +0 -1
  40. package/dist/index.mjs +0 -60
  41. package/dist/index.mjs.map +0 -1
  42. package/dist/types/index.cjs +0 -0
  43. package/dist/types/index.d.cts +0 -3
  44. package/dist/types/index.d.mts +0 -3
  45. package/dist/types/index.mjs +0 -1
  46. package/dist/types/plugin.cjs +0 -0
  47. package/dist/types/plugin.d.cts +0 -53
  48. package/dist/types/plugin.d.cts.map +0 -1
  49. package/dist/types/plugin.d.mts +0 -53
  50. package/dist/types/plugin.d.mts.map +0 -1
  51. package/dist/types/plugin.mjs +0 -1
  52. package/dist/types/runtime.cjs +0 -0
  53. package/dist/types/runtime.d.cts +0 -723
  54. package/dist/types/runtime.d.cts.map +0 -1
  55. package/dist/types/runtime.d.mts +0 -723
  56. package/dist/types/runtime.d.mts.map +0 -1
  57. package/dist/types/runtime.mjs +0 -1
@@ -1,3 +0,0 @@
1
- import { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from "./plugin.cjs";
2
- import { DateEnvInterface, DateFormats, PowerlinesDateInterface, TimeUnit, __ΩDateEnvInterface, __ΩDateFormats, __ΩPowerlinesDateInterface, __ΩTimeUnit } from "./runtime.cjs";
3
- export { DateEnvInterface, DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, PowerlinesDateInterface, TimeUnit, __ΩDateEnvInterface, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩPowerlinesDateInterface, __ΩTimeUnit };
@@ -1,3 +0,0 @@
1
- import { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from "./plugin.mjs";
2
- import { DateEnvInterface, DateFormats, PowerlinesDateInterface, TimeUnit, __ΩDateEnvInterface, __ΩDateFormats, __ΩPowerlinesDateInterface, __ΩTimeUnit } from "./runtime.mjs";
3
- export { DateEnvInterface, DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, PowerlinesDateInterface, TimeUnit, __ΩDateEnvInterface, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩPowerlinesDateInterface, __ΩTimeUnit };
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -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.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.cts","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"}
@@ -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"}
@@ -1 +0,0 @@
1
- export { };
File without changes