graphile-simple-inflector 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. package/README.md +6 -13
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -8,8 +8,12 @@
8
8
  <a href="https://github.com/launchql/launchql/actions/workflows/run-tests.yaml">
9
9
  <img height="20" src="https://github.com/launchql/launchql/actions/workflows/run-tests.yaml/badge.svg" />
10
10
  </a>
11
- <a href="https://github.com/launchql/launchql/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
12
- <a href="https://www.npmjs.com/package/graphile-simple-inflector"><img height="20" src="https://img.shields.io/github/package-json/v/launchql/launchql?filename=graphile%2Fgraphile-simple-inflector%2Fpackage.json"/></a>
11
+ <a href="https://github.com/launchql/launchql/blob/main/LICENSE">
12
+ <img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/>
13
+ </a>
14
+ <a href="https://www.npmjs.com/package/graphile-simple-inflector">
15
+ <img height="20" src="https://img.shields.io/github/package-json/v/launchql/launchql?filename=graphile%2Fgraphile-simple-inflector%2Fpackage.json"/>
16
+ </a>
13
17
  </p>
14
18
 
15
19
  Simplified naming inflector for Graphile/PostGraphile. It shortens common field names (e.g. `tableByNodeId` → `table`) and makes pluralization behave more predictably for numeric suffixes.
@@ -34,17 +38,6 @@ createPostGraphileSchema(pool, ['app_public'], {
34
38
  });
35
39
  ```
36
40
 
37
- ## Testing
38
-
39
- Tests expect a running PostgreSQL instance (see `utils/env.ts` for defaults). Seed the test database with the provided fixtures or let the test harness create them automatically:
40
-
41
- ```sh
42
- psql -U postgres -f sql/roles.sql postgres
43
- pnpm test --filter graphile-simple-inflector
44
- ```
45
-
46
- The included SQL under `sql/` matches the original package's fixtures.
47
-
48
41
  ---
49
42
 
50
43
  ## Education and Tutorials
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphile-simple-inflector",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Simple inflector plugin for Graphile/PostGraphile",
5
5
  "author": "Dan Lynch <pyramation@gmail.com>",
6
6
  "homepage": "https://github.com/launchql/launchql",
@@ -39,13 +39,13 @@
39
39
  "url": "https://github.com/launchql/launchql/issues"
40
40
  },
41
41
  "devDependencies": {
42
- "graphile-test": "^2.8.9",
42
+ "graphile-test": "^2.8.10",
43
43
  "graphql-tag": "2.12.6",
44
44
  "makage": "^0.1.8",
45
- "pgsql-test": "^2.14.12"
45
+ "pgsql-test": "^2.14.13"
46
46
  },
47
47
  "dependencies": {
48
48
  "graphile-build": "^4.14.1"
49
49
  },
50
- "gitHead": "3812f24a480b2035b3413ec7fecfe492f294e590"
50
+ "gitHead": "4e1ff9771c2b07808a9830281abc24d12c689187"
51
51
  }