commit 3353c23a0b14298638df733bae0226348e8e228f Author: hypercross Date: Sun Sep 13 16:41:08 2026 +0800 chore: scaffold pnpm workspace 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/*