@powerlines/plugin-biome 0.2.112 → 0.2.114
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
|
*
|
|
@@ -11,6 +11,7 @@ import { Format } from "@storm-software/build-tools/types";
|
|
|
11
11
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
12
12
|
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
13
13
|
import { AssetGlob } from "@stryke/types/file";
|
|
14
|
+
import { DateString } from "compatx";
|
|
14
15
|
|
|
15
16
|
//#region ../powerlines/src/types/config.d.ts
|
|
16
17
|
type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
|
|
@@ -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-biome",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.114",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin for running Biome linting on the codebase.",
|
|
6
6
|
"repository": {
|
|
@@ -108,14 +108,14 @@
|
|
|
108
108
|
"@stryke/fs": "^0.33.26",
|
|
109
109
|
"@stryke/path": "^0.24.0",
|
|
110
110
|
"defu": "^6.1.4",
|
|
111
|
-
"powerlines": "^0.36.
|
|
111
|
+
"powerlines": "^0.36.14"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@biomejs/biome": "^2.3.10",
|
|
115
|
-
"@powerlines/nx": "^0.11.
|
|
115
|
+
"@powerlines/nx": "^0.11.40",
|
|
116
116
|
"@storm-software/tsup": "^0.2.72",
|
|
117
117
|
"@types/node": "^24.10.4"
|
|
118
118
|
},
|
|
119
119
|
"publishConfig": { "access": "public" },
|
|
120
|
-
"gitHead": "
|
|
120
|
+
"gitHead": "99846da24ae1bde0b84ba02078f4f9c5b9d4bf9c"
|
|
121
121
|
}
|