Skip to content

Commit

Permalink
Merge branch 'main' into feat/use-trim-start-end
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke authored Jul 9, 2024
2 parents 6b1b417 + a77c00b commit ad3a0e4
Show file tree
Hide file tree
Showing 945 changed files with 26,750 additions and 7,917 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ pnpm-lock.yaml linguist-generated=true text=auto eol=lf
/crates/biome_js_analyze/tests/specs/**/*.snap linguist-language=Markdown
/crates/biome_css_formatter/tests/**/*.css.prettier-snap linguist-language=CSS
/crates/biome_css_formatter/tests/**/*.css.snap linguist-language=Markdown
/crates/biome_graphql_formatter/tests/**/*.css.prettier-snap linguist-language=GraphQL
/crates/biome_graphql_formatter/tests/**/*.css.snap linguist-language=Markdown
/crates/biome_js_formatter/tests/**/*.ts.prettier-snap linguist-language=TypeScript
/crates/biome_js_formatter/tests/**/*.js.prettier-snap linguist-language=JavaScript
/crates/biome_js_formatter/tests/**/*.ts.snap linguist-language=Markdown
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_title_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@cfb60706e18bc85e8aec535e3c577abe8f70378e # v5.5.2
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
- os: ubuntu-20.04
target: aarch64-unknown-linux-musl
code-target: linux-arm64-musl
- os: macos-11
- os: macos-14
target: x86_64-apple-darwin
code-target: darwin-x64
- os: macos-11
- os: macos-14
target: aarch64-apple-darwin
code-target: darwin-arm64

Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
# Upload the CLI binary as a build artifact
- name: Upload CLI artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: cli-${{ matrix.target }}
path: ./dist/biome-*
Expand All @@ -169,7 +169,7 @@ jobs:
run: wasm-pack build --out-dir ../../packages/@biomejs/wasm-web --target web --release --scope biomejs crates/biome_wasm

- name: Upload WASM artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: wasm-${{ matrix.target }}
path: |
Expand All @@ -192,12 +192,12 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Download CLI artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: cli-*
merge-multiple: true
- name: Download WASM artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: wasm-*
merge-multiple: true
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
run: |
bash scripts/print-changelog.sh ${{ needs.build.outputs.version }} >| ${{ github.workspace }}/RELEASE_NOTES
- name: Create GitHub release and tag
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 # v2.0.5
uses: softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0 # v2.0.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_js_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
pnpm --filter @biomejs/js-api run build
- name: Upload JS API artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: js-api
path: |
Expand All @@ -121,7 +121,7 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Download package artifact
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: js-api
path: packages/@biomejs/js-api/dist
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
run: |
bash scripts/print-changelog.sh ${{ needs.build.outputs.version }} >| ${{ github.workspace }}/RELEASE_NOTES
- name: Create GitHub release and tag
uses: softprops/action-gh-release@69320dbe05506a9a39fc8ae11030b214ec2d1f87 # v2.0.5
uses: softprops/action-gh-release@a74c6b72af54cfa997e81df42d94703d6313a2d0 # v2.0.6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release_knope.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ jobs:
- os: ubuntu-20.04
target: aarch64-unknown-linux-musl
code-target: linux-arm64-musl
- os: macos-11
- os: macos-14
target: x86_64-apple-darwin
code-target: darwin-x64
- os: macos-11
- os: macos-14
target: aarch64-apple-darwin
code-target: darwin-arm64
name: Package ${{ matrix.code-target }}
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: cli-${{ matrix.target }}
path: ./dist/biome-*
Expand All @@ -153,7 +153,7 @@ jobs:
run: wasm-pack build --out-dir ../../packages/@biomejs/wasm-web --target web --release --scope biomejs crates/biome_wasm

- name: Upload WASM artifact
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: wasm-${{ matrix.target }}
path: |
Expand All @@ -176,12 +176,12 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Download CLI artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: cli-*
merge-multiple: true
- name: Download WASM artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: wasm-*
merge-multiple: true
Expand All @@ -207,12 +207,12 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- name: Download CLI artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: cli-*
merge-multiple: true
- name: Download WASM artifacts
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: wasm-*
merge-multiple: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/repository_dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Build WASM module for the web
run: wasm-pack build --out-dir ../../packages/@biomejs/wasm-web --target web --profiling --scope biomejs crates/biome_wasm --features graphql
run: wasm-pack build --out-dir ../../packages/@biomejs/wasm-web --target web --profiling --scope biomejs crates/biome_wasm

# https://github.com/actions/cache/issues/342
- name: Clear old wasm-pack cache
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Profile-*.json
dhat-heap.json

/crates/biome_css_formatter/report.*
/crates/biome_graphql_formatter/report.*
/crates/biome_js_formatter/report.*
/crates/biome_json_formatter/report.*
/crates/biome_json_formatter/report_incompatible.*
Expand All @@ -27,3 +28,4 @@ dhat-heap.json
!/crates/biome_js_formatter/tests/specs/prettier/**/*
!/crates/biome_json_formatter/tests/specs/prettier/**/*
!/crates/biome_css_formatter/tests/specs/prettier/**/*
!/crates/biome_graphql_formatter/tests/specs/prettier/**/*
Loading

0 comments on commit ad3a0e4

Please sign in to comment.