From 3353c23a0b14298638df733bae0226348e8e228f Mon Sep 17 00:00:00 2001 From: hypercross Date: Sun, 13 Sep 2026 16:41:08 +0800 Subject: [PATCH] chore: scaffold pnpm workspace --- .gitignore | 3 +++ package.json | 13 +++++++++++++ pnpm-lock.yaml | 23 +++++++++++++++++++++++ pnpm-workspace.yaml | 3 +++ 4 files changed, 42 insertions(+) create mode 100644 .gitignore create mode 100644 package.json create mode 100644 pnpm-lock.yaml create mode 100644 pnpm-workspace.yaml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c45938 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules/ +*.log +.DS_Store diff --git a/package.json b/package.json new file mode 100644 index 0000000..d7dc589 --- /dev/null +++ b/package.json @@ -0,0 +1,13 @@ +{ + "name": "solo-journaling", + "version": "0.0.0", + "private": true, + "type": "module", + "description": "A solo TTRPG journaling workspace with an AI GM and oracle tooling.", + "scripts": { + "journal": "node packages/cli/bin/journal.js", + "games": "node packages/cli/bin/journal.js games", + "tables": "node packages/cli/bin/journal.js tables", + "check": "node packages/cli/bin/journal.js check" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..74343bb --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,23 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: {} + + games/generic: + dependencies: + '@solo/oracle': + specifier: workspace:* + version: link:../../packages/oracle + + packages/cli: + dependencies: + '@solo/oracle': + specifier: workspace:* + version: link:../oracle + + packages/oracle: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..ee7a061 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +packages: + - packages/* + - games/*