From f061442c80533e69fcfd938922ae5a2d0502130e Mon Sep 17 00:00:00 2001 From: Wes Date: Wed, 4 Sep 2024 13:22:13 -0700 Subject: [PATCH] chore(biome): use hermit biome instead of pnpm --- bin/.biome-1.8.3.pkg | 1 + bin/biome | 1 + biome.json | 2 +- frontend/console/package.json | 1 - frontend/vscode/package.json | 14 +++-- pnpm-lock.yaml | 100 +--------------------------------- 6 files changed, 16 insertions(+), 103 deletions(-) create mode 120000 bin/.biome-1.8.3.pkg create mode 120000 bin/biome diff --git a/bin/.biome-1.8.3.pkg b/bin/.biome-1.8.3.pkg new file mode 120000 index 0000000000..383f4511d4 --- /dev/null +++ b/bin/.biome-1.8.3.pkg @@ -0,0 +1 @@ +hermit \ No newline at end of file diff --git a/bin/biome b/bin/biome new file mode 120000 index 0000000000..b9d34817a8 --- /dev/null +++ b/bin/biome @@ -0,0 +1 @@ +.biome-1.8.3.pkg \ No newline at end of file diff --git a/biome.json b/biome.json index c428d28f7d..e0073c5aea 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", + "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", "organizeImports": { "enabled": true, "ignore": ["node_modules", "dist", "protos"] diff --git a/frontend/console/package.json b/frontend/console/package.json index b2c6f829da..cc9a2f75db 100644 --- a/frontend/console/package.json +++ b/frontend/console/package.json @@ -64,7 +64,6 @@ "type-fest": "^4.18.2" }, "devDependencies": { - "@biomejs/biome": "1.8.3", "@chromatic-com/storybook": "^1.6.1", "@playwright/test": "^1.46.1", "@storybook/addon-essentials": "^8.2.7", diff --git a/frontend/vscode/package.json b/frontend/vscode/package.json index 97616700fd..a352dc5204 100644 --- a/frontend/vscode/package.json +++ b/frontend/vscode/package.json @@ -14,7 +14,9 @@ "pnpm": ">=9.9.0", "node": ">=22.7.0" }, - "categories": ["Other"], + "categories": [ + "Other" + ], "activationEvents": [ "workspaceContains:**/ftl-project.toml", "workspaceContains:**/ftl.toml" @@ -29,7 +31,9 @@ }, "ftl.devCommandFlags": { "type": "array", - "default": ["--recreate"], + "default": [ + "--recreate" + ], "items": { "type": "string" }, @@ -37,7 +41,10 @@ }, "ftl.automaticallyStartServer": { "type": "string", - "enum": ["always", "never"], + "enum": [ + "always", + "never" + ], "default": null, "description": "Control if and when to automatically start the FTL dev server." } @@ -80,7 +87,6 @@ "test": "vscode-test" }, "devDependencies": { - "@biomejs/biome": "1.8.3", "@types/mocha": "^10.0.6", "@types/node": "20.x", "@types/semver": "^7.5.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb106f66a4..76c0fb5b87 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -102,9 +102,6 @@ importers: specifier: ^4.18.2 version: 4.25.0 devDependencies: - '@biomejs/biome': - specifier: 1.8.3 - version: 1.8.3 '@chromatic-com/storybook': specifier: ^1.6.1 version: 1.7.0(react@18.3.1) @@ -214,9 +211,6 @@ importers: specifier: ^10.0.0-next.8 version: 10.0.0-next.13 devDependencies: - '@biomejs/biome': - specifier: 1.8.3 - version: 1.8.3 '@types/mocha': specifier: ^10.0.6 version: 10.0.7 @@ -950,59 +944,6 @@ packages: '@bcoe/v8-coverage@0.2.3': resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} - '@biomejs/biome@1.8.3': - resolution: {integrity: sha512-/uUV3MV+vyAczO+vKrPdOW0Iaet7UnJMU4bNMinggGJTAnBPjCoLEYcyYtYHNnUNYlv4xZMH6hVIQCAozq8d5w==} - engines: {node: '>=14.21.3'} - hasBin: true - - '@biomejs/cli-darwin-arm64@1.8.3': - resolution: {integrity: sha512-9DYOjclFpKrH/m1Oz75SSExR8VKvNSSsLnVIqdnKexj6NwmiMlKk94Wa1kZEdv6MCOHGHgyyoV57Cw8WzL5n3A==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [darwin] - - '@biomejs/cli-darwin-x64@1.8.3': - resolution: {integrity: sha512-UeW44L/AtbmOF7KXLCoM+9PSgPo0IDcyEUfIoOXYeANaNXXf9mLUwV1GeF2OWjyic5zj6CnAJ9uzk2LT3v/wAw==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [darwin] - - '@biomejs/cli-linux-arm64-musl@1.8.3': - resolution: {integrity: sha512-9yjUfOFN7wrYsXt/T/gEWfvVxKlnh3yBpnScw98IF+oOeCYb5/b/+K7YNqKROV2i1DlMjg9g/EcN9wvj+NkMuQ==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [linux] - - '@biomejs/cli-linux-arm64@1.8.3': - resolution: {integrity: sha512-fed2ji8s+I/m8upWpTJGanqiJ0rnlHOK3DdxsyVLZQ8ClY6qLuPc9uehCREBifRJLl/iJyQpHIRufLDeotsPtw==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [linux] - - '@biomejs/cli-linux-x64-musl@1.8.3': - resolution: {integrity: sha512-UHrGJX7PrKMKzPGoEsooKC9jXJMa28TUSMjcIlbDnIO4EAavCoVmNQaIuUSH0Ls2mpGMwUIf+aZJv657zfWWjA==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [linux] - - '@biomejs/cli-linux-x64@1.8.3': - resolution: {integrity: sha512-I8G2QmuE1teISyT8ie1HXsjFRz9L1m5n83U1O6m30Kw+kPMPSKjag6QGUn+sXT8V+XWIZxFFBoTDEDZW2KPDDw==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [linux] - - '@biomejs/cli-win32-arm64@1.8.3': - resolution: {integrity: sha512-J+Hu9WvrBevfy06eU1Na0lpc7uR9tibm9maHynLIoAjLZpQU3IW+OKHUtyL8p6/3pT2Ju5t5emReeIS2SAxhkQ==} - engines: {node: '>=14.21.3'} - cpu: [arm64] - os: [win32] - - '@biomejs/cli-win32-x64@1.8.3': - resolution: {integrity: sha512-/PJ59vA1pnQeKahemaQf4Nyj7IKUvGQSc3Ze1uIGi+Wvr1xF7rGobSrAAG01T/gUDG21vkDsZYM03NAmPiVkqg==} - engines: {node: '>=14.21.3'} - cpu: [x64] - os: [win32] - '@bufbuild/protobuf@1.10.0': resolution: {integrity: sha512-QDdVFLoN93Zjg36NoQPZfsVH9tZew7wKDKyV5qRdj8ntT4wQCOradQjRaTdwMhWUYsgKsvCINKKm87FdEk96Ag==} @@ -7494,41 +7435,6 @@ snapshots: '@bcoe/v8-coverage@0.2.3': {} - '@biomejs/biome@1.8.3': - optionalDependencies: - '@biomejs/cli-darwin-arm64': 1.8.3 - '@biomejs/cli-darwin-x64': 1.8.3 - '@biomejs/cli-linux-arm64': 1.8.3 - '@biomejs/cli-linux-arm64-musl': 1.8.3 - '@biomejs/cli-linux-x64': 1.8.3 - '@biomejs/cli-linux-x64-musl': 1.8.3 - '@biomejs/cli-win32-arm64': 1.8.3 - '@biomejs/cli-win32-x64': 1.8.3 - - '@biomejs/cli-darwin-arm64@1.8.3': - optional: true - - '@biomejs/cli-darwin-x64@1.8.3': - optional: true - - '@biomejs/cli-linux-arm64-musl@1.8.3': - optional: true - - '@biomejs/cli-linux-arm64@1.8.3': - optional: true - - '@biomejs/cli-linux-x64-musl@1.8.3': - optional: true - - '@biomejs/cli-linux-x64@1.8.3': - optional: true - - '@biomejs/cli-win32-arm64@1.8.3': - optional: true - - '@biomejs/cli-win32-x64@1.8.3': - optional: true - '@bufbuild/protobuf@1.10.0': {} '@bufbuild/protoc-gen-es@1.10.0(@bufbuild/protobuf@1.10.0)': @@ -9799,7 +9705,7 @@ snapshots: agent-base@7.1.1: dependencies: - debug: 4.3.6 + debug: 4.3.6(supports-color@8.1.1) transitivePeerDependencies: - supports-color @@ -11118,14 +11024,14 @@ snapshots: http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.6(supports-color@8.1.1) transitivePeerDependencies: - supports-color https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.1 - debug: 4.3.6 + debug: 4.3.6(supports-color@8.1.1) transitivePeerDependencies: - supports-color