Skip to content

Commit

Permalink
chore(ci): Prepare multi-package repository (#8043)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Oct 2, 2023
1 parent 8ddb0da commit f2bc6a3
Show file tree
Hide file tree
Showing 6 changed files with 498 additions and 12,814 deletions.
13,269 changes: 475 additions & 12,794 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion bindings/Cargo.lock

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

2 changes: 1 addition & 1 deletion bindings/swc_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0"
name = "swc_cli"
repository = "https://github.com/swc-project/swc.git"
version = "0.91.79"
version = "0.91.80"

[[bin]]
bench = false
Expand Down
35 changes: 19 additions & 16 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ body = """
\n\n
{%- for commit in commits %}
{%- if commit.scope -%}
{% else -%}
{% else %}
\n
- **general**: {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/swc-project/swc/commit/{{ commit.id }}))
- {{ commit.message | upper_first }} ([{{ commit.id | truncate(length=7, end="") }}](https://github.com/swc-project/swc/commit/{{ commit.id }}))
{%- if commit.breaking %}
{% raw %} {% endraw %}- **BREAKING**: {{commit.breaking_description}}
{%- endif -%}
Expand All @@ -48,24 +48,27 @@ footer = """
[git]
# allow only conventional commits
# https://www.conventionalcommits.org
conventional_commits = true
conventional_commits = true
filter_unconventional = false

commit_preprocessors = [
{ pattern = "\\(#([0-9]+)\\)", replace = "([#${1}](https://github.com/swc-project/swc/issues/${1}))" },
]
# regex for parsing and grouping commits
commit_parsers = [
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactor" },
{ message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" },
{ message = "^chore: Publish", skip = true },
{ message = "^chore", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" },
{ message = "^feat", group = "Features" },
{ message = "^fix", group = "Bug Fixes" },
{ message = "^doc", group = "Documentation" },
{ message = "^perf", group = "Performance" },
{ message = "^refactor", group = "Refactor" },
{ message = "^style", group = "Styling" },
{ message = "^test", group = "Testing" },
{ message = "^chore: Publish", skip = true },
{ message = "^chore", group = "Miscellaneous Tasks" },
{ body = ".*security", group = "Security" },
]
# filter out the commits that are not matched by commit parsers
filter_commits = false
# glob pattern for matching git tags
tag_pattern = "v[0-9]*"
# regex for skipping tags
skip_tags = "v0.1.0-beta.1"
limit_commits = 1000
tag_pattern = "v[0-9]*"
2 changes: 1 addition & 1 deletion crates/dbg-swc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
license = "Apache-2.0"
name = "dbg-swc"
repository = "https://github.com/kdy1/dbg-swc.git"
version = "0.87.44"
version = "0.87.45"

[[bin]]
bench = false
Expand Down

1 comment on commit f2bc6a3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: f2bc6a3 Previous: 8ddb0da Ratio
es/full/bugs-1 274637 ns/iter (± 1617) 280479 ns/iter (± 5240) 0.98
es/full/minify/libraries/antd 1310204811 ns/iter (± 6320878) 1338920944 ns/iter (± 27501354) 0.98
es/full/minify/libraries/d3 272030107 ns/iter (± 5741001) 278175711 ns/iter (± 1449492) 0.98
es/full/minify/libraries/echarts 1043773255 ns/iter (± 7286383) 1058833509 ns/iter (± 13076279) 0.99
es/full/minify/libraries/jquery 83966852 ns/iter (± 260168) 85000800 ns/iter (± 279746) 0.99
es/full/minify/libraries/lodash 96910194 ns/iter (± 207389) 97836309 ns/iter (± 533117) 0.99
es/full/minify/libraries/moment 49754461 ns/iter (± 139787) 50041367 ns/iter (± 113835) 0.99
es/full/minify/libraries/react 18016064 ns/iter (± 98442) 18041876 ns/iter (± 52123) 1.00
es/full/minify/libraries/terser 217974920 ns/iter (± 731438) 218200788 ns/iter (± 1540597) 1.00
es/full/minify/libraries/three 383382956 ns/iter (± 2522810) 387798649 ns/iter (± 4417405) 0.99
es/full/minify/libraries/typescript 2629044833 ns/iter (± 12842649) 2666878888 ns/iter (± 27231996) 0.99
es/full/minify/libraries/victory 565679300 ns/iter (± 3417869) 580897092 ns/iter (± 8075281) 0.97
es/full/minify/libraries/vue 119040621 ns/iter (± 239500) 119868789 ns/iter (± 1004011) 0.99
es/full/codegen/es3 34707 ns/iter (± 121) 35267 ns/iter (± 69) 0.98
es/full/codegen/es5 34637 ns/iter (± 75) 35254 ns/iter (± 464) 0.98
es/full/codegen/es2015 34731 ns/iter (± 121) 35250 ns/iter (± 103) 0.99
es/full/codegen/es2016 34663 ns/iter (± 105) 35159 ns/iter (± 64) 0.99
es/full/codegen/es2017 34633 ns/iter (± 81) 35126 ns/iter (± 106) 0.99
es/full/codegen/es2018 34652 ns/iter (± 60) 35180 ns/iter (± 492) 0.98
es/full/codegen/es2019 34678 ns/iter (± 46) 35218 ns/iter (± 95) 0.98
es/full/codegen/es2020 34676 ns/iter (± 130) 35258 ns/iter (± 153) 0.98
es/full/all/es3 162664377 ns/iter (± 1472075) 165223798 ns/iter (± 841812) 0.98
es/full/all/es5 156559801 ns/iter (± 1043083) 157600210 ns/iter (± 1286935) 0.99
es/full/all/es2015 115779068 ns/iter (± 559341) 117507826 ns/iter (± 1219956) 0.99
es/full/all/es2016 115835586 ns/iter (± 609738) 116924920 ns/iter (± 811764) 0.99
es/full/all/es2017 115093082 ns/iter (± 812215) 116146502 ns/iter (± 489105) 0.99
es/full/all/es2018 112789391 ns/iter (± 701455) 114139936 ns/iter (± 516727) 0.99
es/full/all/es2019 111933609 ns/iter (± 1057559) 113138890 ns/iter (± 741472) 0.99
es/full/all/es2020 107664290 ns/iter (± 682859) 109228110 ns/iter (± 573499) 0.99
es/full/parser 489675 ns/iter (± 5249) 491851 ns/iter (± 4804) 1.00
es/full/base/fixer 17502 ns/iter (± 57) 17782 ns/iter (± 129) 0.98
es/full/base/resolver_and_hygiene 81326 ns/iter (± 105) 80591 ns/iter (± 814) 1.01
serialization of serde 281 ns/iter (± 2) 287 ns/iter (± 0) 0.98

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.