@powerlines/plugin-date 0.12.14 → 0.12.15

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.
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.cjs';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.js';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.cjs';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.js';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -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-nkKWDJYW.cjs';
5
+ import '../plugin-0zi8TvFF.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-nkKWDJYW.js';
5
+ import '../plugin-0zi8TvFF.js';
6
6
  import '@alloy-js/core/jsx-runtime';
7
7
  import '@deepkit/type';
8
8
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.cjs';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.js';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.cjs';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- import { d as DatePluginContext } from '../plugin-nkKWDJYW.js';
1
+ import { d as DatePluginContext } from '../plugin-0zi8TvFF.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  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-nkKWDJYW.cjs';
2
- export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from './plugin-nkKWDJYW.cjs';
1
+ import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from './plugin-0zi8TvFF.cjs';
2
+ export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from './plugin-0zi8TvFF.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-nkKWDJYW.js';
2
- export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from './plugin-nkKWDJYW.js';
1
+ import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from './plugin-0zi8TvFF.js';
2
+ export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from './plugin-0zi8TvFF.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';
@@ -1152,7 +1152,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
1152
1152
  declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
1153
1153
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
1154
1154
 
1155
- interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
1155
+ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
1156
1156
  /**
1157
1157
  * The order in which the plugin should be applied.
1158
1158
  */
@@ -1160,13 +1160,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
1160
1160
  /**
1161
1161
  * A filter to determine when the hook should be called.
1162
1162
  */
1163
- filter?: TFilter;
1163
+ filter?: Pick<HookFilter, TFilter>;
1164
1164
  /**
1165
1165
  * The hook function to be called.
1166
1166
  */
1167
1167
  handler: THookFunction;
1168
1168
  }
1169
- type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1169
+ type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1170
1170
  /**
1171
1171
  * A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
1172
1172
  */
@@ -1152,7 +1152,7 @@ type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig>
1152
1152
  declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
1153
1153
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
1154
1154
 
1155
- interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> {
1155
+ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> {
1156
1156
  /**
1157
1157
  * The order in which the plugin should be applied.
1158
1158
  */
@@ -1160,13 +1160,13 @@ interface PluginHookObject<THookFunction extends FunctionLike, TFilter extends k
1160
1160
  /**
1161
1161
  * A filter to determine when the hook should be called.
1162
1162
  */
1163
- filter?: TFilter;
1163
+ filter?: Pick<HookFilter, TFilter>;
1164
1164
  /**
1165
1165
  * The hook function to be called.
1166
1166
  */
1167
1167
  handler: THookFunction;
1168
1168
  }
1169
- type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter | undefined = undefined> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1169
+ type PluginHook<THookFunction extends FunctionLike, TFilter extends keyof HookFilter = never> = THookFunction | PluginHookObject<THookFunction, TFilter>;
1170
1170
  /**
1171
1171
  * A result returned by the plugin from the `generateTypes` hook that describes the declaration types output file.
1172
1172
  */
@@ -1,4 +1,4 @@
1
- export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.cjs';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-0zi8TvFF.cjs';
2
2
  export { DateFormats, StormDateInterface, TimeUnit } from './runtime.cjs';
3
3
  import '@alloy-js/core/jsx-runtime';
4
4
  import '@deepkit/type';
@@ -1,4 +1,4 @@
1
- export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.js';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-0zi8TvFF.js';
2
2
  export { DateFormats, StormDateInterface, TimeUnit } from './runtime.js';
3
3
  import '@alloy-js/core/jsx-runtime';
4
4
  import '@deepkit/type';
@@ -1,4 +1,4 @@
1
- export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.cjs';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-0zi8TvFF.cjs';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -1,4 +1,4 @@
1
- export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.js';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-0zi8TvFF.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.14",
3
+ "version": "0.12.15",
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.11",
119
+ "@powerlines/plugin-env": "^0.13.12",
120
120
  "@storm-software/config-tools": "^1.188.19",
121
121
  "@stryke/path": "^0.19.0",
122
- "powerlines": "^0.19.1"
122
+ "powerlines": "^0.19.2"
123
123
  },
124
124
  "devDependencies": {
125
- "@powerlines/nx": "^0.10.5",
125
+ "@powerlines/nx": "^0.10.6",
126
126
  "@storm-software/tsup": "^0.2.17",
127
127
  "@types/node": "^22.19.0"
128
128
  },
129
129
  "publishConfig": { "access": "public" },
130
- "gitHead": "d25499feacd0143784f3cd426488909134bffab2"
130
+ "gitHead": "487dbe9d301ea6c2bba10d3dec1706b64a079452"
131
131
  }