graphile-i18n 0.1.7 → 0.1.8
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/LICENSE +1 -1
- package/README.md +37 -37
- package/package.json +7 -7
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2025 Dan Lynch <pyramation@gmail.com>
|
|
4
|
-
Copyright (c) 2025
|
|
4
|
+
Copyright (c) 2025 Constructive <developers@constructive.io>
|
|
5
5
|
Copyright (c) 2020-present, Interweb, Inc.
|
|
6
6
|
|
|
7
7
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# graphile-i18n
|
|
2
2
|
|
|
3
3
|
<p align="center" width="100%">
|
|
4
|
-
<img height="250" src="https://raw.githubusercontent.com/
|
|
4
|
+
<img height="250" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center" width="100%">
|
|
8
|
-
<a href="https://github.com/
|
|
9
|
-
<img height="20" src="https://github.com/
|
|
8
|
+
<a href="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml">
|
|
9
|
+
<img height="20" src="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml/badge.svg" />
|
|
10
10
|
</a>
|
|
11
|
-
<a href="https://github.com/
|
|
11
|
+
<a href="https://github.com/constructive-io/constructive/blob/main/LICENSE">
|
|
12
12
|
<img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/>
|
|
13
13
|
</a>
|
|
14
14
|
<a href="https://www.npmjs.com/package/graphile-i18n">
|
|
@@ -97,71 +97,71 @@ pnpm --filter graphile-i18n test
|
|
|
97
97
|
|
|
98
98
|
## Education and Tutorials
|
|
99
99
|
|
|
100
|
-
1. 🚀 [Quickstart: Getting Up and Running](https://
|
|
100
|
+
1. 🚀 [Quickstart: Getting Up and Running](https://constructive.io/learn/quickstart)
|
|
101
101
|
Get started with modular databases in minutes. Install prerequisites and deploy your first module.
|
|
102
102
|
|
|
103
|
-
2. 📦 [Modular PostgreSQL Development with Database Packages](https://
|
|
103
|
+
2. 📦 [Modular PostgreSQL Development with Database Packages](https://constructive.io/learn/modular-postgres)
|
|
104
104
|
Learn to organize PostgreSQL projects with pgpm workspaces and reusable database modules.
|
|
105
105
|
|
|
106
|
-
3. ✏️ [Authoring Database Changes](https://
|
|
106
|
+
3. ✏️ [Authoring Database Changes](https://constructive.io/learn/authoring-database-changes)
|
|
107
107
|
Master the workflow for adding, organizing, and managing database changes with pgpm.
|
|
108
108
|
|
|
109
|
-
4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://
|
|
109
|
+
4. 🧪 [End-to-End PostgreSQL Testing with TypeScript](https://constructive.io/learn/e2e-postgres-testing)
|
|
110
110
|
Master end-to-end PostgreSQL testing with ephemeral databases, RLS testing, and CI/CD automation.
|
|
111
111
|
|
|
112
|
-
5. ⚡ [Supabase Testing](https://
|
|
112
|
+
5. ⚡ [Supabase Testing](https://constructive.io/learn/supabase)
|
|
113
113
|
Use TypeScript-first tools to test Supabase projects with realistic RLS, policies, and auth contexts.
|
|
114
114
|
|
|
115
|
-
6. 💧 [Drizzle ORM Testing](https://
|
|
115
|
+
6. 💧 [Drizzle ORM Testing](https://constructive.io/learn/drizzle-testing)
|
|
116
116
|
Run full-stack tests with Drizzle ORM, including database setup, teardown, and RLS enforcement.
|
|
117
117
|
|
|
118
|
-
7. 🔧 [Troubleshooting](https://
|
|
118
|
+
7. 🔧 [Troubleshooting](https://constructive.io/learn/troubleshooting)
|
|
119
119
|
Common issues and solutions for pgpm, PostgreSQL, and testing.
|
|
120
120
|
|
|
121
|
-
## Related
|
|
121
|
+
## Related Constructive Tooling
|
|
122
122
|
|
|
123
123
|
### 🧪 Testing
|
|
124
124
|
|
|
125
|
-
* [
|
|
126
|
-
* [
|
|
127
|
-
* [
|
|
128
|
-
* [
|
|
125
|
+
* [pgsql-test](https://github.com/constructive-io/constructive/tree/main/packages/pgsql-test): **📊 Isolated testing environments** with per-test transaction rollbacks—ideal for integration tests, complex migrations, and RLS simulation.
|
|
126
|
+
* [supabase-test](https://github.com/constructive-io/constructive/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.
|
|
127
|
+
* [graphile-test](https://github.com/constructive-io/constructive/tree/main/packages/graphile-test): **🔐 Authentication mocking** for Graphile-focused test helpers and emulating row-level security contexts.
|
|
128
|
+
* [pg-query-context](https://github.com/constructive-io/constructive/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.
|
|
129
129
|
|
|
130
130
|
### 🧠 Parsing & AST
|
|
131
131
|
|
|
132
|
-
* [
|
|
133
|
-
* [
|
|
134
|
-
* [
|
|
135
|
-
* [@pgsql/enums](https://
|
|
136
|
-
* [@pgsql/types](https://
|
|
137
|
-
* [@pgsql/utils](https://
|
|
138
|
-
* [
|
|
132
|
+
* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): **🔄 SQL conversion engine** that interprets and converts PostgreSQL syntax.
|
|
133
|
+
* [libpg-query-node](https://www.npmjs.com/package/libpg-query): **🌉 Node.js bindings** for `libpg_query`, converting SQL into parse trees.
|
|
134
|
+
* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): **📦 Protobuf parser** for parsing PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.
|
|
135
|
+
* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): **🏷️ TypeScript enums** for PostgreSQL AST for safe and ergonomic parsing logic.
|
|
136
|
+
* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): **📝 Type definitions** for PostgreSQL AST nodes in TypeScript.
|
|
137
|
+
* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): **🛠️ AST utilities** for constructing and transforming PostgreSQL syntax trees.
|
|
138
|
+
* [pg-ast](https://www.npmjs.com/package/pg-ast): **🔍 Low-level AST tools** and transformations for Postgres query structures.
|
|
139
139
|
|
|
140
140
|
### 🚀 API & Dev Tools
|
|
141
141
|
|
|
142
|
-
* [launchql/server](https://github.com/
|
|
143
|
-
* [launchql/explorer](https://github.com/
|
|
142
|
+
* [launchql/server](https://github.com/constructive-io/constructive/tree/main/packages/server): **⚡ Express-based API server** powered by PostGraphile to expose a secure, scalable GraphQL API over your Postgres database.
|
|
143
|
+
* [launchql/explorer](https://github.com/constructive-io/constructive/tree/main/packages/explorer): **🔎 Visual API explorer** with GraphiQL for browsing across all databases and schemas—useful for debugging, documentation, and API prototyping.
|
|
144
144
|
|
|
145
145
|
### 🔁 Streaming & Uploads
|
|
146
146
|
|
|
147
|
-
* [launchql/s3-streamer](https://github.com/
|
|
148
|
-
* [launchql/etag-hash](https://github.com/
|
|
149
|
-
* [launchql/etag-stream](https://github.com/
|
|
150
|
-
* [launchql/uuid-hash](https://github.com/
|
|
151
|
-
* [launchql/uuid-stream](https://github.com/
|
|
152
|
-
* [launchql/upload-names](https://github.com/
|
|
147
|
+
* [launchql/s3-streamer](https://github.com/constructive-io/constructive/tree/main/packages/s3-streamer): **📤 Direct S3 streaming** for large files with support for metadata injection and content validation.
|
|
148
|
+
* [launchql/etag-hash](https://github.com/constructive-io/constructive/tree/main/packages/etag-hash): **🏷️ S3-compatible ETags** created by streaming and hashing file uploads in chunks.
|
|
149
|
+
* [launchql/etag-stream](https://github.com/constructive-io/constructive/tree/main/packages/etag-stream): **🔄 ETag computation** via Node stream transformer during upload or transfer.
|
|
150
|
+
* [launchql/uuid-hash](https://github.com/constructive-io/constructive/tree/main/packages/uuid-hash): **🆔 Deterministic UUIDs** generated from hashed content, great for deduplication and asset referencing.
|
|
151
|
+
* [launchql/uuid-stream](https://github.com/constructive-io/constructive/tree/main/packages/uuid-stream): **🌊 Streaming UUID generation** based on piped file content—ideal for upload pipelines.
|
|
152
|
+
* [launchql/upload-names](https://github.com/constructive-io/constructive/tree/main/packages/upload-names): **📂 Collision-resistant filenames** utility for structured and unique file names for uploads.
|
|
153
153
|
|
|
154
154
|
### 🧰 CLI & Codegen
|
|
155
155
|
|
|
156
|
-
* [pgpm](https://github.com/
|
|
157
|
-
* [@launchql/cli](https://github.com/
|
|
158
|
-
* [launchql/launchql-gen](https://github.com/
|
|
159
|
-
* [@launchql/query-builder](https://github.com/
|
|
160
|
-
* [@launchql/query](https://github.com/
|
|
156
|
+
* [pgpm](https://github.com/constructive-io/constructive/tree/main/packages/pgpm): **🖥️ PostgreSQL Package Manager** for modular Postgres development. Works with database workspaces, scaffolding, migrations, seeding, and installing database packages.
|
|
157
|
+
* [@launchql/cli](https://github.com/constructive-io/constructive/tree/main/packages/cli): **🖥️ Command-line toolkit** for managing LaunchQL projects—supports database scaffolding, migrations, seeding, code generation, and automation.
|
|
158
|
+
* [launchql/launchql-gen](https://github.com/constructive-io/constructive/tree/main/packages/launchql-gen): **✨ Auto-generated GraphQL** mutations and queries dynamically built from introspected schema data.
|
|
159
|
+
* [@launchql/query-builder](https://github.com/constructive-io/constructive/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.
|
|
160
|
+
* [@launchql/query](https://github.com/constructive-io/constructive/tree/main/packages/query): **🧩 Fluent GraphQL builder** for PostGraphile schemas. ⚡ Schema-aware via introspection, 🧩 composable and ergonomic for building deeply nested queries.
|
|
161
161
|
|
|
162
162
|
## Credits
|
|
163
163
|
|
|
164
|
-
🛠 Built by
|
|
164
|
+
🛠 Built by Constructive — if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/constructive-io)
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
## Disclaimer
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphile-i18n",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "Graphile i18n plugin",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
|
-
"homepage": "https://github.com/
|
|
6
|
+
"homepage": "https://github.com/constructive-io/constructive",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"module": "esm/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
27
|
-
"url": "https://github.com/
|
|
27
|
+
"url": "https://github.com/constructive-io/constructive"
|
|
28
28
|
},
|
|
29
29
|
"keywords": [
|
|
30
30
|
"postgraphile",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"graphql"
|
|
36
36
|
],
|
|
37
37
|
"bugs": {
|
|
38
|
-
"url": "https://github.com/
|
|
38
|
+
"url": "https://github.com/constructive-io/constructive/issues"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/accept-language-parser": "^1.5.4",
|
|
42
42
|
"@types/pg": "^8.15.2",
|
|
43
|
-
"graphile-test": "^2.8.
|
|
43
|
+
"graphile-test": "^2.8.12",
|
|
44
44
|
"makage": "^0.1.8",
|
|
45
|
-
"pgsql-test": "^2.14.
|
|
45
|
+
"pgsql-test": "^2.14.15"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"accept-language-parser": "^1.5.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"graphql-tag": "2.12.6",
|
|
56
56
|
"pg": "^8.16.0"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "5a0d7c7502624bd42a214f983fd7ab957e1fb3e3"
|
|
59
59
|
}
|