@powerlines/plugin-date 0.12.11 → 0.12.13

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-BorhYIKk.cjs';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.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-BorhYIKk.js';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.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-BorhYIKk.cjs';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.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-BorhYIKk.js';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.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-BorhYIKk.cjs';
5
+ import '../plugin-nkKWDJYW.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-BorhYIKk.js';
5
+ import '../plugin-nkKWDJYW.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-BorhYIKk.cjs';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.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-BorhYIKk.js';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.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-BorhYIKk.cjs';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.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-BorhYIKk.js';
1
+ import { d as DatePluginContext } from '../plugin-nkKWDJYW.js';
2
2
  import '@alloy-js/core/jsx-runtime';
3
3
  import '@deepkit/type';
4
4
  import '@stryke/capnp';
@@ -15,7 +15,7 @@ import { PackageJson } from '@stryke/types/package-json';
15
15
  import { Jiti } from 'jiti';
16
16
  import { ParserOptions, ParseResult } from 'oxc-parser';
17
17
  import { Range } from 'semver';
18
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
18
+ import { UnpluginContext, UnpluginBuildContext, UnpluginMessage, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
19
19
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
20
20
  import ts from 'typescript';
21
21
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -982,6 +982,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
982
982
  * A logging function for the Powerlines engine
983
983
  */
984
984
  log: LogFn;
985
+ /**
986
+ * A logging function for fatal messages
987
+ */
988
+ fatal: (message: string | UnpluginMessage) => void;
989
+ /**
990
+ * A logging function for error messages
991
+ */
992
+ error: (message: string | UnpluginMessage) => void;
993
+ /**
994
+ * A logging function for warning messages
995
+ */
996
+ warn: (message: string | UnpluginMessage) => void;
997
+ /**
998
+ * A logging function for informational messages
999
+ */
1000
+ info: (message: string | UnpluginMessage) => void;
1001
+ /**
1002
+ * A logging function for debug messages
1003
+ */
1004
+ debug: (message: string | UnpluginMessage) => void;
1005
+ /**
1006
+ * A logging function for trace messages
1007
+ */
1008
+ trace: (message: string | UnpluginMessage) => void;
985
1009
  /**
986
1010
  * The metadata information
987
1011
  */
@@ -15,7 +15,7 @@ import { PackageJson } from '@stryke/types/package-json';
15
15
  import { Jiti } from 'jiti';
16
16
  import { ParserOptions, ParseResult } from 'oxc-parser';
17
17
  import { Range } from 'semver';
18
- import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
18
+ import { UnpluginContext, UnpluginBuildContext, UnpluginMessage, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
19
19
  import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
20
20
  import ts from 'typescript';
21
21
  import { PrimitiveJsonValue } from '@stryke/json/types';
@@ -982,6 +982,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
982
982
  * A logging function for the Powerlines engine
983
983
  */
984
984
  log: LogFn;
985
+ /**
986
+ * A logging function for fatal messages
987
+ */
988
+ fatal: (message: string | UnpluginMessage) => void;
989
+ /**
990
+ * A logging function for error messages
991
+ */
992
+ error: (message: string | UnpluginMessage) => void;
993
+ /**
994
+ * A logging function for warning messages
995
+ */
996
+ warn: (message: string | UnpluginMessage) => void;
997
+ /**
998
+ * A logging function for informational messages
999
+ */
1000
+ info: (message: string | UnpluginMessage) => void;
1001
+ /**
1002
+ * A logging function for debug messages
1003
+ */
1004
+ debug: (message: string | UnpluginMessage) => void;
1005
+ /**
1006
+ * A logging function for trace messages
1007
+ */
1008
+ trace: (message: string | UnpluginMessage) => void;
985
1009
  /**
986
1010
  * The metadata information
987
1011
  */
@@ -1,5 +1,5 @@
1
- import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from '../plugin-BorhYIKk.cjs';
2
- export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-BorhYIKk.cjs';
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';
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';
@@ -1,5 +1,5 @@
1
- import { a as DatePluginOptions, P as Plugin, d as DatePluginContext } from '../plugin-BorhYIKk.js';
2
- export { D as DateLibraryType, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-BorhYIKk.js';
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';
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';
@@ -1,4 +1,4 @@
1
- export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-BorhYIKk.cjs';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.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-BorhYIKk.js';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.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-BorhYIKk.cjs';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.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-BorhYIKk.js';
1
+ export { D as DateLibraryType, d as DatePluginContext, a as DatePluginOptions, c as DatePluginResolvedConfig, b as DatePluginUserConfig } from '../plugin-nkKWDJYW.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.11",
3
+ "version": "0.12.13",
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.8",
119
+ "@powerlines/plugin-env": "^0.13.10",
120
120
  "@storm-software/config-tools": "^1.188.19",
121
121
  "@stryke/path": "^0.18.5",
122
- "powerlines": "^0.17.0"
122
+ "powerlines": "^0.19.0"
123
123
  },
124
124
  "devDependencies": {
125
- "@powerlines/nx": "^0.10.2",
125
+ "@powerlines/nx": "^0.10.4",
126
126
  "@storm-software/tsup": "^0.2.17",
127
127
  "@types/node": "^22.19.0"
128
128
  },
129
129
  "publishConfig": { "access": "public" },
130
- "gitHead": "27064ac269a2d34c5b9371105cdd58bf6ebe85b4"
130
+ "gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
131
131
  }