@powerlines/plugin-date 0.12.299 → 0.12.301

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 (76) hide show
  1. package/dist/_virtual/rolldown_runtime.cjs +29 -0
  2. package/dist/components/date-fns.cjs +528 -0
  3. package/dist/components/date-fns.d.cts +14 -0
  4. package/dist/components/date-fns.d.cts.map +1 -0
  5. package/dist/components/date-fns.d.mts +14 -0
  6. package/dist/components/date-fns.d.mts.map +1 -0
  7. package/dist/components/date-fns.mjs +528 -0
  8. package/dist/components/date-fns.mjs.map +1 -0
  9. package/dist/components/dayjs.cjs +473 -0
  10. package/dist/components/dayjs.d.cts +14 -0
  11. package/dist/components/dayjs.d.cts.map +1 -0
  12. package/dist/components/dayjs.d.mts +14 -0
  13. package/dist/components/dayjs.d.mts.map +1 -0
  14. package/dist/components/dayjs.mjs +473 -0
  15. package/dist/components/dayjs.mjs.map +1 -0
  16. package/dist/components/index.cjs +4 -0
  17. package/dist/components/index.d.cts +4 -0
  18. package/dist/components/index.d.mts +4 -0
  19. package/dist/components/index.mjs +6 -0
  20. package/dist/components/luxon.cjs +477 -0
  21. package/dist/components/luxon.d.cts +14 -0
  22. package/dist/components/luxon.d.cts.map +1 -0
  23. package/dist/components/luxon.d.mts +14 -0
  24. package/dist/components/luxon.d.mts.map +1 -0
  25. package/dist/components/luxon.mjs +477 -0
  26. package/dist/components/luxon.mjs.map +1 -0
  27. package/dist/components/moment.cjs +463 -0
  28. package/dist/components/moment.d.cts +14 -0
  29. package/dist/components/moment.d.cts.map +1 -0
  30. package/dist/components/moment.d.mts +14 -0
  31. package/dist/components/moment.d.mts.map +1 -0
  32. package/dist/components/moment.mjs +463 -0
  33. package/dist/components/moment.mjs.map +1 -0
  34. package/dist/index.cjs +17 -2007
  35. package/dist/index.d.cts +8 -40
  36. package/dist/index.d.cts.map +1 -1
  37. package/dist/index.d.mts +8 -40
  38. package/dist/index.d.mts.map +1 -1
  39. package/dist/index.mjs +6 -1970
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +43 -0
  42. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +43 -0
  43. package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +1 -0
  44. package/dist/types/index.cjs +0 -3
  45. package/dist/types/index.d.cts +2 -3
  46. package/dist/types/index.d.mts +2 -3
  47. package/dist/types/index.mjs +0 -4
  48. package/dist/types/plugin.cjs +0 -1
  49. package/dist/types/plugin.d.cts +44 -2
  50. package/dist/types/plugin.d.cts.map +1 -0
  51. package/dist/types/plugin.d.mts +44 -2
  52. package/dist/types/plugin.d.mts.map +1 -0
  53. package/dist/types/plugin.mjs +0 -2
  54. package/dist/types/runtime.cjs +0 -1
  55. package/dist/types/runtime.d.cts +712 -2
  56. package/dist/types/runtime.d.cts.map +1 -0
  57. package/dist/types/runtime.d.mts +712 -2
  58. package/dist/types/runtime.d.mts.map +1 -0
  59. package/dist/types/runtime.mjs +0 -2
  60. package/package.json +5 -5
  61. package/dist/index-CA4VvAY_.d.mts +0 -1
  62. package/dist/index-CmCelmEL.d.cts +0 -1
  63. package/dist/plugin-CWe-29nA.d.mts +0 -44
  64. package/dist/plugin-CWe-29nA.d.mts.map +0 -1
  65. package/dist/plugin-D82ijYIk.d.cts +0 -44
  66. package/dist/plugin-D82ijYIk.d.cts.map +0 -1
  67. package/dist/plugin-DHXHjv16.cjs +0 -0
  68. package/dist/plugin-ufqFO5xS.mjs +0 -1
  69. package/dist/runtime-B7WoCmC4.mjs +0 -1
  70. package/dist/runtime-B8LVkjWB.d.cts +0 -712
  71. package/dist/runtime-B8LVkjWB.d.cts.map +0 -1
  72. package/dist/runtime-CiYq8JJ6.d.mts +0 -712
  73. package/dist/runtime-CiYq8JJ6.d.mts.map +0 -1
  74. package/dist/runtime-D4zTdSwv.cjs +0 -0
  75. package/dist/types-BReKsBV6.mjs +0 -1
  76. package/dist/types-CBTc19th.cjs +0 -0
