@powerlines/plugin-date 0.4.0 → 0.5.0
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/types/plugin.d.cts
CHANGED
|
@@ -3795,18 +3795,22 @@ interface DatePluginOptions {
|
|
|
3795
3795
|
* @defaultValue "date-fns"
|
|
3796
3796
|
*/
|
|
3797
3797
|
type?: DateLibraryType;
|
|
3798
|
+
/**
|
|
3799
|
+
* Options for the Env plugin.
|
|
3800
|
+
*/
|
|
3801
|
+
env?: EnvPluginOptions;
|
|
3798
3802
|
}
|
|
3799
3803
|
interface DatePluginUserConfig extends EnvPluginUserConfig {
|
|
3800
3804
|
/**
|
|
3801
3805
|
* Options for the date plugin.
|
|
3802
3806
|
*/
|
|
3803
|
-
date?: DatePluginOptions
|
|
3807
|
+
date?: Omit<DatePluginOptions, "env">;
|
|
3804
3808
|
}
|
|
3805
3809
|
interface DatePluginResolvedConfig extends EnvPluginResolvedConfig {
|
|
3806
3810
|
/**
|
|
3807
3811
|
* Options for the date plugin.
|
|
3808
3812
|
*/
|
|
3809
|
-
date: Required<DatePluginOptions
|
|
3813
|
+
date: Required<Omit<DatePluginOptions, "env">>;
|
|
3810
3814
|
}
|
|
3811
3815
|
type DatePluginContext<TResolvedConfig extends DatePluginResolvedConfig = DatePluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
3812
3816
|
declare type __ΩDateLibraryType = any[];
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -3795,18 +3795,22 @@ interface DatePluginOptions {
|
|
|
3795
3795
|
* @defaultValue "date-fns"
|
|
3796
3796
|
*/
|
|
3797
3797
|
type?: DateLibraryType;
|
|
3798
|
+
/**
|
|
3799
|
+
* Options for the Env plugin.
|
|
3800
|
+
*/
|
|
3801
|
+
env?: EnvPluginOptions;
|
|
3798
3802
|
}
|
|
3799
3803
|
interface DatePluginUserConfig extends EnvPluginUserConfig {
|
|
3800
3804
|
/**
|
|
3801
3805
|
* Options for the date plugin.
|
|
3802
3806
|
*/
|
|
3803
|
-
date?: DatePluginOptions
|
|
3807
|
+
date?: Omit<DatePluginOptions, "env">;
|
|
3804
3808
|
}
|
|
3805
3809
|
interface DatePluginResolvedConfig extends EnvPluginResolvedConfig {
|
|
3806
3810
|
/**
|
|
3807
3811
|
* Options for the date plugin.
|
|
3808
3812
|
*/
|
|
3809
|
-
date: Required<DatePluginOptions
|
|
3813
|
+
date: Required<Omit<DatePluginOptions, "env">>;
|
|
3810
3814
|
}
|
|
3811
3815
|
type DatePluginContext<TResolvedConfig extends DatePluginResolvedConfig = DatePluginResolvedConfig> = EnvPluginContext<TResolvedConfig>;
|
|
3812
3816
|
declare type __ΩDateLibraryType = any[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-date",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
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.
|
|
119
|
+
"@powerlines/plugin-env": "^0.4.0",
|
|
120
120
|
"@storm-software/config-tools": "^1.188.6",
|
|
121
121
|
"@stryke/path": "^0.15.5",
|
|
122
122
|
"powerlines": "^0.4.0"
|
|
123
123
|
},
|
|
124
124
|
"devDependencies": {
|
|
125
|
-
"@powerlines/nx": "^0.
|
|
125
|
+
"@powerlines/nx": "^0.5.0",
|
|
126
126
|
"@storm-software/tsup": "^0.2.4",
|
|
127
|
-
"@types/node": "^22.18.
|
|
127
|
+
"@types/node": "^22.18.12"
|
|
128
128
|
},
|
|
129
129
|
"publishConfig": { "access": "public" },
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "56dc46d2a2d16d8b13be33fadb90e0e0c328baee"
|
|
131
131
|
}
|