From eabec3816b562af3e6b02e4987c08225fa30dd08 Mon Sep 17 00:00:00 2001 From: Michael Wolf Date: Mon, 2 Feb 2026 18:35:37 -0500 Subject: [PATCH] Add bootstrap.sh script It's meant to be used to bootstrap new projects. It could probably be curled and piped through bash although this has not been tested yet. --- backend/diachron/package.json | 39 +++++++++++++++++++++++++++ backend/{ => diachron}/pnpm-lock.yaml | 0 backend/package.json | 23 ++-------------- backend/pnpm-workspace.yaml | 2 ++ file-list | 14 ++++++++++ 5 files changed, 57 insertions(+), 21 deletions(-) create mode 100644 backend/diachron/package.json rename backend/{ => diachron}/pnpm-lock.yaml (100%) create mode 100644 backend/pnpm-workspace.yaml create mode 100644 file-list diff --git a/backend/diachron/package.json b/backend/diachron/package.json new file mode 100644 index 0000000..23a2d2e --- /dev/null +++ b/backend/diachron/package.json @@ -0,0 +1,39 @@ +{ + "name": "express", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "DB_PORT=5433 DB_USER=diachron_test DB_PASSWORD=diachron_test DB_NAME=diachron_test tsx --test '**/*.{test,spec}.ts'", + "test:watch": "DB_PORT=5433 DB_USER=diachron_test DB_PASSWORD=diachron_test DB_NAME=diachron_test tsx --test --watch '**/*.{test,spec}.ts'", + "nodemon": "nodemon dist/index.js", + "kysely-codegen": "kysely-codegen" + }, + "keywords": [], + "author": "", + "license": "ISC", + "packageManager": "pnpm@10.12.4", + "dependencies": { + "@types/node": "^24.10.1", + "@types/nunjucks": "^3.2.6", + "@vercel/ncc": "^0.38.4", + "express": "^5.1.0", + "kysely": "^0.28.9", + "nodemon": "^3.1.11", + "nunjucks": "^3.2.4", + "path-to-regexp": "^8.3.0", + "pg": "^8.16.3", + "ts-luxon": "^6.2.0", + "ts-node": "^10.9.2", + "tsx": "^4.20.6", + "typeid-js": "^1.2.0", + "typescript": "^5.9.3", + "zod": "^4.1.12" + }, + "devDependencies": { + "@biomejs/biome": "2.3.10", + "@types/express": "^5.0.5", + "@types/pg": "^8.16.0", + "kysely-codegen": "^0.19.0" + } +} diff --git a/backend/pnpm-lock.yaml b/backend/diachron/pnpm-lock.yaml similarity index 100% rename from backend/pnpm-lock.yaml rename to backend/diachron/pnpm-lock.yaml diff --git a/backend/package.json b/backend/package.json index 23a2d2e..65704c1 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { - "name": "express", - "version": "1.0.0", + "name": "my app", + "version": "0.0.1", "description": "", "main": "index.js", "scripts": { @@ -14,26 +14,7 @@ "license": "ISC", "packageManager": "pnpm@10.12.4", "dependencies": { - "@types/node": "^24.10.1", - "@types/nunjucks": "^3.2.6", - "@vercel/ncc": "^0.38.4", - "express": "^5.1.0", - "kysely": "^0.28.9", - "nodemon": "^3.1.11", - "nunjucks": "^3.2.4", - "path-to-regexp": "^8.3.0", - "pg": "^8.16.3", - "ts-luxon": "^6.2.0", - "ts-node": "^10.9.2", - "tsx": "^4.20.6", - "typeid-js": "^1.2.0", - "typescript": "^5.9.3", - "zod": "^4.1.12" }, "devDependencies": { - "@biomejs/biome": "2.3.10", - "@types/express": "^5.0.5", - "@types/pg": "^8.16.0", - "kysely-codegen": "^0.19.0" } } diff --git a/backend/pnpm-workspace.yaml b/backend/pnpm-workspace.yaml new file mode 100644 index 0000000..4332721 --- /dev/null +++ b/backend/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +packages: + - 'diachron' diff --git a/file-list b/file-list new file mode 100644 index 0000000..4c8bb54 --- /dev/null +++ b/file-list @@ -0,0 +1,14 @@ +# please keep this file sorted alphabetically + +backend/diachron +backend/package.json +backend/pnpm-workspace.yaml +# express/framework +cmd +develop +diachron +logger +master +mgmt +sync.sh +templates \ No newline at end of file