Skip to content

Commit e71ef00

Browse files
committed
📃 docs(package): 更新 package.json 中的命令名称,并修改 index.md 文件内容,新增常用快捷命令及全局环境变量配置说明
1 parent ecb9f48 commit e71ef00

File tree

2 files changed

+8
-50
lines changed

2 files changed

+8
-50
lines changed

docs/ruan-cat-notes/docs/index.md

Lines changed: 7 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,11 @@
1-
---
2-
# 目前首页文件是自动生成的
3-
# 请不要直接编辑
1+
# 笔记
42

5-
home: true
6-
layout: "BlogHome"
3+
## 常用快捷命令
74

8-
# 目前不考虑增加图标
9-
# icon: home
5+
### 全局配置 window powershell 的环境变量
106

11-
title: 阮喵喵的笔记
12-
heroText: 阮喵喵的笔记
13-
tagline: 阮喵喵的博客站点。旨在于记录开发经验、练习技术。
7+
设置当前电脑的全局环境变量。
148

15-
copyright: false
16-
footer: MIT Licensed | Copyright © 2022-present 阮喵喵
17-
18-
projects:
19-
- name: generate-code-workspace
20-
desc: 根据 pnpm-workspace.yaml 配置,生成vscode的code-workspace工作区文件。
21-
link: https://npm.im/@ruan-cat/generate-code-workspace
22-
icon: vscode-icons:file-type-vscode
23-
- name: utils
24-
desc: 阮喵喵工具集合。默认提供js文件,也直接提供ts文件。
25-
link: https://npm.im/@ruan-cat/utils
26-
icon: vscode-icons:folder-type-tools
27-
- name: vercel-deploy-tool
28-
desc: 阮喵喵自用的vercel部署工具,用于实现复杂项目的部署。
29-
link: https://npm.im/@ruan-cat/vercel-deploy-tool
30-
icon: logos:vercel-icon
31-
- name: vuepress-preset-config
32-
desc: 用于给大多数的vuepress项目提供一个预设的配置文件。
33-
link: https://npm.im/@ruan-cat/vuepress-preset-config
34-
icon: logos:vue
35-
- name: commitlint-config
36-
desc: 阮喵喵自用的 commitlint.config.cjs 配置。
37-
link: https://npm.im/@ruan-cat/commitlint-config
38-
- name: domains
39-
desc: 为 ruancat6312.top 和 ruan-cat.com 两个域名,提供预设好的常量。旨在于管理全部的域名,便于查询和使用。
40-
link: https://npm.im/@ruan-cat/domains
41-
- name: taze-config
42-
desc: 阮喵喵自用的 taze.config.ts 配置。
43-
link: https://npm.im/@ruan-cat/taze-config
44-
- name: vite-plugin-ts-alias
45-
desc: 将 tsconfig.paths 配置转换成 vite 的 alias 路径别名。
46-
link: https://npm.im/@ruan-cat/vite-plugin-ts-alias
47-
- name: vitepress-demo-plugin
48-
desc: 阮喵喵自己照抄别人vitepress-demo-plugin的插件。纯粹自用。
49-
link: https://npm.im/@ruan-cat/vitepress-demo-plugin
50-
- name: vitepress-preset-config
51-
desc: 用于给大多数的vitepress项目提供一个预设的配置文件。
52-
link: https://npm.im/@ruan-cat/vitepress-preset-config
53-
---
9+
```bash
10+
code $profile
11+
```

docs/ruan-cat-notes/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"make-index-md": "tsx ./scripts/make-index-md.ts",
1515
"format-index-md": "prettier --write ./docs/index.md",
1616
"do-index-md": "pnpm run make-index-md && pnpm run format-index-md",
17-
"predocs:dev": "pnpm run do-index-md",
17+
"notuse--predocs:dev": "pnpm run do-index-md",
1818
"prebuild:docs": "pnpm run do-index-md"
1919
},
2020
"dependencies": {

0 commit comments

Comments
 (0)