Skip to content

Commit

Permalink
chore: upgrade ci version and import document
Browse files Browse the repository at this point in the history
  • Loading branch information
emosheeep committed Sep 9, 2024
1 parent b399d3f commit 490be77
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2.2.4
node-version: 22
- uses: pnpm/action-setup@v4
with:
version: 8
version: 9
run_install: true

# consume changesets and create pr if it exists, otherwise publish package
Expand All @@ -36,4 +36,4 @@ jobs:
with:
publish: npx changeset publish
commit: "chore: versioning package"
title: "chore:versioning package"
title: "chore:versioning package"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ English | [中文](./README.zh_CN.md)
# Features

- 📦 All file types support.
- 🗑 Support dropping pure TS type references.
- 💡 Friendly Command Line Tool.
- 🛠️ Fully Typed JavaScript APIs and Prompts.
- 🌩 Tiny, Pretty, Fast and Reliable.
Expand Down Expand Up @@ -65,6 +66,7 @@ ds --absolute # print absolute path.
ds --ignore output dist node_modules # path to ignore.
ds --output circles.json # output analysis into specified file.
ds --throw # exit with code 1 when cycles're found.
ds --exclude-type # exclude pure type-references when calculating circles.
```

# JavaScript API
Expand Down
2 changes: 2 additions & 0 deletions README.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# 特性

- 📦 支持常用的所有类型文件类型。
- 🗑 支持剔除 TS 纯类型引用。
- 💡 提供命令行工具,同时具备友好的控制台输出。
- 🛠️ 提供 JavaScript API,同时具备良好的类型提示。
- 🌩 小巧、精致、快速、可靠。
Expand Down Expand Up @@ -64,6 +65,7 @@ ds --absolute # print absolute path.
ds --ignore output dist node_modules # path to ignore.
ds --output circles.json # output analysis into specified file.
ds --throw # exit with code 1 when cycles're found.
ds --exclude-type # exclude pure type-references when calculating circles.
```

# JavaScript API
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"description": "Out-of-box and zero configuration circular dependencies detector, with both JavaScript API and Command Line Tool.",
"author": "情绪羊 <[email protected]>",
"packageManager": "pnpm@9.0.5",
"packageManager": "pnpm@9.9.0",
"license": "MIT",
"bin": {
"ds": "dist/cli.js"
Expand Down

0 comments on commit 490be77

Please sign in to comment.