npm version update and setup script fix
This commit is contained in:
4
create-agentic-app/package-lock.json
generated
4
create-agentic-app/package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "create-agentic-app",
|
"name": "create-agentic-app",
|
||||||
"version": "1.1.19",
|
"version": "1.1.20",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "create-agentic-app",
|
"name": "create-agentic-app",
|
||||||
"version": "1.1.19",
|
"version": "1.1.20",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.3.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "create-agentic-app",
|
"name": "create-agentic-app",
|
||||||
"version": "1.1.19",
|
"version": "1.1.20",
|
||||||
"description": "Scaffold a new agentic AI application with Next.js, Better Auth, and AI SDK",
|
"description": "Scaffold a new agentic AI application with Next.js, Better Auth, and AI SDK",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -7,9 +7,12 @@
|
|||||||
import { existsSync, copyFileSync, readFileSync } from "fs";
|
import { existsSync, copyFileSync, readFileSync } from "fs";
|
||||||
import { createInterface } from "readline";
|
import { createInterface } from "readline";
|
||||||
import { execSync } from "child_process";
|
import { execSync } from "child_process";
|
||||||
import { join } from "path";
|
import { dirname, join } from "path";
|
||||||
|
import { fileURLToPath } from "url";
|
||||||
|
|
||||||
const ROOT_DIR = join(import.meta.dirname, "..");
|
const __filename = fileURLToPath(import.meta.url);
|
||||||
|
const __dirname = dirname(__filename);
|
||||||
|
const ROOT_DIR = join(__dirname, "..");
|
||||||
const ENV_EXAMPLE = join(ROOT_DIR, "env.example");
|
const ENV_EXAMPLE = join(ROOT_DIR, "env.example");
|
||||||
const ENV_FILE = join(ROOT_DIR, ".env");
|
const ENV_FILE = join(ROOT_DIR, ".env");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user