@constructive-io/cli 0.0.2 → 0.0.3
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/README.md +1 -63
- package/package.json +2 -12
package/README.md
CHANGED
|
@@ -339,71 +339,9 @@ Most commands support these global options:
|
|
|
339
339
|
- `--version, -v` - Show version information
|
|
340
340
|
- `--cwd <dir>` - Set working directory
|
|
341
341
|
|
|
342
|
-
## Education and Tutorials
|
|
343
|
-
|
|
344
|
-
1. 🚀 [Quickstart: Getting Up and Running](https://launchql.com/learn/quickstart)
|
|
345
|
-
Get started with modular databases in minutes. Install prerequisites and deploy your first module.
|
|
346
|
-
|
|
347
|
-
2. 📦 [Modular PostgreSQL Development with Database Packages](https://launchql.com/learn/modular-postgres)
|
|
348
|
-
Learn to organize PostgreSQL projects with constructive workspaces and reusable database modules.
|
|
349
|
-
|
|
350
|
-
3. ✏️ [Authoring Database Changes](https://launchql.com/learn/authoring-database-changes)
|
|
351
|
-
Master the workflow for adding, organizing, and managing database changes with constructive.
|
|
352
|
-
|
|
353
|
-
4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://launchql.com/learn/e2e-postgres-testing)
|
|
354
|
-
Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
|
|
355
|
-
|
|
356
|
-
5. ⚡ [Supabase Testing](https://launchql.com/learn/supabase)
|
|
357
|
-
TypeScript-native testing for Supabase with modern workflows.
|
|
358
|
-
|
|
359
|
-
6. 🔧 [Troubleshooting](https://launchql.com/learn/troubleshooting)
|
|
360
|
-
Common issues and solutions for constructive, PostgreSQL, and testing.
|
|
361
|
-
|
|
362
|
-
## Related LaunchQL Tooling
|
|
363
|
-
|
|
364
|
-
### 🧪 Testing
|
|
365
|
-
|
|
366
|
-
* [launchql/pgsql-test](https://github.com/launchql/launchql/tree/main/packages/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
|
|
367
|
-
* [launchql/supabase-test](https://github.com/launchql/launchql/tree/main/packages/supabase-test): **🧪 Supabase-native test harness** preconfigured for the local Supabase stack—per-test rollbacks, JWT/role context helpers, and CI/GitHub Actions ready.
|
|
368
|
-
* [launchql/graphile-test](https://github.com/launchql/launchql/tree/main/packages/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
369
|
-
* [launchql/pg-query-context](https://github.com/launchql/launchql/tree/main/packages/pg-query-context): **🔒 Session context injection** to add session-local context (e.g., `SET LOCAL`) into queries—ideal for setting `role`, `jwt.claims`, and other session settings.
|
|
370
|
-
|
|
371
|
-
### 🧠 Parsing & AST
|
|
372
|
-
|
|
373
|
-
* [launchql/pgsql-parser](https://github.com/launchql/pgsql-parser): **🔄 SQL conversion engine** that interprets and converts PostgreSQL syntax.
|
|
374
|
-
* [launchql/libpg-query-node](https://github.com/launchql/libpg-query-node): **🌉 Node.js bindings** for `libpg_query`, converting SQL into parse trees.
|
|
375
|
-
* [launchql/pg-proto-parser](https://github.com/launchql/pg-proto-parser): **📦 Protobuf parser** for parsing PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
|
|
376
|
-
* [@pgsql/enums](https://github.com/launchql/pgsql-parser/tree/main/packages/enums): **🏷️ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.
|
|
377
|
-
* [@pgsql/types](https://github.com/launchql/pgsql-parser/tree/main/packages/types): **📝 Type definitions** for PostgreSQL AST nodes in TypeScript.
|
|
378
|
-
* [@pgsql/utils](https://github.com/launchql/pgsql-parser/tree/main/packages/utils): **🛠️ AST utilities** for constructing and transforming PostgreSQL syntax trees.
|
|
379
|
-
* [launchql/pg-ast](https://github.com/launchql/launchql/tree/main/packages/pg-ast): **🔍 Low-level AST tools** and transformations for Postgres query structures.
|
|
380
|
-
|
|
381
|
-
### 🚀 API & Dev Tools
|
|
382
|
-
|
|
383
|
-
* [launchql/server](https://github.com/launchql/launchql/tree/main/packages/server): **⚡ Express-based API server** powered by PostGraphile to expose a secure, scalable GraphQL API over your Postgres database.
|
|
384
|
-
* [launchql/explorer](https://github.com/launchql/launchql/tree/main/packages/explorer): **🔎 Visual API explorer** with GraphiQL for browsing across all databases and schemas—useful for debugging, documentation, and API prototyping.
|
|
385
|
-
|
|
386
|
-
### 🔁 Streaming & Uploads
|
|
387
|
-
|
|
388
|
-
* [launchql/s3-streamer](https://github.com/launchql/launchql/tree/main/packages/s3-streamer): **📤 Direct S3 streaming** for large files with support for metadata injection and content validation.
|
|
389
|
-
* [launchql/etag-hash](https://github.com/launchql/launchql/tree/main/packages/etag-hash): **🏷️ S3-compatible ETags** created by streaming and hashing file uploads in chunks.
|
|
390
|
-
* [launchql/etag-stream](https://github.com/launchql/launchql/tree/main/packages/etag-stream): **🔄 ETag computation** via Node stream transformer during upload or transfer.
|
|
391
|
-
* [launchql/uuid-hash](https://github.com/launchql/launchql/tree/main/packages/uuid-hash): **🆔 Deterministic UUIDs** generated from hashed content, great for deduplication and asset referencing.
|
|
392
|
-
* [launchql/uuid-stream](https://github.com/launchql/launchql/tree/main/packages/uuid-stream): **🌊 Streaming UUID generation** based on piped file content—ideal for upload pipelines.
|
|
393
|
-
* [launchql/upload-names](https://github.com/launchql/launchql/tree/main/packages/upload-names): **📂 Collision-resistant filenames** utility for structured and unique file names for uploads.
|
|
394
|
-
|
|
395
|
-
### 🧰 CLI & Codegen
|
|
396
|
-
|
|
397
|
-
* [constructive](https://github.com/launchql/launchql/tree/main/packages/pgpm): **🖥️ Backend platform** for modular Postgres development. Works with database workspaces, scaffolding, migrations, seeding, and installing database packages.
|
|
398
|
-
* [@launchql/cli](https://github.com/launchql/launchql/tree/main/packages/cli): **🖥️ Command-line toolkit** for managing LaunchQL projects—supports database scaffolding, migrations, seeding, code generation, and automation.
|
|
399
|
-
* [launchql/launchql-gen](https://github.com/launchql/launchql/tree/main/packages/launchql-gen): **✨ Auto-generated GraphQL** mutations and queries dynamically built from introspected schema data.
|
|
400
|
-
* [@launchql/query-builder](https://github.com/launchql/launchql/tree/main/packages/query-builder): **🏗️ SQL constructor** providing a robust TypeScript-based query builder for dynamic generation of `SELECT`, `INSERT`, `UPDATE`, `DELETE`, and stored procedure calls—supports advanced SQL features like `JOIN`, `GROUP BY`, and schema-qualified queries.
|
|
401
|
-
* [@launchql/query](https://github.com/launchql/launchql/tree/main/packages/query): **🧩 Fluent GraphQL builder** for PostGraphile schemas. ⚡ Schema-aware via introspection, 🧩 composable and ergonomic for building deeply nested queries.
|
|
402
|
-
|
|
403
342
|
## Credits
|
|
404
343
|
|
|
405
|
-
🛠 Built by
|
|
406
|
-
|
|
344
|
+
🛠 Built by Constructive — if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/constructive-io)
|
|
407
345
|
|
|
408
346
|
## Disclaimer
|
|
409
347
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Platform for schemas, APIs, and application programming",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -13,17 +13,7 @@
|
|
|
13
13
|
"bin": {
|
|
14
14
|
"constructive": "index.js"
|
|
15
15
|
},
|
|
16
|
-
|
|
17
|
-
"copy": "copyfiles -f ../../LICENSE README.md package.json dist",
|
|
18
|
-
"clean": "rimraf dist/**",
|
|
19
|
-
"prepack": "npm run build",
|
|
20
|
-
"build": "npm run clean; tsc -p tsconfig.json; tsc -p tsconfig.esm.json; npm run copy",
|
|
21
|
-
"build:dev": "npm run clean; tsc -p tsconfig.json --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
|
|
22
|
-
"dev": "ts-node ./src/index.ts",
|
|
23
|
-
"lint": "eslint . --fix",
|
|
24
|
-
"test": "jest",
|
|
25
|
-
"test:watch": "jest --watch"
|
|
26
|
-
},
|
|
16
|
+
|
|
27
17
|
"devDependencies": {
|
|
28
18
|
"@types/glob": "^8.1.0",
|
|
29
19
|
"@types/js-yaml": "^4.0.9",
|