pgl 0.0.6 → 5.0.0-alpha.16

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 (85) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/LICENSE.md +20 -0
  3. package/README.md +46 -11
  4. package/dist/cli-run.d.ts +3 -0
  5. package/dist/cli-run.d.ts.map +1 -0
  6. package/dist/cli-run.js +7 -0
  7. package/dist/cli-run.js.map +1 -0
  8. package/dist/index.d.ts +2 -0
  9. package/dist/index.d.ts.map +1 -0
  10. package/dist/index.js +5 -0
  11. package/dist/index.js.map +1 -0
  12. package/fwd/@dataplan/json/index.d.ts +1 -0
  13. package/fwd/@dataplan/json/index.js +1 -0
  14. package/fwd/@dataplan/pg/adaptors/pg/index.d.ts +1 -0
  15. package/fwd/@dataplan/pg/adaptors/pg/index.js +1 -0
  16. package/fwd/@dataplan/pg/index.d.ts +1 -0
  17. package/fwd/@dataplan/pg/index.js +1 -0
  18. package/fwd/grafast/envelop/index.d.ts +1 -0
  19. package/fwd/grafast/envelop/index.js +1 -0
  20. package/fwd/grafast/graphql/index.d.ts +1 -0
  21. package/fwd/grafast/graphql/index.js +1 -0
  22. package/fwd/grafast/index.d.ts +1 -0
  23. package/fwd/grafast/index.js +1 -0
  24. package/fwd/grafserv/express/v4/index.d.ts +1 -0
  25. package/fwd/grafserv/express/v4/index.js +1 -0
  26. package/fwd/grafserv/fastify/v4/index.d.ts +1 -0
  27. package/fwd/grafserv/fastify/v4/index.js +1 -0
  28. package/fwd/grafserv/index.d.ts +1 -0
  29. package/fwd/grafserv/index.js +1 -0
  30. package/fwd/grafserv/koa/v2/index.d.ts +1 -0
  31. package/fwd/grafserv/koa/v2/index.js +1 -0
  32. package/fwd/grafserv/node/index.d.ts +1 -0
  33. package/fwd/grafserv/node/index.js +1 -0
  34. package/fwd/grafserv/ruru/cli/index.d.ts +1 -0
  35. package/fwd/grafserv/ruru/cli/index.js +1 -0
  36. package/fwd/grafserv/ruru/index.d.ts +1 -0
  37. package/fwd/grafserv/ruru/index.js +1 -0
  38. package/fwd/grafserv/ruru/server/index.d.ts +1 -0
  39. package/fwd/grafserv/ruru/server/index.js +1 -0
  40. package/fwd/graphile-build/index.d.ts +2 -0
  41. package/fwd/graphile-build/index.js +1 -0
  42. package/fwd/graphile-build-pg/index.d.ts +1 -0
  43. package/fwd/graphile-build-pg/index.js +1 -0
  44. package/fwd/graphile-build-pg/pg-introspection/index.d.ts +1 -0
  45. package/fwd/graphile-build-pg/pg-introspection/index.js +1 -0
  46. package/fwd/pg-sql2/index.d.ts +1 -0
  47. package/fwd/pg-sql2/index.js +1 -0
  48. package/fwd/postgraphile/presets/amber/index.d.ts +1 -0
  49. package/fwd/postgraphile/presets/amber/index.js +1 -0
  50. package/fwd/postgraphile/presets/relay/index.d.ts +1 -0
  51. package/fwd/postgraphile/presets/relay/index.js +1 -0
  52. package/fwd/postgraphile/presets/v4/index.d.ts +1 -0
  53. package/fwd/postgraphile/presets/v4/index.js +1 -0
  54. package/fwd/postgraphile/utils/index.d.ts +1 -0
  55. package/fwd/postgraphile/utils/index.js +1 -0
  56. package/fwd/tamedevil/index.d.ts +1 -0
  57. package/fwd/tamedevil/index.js +1 -0
  58. package/package.json +202 -12
  59. package/.npmignore +0 -2
  60. package/LICENSE +0 -21
  61. package/examples/cube.js +0 -97
  62. package/examples/points.js +0 -82
  63. package/examples/shaders/flat-surface.fshader +0 -5
  64. package/examples/shaders/flat-surface.vshader +0 -72
  65. package/examples/shaders/matrices.fshader +0 -5
  66. package/examples/shaders/matrices.vshader +0 -12
  67. package/examples/shaders/model-and-view.fshader +0 -5
  68. package/examples/shaders/model-and-view.vshader +0 -23
  69. package/examples/shaders/pgl.fshader +0 -5
  70. package/examples/shaders/pgl.vshader +0 -53
  71. package/examples/shaders/simple.fshader +0 -5
  72. package/examples/shaders/simple.vshader +0 -8
  73. package/index.js +0 -25
  74. package/lib/camera.js +0 -222
  75. package/lib/geom.js +0 -256
  76. package/lib/light.js +0 -27
  77. package/lib/line.js +0 -10
  78. package/lib/mesh.js +0 -266
  79. package/lib/pgl-utils.js +0 -76
  80. package/lib/plask-utils.js +0 -46
  81. package/lib/renderer.js +0 -418
  82. package/lib/scene.js +0 -167
  83. package/lib/triangle.js +0 -73
  84. package/lib/vertex.js +0 -17
  85. package/test/index.js +0 -53
