create-pnpm-cli 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-pnpm-cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "create pnpm cli",
5
5
  "type": "module",
6
6
  "main": "./lib/cli.cjs",
@@ -0,0 +1,11 @@
1
+ # zeropress模板
2
+
3
+ 在docs文件夹中直接新建文件夹
4
+
5
+ 第一层为nav,第二层为sidebar,第三层为md文件
6
+
7
+ 支持全中文路径
8
+
9
+ 使用1或者1.自动排序
10
+
11
+ 预览暂时使用npm run serve
@@ -0,0 +1,3 @@
1
+ ---
2
+ pageType: home
3
+ ---
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "zeropress",
3
+ "description": "",
4
+ "scripts": {
5
+ "build": "zeropress build",
6
+ "serve": "npm run build && serve ./dist"
7
+ },
8
+ "keywords": [],
9
+ "author": "",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "react": "^18.2.0",
13
+ "react-dom": "^18.2.0"
14
+ },
15
+ "devDependencies": {
16
+ "@types/react": "^18.2.43",
17
+ "@types/react-dom": "^18.2.17",
18
+ "zeropress": "^0.0.24",
19
+ "serve": "^14.2.1"
20
+ }
21
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "compilerOptions": {
3
+ "jsx": "react-jsx",
4
+ },
5
+ }
@@ -0,0 +1,22 @@
1
+ import { UserConfig } from 'zeropress'
2
+
3
+ const config: UserConfig = {
4
+ themeConfig: {
5
+ nav: [
6
+ {
7
+ img: '/logo.jpg',
8
+ link: '/',
9
+ position: 'left',
10
+ },
11
+ {
12
+ dark: true,
13
+ },
14
+ {
15
+ logo: 'github',
16
+ link: 'https://github.com/houhongxu/hhxpress',
17
+ },
18
+ ],
19
+ },
20
+ }
21
+
22
+ export default config