@powerlines/plugin-date 0.12.140 → 0.12.142
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/dist/index-CA4VvAY_.d.mts +1 -0
- package/dist/index-CmCelmEL.d.cts +1 -0
- package/dist/index.cjs +13844 -17
- package/dist/index.d.cts +40 -7
- package/dist/index.d.mts +40 -9
- package/dist/index.mjs +13800 -6
- package/dist/plugin-BUfZ6cT1.d.cts +4432 -0
- package/dist/plugin-CuNMs4r-.d.mts +4434 -0
- package/dist/plugin-DHXHjv16.cjs +0 -0
- package/dist/plugin-ufqFO5xS.mjs +1 -0
- package/dist/runtime-B7WoCmC4.mjs +1 -0
- package/dist/runtime-B8LVkjWB.d.cts +711 -0
- package/dist/runtime-CiYq8JJ6.d.mts +711 -0
- package/dist/runtime-D4zTdSwv.cjs +0 -0
- package/dist/types/index.cjs +3 -0
- package/dist/types/index.d.cts +3 -2
- package/dist/types/index.d.mts +3 -2
- package/dist/types/index.mjs +4 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +1 -42
- package/dist/types/plugin.d.mts +1 -42
- package/dist/types/plugin.mjs +2 -0
- package/dist/types/runtime.cjs +1 -0
- package/dist/types/runtime.d.cts +1 -710
- package/dist/types/runtime.d.mts +1 -710
- package/dist/types/runtime.mjs +2 -0
- package/dist/types-BReKsBV6.mjs +1 -0
- package/dist/types-CBTc19th.cjs +0 -0
- package/package.json +3 -3
- package/dist/_virtual/rolldown_runtime.cjs +0 -37
- package/dist/_virtual/rolldown_runtime.mjs +0 -29
- package/dist/components/date-fns.cjs +0 -527
- package/dist/components/date-fns.d.cts +0 -13
- package/dist/components/date-fns.d.mts +0 -13
- package/dist/components/date-fns.mjs +0 -527
- package/dist/components/dayjs.cjs +0 -472
- package/dist/components/dayjs.d.cts +0 -13
- package/dist/components/dayjs.d.mts +0 -13
- package/dist/components/dayjs.mjs +0 -472
- package/dist/components/index.cjs +0 -4
- package/dist/components/index.d.mts +0 -4
- package/dist/components/index.mjs +0 -6
- package/dist/components/luxon.cjs +0 -476
- package/dist/components/luxon.d.cts +0 -13
- package/dist/components/luxon.d.mts +0 -13
- package/dist/components/luxon.mjs +0 -476
- package/dist/components/moment.cjs +0 -462
- package/dist/components/moment.d.cts +0 -13
- package/dist/components/moment.d.mts +0 -13
- package/dist/components/moment.mjs +0 -462
- package/dist/deepkit/schemas/reflection.cjs +0 -3998
- package/dist/deepkit/schemas/reflection.d.cts +0 -1560
- package/dist/deepkit/schemas/reflection.d.mts +0 -1560
- package/dist/deepkit/schemas/reflection.mjs +0 -3996
- package/dist/deepkit/schemas/reflection2.cjs +0 -4112
- package/dist/deepkit/schemas/reflection2.mjs +0 -4110
- package/dist/deepkit/src/capnp.cjs +0 -913
- package/dist/deepkit/src/capnp.mjs +0 -911
- package/dist/deepkit/src/esbuild-plugin.cjs +0 -47
- package/dist/deepkit/src/esbuild-plugin.mjs +0 -46
- package/dist/deepkit/src/reflect-type.cjs +0 -22
- package/dist/deepkit/src/reflect-type.mjs +0 -20
- package/dist/deepkit/src/resolve-reflections.cjs +0 -16
- package/dist/deepkit/src/resolve-reflections.mjs +0 -15
- package/dist/deepkit/src/transformer.cjs +0 -52
- package/dist/deepkit/src/transformer.mjs +0 -49
- package/dist/deepkit/src/transpile.cjs +0 -29
- package/dist/deepkit/src/transpile.mjs +0 -27
- package/dist/deepkit/src/types.d.cts +0 -10
- package/dist/deepkit/src/types.d.mts +0 -10
- package/dist/deepkit/src/utilities.cjs +0 -66
- package/dist/deepkit/src/utilities.mjs +0 -65
- package/dist/deepkit/src/vendor/type-compiler/index.cjs +0 -38
- package/dist/deepkit/src/vendor/type-compiler/index.mjs +0 -19
- package/dist/deepkit/src/vendor/type.cjs +0 -20
- package/dist/deepkit/src/vendor/type.d.cts +0 -7
- package/dist/deepkit/src/vendor/type.d.mts +0 -7
- package/dist/deepkit/src/vendor/type.mjs +0 -11
- package/dist/plugin-alloy/src/core/components/output.cjs +0 -38
- package/dist/plugin-alloy/src/core/components/output.mjs +0 -37
- package/dist/plugin-alloy/src/core/components/single-line-comment.cjs +0 -20
- package/dist/plugin-alloy/src/core/components/single-line-comment.mjs +0 -19
- package/dist/plugin-alloy/src/core/components/source-file.cjs +0 -60
- package/dist/plugin-alloy/src/core/components/source-file.mjs +0 -58
- package/dist/plugin-alloy/src/core/contexts/context.cjs +0 -60
- package/dist/plugin-alloy/src/core/contexts/context.mjs +0 -54
- package/dist/plugin-alloy/src/core/contexts/index.cjs +0 -2
- package/dist/plugin-alloy/src/core/contexts/index.mjs +0 -4
- package/dist/plugin-alloy/src/core/contexts/reflection.cjs +0 -46
- package/dist/plugin-alloy/src/core/contexts/reflection.mjs +0 -42
- package/dist/plugin-alloy/src/helpers/refkey.cjs +0 -16
- package/dist/plugin-alloy/src/helpers/refkey.mjs +0 -15
- package/dist/plugin-alloy/src/index.cjs +0 -90
- package/dist/plugin-alloy/src/index.mjs +0 -88
- package/dist/plugin-alloy/src/markdown/components/markdown-file.cjs +0 -7
- package/dist/plugin-alloy/src/markdown/components/markdown-file.mjs +0 -9
- package/dist/plugin-alloy/src/markdown/components/markdown-table.cjs +0 -5
- package/dist/plugin-alloy/src/markdown/components/markdown-table.mjs +0 -7
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.cjs +0 -17
- package/dist/plugin-alloy/src/markdown/contexts/markdown-table.mjs +0 -17
- package/dist/plugin-alloy/src/types/components.d.mts +0 -4
- package/dist/plugin-alloy/src/types/index.d.mts +0 -2
- package/dist/plugin-alloy/src/types/plugin.d.cts +0 -37
- package/dist/plugin-alloy/src/types/plugin.d.mts +0 -37
- package/dist/plugin-alloy/src/typescript/components/builtin-file.cjs +0 -47
- package/dist/plugin-alloy/src/typescript/components/builtin-file.mjs +0 -46
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.cjs +0 -75
- package/dist/plugin-alloy/src/typescript/components/tsdoc-reflection.mjs +0 -73
- package/dist/plugin-alloy/src/typescript/components/tsdoc.cjs +0 -359
- package/dist/plugin-alloy/src/typescript/components/tsdoc.mjs +0 -350
- package/dist/plugin-alloy/src/typescript/components/typescript-file.cjs +0 -143
- package/dist/plugin-alloy/src/typescript/components/typescript-file.mjs +0 -140
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.cjs +0 -53
- package/dist/plugin-alloy/src/typescript/components/typescript-interface.mjs +0 -52
- package/dist/plugin-alloy/src/typescript/components/typescript-object.cjs +0 -94
- package/dist/plugin-alloy/src/typescript/components/typescript-object.mjs +0 -93
- package/dist/plugin-automd/src/index.cjs +0 -101
- package/dist/plugin-automd/src/index.mjs +0 -98
- package/dist/plugin-automd/src/types/plugin.d.cts +0 -38
- package/dist/plugin-automd/src/types/plugin.d.mts +0 -40
- package/dist/plugin-automd/src/types/toc.d.cts +0 -33
- package/dist/plugin-automd/src/types/toc.d.mts +0 -33
- package/dist/plugin-babel/src/helpers/ast-utils.cjs +0 -10
- package/dist/plugin-babel/src/helpers/ast-utils.mjs +0 -9
- package/dist/plugin-babel/src/helpers/create-plugin.cjs +0 -41
- package/dist/plugin-babel/src/helpers/create-plugin.mjs +0 -39
- package/dist/plugin-babel/src/helpers/filters.cjs +0 -23
- package/dist/plugin-babel/src/helpers/filters.mjs +0 -21
- package/dist/plugin-babel/src/helpers/index.cjs +0 -5
- package/dist/plugin-babel/src/helpers/index.mjs +0 -7
- package/dist/plugin-babel/src/helpers/module-helpers.cjs +0 -38
- package/dist/plugin-babel/src/helpers/module-helpers.mjs +0 -35
- package/dist/plugin-babel/src/helpers/options.cjs +0 -50
- package/dist/plugin-babel/src/helpers/options.mjs +0 -47
- package/dist/plugin-babel/src/index.cjs +0 -91
- package/dist/plugin-babel/src/index.mjs +0 -89
- package/dist/plugin-babel/src/types/index.d.mts +0 -1
- package/dist/plugin-babel/src/types/plugin.d.cts +0 -15
- package/dist/plugin-babel/src/types/plugin.d.mts +0 -15
- package/dist/plugin-env/src/babel/index.cjs +0 -1
- package/dist/plugin-env/src/babel/index.mjs +0 -3
- package/dist/plugin-env/src/babel/plugin.cjs +0 -121
- package/dist/plugin-env/src/babel/plugin.mjs +0 -119
- package/dist/plugin-env/src/components/docs.cjs +0 -9
- package/dist/plugin-env/src/components/docs.mjs +0 -11
- package/dist/plugin-env/src/components/env.cjs +0 -487
- package/dist/plugin-env/src/components/env.mjs +0 -484
- package/dist/plugin-env/src/components/index.cjs +0 -2
- package/dist/plugin-env/src/components/index.mjs +0 -4
- package/dist/plugin-env/src/helpers/automd-generator.cjs +0 -22
- package/dist/plugin-env/src/helpers/automd-generator.mjs +0 -21
- package/dist/plugin-env/src/helpers/create-reflection-resource.cjs +0 -55
- package/dist/plugin-env/src/helpers/create-reflection-resource.mjs +0 -54
- package/dist/plugin-env/src/helpers/index.cjs +0 -6
- package/dist/plugin-env/src/helpers/index.mjs +0 -8
- package/dist/plugin-env/src/helpers/load.cjs +0 -83
- package/dist/plugin-env/src/helpers/load.mjs +0 -80
- package/dist/plugin-env/src/helpers/persistence.cjs +0 -200
- package/dist/plugin-env/src/helpers/persistence.mjs +0 -189
- package/dist/plugin-env/src/helpers/reflect.cjs +0 -125
- package/dist/plugin-env/src/helpers/reflect.mjs +0 -117
- package/dist/plugin-env/src/helpers/source-file-env.cjs +0 -24
- package/dist/plugin-env/src/helpers/source-file-env.mjs +0 -23
- package/dist/plugin-env/src/helpers/template-helpers.cjs +0 -2
- package/dist/plugin-env/src/helpers/template-helpers.mjs +0 -4
- package/dist/plugin-env/src/index.cjs +0 -172
- package/dist/plugin-env/src/index.mjs +0 -170
- package/dist/plugin-env/src/types/plugin.d.cts +0 -151
- package/dist/plugin-env/src/types/plugin.d.mts +0 -153
- package/dist/plugin-env/src/types/runtime.d.cts +0 -792
- package/dist/plugin-env/src/types/runtime.d.mts +0 -792
- package/dist/powerlines/src/lib/build/esbuild.cjs +0 -102
- package/dist/powerlines/src/lib/build/esbuild.mjs +0 -100
- package/dist/powerlines/src/lib/entry.cjs +0 -12
- package/dist/powerlines/src/lib/entry.mjs +0 -14
- package/dist/powerlines/src/lib/logger.cjs +0 -41
- package/dist/powerlines/src/lib/logger.mjs +0 -39
- package/dist/powerlines/src/lib/utilities/bundle.cjs +0 -35
- package/dist/powerlines/src/lib/utilities/bundle.mjs +0 -34
- package/dist/powerlines/src/lib/utilities/file-header.cjs +0 -22
- package/dist/powerlines/src/lib/utilities/file-header.mjs +0 -21
- package/dist/powerlines/src/lib/utilities/resolve.cjs +0 -30
- package/dist/powerlines/src/lib/utilities/resolve.mjs +0 -29
- package/dist/powerlines/src/plugin-utils/paths.cjs +0 -1
- package/dist/powerlines/src/plugin-utils/paths.mjs +0 -3
- package/dist/powerlines/src/types/babel.d.cts +0 -22
- package/dist/powerlines/src/types/babel.d.mts +0 -22
- package/dist/powerlines/src/types/build.d.cts +0 -145
- package/dist/powerlines/src/types/build.d.mts +0 -147
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -9
- package/dist/powerlines/src/types/config.d.cts +0 -380
- package/dist/powerlines/src/types/config.d.mts +0 -381
- package/dist/powerlines/src/types/context.d.cts +0 -414
- package/dist/powerlines/src/types/context.d.mts +0 -416
- package/dist/powerlines/src/types/fs.d.cts +0 -486
- package/dist/powerlines/src/types/fs.d.mts +0 -486
- package/dist/powerlines/src/types/hooks.d.mts +0 -2
- package/dist/powerlines/src/types/plugin.d.cts +0 -231
- package/dist/powerlines/src/types/plugin.d.mts +0 -231
- package/dist/powerlines/src/types/resolved.d.cts +0 -82
- package/dist/powerlines/src/types/resolved.d.mts +0 -83
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
package/dist/types/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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-BUfZ6cT1.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";
|
|
3
4
|
export { DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩStormDateInterface, __ΩTimeUnit };
|
package/dist/types/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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-CuNMs4r-.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";
|
|
3
4
|
export { DateFormats, DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig, __ΩStormDateInterface, __ΩTimeUnit };
|
package/dist/types/index.mjs
CHANGED
package/dist/types/plugin.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../plugin-DHXHjv16.cjs');
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,43 +1,2 @@
|
|
|
1
|
-
import {
|
|
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
|
-
interface DatePluginUserConfig extends EnvPluginUserConfig {
|
|
25
|
-
/**
|
|
26
|
-
* Options for the date plugin.
|
|
27
|
-
*/
|
|
28
|
-
date?: Omit<DatePluginOptions, "env">;
|
|
29
|
-
}
|
|
30
|
-
interface DatePluginResolvedConfig extends EnvPluginResolvedConfig {
|
|
31
|
-
/**
|
|
32
|
-
* Options for the date plugin.
|
|
33
|
-
*/
|
|
34
|
-
date: Required<Omit<DatePluginOptions, "env">>;
|
|
35
|
-
}
|
|
36
|
-
type DatePluginContext<TResolvedConfig extends DatePluginResolvedConfig = DatePluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
37
|
-
declare type __ΩDateLibraryType = any[];
|
|
38
|
-
declare type __ΩDatePluginOptions = any[];
|
|
39
|
-
declare type __ΩDatePluginUserConfig = any[];
|
|
40
|
-
declare type __ΩDatePluginResolvedConfig = any[];
|
|
41
|
-
declare type __ΩDatePluginContext = any[];
|
|
42
|
-
//#endregion
|
|
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-BUfZ6cT1.cjs";
|
|
43
2
|
export { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig };
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,43 +1,2 @@
|
|
|
1
|
-
import {
|
|
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
|
-
interface DatePluginUserConfig extends EnvPluginUserConfig {
|
|
25
|
-
/**
|
|
26
|
-
* Options for the date plugin.
|
|
27
|
-
*/
|
|
28
|
-
date?: Omit<DatePluginOptions, "env">;
|
|
29
|
-
}
|
|
30
|
-
interface DatePluginResolvedConfig extends EnvPluginResolvedConfig {
|
|
31
|
-
/**
|
|
32
|
-
* Options for the date plugin.
|
|
33
|
-
*/
|
|
34
|
-
date: Required<Omit<DatePluginOptions, "env">>;
|
|
35
|
-
}
|
|
36
|
-
type DatePluginContext<TResolvedConfig extends DatePluginResolvedConfig = DatePluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
37
|
-
declare type __ΩDateLibraryType = any[];
|
|
38
|
-
declare type __ΩDatePluginOptions = any[];
|
|
39
|
-
declare type __ΩDatePluginUserConfig = any[];
|
|
40
|
-
declare type __ΩDatePluginResolvedConfig = any[];
|
|
41
|
-
declare type __ΩDatePluginContext = any[];
|
|
42
|
-
//#endregion
|
|
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-CuNMs4r-.mjs";
|
|
43
2
|
export { DateLibraryType, DatePluginContext, DatePluginOptions, DatePluginResolvedConfig, DatePluginUserConfig, __ΩDateLibraryType, __ΩDatePluginContext, __ΩDatePluginOptions, __ΩDatePluginResolvedConfig, __ΩDatePluginUserConfig };
|
package/dist/types/plugin.mjs
CHANGED
package/dist/types/runtime.cjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require('../runtime-D4zTdSwv.cjs');
|