Skip to content

Commit

Permalink
chore(biome): use hermit biome instead of pnpm (#2615)
Browse files Browse the repository at this point in the history
The reason for this is that for some inexplicable reason the NPM package
downloads binaries for all architectures, each of which are ~9MB:

```
Downloading @biomejs/[email protected]: 8.43 MB/8.43 MB, done
Downloading @biomejs/[email protected]: 8.62 MB/8.62 MB, done
Downloading @biomejs/[email protected]: 9.08 MB/9.08 MB, done
Downloading @biomejs/[email protected]: 9.09 MB/9.09 MB, done
Downloading @biomejs/[email protected]: 9.79 MB/9.79 MB, done
Downloading @biomejs/[email protected]: 9.09 MB/9.09 MB, done
Downloading @biomejs/[email protected]: 9.40 MB/9.40 MB, done
Downloading @biomejs/[email protected]: 9.68 MB/9.68 MB, done
```
  • Loading branch information
wesbillman authored Sep 4, 2024
1 parent a003966 commit c633e59
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 103 deletions.
1 change: 1 addition & 0 deletions bin/.biome-1.8.3.pkg
1 change: 1 addition & 0 deletions bin/biome
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
1 change: 0 additions & 1 deletion frontend/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
14 changes: 10 additions & 4 deletions frontend/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"pnpm": ">=9.9.0",
"node": ">=22.7.0"
},
"categories": ["Other"],
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/ftl-project.toml",
"workspaceContains:**/ftl.toml"
Expand All @@ -29,15 +31,20 @@
},
"ftl.devCommandFlags": {
"type": "array",
"default": ["--recreate"],
"default": [
"--recreate"
],
"items": {
"type": "string"
},
"description": "Flags to pass to the FTL executable when starting ftl dev"
},
"ftl.automaticallyStartServer": {
"type": "string",
"enum": ["always", "never"],
"enum": [
"always",
"never"
],
"default": null,
"description": "Control if and when to automatically start the FTL dev server."
}
Expand Down Expand Up @@ -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",
Expand Down
100 changes: 3 additions & 97 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c633e59

Please sign in to comment.