package/dist/index.d.cts CHANGED
@@ -1,45 +1,13 @@
1
- import { a as DatePluginUserConfig, c as __ΩDatePluginOptions, i as DatePluginResolvedConfig, l as __ΩDatePluginResolvedConfig, n as DatePluginContext, o as __ΩDateLibraryType, r as DatePluginOptions, s as __ΩDatePluginContext, t as DateLibraryType, u as __ΩDatePluginUserConfig } from "./plugin-D82ijYIk.cjs";
2
- import { a as __ΩStormDateInterface, i as __ΩDateFormats, n as StormDateInterface, o as __ΩTimeUnit, r as TimeUnit, t as DateFormats } from "./runtime-B8LVkjWB.cjs";
3
- import "./index-CmCelmEL.cjs";
1
+ import { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from "./types/plugin.cjs";
2
+ import { dateFnsModule } from "./components/date-fns.cjs";
3
+ import { dayjsModule } from "./components/dayjs.cjs";
4
+ import { luxonModule } from "./components/luxon.cjs";
5
+ import { momentModule } from "./components/moment.cjs";
6
+ import "./components/index.cjs";
7
+ import { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from "./types/runtime.cjs";
8
+ import "./types/index.cjs";
4
9
  import { Plugin } from "powerlines/types/plugin";
5
10
 
6
- //#region src/components/date-fns.d.ts
7
-
8
- /**
9
- * Generates the Powerlines configuration file.
10
- *
11
- * @param context - The build context containing runtime information.
12
- * @returns A string representing the configuration file content.
13
- */
14
- declare function dateFnsModule(context: DatePluginContext): string;
15
- //#endregion
16
- //#region src/components/dayjs.d.ts
17
- /**
18
- * Generates the Powerlines configuration file.
19
- *
20
- * @param context - The build context containing runtime information.
21
- * @returns A string representing the configuration file content.
22
- */
23
- declare function dayjsModule(context: DatePluginContext): string;
24
- //#endregion
25
- //#region src/components/luxon.d.ts
26
- /**
27
- * Generates the Powerlines configuration file.
28
- *
29
- * @param context - The build context containing runtime information.
30
- * @returns A string representing the configuration file content.
31
- */
32
- declare function luxonModule(context: DatePluginContext): string;
33
- //#endregion
34
- //#region src/components/moment.d.ts
35
- /**
36
- * Generates the Powerlines configuration file.
37
- *
38
- * @param context - The build context containing runtime information.
39
- * @returns A string representing the configuration file content.
40
- */
41
- declare function momentModule(context: DatePluginContext): string;
42
- //#endregion
43
11
  //#region src/index.d.ts
44
12
  /**
45
13
  * A Powerlines plugin to assist in developing other Powerlines plugins.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/components/date-fns.ts","../src/components/dayjs.ts","../src/components/luxon.ts","../src/components/moment.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;AA2BA;iBAAgB,aAAA,UAAuB;;;;;;;;AAAvC;iBCAgB,WAAA,UAAqB;;;;;;;;ADArC;iBEAgB,WAAA,UAAqB;;;;;;;;AFArC;iBGAgB,YAAA,UAAsB;;;;;AHAtC;iBIUgB,wBAAwB,oBAAoB,6BACjD,oBAmEJ,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;iBAqCgB,wBAAwB,oBAAoB,6BACjD,oBAmEJ,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,45 +1,13 @@
1
- import { a as DatePluginUserConfig, c as __ΩDatePluginOptions, i as DatePluginResolvedConfig, l as __ΩDatePluginResolvedConfig, n as DatePluginContext, o as __ΩDateLibraryType, r as DatePluginOptions, s as __ΩDatePluginContext, t as DateLibraryType, u as __ΩDatePluginUserConfig } from "./plugin-CWe-29nA.mjs";
2
- import { a as __ΩStormDateInterface, i as __ΩDateFormats, n as StormDateInterface, o as __ΩTimeUnit, r as TimeUnit, t as DateFormats } from "./runtime-CiYq8JJ6.mjs";
3
- import "./index-CA4VvAY_.mjs";
1
+ import { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig } from "./types/plugin.mjs";
2
+ import { dateFnsModule } from "./components/date-fns.mjs";
3
+ import { dayjsModule } from "./components/dayjs.mjs";
4
+ import { luxonModule } from "./components/luxon.mjs";
5
+ import { momentModule } from "./components/moment.mjs";
6
+ import "./components/index.mjs";
7
+ import { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from "./types/runtime.mjs";
8
+ import "./types/index.mjs";
4
9
  import { Plugin } from "powerlines/types/plugin";
5
10
 
6
- //#region src/components/date-fns.d.ts
7
-
8
- /**
9
- * Generates the Powerlines configuration file.
10
- *
11
- * @param context - The build context containing runtime information.
12
- * @returns A string representing the configuration file content.
13
- */
14
- declare function dateFnsModule(context: DatePluginContext): string;
15
- //#endregion
16
- //#region src/components/dayjs.d.ts
17
- /**
18
- * Generates the Powerlines configuration file.
19
- *
20
- * @param context - The build context containing runtime information.
21
- * @returns A string representing the configuration file content.
22
- */
23
- declare function dayjsModule(context: DatePluginContext): string;
24
- //#endregion
25
- //#region src/components/luxon.d.ts
26
- /**
27
- * Generates the Powerlines configuration file.
28
- *
29
- * @param context - The build context containing runtime information.
30
- * @returns A string representing the configuration file content.
31
- */
32
- declare function luxonModule(context: DatePluginContext): string;
33
- //#endregion
34
- //#region src/components/moment.d.ts
35
- /**
36
- * Generates the Powerlines configuration file.
37
- *
38
- * @param context - The build context containing runtime information.
39
- * @returns A string representing the configuration file content.
40
- */
41
- declare function momentModule(context: DatePluginContext): string;
42
- //#endregion
43
11
  //#region src/index.d.ts
44
12
  /**
45
13
  * A Powerlines plugin to assist in developing other Powerlines plugins.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/components/date-fns.ts","../src/components/dayjs.ts","../src/components/luxon.ts","../src/components/moment.ts","../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;AA2BA;iBAAgB,aAAA,UAAuB;;;;;;;;AAAvC;iBCAgB,WAAA,UAAqB;;;;;;;;ADArC;iBEAgB,WAAA,UAAqB;;;;;;;;AFArC;iBGAgB,YAAA,UAAsB;;;;;AHAtC;iBIUgB,wBAAwB,oBAAoB,6BACjD,oBAmEJ,OAAO"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/index.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;iBAqCgB,wBAAwB,oBAAoB,6BACjD,oBAmEJ,OAAO"}