Skip to content

Commit dd9dd8a

Browse files
authored
ci: lock lib to avoid failure (#4323)
1 parent fe24d55 commit dd9dd8a

16 files changed

Lines changed: 488 additions & 547 deletions

File tree

Cargo.lock

Lines changed: 173 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 67 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,77 @@
11
[package]
2-
name = "codegen"
3-
version = "0.1.0"
4-
edition = "2024"
5-
description = "Crate used to generate pages from the Rust source code of Biome"
6-
publish = false
2+
name = "codegen"
3+
version = "0.1.0"
4+
edition = "2024"
5+
description = "Crate used to generate pages from the Rust source code of Biome"
6+
publish = false
77

88
[lib]
9-
name = "codegen"
10-
path = "codegen/src/lib.rs"
9+
name = "codegen"
10+
path = "codegen/src/lib.rs"
1111

1212
[[bin]]
13-
name = "codegen"
14-
path = "codegen/src/main.rs"
13+
name = "codegen"
14+
path = "codegen/src/main.rs"
1515

1616
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1717
[dependencies]
18-
anyhow = "1.0.102"
19-
biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7", features = [
20-
"schema"] }
18+
anyhow = "1.0.102"
19+
biome_analyze = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7", features = [
20+
"schema"
21+
] }
2122

22-
biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.0" }
23-
biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.1", features = [
24-
"cli",
25-
"schema"] }
23+
biome_cli = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.0" }
24+
biome_configuration = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.1", features = [
25+
"cli",
26+
"schema"
27+
] }
2628

27-
biome_console = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
28-
biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
29-
biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
30-
biome_css_semantic = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.0" }
31-
biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
32-
biome_deserialize = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.6.0" }
33-
biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
34-
biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.0" }
35-
biome_formatter = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
36-
biome_fs = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
37-
biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.1" }
38-
biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.1.0" }
39-
biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.1.0" }
40-
biome_html_analyze = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
41-
biome_html_parser = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.1" }
42-
biome_html_syntax = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
43-
biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
44-
biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
45-
biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
46-
biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
47-
biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
48-
biome_json_factory = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
49-
biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
50-
biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
51-
biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
52-
biome_module_graph = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.1" }
53-
biome_project_layout = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.1" }
54-
biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
55-
biome_ruledoc_utils = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.1" }
56-
biome_service = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.0", features = [
57-
"schema"
58-
] }
59-
biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
60-
biome_test_utils = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.0.0" }
61-
biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "c0b98327a3b14e44d8fbd9a11481bf56c505b8ed", version = "0.5.7" }
62-
bpaf = { version = "0.9.26", features = ["docgen"] }
63-
# If you update this library, be aware of the breaking changes
64-
camino = "1.2.2"
65-
jiff-static = "0.2.28"
66-
# Needed to fix some weird dependency
67-
lock_api = "0.4.14"
68-
pulldown-cmark = "0.13.4"
69-
schemars = "1.2.1"
70-
serde = "1.0.228"
71-
serde_json = "1.0.150"
72-
ureq = "3.3.0"
29+
biome_console = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
30+
biome_css_analyze = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
31+
biome_css_parser = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
32+
biome_css_semantic = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.0" }
33+
biome_css_syntax = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
34+
biome_deserialize = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.6.0" }
35+
biome_diagnostics = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
36+
biome_flags = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.0" }
37+
biome_formatter = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
38+
biome_fs = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
39+
biome_graphql_analyze = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.1" }
40+
biome_graphql_parser = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.1.0" }
41+
biome_graphql_syntax = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.1.0" }
42+
biome_html_analyze = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
43+
biome_html_parser = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.1" }
44+
biome_html_syntax = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
45+
biome_js_analyze = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
46+
biome_js_formatter = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
47+
biome_js_parser = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
48+
biome_js_syntax = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
49+
biome_json_analyze = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
50+
biome_json_factory = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
51+
biome_json_formatter = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
52+
biome_json_parser = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
53+
biome_json_syntax = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
54+
biome_module_graph = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.1" }
55+
biome_project_layout = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.1" }
56+
biome_rowan = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
57+
biome_ruledoc_utils = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.1" }
58+
biome_service = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.0", features = [
59+
"schema"
60+
] }
61+
biome_string_case = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
62+
biome_test_utils = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.0.0" }
63+
biome_text_edit = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.5.7" }
64+
biome_languages = { git = "https://github.com/biomejs/biome.git", rev = "a0f197eb1a6974539927f105ff1dde1f51d07d74", version = "0.1.0", features = ["all"] }
65+
66+
bpaf = { version = "0.9.26", features = ["docgen"] }
67+
# If you update this library, be aware of the breaking changes
68+
camino = "1.2.2"
69+
jiff-static = "0.2.28"
70+
# Needed to fix some weird dependency
71+
lock_api = "0.4.14"
72+
pulldown-cmark = "0.13.4"
73+
schemars = "1.2.1"
74+
serde = "1.0.228"
75+
serde_json = "1.0.150"
76+
smallvec = "=1.15.2" # locking to the same version of biome
77+
ureq = "3.3.0"

biome-revision

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c0b98327a3b14e44d8fbd9a11481bf56c505b8ed
1+
a0f197eb1a6974539927f105ff1dde1f51d07d74

