changed files depending on the old folder "app" to the new folder "src"

This commit is contained in:
2025-10-20 16:41:14 +02:00
parent 272c9519b9
commit d8e2027efa
4 changed files with 9 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
crontab -l > mycron
echo "0 8 * * * bun run ./app/app.ts --today > /dev/null 2>&1" >> mycron
echo "0 * * * * bun run ./app/app.ts --all > /dev/null 2>&1" >> mycron
echo "0 8 * * * bun run ./src/app.ts --today > /dev/null 2>&1" >> mycron
echo "0 * * * * bun run ./src/app.ts > /dev/null 2>&1" >> mycron
crontab mycron
rm mycron

View File

@@ -1,17 +1,17 @@
{
"name": "eventcalender",
"module": "index.ts",
"module": "./src/app.ts",
"type": "module",
"private": true,
"devDependencies": {
"@types/bun": "^1.3.0"
},
"scripts": {
"dev": "bun run ./app/app.ts",
"dev:init": "bun run ./app/app.ts --init",
"dev": "bun run ./src/app.ts",
"dev:init": "bun run ./src/app.ts --init",
"db:init": "bun run ./run/db_init.ts",
"db:deleteall": "bun run ./run/db_deleteall.ts",
"build": "bun build ./app/app.ts --compile --outfile ./build/77th_event_calendar_notification"
"build": "bun build ./src/app.ts --compile --outfile ./build/77th_event_calendar_notification"
},
"peerDependencies": {
"typescript": "^5"

View File

@@ -1,4 +1,4 @@
import * as db from "../app/sql";
import * as db from "../src/sql";
const query = db.db.query("DELETE FROM events;");
query.run();

View File

@@ -1,5 +1,5 @@
import { Event } from "../app/component/event/events";
import * as db from "../app/sql";
import { Event } from "../src/component/event/events";
import * as db from "../src/sql";
import { Database } from "bun:sqlite";
export function init ( db: Database ) {