@lark-apaas/fullstack-cli 1.1.6-alpha.14 → 1.1.6-alpha.15

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -141,8 +141,7 @@ async function run(options = {}) {
141
141
  console.log("[gen-db-schema] Starting...");
142
142
  const __filename = fileURLToPath(import.meta.url);
143
143
  const __dirname2 = path.dirname(__filename);
144
- const cliRoot = path.resolve(__dirname2, "../");
145
- const configPath = path.join(cliRoot, "config", "drizzle.config.js");
144
+ const configPath = path.join(__dirname2, "config", "drizzle.config.js");
146
145
  if (!fs.existsSync(configPath)) {
147
146
  console.error("[gen-db-schema] Error: drizzle config not found in CLI package");
148
147
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-cli",
3
- "version": "1.1.6-alpha.14",
3
+ "version": "1.1.6-alpha.15",
4
4
  "description": "CLI tool for fullstack template management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",