We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7416884 commit 2cbc9efCopy full SHA for 2cbc9ef
2 files changed
README.md
@@ -22,13 +22,10 @@
22
## 开始
23
24
```bash
25
-pnpm run sync-env
26
pnpm install
27
pnpm dev
28
```
29
30
-`pnpm run sync-env` 会在你显式执行时,从 `Open-Source-Bazaar/key-vault` 同步当前项目所需的私有环境文件。出于安全考虑,仓库不会在 `pnpm install` 阶段自动下载 `.env.local`。
31
-
32
可访问 http://localhost:3000.
33
34
[1]: https://github.com/idea2app/Lark-Next-Bootstrap-ts
package.json
@@ -6,7 +6,7 @@
6
"scripts": {
7
"prepare": "husky",
8
"sync-env": "pnpx git-utility download https://github.com/Open-Source-Bazaar/key-vault main Open-Source-Bazaar.github.io",
9
- "postinstall": "next typegen",
+ "postinstall": "(pnpm run sync-env || true) && next typegen",
10
"dev": "next dev --webpack",
11
"build": "next build --webpack",
12
"start": "next start",
0 commit comments