package/CHANGELOG.md ADDED
@@ -0,0 +1,44 @@
1
+ # pgl
2
+
3
+ ## 5.0.0-alpha.16
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ [[`d99d666fb`](https://github.com/benjie/postgraphile-private/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
9
+ - grafast@0.0.1-alpha.14
10
+ - @dataplan/json@0.0.1-alpha.14
11
+ - @dataplan/pg@0.0.1-alpha.15
12
+ - grafserv@0.0.1-alpha.14
13
+ - graphile-build@5.0.0-alpha.15
14
+ - graphile-build-pg@5.0.0-alpha.16
15
+ - postgraphile@5.0.0-alpha.16
16
+
17
+ ## 5.0.0-alpha.15
18
+
19
+ ### Patch Changes
20
+
21
+ - [#418](https://github.com/benjie/postgraphile-private/pull/418)
22
+ [`9ab2adba2`](https://github.com/benjie/postgraphile-private/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
23
+ Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
24
+ dependencies to try and eliminate duplicate modules error.
25
+ - Updated dependencies
26
+ [[`e7dd2e039`](https://github.com/benjie/postgraphile-private/commit/e7dd2e039769958d59a83ec3b164cad063c82500),
27
+ [`620f9e07e`](https://github.com/benjie/postgraphile-private/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
28
+ [`f115b6fb2`](https://github.com/benjie/postgraphile-private/commit/f115b6fb2338212688ccdbc3aeef77416058a2f7),
29
+ [`1882e0185`](https://github.com/benjie/postgraphile-private/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
30
+ [`881672305`](https://github.com/benjie/postgraphile-private/commit/88167230578393e3b24a364f0d673e36c5cb088d),
31
+ [`e5012f9a1`](https://github.com/benjie/postgraphile-private/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
32
+ [`9ab2adba2`](https://github.com/benjie/postgraphile-private/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
33
+ [`47f6f018b`](https://github.com/benjie/postgraphile-private/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
34
+ [`ff4395bfc`](https://github.com/benjie/postgraphile-private/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
35
+ [`502b23340`](https://github.com/benjie/postgraphile-private/commit/502b233401975637bc0d516af78721b37f6f9b7b),
36
+ [`dc94b4a30`](https://github.com/benjie/postgraphile-private/commit/dc94b4a3003a2fbe1d76e17bb519092fa134243a),
37
+ [`4eda0cd57`](https://github.com/benjie/postgraphile-private/commit/4eda0cd572274febad696ebb5a89472a981f8212)]:
38
+ - graphile-build-pg@5.0.0-alpha.15
39
+ - graphile-build@5.0.0-alpha.14
40
+ - postgraphile@5.0.0-alpha.15
41
+ - grafast@0.0.1-alpha.13
42
+ - @dataplan/pg@0.0.1-alpha.14
43
+ - @dataplan/json@0.0.1-alpha.13
44
+ - grafserv@0.0.1-alpha.13
package/LICENSE.md ADDED
@@ -0,0 +1,20 @@
1
+ # The MIT License (MIT)
2
+
3
+ Copyright © `2023` Benjie Gillam
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the “Software”), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,22 +1,57 @@
1
- ## pgl
1
+ # pgl - PostGraphile CLI
2
2
 
3
- A node module to provide a mesh drawing libray for use with the Plask programming environment for OSX.
3
+ [![GitHub Sponsors](https://img.shields.io/github/sponsors/benjie?color=ff69b4&label=github%20sponsors)](https://github.com/sponsors/benjie)
4
+ [![Patreon sponsor button](https://img.shields.io/badge/sponsor-via%20Patreon-orange.svg)](https://patreon.com/benjie)
5
+ [![Discord chat room](https://img.shields.io/discord/489127045289476126.svg)](http://discord.gg/graphile)
6
+ [![Follow](https://img.shields.io/badge/twitter-@GraphileHQ-blue.svg)](https://twitter.com/GraphileHQ)
4
7
 
5
- Light, camera and mesh objects can be added to a scene.
8
+ _**Instant lightning-fast GraphQL API backed primarily by your PostgreSQL
9
+ database. Highly customisable and extensible thanks to incredibly powerful
10
+ plugin system.**_
6
11
 
7
- The scene is an even emitter which enables objects within the scene to respond to each other. This may be overkill.
12
+ **Documentation**: https://postgraphile.org/postgraphile/next/
8
13
 
9
- This was written for a specific project requiring flat surface shading (heavily inspired by [https://github.com/wagerfield/flat-surface-shader](https://github.com/wagerfield/flat-surface-shader)) so there is a certain degree of hardcoding of values towards this end.
14
+ This is a shortcut to the `postgraphile` binary that also takes care of
15
+ installing all the peerDependencies for you. It's intended specifically for
16
+ compatibility with `npx`:
10
17
 
11
- If the plask binaries are installed the cube example can run with the command:
18
+ ```
19
+ npx pgl -P pgl/amber -c my_db
12
20
 
13
- plask example/cube.js
21
+ # Or: npx pgl -P postgraphile/preset/amber -c postgres://user:pass@host:port/dbname -s my_schema
22
+ ```
14
23
 
15
- Mouse drag over the window defaults to controlling the camera orbit.
24
+ <!-- SPONSORS_BEGIN -->
16
25
 
17
- Holding the Command key will translate the origin used for the orbit camera.
26
+ ## Crowd-funded open-source software
18
27
 
19
- Pressing 'r' will reset to the world origin.
28
+ To help us develop this software sustainably under the MIT license, we ask all
29
+ individuals and businesses that use it to help support its ongoing maintenance
30
+ and development via sponsorship.
20
31
 
21
- Holding Control will apply the mouse drag the rotation of the cube.
32
+ ### [Click here to find out more about sponsors and sponsorship.](https://www.graphile.org/sponsor/)
22
33
 
34
+ And please give some love to our featured sponsors 🤩:
35
+
36
+ <table><tr>
37
+ <td align="center"><a href="https://www.the-guild.dev/"><img src="https://graphile.org/images/sponsors/theguild.png" width="90" height="90" alt="The Guild" /><br />The Guild</a> *</td>
38
+ <td align="center"><a href="https://dovetailapp.com/"><img src="https://graphile.org/images/sponsors/dovetail.png" width="90" height="90" alt="Dovetail" /><br />Dovetail</a> *</td>
39
+ <td align="center"><a href="https://qwick.com/"><img src="https://graphile.org/images/sponsors/qwick.png" width="90" height="90" alt="Qwick" /><br />Qwick</a> *</td>
40
+ <td align="center"><a href="https://www.netflix.com/"><img src="https://graphile.org/images/sponsors/Netflix.png" width="90" height="90" alt="Netflix" /><br />Netflix</a> *</td>
41
+ </tr><tr>
42
+ <td align="center"><a href=""><img src="https://graphile.org/images/sponsors/chadf.png" width="90" height="90" alt="Chad Furman" /><br />Chad Furman</a> *</td>
43
+ <td align="center"><a href="https://stellate.co/"><img src="https://graphile.org/images/sponsors/Stellate.png" width="90" height="90" alt="Stellate" /><br />Stellate</a> *</td>
44
+ <td align="center"><a href="https://politicsrewired.com/"><img src="https://graphile.org/images/sponsors/politics-rewired.png" width="90" height="90" alt="Politics Rewired" /><br />Politics Rewired</a></td>
45
+ </tr></table>
46
+
47
+ <em>\* Sponsors the entire Graphile suite</em>
48
+
49
+ <!-- SPONSORS_END -->
50
+
51
+ ## Thanks
52
+
53
+ The `pgl` module was previously
54
+ [pgl@0.0.6](https://www.npmjs.com/package/pgl/v/0.0.6) (GitHub:
55
+ https://github.com/mattholl/pgl). The package name was generously transferred to
56
+ the PostGraphile project by [Matthew Hollings](https://github.com/mattholl).
57
+ Thanks Matthew!
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=cli-run.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-run.d.ts","sourceRoot":"","sources":["../src/cli-run.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ "use strict";
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const cli_1 = require("graphile-config/cli");
5
+ const cli_2 = require("postgraphile/cli");
6
+ (0, cli_1.runCli)(cli_2.options, cli_2.run);
7
+ //# sourceMappingURL=cli-run.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-run.js","sourceRoot":"","sources":["../src/cli-run.ts"],"names":[],"mappings":";;;AACA,6CAA6C;AAC7C,0CAAgD;AAEhD,IAAA,YAAM,EAAC,aAAO,EAAE,SAAG,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "postgraphile";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("postgraphile"), exports);
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B"}
@@ -0,0 +1 @@
1
+ export * from "@dataplan/json";
@@ -0,0 +1 @@
1
+ module.exports = require("@dataplan/json");
@@ -0,0 +1 @@
1
+ export * from "@dataplan/pg/adaptors/pg";
@@ -0,0 +1 @@
1
+ module.exports = require("@dataplan/pg/adaptors/pg");
@@ -0,0 +1 @@
1
+ export * from "@dataplan/pg";
@@ -0,0 +1 @@
1
+ module.exports = require("@dataplan/pg");
@@ -0,0 +1 @@
1
+ export * from "grafast/envelop";
@@ -0,0 +1 @@
1
+ module.exports = require("grafast/envelop");
@@ -0,0 +1 @@
1
+ export * from "grafast/graphql";
@@ -0,0 +1 @@
1
+ module.exports = require("grafast/graphql");
@@ -0,0 +1 @@
1
+ export * from "grafast";
@@ -0,0 +1 @@
1
+ module.exports = require("grafast");
@@ -0,0 +1 @@
1
+ export * from "grafserv/express/v4";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv/express/v4");
@@ -0,0 +1 @@
1
+ export * from "grafserv/fastify/v4";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv/fastify/v4");
@@ -0,0 +1 @@
1
+ export * from "grafserv";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv");
@@ -0,0 +1 @@
1
+ export * from "grafserv/koa/v2";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv/koa/v2");
@@ -0,0 +1 @@
1
+ export * from "grafserv/node";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv/node");
@@ -0,0 +1 @@
1
+ export * from "grafserv/ruru/cli";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv/ruru/cli");
@@ -0,0 +1 @@
1
+ export * from "grafserv/ruru";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv/ruru");
@@ -0,0 +1 @@
1
+ export * from "grafserv/ruru/server";
@@ -0,0 +1 @@
1
+ module.exports = require("grafserv/ruru/server");
@@ -0,0 +1,2 @@
1
+ // eslint-disable-next-line import/export
2
+ export * from "graphile-build";
@@ -0,0 +1 @@
1
+ module.exports = require("graphile-build");
@@ -0,0 +1 @@
1
+ export * from "graphile-build-pg";
@@ -0,0 +1 @@
1
+ module.exports = require("graphile-build-pg");
@@ -0,0 +1 @@
1
+ export * from "graphile-build-pg/pg-introspection";
@@ -0,0 +1 @@
1
+ module.exports = require("graphile-build-pg/pg-introspection");
@@ -0,0 +1 @@
1
+ export * from "pg-sql2";
@@ -0,0 +1 @@
1
+ module.exports = require("pg-sql2");
@@ -0,0 +1 @@
1
+ export * from "postgraphile/presets/amber";
@@ -0,0 +1 @@
1
+ module.exports = require("postgraphile/presets/amber");
@@ -0,0 +1 @@
1
+ export * from "postgraphile/presets/relay";
@@ -0,0 +1 @@
1
+ module.exports = require("postgraphile/presets/relay");
@@ -0,0 +1 @@
1
+ export * from "postgraphile/presets/v4";
@@ -0,0 +1 @@
1
+ module.exports = require("postgraphile/presets/v4");
@@ -0,0 +1 @@
1
+ export * from "postgraphile/utils";
@@ -0,0 +1 @@
1
+ module.exports = require("postgraphile/utils");
@@ -0,0 +1 @@
1
+ export * from "tamedevil";
@@ -0,0 +1 @@
1
+ module.exports = require("tamedevil");
package/package.json CHANGED
@@ -1,19 +1,209 @@
1
1
  {
2
2
  "name": "pgl",
3
- "version": "0.0.6",
4
- "description": "A node module to provide a mesh drawing libray for use with the Plask programming environment for OSX.",
5
- "keywords": [
6
- "Plask",
7
- "webgl"
8
- ],
9
- "main": "index.js",
3
+ "version": "5.0.0-alpha.16",
4
+ "description": "Automatic, high performance, and highly customizable GraphQL API for PostgreSQL",
5
+ "type": "commonjs",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./dist/index.d.ts",
9
+ "node": "./dist/index.js",
10
+ "default": "./dist/index.js"
11
+ },
12
+ "./amber": {
13
+ "types": "./fwd/postgraphile/presets/amber/index.d.ts",
14
+ "node": "./fwd/postgraphile/presets/amber/index.js",
15
+ "default": "./fwd/postgraphile/presets/amber/index.js"
16
+ },
17
+ "./v4": {
18
+ "types": "./fwd/postgraphile/presets/v4/index.d.ts",
19
+ "node": "./fwd/postgraphile/presets/v4/index.js",
20
+ "default": "./fwd/postgraphile/presets/v4/index.js"
21
+ },
22
+ "./relay": {
23
+ "types": "./fwd/postgraphile/presets/relay/index.d.ts",
24
+ "node": "./fwd/postgraphile/presets/relay/index.js",
25
+ "default": "./fwd/postgraphile/presets/relay/index.js"
26
+ },
27
+ "./adaptors/pg": {
28
+ "types": "./fwd/@dataplan/pg/adaptors/pg/index.d.ts",
29
+ "node": "./fwd/@dataplan/pg/adaptors/pg/index.js",
30
+ "default": "./fwd/@dataplan/pg/adaptors/pg/index.js"
31
+ },
32
+ "./graphql": {
33
+ "types": "./fwd/grafast/graphql/index.d.ts",
34
+ "node": "./fwd/grafast/graphql/index.js",
35
+ "default": "./fwd/grafast/graphql/index.js"
36
+ },
37
+ "./@dataplan/json": {
38
+ "types": "./fwd/@dataplan/json/index.d.ts",
39
+ "node": "./fwd/@dataplan/json/index.js",
40
+ "default": "./fwd/@dataplan/json/index.js"
41
+ },
42
+ "./@dataplan/pg": {
43
+ "types": "./fwd/@dataplan/pg/index.d.ts",
44
+ "node": "./fwd/@dataplan/pg/index.js",
45
+ "default": "./fwd/@dataplan/pg/index.js"
46
+ },
47
+ "./@dataplan/pg/adaptors/pg": {
48
+ "types": "./fwd/@dataplan/pg/adaptors/pg/index.d.ts",
49
+ "node": "./fwd/@dataplan/pg/adaptors/pg/index.js",
50
+ "default": "./fwd/@dataplan/pg/adaptors/pg/index.js"
51
+ },
52
+ "./grafast": {
53
+ "types": "./fwd/grafast/index.d.ts",
54
+ "node": "./fwd/grafast/index.js",
55
+ "default": "./fwd/grafast/index.js"
56
+ },
57
+ "./grafast/envelop": {
58
+ "types": "./fwd/grafast/envelop/index.d.ts",
59
+ "node": "./fwd/grafast/envelop/index.js",
60
+ "default": "./fwd/grafast/envelop/index.js"
61
+ },
62
+ "./grafast/graphql": {
63
+ "types": "./fwd/grafast/graphql/index.d.ts",
64
+ "node": "./fwd/grafast/graphql/index.js",
65
+ "default": "./fwd/grafast/graphql/index.js"
66
+ },
67
+ "./grafserv": {
68
+ "types": "./fwd/grafserv/index.d.ts",
69
+ "node": "./fwd/grafserv/index.js",
70
+ "default": "./fwd/grafserv/index.js"
71
+ },
72
+ "./grafserv/node": {
73
+ "types": "./fwd/grafserv/node/index.d.ts",
74
+ "node": "./fwd/grafserv/node/index.js",
75
+ "default": "./fwd/grafserv/node/index.js"
76
+ },
77
+ "./grafserv/express/v4": {
78
+ "types": "./fwd/grafserv/express/v4/index.d.ts",
79
+ "node": "./fwd/grafserv/express/v4/index.js",
80
+ "default": "./fwd/grafserv/express/v4/index.js"
81
+ },
82
+ "./grafserv/koa/v2": {
83
+ "types": "./fwd/grafserv/koa/v2/index.d.ts",
84
+ "node": "./fwd/grafserv/koa/v2/index.js",
85
+ "default": "./fwd/grafserv/koa/v2/index.js"
86
+ },
87
+ "./grafserv/fastify/v4": {
88
+ "types": "./fwd/grafserv/fastify/v4/index.d.ts",
89
+ "node": "./fwd/grafserv/fastify/v4/index.js",
90
+ "default": "./fwd/grafserv/fastify/v4/index.js"
91
+ },
92
+ "./grafserv/ruru": {
93
+ "types": "./fwd/grafserv/ruru/index.d.ts",
94
+ "node": "./fwd/grafserv/ruru/index.js",
95
+ "default": "./fwd/grafserv/ruru/index.js"
96
+ },
97
+ "./grafserv/ruru/server": {
98
+ "types": "./fwd/grafserv/ruru/server/index.d.ts",
99
+ "node": "./fwd/grafserv/ruru/server/index.js",
100
+ "default": "./fwd/grafserv/ruru/server/index.js"
101
+ },
102
+ "./grafserv/ruru/cli": {
103
+ "types": "./fwd/grafserv/ruru/cli/index.d.ts",
104
+ "node": "./fwd/grafserv/ruru/cli/index.js",
105
+ "default": "./fwd/grafserv/ruru/cli/index.js"
106
+ },
107
+ "./graphile-build": {
108
+ "types": "./fwd/graphile-build/index.d.ts",
109
+ "node": "./fwd/graphile-build/index.js",
110
+ "default": "./fwd/graphile-build/index.js"
111
+ },
112
+ "./graphile-build-pg": {
113
+ "types": "./fwd/graphile-build-pg/index.d.ts",
114
+ "node": "./fwd/graphile-build-pg/index.js",
115
+ "default": "./fwd/graphile-build-pg/index.js"
116
+ },
117
+ "./graphile-build-pg/pg-introspection": {
118
+ "types": "./fwd/graphile-build-pg/pg-introspection/index.d.ts",
119
+ "node": "./fwd/graphile-build-pg/pg-introspection/index.js",
120
+ "default": "./fwd/graphile-build-pg/pg-introspection/index.js"
121
+ },
122
+ "./pg-sql2": {
123
+ "types": "./fwd/pg-sql2/index.d.ts",
124
+ "node": "./fwd/pg-sql2/index.js",
125
+ "default": "./fwd/pg-sql2/index.js"
126
+ },
127
+ "./tamedevil": {
128
+ "types": "./fwd/tamedevil/index.d.ts",
129
+ "node": "./fwd/tamedevil/index.js",
130
+ "default": "./fwd/tamedevil/index.js"
131
+ },
132
+ "./utils": {
133
+ "types": "./fwd/postgraphile/utils/index.d.ts",
134
+ "node": "./fwd/postgraphile/utils/index.js",
135
+ "default": "./fwd/postgraphile/utils/index.js"
136
+ }
137
+ },
138
+ "bin": "./dist/cli-run.js",
10
139
  "scripts": {
11
- "test": "mocha -u bdd -R spec"
140
+ "prepack": "tsc -b tsconfig.build.json"
12
141
  },
13
142
  "repository": {
14
143
  "type": "git",
15
- "url": "https://github.com/mattholl/pgl.git"
144
+ "url": "git+https://github.com/graphile/heart.git"
16
145
  },
17
- "author": "Matt Hollings <matthew.hollings@gamil.com>",
18
- "license": "MIT"
19
- }
146
+ "keywords": [
147
+ "graphile",
148
+ "graphql",
149
+ "engine",
150
+ "postgraphile",
151
+ "cli",
152
+ "pg",
153
+ "postgres",
154
+ "postgresql",
155
+ "graphqljs",
156
+ "plugin",
157
+ "engine",
158
+ "extension",
159
+ "graphite"
160
+ ],
161
+ "author": "Benjie Gillam <code@benjiegillam.com>",
162
+ "license": "MIT",
163
+ "bugs": {
164
+ "url": "https://github.com/graphile/heart/issues"
165
+ },
166
+ "homepage": "https://graphile.org/graphile-engine/",
167
+ "dependencies": {
168
+ "@dataplan/json": "0.0.1-alpha.14",
169
+ "@dataplan/pg": "0.0.1-alpha.15",
170
+ "@graphile/lru": "^5.0.0-alpha.2",
171
+ "@types/node": "^18.15.5",
172
+ "@types/pg": "^8.6.2",
173
+ "debug": "^4.3.3",
174
+ "grafast": "^0.0.1-alpha.14",
175
+ "grafserv": "^0.0.1-alpha.14",
176
+ "graphile-build": "5.0.0-alpha.15",
177
+ "graphile-build-pg": "5.0.0-alpha.16",
178
+ "graphile-config": "^0.0.1-alpha.6",
179
+ "graphql": "16.1.0-experimental-stream-defer.6",
180
+ "iterall": "^1.3.0",
181
+ "jsonwebtoken": "^8.5.1",
182
+ "pg": "^8.7.1",
183
+ "pg-introspection": "^0.0.1-alpha.4",
184
+ "pg-sql2": "^5.0.0-alpha.3",
185
+ "postgraphile": "^5.0.0-alpha.16",
186
+ "tamedevil": "^0.0.0-alpha.4",
187
+ "tslib": "^2.5.0",
188
+ "ws": "^8.12.1"
189
+ },
190
+ "engines": {
191
+ "node": ">=16"
192
+ },
193
+ "files": [
194
+ "dist",
195
+ "fwd",
196
+ "index.js"
197
+ ],
198
+ "devDependencies": {
199
+ "@types/debug": "^4.1.7",
200
+ "@types/express": "^4",
201
+ "@types/jest": "^27.5.1",
202
+ "@types/jsonwebtoken": "^8",
203
+ "@types/nodemon": "1.19.1",
204
+ "jest": "^28.1.3",
205
+ "nodemon": "^2.0.15",
206
+ "ts-node": "^10.9.1",
207
+ "typescript": "^5.0.4"
208
+ }
209
+ }
package/.npmignore DELETED
@@ -1,2 +0,0 @@
1
- *.sublime*
2
- NOTES.md
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014 mttholl
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.