Skip to content

Commit

Permalink
wip: rework
Browse files Browse the repository at this point in the history
  • Loading branch information
vipzhicheng committed Mar 2, 2024
1 parent b14c870 commit 75a55d9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: |
pnpm install --frozen-lockfile
pnpm run docs:build
npx lerna run docs:typedoc --scope @semo/core --npm-client pnpm
npx lerna run docs:typedoc --scope @semo/core
- name: Deploy 🚀
uses: JamesIves/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/custom-commands/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ semo generate command COMMAND_NAME COMMAND_DESCRIPTION
这里以 ts 版命令为例
```bash
semo generate command test 'test description'
semo generate command test 'test description'
```

```typescript
Expand Down
1 change: 1 addition & 0 deletions docs/guide/hook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export = (Utils) {
})
}
}
```

## 钩子的返回值

Expand Down
1 change: 1 addition & 0 deletions docs/guide/plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ semo help --plugin-dir=dir1 --plugin-dir=dir2

```
SEMO_PLUGIN_DIR=dir3 semo help
```

## 应用内部定义的插件在 Typescript 模式下失效的问题

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"semo": "lerna exec --scope @semo/cli -- yarn semo",
"prepublish": "lerna run prepublish",
"lerna:publish": "lerna publish from-git --yes --no-verify-access",
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:dev": "NODE_OPTIONS=--openssl-legacy-provider vuepress dev docs",
"docs:build": "NODE_OPTIONS=--openssl-legacy-provider vuepress build docs",
"upgrade:preview": "lerna exec -- ncu && ncu",
"upgrade": "lerna exec -- ncu -u --timeout 30000 && lerna exec -- yarn && ncu -u --timeout 30000 && yarn",
"deploy:major": "lerna version major",
Expand Down

0 comments on commit 75a55d9

Please sign in to comment.