create-threadlens-app 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +84 -0
- package/README.md +48 -0
- package/package.json +4 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.2.0 - 2026-05-20
|
|
4
|
+
|
|
5
|
+
Tag: `create-threadlens-app@0.2.0`
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- feat(release): add smart-release CLI and automation system (#3) (`4ee95d3`)
|
|
10
|
+
- feat(create-threadlens-app): ship full installer and runtime commands (`1172d2a`)
|
|
11
|
+
- feat(create-threadlens-app): add input validation to port helpers with classified CliError (`9aa280b`)
|
|
12
|
+
- feat(create-threadlens-app): add manifest.js with state helpers (task 12) (`af0c6f8`)
|
|
13
|
+
- feat(create-threadlens-app): add ports.js with assertPortAvailable and findAvailablePort (`dc5d6a0`)
|
|
14
|
+
- feat(create-threadlens-app): add output.js with CliError, redactSecrets, createLogger (`8f76fa5`)
|
|
15
|
+
- feat(create-threadlens-app): add safeSlug and composeProjectName helpers (`5e4c553`)
|
|
16
|
+
- feat(create-threadlens-app): implement argument parser (Task 4) (`b3b12db`)
|
|
17
|
+
- feat: wire threadlens installer scripts (`5104e0a`)
|
|
18
|
+
- feat: add threadlens installer CLI scaffold (`edb0892`)
|
|
19
|
+
- feat: add saas database migrations (`0fa6ba3`)
|
|
20
|
+
- feat: add saas database config boundary (`b78793e`)
|
|
21
|
+
- feat: make open-core docker scripts canonical (`bd1e998`)
|
|
22
|
+
- feat: add live-link Docker dev mode for adjacent open-core checkout (Task 7) (`2f05805`)
|
|
23
|
+
- feat: add open-core subtree sync script and documentation (Task 5) (`107ac23`)
|
|
24
|
+
- feat: add demo seed cli command (`dfbf7fe`)
|
|
25
|
+
- feat: add open-core setup wizard and self-hosted deployment docs (`81a75aa`)
|
|
26
|
+
- feat: add pnpm docker shortcuts (docker:dev, docker:prod, docker:down) (`011d7b8`)
|
|
27
|
+
- feat: scaffold Scout project with Svelte 4 + Vite (`99b634c`)
|
|
28
|
+
|
|
29
|
+
### Fixes
|
|
30
|
+
|
|
31
|
+
- fix(manifest): surface distinct error codes for corrupt/incompatible manifest and state (`09e704c`)
|
|
32
|
+
- fix(slug): prevent double threadlens prefix and enforce 48-char cap in composeProjectName (`713bc8b`)
|
|
33
|
+
- fix(cli): restore Task 4 parser contract — plan-compliant semantics (`885a8b3`)
|
|
34
|
+
- fix(args): accept reset mode before or after flags (`ad5d90c`)
|
|
35
|
+
- fix: allow --yes for reset, reject only --flag=value options, tighten port parsing (`fcaca4f`)
|
|
36
|
+
- fix(args): add onboarding reset mode, reject --flag=value forms, restrict --yes to install (`1ab65fe`)
|
|
37
|
+
- fix(args): reject duplicate positionals and install flags on management commands (`d900088`)
|
|
38
|
+
- fix: repair failing test suite - docker scripts, port conflict, db test exclusion (`2ca2e9a`)
|
|
39
|
+
- fix(db/config): harden SaaS dialect/URL validation and remove broken scripts (`dcd7f71`)
|
|
40
|
+
- fix(workspace): remove speculative open-core/apps/web and open-core/packages/* globs (`68b1dd3`)
|
|
41
|
+
- fix: refine google reports UX state and frontend test coverage (`6377692`)
|
|
42
|
+
- fix: auto-kill stale server on dev start and clean up on exit (`8129f0e`)
|
|
43
|
+
|
|
44
|
+
### Documentation
|
|
45
|
+
|
|
46
|
+
- docs: add local VitePress entrypoint (`b97cde6`)
|
|
47
|
+
- docs: freeze open-core/SaaS boundary in README, monorepo docs, and package.json scripts (`ff0a0fb`)
|
|
48
|
+
|
|
49
|
+
### Maintenance
|
|
50
|
+
|
|
51
|
+
- broaden redactSecrets to cover JSON, YAML, and quoted assignment forms (`d313b6d`)
|
|
52
|
+
- test(create-threadlens-app): add manifest helper tests (Task 11, red state) (`503267e`)
|
|
53
|
+
- test(ports): relax auto-selection assertion to be contract-safe (`94f3ae7`)
|
|
54
|
+
- test(create-threadlens-app): add ports.test.js for assertPortAvailable and findAvailablePort (`d1a57e9`)
|
|
55
|
+
- test(create-threadlens-app): assert all three secret values are redacted (`e36e946`)
|
|
56
|
+
- test(create-threadlens-app): add output helpers tests for Task 7 (red state) (`9b0ec3d`)
|
|
57
|
+
- revert slug helpers and tests to exact Task 6 spec (`b836e98`)
|
|
58
|
+
- test(create-threadlens-app): add slug helper tests (red state) (`57814ca`)
|
|
59
|
+
- test: add threadlens parser contract tests (`0b9b9a1`)
|
|
60
|
+
- test(create-threadlens-app): expand args.test.js with focused, independently-diagnosable tests (`2e89ce7`)
|
|
61
|
+
- chore: remove dead Express Docker infrastructure (`5ef9ffb`)
|
|
62
|
+
- chore: cut over dev scripts and docker config to Go backend (`aa232f5`)
|
|
63
|
+
- chore: add landing:dev script for local landing page development (`3e61f56`)
|
|
64
|
+
- chore: register apps/landing workspace package in pnpm-lock.yaml (`5d96566`)
|
|
65
|
+
- Register docs scripts in open-core and root workspaces (`461a80e`)
|
|
66
|
+
- chore(deps): add turbo for build orchestration (`4f554d5`)
|
|
67
|
+
- refine contract test: use YAML parsing for workspace and Compose assertions (`430138e`)
|
|
68
|
+
- task(8): add workspace filters and Turbo passthrough tasks for open-core/Go builds (`f4755f1`)
|
|
69
|
+
- task 6: move shared Docker base to open-core, reduce private to thin overlays (`94f6253`)
|
|
70
|
+
- park Express backend: move apps/api → apps/legacy-express (`0213a6f`)
|
|
71
|
+
- task(3): move Go backend from apps/api-go to open-core/apps/api (`aca9333`)
|
|
72
|
+
- task(1): route root 'server' script through open-core passthrough wrapper (`7638a70`)
|
|
73
|
+
- test(api-go): add full api parity suite (`823c733`)
|
|
74
|
+
- chore(api-go): initialize go backend module (`8ec1e23`)
|
|
75
|
+
- chore(web): migrate frontend tooling and docker web service to bun (`d16a633`)
|
|
76
|
+
- chore: upgrade frontend to Svelte 5 toolchain (`628b0fe`)
|
|
77
|
+
- chore: standardize workspace on pnpm (`71f59be`)
|
|
78
|
+
- chore: convert repo to npm workspaces (`794d079`)
|
|
79
|
+
- refactor(google): extract signals module, improve pain theme extraction, and harden dev workflow (`61980f9`)
|
|
80
|
+
- chore: add launchctl scripts, logs gitignore, and dev server port (`d04a634`)
|
|
81
|
+
|
|
82
|
+
## create-threadlens-app
|
|
83
|
+
|
|
84
|
+
Release entries are maintained automatically by the release command. Run `pnpm run release -- --track create-threadlens-app` from the monorepo root to cut a new release and append an entry here.
|
package/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# create-threadlens-app
|
|
2
|
+
|
|
3
|
+
One-command local-first ThreadLens self-host installer.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- **Node.js 20+**
|
|
8
|
+
- **Docker** and **Docker Compose** (Docker Desktop or Docker Engine with the Compose plugin)
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npx create-threadlens-app@latest
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
This command creates an isolated local app directory, starts ThreadLens with Docker Compose, runs readiness checks, and opens the setup wizard. No global install required.
|
|
17
|
+
|
|
18
|
+
## What it sets up
|
|
19
|
+
|
|
20
|
+
- A local directory with a `docker-compose.yml` and `.env` config file
|
|
21
|
+
- ThreadLens running via Docker (Go API + Svelte web app)
|
|
22
|
+
- All data stored in a local SQLite volume under your control
|
|
23
|
+
|
|
24
|
+
## Commands
|
|
25
|
+
|
|
26
|
+
Once installed, manage your ThreadLens instance from the app directory:
|
|
27
|
+
|
|
28
|
+
| Command | What it does |
|
|
29
|
+
| ------- | ------------ |
|
|
30
|
+
| `threadlens start` | Start the ThreadLens Docker containers |
|
|
31
|
+
| `threadlens stop` | Stop the containers (data is preserved) |
|
|
32
|
+
| `threadlens status` | Show container status and the local app URL |
|
|
33
|
+
| `threadlens logs` | Stream live container logs |
|
|
34
|
+
| `threadlens doctor` | Run readiness checks and diagnose common problems |
|
|
35
|
+
| `threadlens upgrade` | Pull the latest ThreadLens image and restart |
|
|
36
|
+
| `threadlens reset` | Stop containers and remove local data volumes |
|
|
37
|
+
|
|
38
|
+
## Documentation
|
|
39
|
+
|
|
40
|
+
Full documentation at [docs.threadlens.dev](https://docs.threadlens.dev).
|
|
41
|
+
|
|
42
|
+
## Source
|
|
43
|
+
|
|
44
|
+
The open-core source is at [github.com/threadlenshq/threadlens](https://github.com/threadlenshq/threadlens).
|
|
45
|
+
|
|
46
|
+
## License
|
|
47
|
+
|
|
48
|
+
BUSL-1.1 — see the [ThreadLens license page](https://docs.threadlens.dev/reference/license) for details on what self-hosted use is permitted.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-threadlens-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "One-command local-first ThreadLens self-host installer",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"type": "module",
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
"create-threadlens-app": "src/index.js"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
|
-
"src"
|
|
11
|
+
"src",
|
|
12
|
+
"README.md",
|
|
13
|
+
"CHANGELOG.md"
|
|
12
14
|
],
|
|
13
15
|
"scripts": {
|
|
14
16
|
"test": "vitest run"
|