File tree Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Expand file tree Collapse file tree 3 files changed +87
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "extends" : [" config:base" , " :preserveSemverRanges" ],
3+ "ignorePaths" : [
4+ " **/node_modules/**" ,
5+ " **/bower_components/**" ,
6+ " **/vendor/**" ,
7+ " **/__tests__/**" ,
8+ " **/test/**" ,
9+ " **/__fixtures__/**"
10+ ],
11+ "packageRules" : [
12+ {
13+ "automerge" : true ,
14+ "matchUpdateTypes" : [" minor" , " patch" , " pin" , " digest" ]
15+ }
16+ ],
17+ "postUpdateOptions" : [" yarnDedupeHighest" ],
18+ "lockFileMaintenance" : {
19+ "enabled" : true ,
20+ "extends" : [" schedule:monthly" ]
21+ }
22+ }
Original file line number Diff line number Diff line change 1+ name : Release-plz
2+
3+ permissions :
4+ pull-requests : write
5+ contents : write
6+
7+ on :
8+ push :
9+ branches :
10+ - main
11+
12+ jobs :
13+ # Release unpublished packages.
14+ release-plz-release :
15+ name : Release-plz release
16+ runs-on : ubuntu-latest
17+ if : ${{ github.repository_owner == 'napi-rs' }}
18+ permissions :
19+ contents : write
20+ id-token : write
21+ steps :
22+ - name : Checkout repository
23+ uses : actions/checkout@v5
24+ with :
25+ fetch-depth : 0
26+ - name : Install Rust toolchain
27+ uses : dtolnay/rust-toolchain@stable
28+ - uses : rust-lang/crates-io-auth-action@e919bc7605cde86df457cf5b93c5e103838bd879 # v1.0.1
29+ id : auth
30+ - name : Run release-plz
31+ uses : release-plz/action@acb9246af4d59a270d1d4058a8b9af8c3f3a2559 # v0.5.117
32+ with :
33+ command : release
34+ env :
35+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36+ CARGO_REGISTRY_TOKEN : ${{ steps.auth.outputs.token }}
37+
38+ # Create a PR with the new versions and changelog, preparing the next release.
39+ release-plz-pr :
40+ name : Release-plz PR
41+ runs-on : ubuntu-latest
42+ if : ${{ github.repository_owner == 'napi-rs' }}
43+ permissions :
44+ contents : write
45+ pull-requests : write
46+ concurrency :
47+ group : release-plz-${{ github.ref }}
48+ cancel-in-progress : false
49+ steps :
50+ - name : Checkout repository
51+ uses : actions/checkout@v5
52+ with :
53+ fetch-depth : 0
54+ - name : Install Rust toolchain
55+ uses : dtolnay/rust-toolchain@stable
56+ - name : Run release-plz
57+ uses : release-plz/action@acb9246af4d59a270d1d4058a8b9af8c3f3a2559 # v0.5.117
58+ with :
59+ command : release-pr
60+ env :
61+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ version = "1.0.0"
77edition = " 2024"
88rust-version = " 1.89.0"
99include = [" src/**/*.rs" ]
10+ description = " Optimized SIMD routines for escaping JSON strings."
11+ license = " MIT"
12+ homepage = " https://github.com/napi-rs/json-escape-simd"
13+ repository = " https://github.com/napi-rs/json-escape-simd"
1014
1115[[example ]]
1216name = " escape"
You can’t perform that action at this time.
0 commit comments