codegen/src/lintdoc.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,18 @@ use biome_graphql_syntax::GraphqlLanguage;
2929
use biome_html_parser::HtmlParserOptions;
3030
use biome_html_syntax::HtmlLanguage;
3131
use biome_js_parser::JsParserOptions;
32-
use biome_js_syntax::{EmbeddingKind, JsFileSource, JsLanguage};
32+
use biome_js_syntax::JsLanguage;
3333
use biome_json_analyze::JsonAnalyzeServices;
3434
use biome_json_factory::make;
3535
use biome_json_formatter::context::JsonFormatOptions;
3636
use biome_json_formatter::format_node;
3737
use biome_json_parser::JsonParserOptions;
3838
use biome_json_syntax::{AnyJsonMemberName, AnyJsonValue, JsonLanguage, JsonObjectValue};
39+
use biome_languages::javascript::JsEmbeddingKind;
40+
use biome_languages::{DocumentFileSource, JsFileSource};
3941
use biome_rowan::{AstNode, TextSize};
4042
use biome_ruledoc_utils::{AnalyzerServicesBuilder, CodeBlock, OptionsParsingMode};
4143
use biome_service::settings::ServiceLanguage;
42-
use biome_service::workspace::DocumentFileSource;
4344
use biome_string_case::Case;
4445
use biome_text_edit::TextEdit;
4546
use pulldown_cmark::{CodeBlockKind, Event, HeadingLevel, LinkType, Parser, Tag, TagEnd};
@@ -1606,15 +1607,15 @@ fn print_diagnostics_or_actions(
16061607
DocumentFileSource::Js(file_source) => {
16071608
// Temporary support for astro, svelte and vue code blocks
16081609
let (code, file_source) = match file_source.as_embedding_kind() {
1609-
EmbeddingKind::Astro { .. } => (
1610+
JsEmbeddingKind::Astro { .. } => (
16101611
biome_service::file_handlers::AstroFileHandler::input(code),
16111612
JsFileSource::ts(),
16121613
),
1613-
EmbeddingKind::Svelte { .. } => (
1614+
JsEmbeddingKind::Svelte { .. } => (
16141615
biome_service::file_handlers::SvelteFileHandler::input(code),
16151616
biome_service::file_handlers::SvelteFileHandler::file_source(code),
16161617
),
1617-
EmbeddingKind::Vue { .. } => (
1618+
JsEmbeddingKind::Vue { .. } => (
16181619
biome_service::file_handlers::VueFileHandler::input(code),
16191620
biome_service::file_handlers::VueFileHandler::file_source(code),
16201621
),

codegen/src/website.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use biome_configuration::Configuration;
44
use biome_configuration::VERSION;
55
use biome_js_formatter::context::JsFormatOptions;
66
use biome_js_parser::{JsParserOptions, parse_module};
7-
use biome_js_syntax::JsFileSource;
87
use biome_json_formatter::context::JsonFormatOptions;
98
use biome_json_parser::{JsonParserOptions, parse_json};
9+
use biome_languages::JsFileSource;
1010
use biome_rowan::AstNode;
1111
use std::convert::TryInto;
1212
use std::fs;

netlify.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
[build]
2-
command = "rm -rf node_modules && pnpm i --frozen-lockfile && pnpm build:netlify"
3-
publish = "dist/"
2+
command = "rm -rf node_modules && pnpm i --frozen-lockfile && pnpm build:netlify"
3+
publish = "dist/"
44

55
[[headers]]
6-
for = "/assets/*"
6+
for = "/assets/*"
77

88
[headers.values]
9-
# Multi-value headers are expressed with multi-line strings
10-
cache-control = '''
9+
# Multi-value headers are expressed with multi-line strings
10+
cache-control = '''
1111
public,
1212
max-age=31536000000,
1313
immutable
1414
'''
1515

1616
[[headers]]
17-
for = "/_astro/*"
17+
for = "/_astro/*"
1818

1919
[headers.values]
20-
# Multi-value headers are expressed with multi-line strings
21-
cache-control = '''
20+
# Multi-value headers are expressed with multi-line strings
21+
cache-control = '''
2222
public,
2323
max-age=31536000000,
2424
immutable
2525
'''
2626

2727
[context.deploy-preview.environment]
28-
SKIP_OG = "true"
28+
SKIP_OG = "true"
2929

3030
[[redirects]]
31-
from = "/chat"
32-
status = 301
33-
to = "https://discord.gg/BypW39g6Yc"
31+
from = "/chat"
32+
status = 301
33+
to = "https://discord.gg/BypW39g6Yc"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@astrojs/starlight": "0.39.3",
3636
"@biomejs/biome": "2.4.16",
3737
"@biomejs/version-utils": "0.4.0",
38-
"@biomejs/wasm-web": "https://pkg.pr.new/@biomejs/wasm-web@c0b9832",
38+
"@biomejs/wasm-web": "https://pkg.pr.new/@biomejs/wasm-web@a0f197e",
3939
"@codemirror/lang-css": "6.3.1",
4040
"@codemirror/lang-html": "6.4.11",
4141
"@codemirror/lang-javascript": "6.2.5",

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust-toolchain.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
3-
# https://rust-lang.github.io/rustup/concepts/profiles.html
4-
channel = "1.95.0"
5-
profile = "default"
2+
# The default profile includes rustc, rust-std, cargo, rust-docs, rustfmt and clippy.
3+
# https://rust-lang.github.io/rustup/concepts/profiles.html
4+
channel = "1.95.0"
5+
profile = "default"

0 commit comments

Comments
 (0)