@powerlines/plugin-oxlint 0.7.110 → 0.7.112

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.
@@ -9,6 +9,7 @@ import { StormWorkspaceConfig } from "@storm-software/config/types";
9
9
  import { MaybePromise } from "@stryke/types/base";
10
10
  import { TypeDefinitionParameter } from "@stryke/types/configuration";
11
11
  import { AssetGlob } from "@stryke/types/file";
12
+ import { DateString } from "compatx";
12
13
  import { PreviewOptions } from "vite";
13
14
 
14
15
  //#region ../powerlines/src/types/config.d.ts
@@ -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 { StormWorkspaceConfig } from "@storm-software/config/types";
10
10
  import { MaybePromise } from "@stryke/types/base";
11
11
  import { TypeDefinitionParameter } from "@stryke/types/configuration";
12
12
  import { AssetGlob } from "@stryke/types/file";
13
+ import { DateString } from "compatx";
13
14
  import { PreviewOptions } from "vite";
14
15
 
15
16
  //#region ../powerlines/src/types/config.d.ts
@@ -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-oxlint",
3
- "version": "0.7.110",
3
+ "version": "0.7.112",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin for running Oxlint on the codebase.",
6
6
  "repository": {
@@ -108,13 +108,13 @@
108
108
  "defu": "^6.1.4",
109
109
  "oxlint": "^1.35.0",
110
110
  "oxlint-tsgolint": "^0.2.1",
111
- "powerlines": "^0.36.11"
111
+ "powerlines": "^0.36.13"
112
112
  },
113
113
  "devDependencies": {
114
- "@powerlines/nx": "^0.11.37",
114
+ "@powerlines/nx": "^0.11.39",
115
115
  "@storm-software/tsup": "^0.2.72",
116
116
  "@types/node": "^24.10.4"
117
117
  },
118
118
  "publishConfig": { "access": "public" },
119
- "gitHead": "298fe30390297c676ffd571284b2b62f10d8ecc9"
119
+ "gitHead": "483677f34524b653a72b313c463081c800043753"
120
120
  }