Skip to content

Conversation

@pyramation
Copy link
Contributor

No description provided.

pyramation added 29 commits May 14, 2025 10:32
 - inquirerer@2.0.6
 - inquirerer@2.0.7
 - inquirerer@2.0.8
 - create-gen-app@0.1.0
 - inquirerer@2.1.0
This import preserves the full commit history of the inquirerer repository.
All files have been placed under inquirerer/ in this monorepo.

Source: /Users/pyramation/code/pyramation/inquirerer (branch: main)
Create new appstash package with clean, minimal architecture:

Features:
- Simple API: appstash(tool, options) returns all app directories
- Clean structure: ~/.<tool>/{config,cache,data,logs} + /tmp/<tool>
- Graceful fallback: XDG directories → tmp if home fails
- No throws: Always returns valid paths, never throws errors
- Zero dependencies: Pure Node.js implementation
- Full TypeScript support

API:
- appstash(tool, options): Get all directories for a tool
- ensure(dirs): Create directories if they don't exist
- resolve(dirs, kind, ...parts): Resolve paths within directories

Directory structure:
- Primary: ~/.<tool>/{config,cache,data,logs}
- Fallback: XDG directories (only if home fails)
- Final fallback: /tmp/<tool>

Tests: 17 tests passing
Build: Successful

This is a relocation of @launchql/appdirs from launchql/launchql
to hyperweb-io/dev-utils as a more generic utility package.

Co-Authored-By: Dan Lynch <pyramation@gmail.com>
@pyramation pyramation merged commit 702bb62 into main Nov 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants