Skip to content

Commit 17bf754

Browse files
committed
chore: release 3.0.0-beta.0
1 parent 5c32542 commit 17bf754

5 files changed

Lines changed: 31 additions & 2 deletions

File tree

.changeset/fuzzy-apples-smoke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'circular-dependency-scanner': major
3+
---
4+
5+
feat: imlement core algorithm with wasm to save runtime memory and make it run faster

.changeset/pre.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"mode": "pre",
3+
"tag": "beta",
4+
"initialVersions": {
5+
"circular-dependency-scanner": "2.3.0"
6+
},
7+
"changesets": [
8+
"fuzzy-apples-smoke"
9+
]
10+
}

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v3
22+
- uses: actions-rs/toolchain@v1
23+
with:
24+
toolchain: stable
25+
target: wasm32-unknown-unknown
26+
- name: Install wasm-pack
27+
run: cargo install wasm-pack && wasm-pack --version
2228
- uses: actions/setup-node@v3
2329
with:
2430
node-version: 22

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# circular-dependency-scanner
22

3+
## 3.0.0-beta.0
4+
5+
### Major Changes
6+
7+
- feat: implement graph detect algorithm with `rust`, save runtime memory and make it much faster
8+
- feat: re-export the `analyzeGraph` method and `Edge` type
9+
- chore: update eco-dependencies and refactor infrastructure
10+
311
## 2.3.0
412

513
### Minor Changes

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "circular-dependency-scanner",
33
"type": "module",
4-
"version": "2.3.0",
4+
"version": "3.0.0-beta.0",
55
"packageManager": "pnpm@10.24.0",
66
"description": "Out-of-box and zero configuration circular dependencies detector, with both JavaScript API and Command Line Tool.",
77
"author": "情绪羊 <emosheep@qq.com>",
@@ -43,7 +43,7 @@
4343
},
4444
"scripts": {
4545
"prepare": "husky",
46-
"prepublishOnly": "npm run test && npm run build",
46+
"prepublishOnly": "npm run test && npm run build:wasm && npm run build",
4747
"lint": "eslint . --fix --ext .js,.ts",
4848
"build": "rslib build",
4949
"build:wasm": "wasm-pack build --release -t bundler -d wasm",

0 commit comments

Comments
 (0)