create-aiko 0.1.1 → 0.1.2

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-aiko",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI to create aiko-boot scaffold project (monorepo with api, admin, mobile, shared)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scaffold-monorepo",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "private": true,
5
5
  "description": "A clean scaffold template for api, admin, mobile, shared, and shared-auth packages.",
6
6
  "type": "module",
@@ -153,7 +153,7 @@ async function tryRepairBetterSqlite(error: unknown): Promise<boolean> {
153
153
 
154
154
  console.warn('\n[init-db] 检测到 better-sqlite3 原生绑定缺失,正在尝试自动重建...');
155
155
 
156
- const projectRoot = join(__dirname, '../../..');
156
+ const projectRoot = join(__dirname, '../../../..');
157
157
  const rebuild = spawnSync(
158
158
  'pnpm',
159
159
  ['rebuild', 'better-sqlite3'],