@powerlines/plugin-i18next 0.1.3 → 0.1.4

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.
@@ -10,6 +10,7 @@ import { LogLevelLabel } from "@storm-software/config-tools/types";
10
10
  import { StormWorkspaceConfig } from "@storm-software/config/types";
11
11
  import { TypeDefinitionParameter } from "@stryke/types/configuration";
12
12
  import { AssetGlob } from "@stryke/types/file";
13
+ import { DateString } from "compatx";
13
14
 
14
15
  //#region ../powerlines/src/types/config.d.ts
15
16
 
@@ -238,6 +239,17 @@ interface CommonUserConfig extends BaseConfig {
238
239
  * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
239
240
  */
240
241
  description?: string;
242
+ /**
243
+ * The date to use for compatibility checks
244
+ *
245
+ * @remarks
246
+ * This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs.
247
+ *
248
+ * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
249
+ * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
250
+ * @see https://github.com/unjs/compatx
251
+ */
252
+ compatibilityDate?: DateString;
241
253
  /**
242
254
  * The log level to use for the Powerlines processes.
243
255
  *
@@ -10,6 +10,7 @@ import { LogLevelLabel } from "@storm-software/config-tools/types";
10
10
  import { StormWorkspaceConfig } from "@storm-software/config/types";
11
11
  import { TypeDefinitionParameter } from "@stryke/types/configuration";
12
12
  import { AssetGlob } from "@stryke/types/file";
13
+ import { DateString } from "compatx";
13
14
 
14
15
  //#region ../powerlines/src/types/config.d.ts
15
16
 
@@ -238,6 +239,17 @@ interface CommonUserConfig extends BaseConfig {
238
239
  * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
239
240
  */
240
241
  description?: string;
242
+ /**
243
+ * The date to use for compatibility checks
244
+ *
245
+ * @remarks
246
+ * This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs.
247
+ *
248
+ * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
249
+ * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
250
+ * @see https://github.com/unjs/compatx
251
+ */
252
+ compatibilityDate?: DateString;
241
253
  /**
242
254
  * The log level to use for the Powerlines processes.
243
255
  *
@@ -32,7 +32,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
32
32
  /**
33
33
  * The resolved options for the Powerlines project configuration.
34
34
  */
35
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
35
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
36
36
  /**
37
37
  * The configuration options that were provided inline to the Powerlines CLI.
38
38
  */
@@ -32,7 +32,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
32
32
  /**
33
33
  * The resolved options for the Powerlines project configuration.
34
34
  */
35
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
35
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
36
36
  /**
37
37
  * The configuration options that were provided inline to the Powerlines CLI.
38
38
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-i18next",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to use i18next for internationalization.",
6
6
  "repository": {
@@ -121,15 +121,15 @@
121
121
  "@stryke/path": "^0.24.0",
122
122
  "@stryke/types": "^0.10.28",
123
123
  "defu": "^6.1.4",
124
- "powerlines": "^0.36.12"
124
+ "powerlines": "^0.36.13"
125
125
  },
126
126
  "devDependencies": {
127
- "@powerlines/nx": "^0.11.38",
128
- "@powerlines/plugin-plugin": "^0.12.59",
127
+ "@powerlines/nx": "^0.11.39",
128
+ "@powerlines/plugin-plugin": "^0.12.60",
129
129
  "@types/node": "^24.10.4",
130
130
  "i18next-cli": "^1.33.5",
131
131
  "i18next-resources-for-ts": "^2.0.0"
132
132
  },
133
133
  "publishConfig": { "access": "public" },
134
- "gitHead": "d3ac72b97e62a0bff2a45b99d6e5ca5d32f95f3c"
134
+ "gitHead": "483677f34524b653a72b313c463081c800043753"
135
135
  }