@powerlines/plugin-date 0.12.47 → 0.12.49
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/components/date-fns.d.cts +1 -1
- package/dist/components/date-fns.d.ts +1 -1
- package/dist/components/dayjs.d.cts +1 -1
- package/dist/components/dayjs.d.ts +1 -1
- package/dist/components/index.d.cts +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/luxon.d.cts +1 -1
- package/dist/components/luxon.d.ts +1 -1
- package/dist/components/moment.d.cts +1 -1
- package/dist/components/moment.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{plugin-DCY8gCqF.d.cts → plugin-CiR4H-vg.d.cts} +3 -3
- package/dist/{plugin-DCY8gCqF.d.ts → plugin-CiR4H-vg.d.ts} +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +7 -7
|
@@ -2,7 +2,7 @@ export { dateFnsModule } from './date-fns.cjs';
|
|
|
2
2
|
export { dayjsModule } from './dayjs.cjs';
|
|
3
3
|
export { luxonModule } from './luxon.cjs';
|
|
4
4
|
export { momentModule } from './moment.cjs';
|
|
5
|
-
import '../plugin-
|
|
5
|
+
import '../plugin-CiR4H-vg.cjs';
|
|
6
6
|
import '@alloy-js/core/jsx-runtime';
|
|
7
7
|
import '@deepkit/type';
|
|
8
8
|
import '@stryke/capnp';
|
|
@@ -2,7 +2,7 @@ export { dateFnsModule } from './date-fns.js';
|
|
|
2
2
|
export { dayjsModule } from './dayjs.js';
|
|
3
3
|
export { luxonModule } from './luxon.js';
|
|
4
4
|
export { momentModule } from './moment.js';
|
|
5
|
-
import '../plugin-
|
|
5
|
+
import '../plugin-CiR4H-vg.js';
|
|
6
6
|
import '@alloy-js/core/jsx-runtime';
|
|
7
7
|
import '@deepkit/type';
|
|
8
8
|
import '@stryke/capnp';
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from './plugin-
|
|
2
|
-
export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from './plugin-
|
|
1
|
+
import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from './plugin-CiR4H-vg.cjs';
|
|
2
|
+
export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from './plugin-CiR4H-vg.cjs';
|
|
3
3
|
export { dateFnsModule } from './components/date-fns.cjs';
|
|
4
4
|
export { dayjsModule } from './components/dayjs.cjs';
|
|
5
5
|
export { luxonModule } from './components/luxon.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from './plugin-
|
|
2
|
-
export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from './plugin-
|
|
1
|
+
import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from './plugin-CiR4H-vg.js';
|
|
2
|
+
export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from './plugin-CiR4H-vg.js';
|
|
3
3
|
export { dateFnsModule } from './components/date-fns.js';
|
|
4
4
|
export { dayjsModule } from './components/dayjs.js';
|
|
5
5
|
export { luxonModule } from './components/luxon.js';
|
|
@@ -1480,7 +1480,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1480
1480
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1481
1481
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
1482
1482
|
};
|
|
1483
|
-
interface Plugin<
|
|
1483
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
1484
1484
|
/**
|
|
1485
1485
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1486
1486
|
*/
|
|
@@ -1511,7 +1511,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1511
1511
|
* @param other - The other plugin to compare against.
|
|
1512
1512
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
1513
1513
|
*/
|
|
1514
|
-
dedupe?: false | ((other: Plugin<
|
|
1514
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
1515
1515
|
/**
|
|
1516
1516
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
1517
1517
|
*/
|
|
@@ -1522,7 +1522,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1522
1522
|
* @param environment - The environment to check.
|
|
1523
1523
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1524
1524
|
*/
|
|
1525
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<
|
|
1525
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
1528
|
declare const ReflectionKind: {
|
|
@@ -1480,7 +1480,7 @@ type PluginHooks<TContext extends PluginContext = PluginContext> = {
|
|
|
1480
1480
|
type PluginBuildPlugins<TContext extends PluginContext = PluginContext> = {
|
|
1481
1481
|
[TBuildVariant in UnpluginBuildVariant]?: BuildPlugin<TContext, TBuildVariant>;
|
|
1482
1482
|
};
|
|
1483
|
-
interface Plugin<
|
|
1483
|
+
interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<ResolvedConfig>> extends Partial<PluginHooks<TContext>>, PluginBuildPlugins<TContext> {
|
|
1484
1484
|
/**
|
|
1485
1485
|
* The name of the plugin, for use in deduplication, error messages and logs.
|
|
1486
1486
|
*/
|
|
@@ -1511,7 +1511,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1511
1511
|
* @param other - The other plugin to compare against.
|
|
1512
1512
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
1513
1513
|
*/
|
|
1514
|
-
dedupe?: false | ((other: Plugin<
|
|
1514
|
+
dedupe?: false | ((other: Plugin<TContext>) => boolean);
|
|
1515
1515
|
/**
|
|
1516
1516
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
1517
1517
|
*/
|
|
@@ -1522,7 +1522,7 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
|
|
|
1522
1522
|
* @param environment - The environment to check.
|
|
1523
1523
|
* @returns `true` if the plugin should be active in the specified environment, `false` otherwise.
|
|
1524
1524
|
*/
|
|
1525
|
-
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<
|
|
1525
|
+
applyToEnvironment?: (environment: EnvironmentResolvedConfig) => MaybePromise<boolean | Plugin<TContext>>;
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
1528
|
declare const ReflectionKind: {
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-
|
|
1
|
+
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-CiR4H-vg.cjs';
|
|
2
2
|
export { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from './runtime.cjs';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@deepkit/type';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-
|
|
1
|
+
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-CiR4H-vg.js';
|
|
2
2
|
export { DateFormats, StormDateInterface, TimeUnit, __ΩDateFormats, __ΩStormDateInterface, __ΩTimeUnit } from './runtime.js';
|
|
3
3
|
import '@alloy-js/core/jsx-runtime';
|
|
4
4
|
import '@deepkit/type';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-
|
|
1
|
+
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-CiR4H-vg.cjs';
|
|
2
2
|
import '@alloy-js/core/jsx-runtime';
|
|
3
3
|
import '@deepkit/type';
|
|
4
4
|
import '@stryke/capnp';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-
|
|
1
|
+
export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig, _ as __ΩDateLibraryType, h as __ΩDatePluginContext, e as __ΩDatePluginOptions, g as __ΩDatePluginResolvedConfig, f as __ΩDatePluginUserConfig } from '../plugin-CiR4H-vg.js';
|
|
2
2
|
import '@alloy-js/core/jsx-runtime';
|
|
3
3
|
import '@deepkit/type';
|
|
4
4
|
import '@stryke/capnp';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-date",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.49",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for injecting static .env configuration values to the code so that they're accessible at runtime.",
|
|
6
6
|
"repository": {
|
|
@@ -116,16 +116,16 @@
|
|
|
116
116
|
"files": ["dist/**/*"],
|
|
117
117
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
118
118
|
"dependencies": {
|
|
119
|
-
"@powerlines/plugin-env": "^0.13.
|
|
120
|
-
"@storm-software/config-tools": "^1.188.
|
|
119
|
+
"@powerlines/plugin-env": "^0.13.46",
|
|
120
|
+
"@storm-software/config-tools": "^1.188.49",
|
|
121
121
|
"@stryke/path": "^0.21.2",
|
|
122
|
-
"powerlines": "^0.25.
|
|
122
|
+
"powerlines": "^0.25.2"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@powerlines/nx": "^0.10.
|
|
126
|
-
"@storm-software/tsup": "^0.2.
|
|
125
|
+
"@powerlines/nx": "^0.10.40",
|
|
126
|
+
"@storm-software/tsup": "^0.2.47",
|
|
127
127
|
"@types/node": "^24.10.1"
|
|
128
128
|
},
|
|
129
129
|
"publishConfig": { "access": "public" },
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "e5c7481779e32bd9810613c299e775bc033c9eac"
|
|
131
131
|
}
|