From 4227d3365a18fde6115fb38d58421652aa472dd5 Mon Sep 17 00:00:00 2001 From: starptech Date: Thu, 22 Dec 2022 21:58:27 +0100 Subject: [PATCH] feat: add build script convention, improve readme --- README.md | 14 +-- package-lock.json | 281 +++++++++++++++++++++++++++++++++++++++++----- package.json | 4 +- 3 files changed, 256 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index b2e7738..ac6bfc5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Simple starter for WunderGraph Cloud +# WunderGraph Cloud Starter -A simple starter that consumes the [GraphQL SpaceX API](https://spacex-api.fly.dev/graphql/). +A simple starter that consumes the [GraphQL SpaceX API](https://spacex-api.fly.dev/graphql/) ### Getting started locally @@ -14,8 +14,6 @@ Get SpaceX Dragons curl -X GET http://localhost:9991/operations/Dragons ``` ---- - ### Deploy to WunderGraph Cloud 1. Fork this repo @@ -24,7 +22,7 @@ curl -X GET http://localhost:9991/operations/Dragons 4. Import the forked repo 5. Deploy the project -Try it out (replace `YOUR_PROJECT_ID` with your project id): +Try it out (replace `YOUR_PROJECT_NAME` with your project name): ```shell curl -X GET https://{YOUR_PROJECT_NAME}.wundergraph.dev/operations/Dragons @@ -35,11 +33,7 @@ curl -X GET https://{YOUR_PROJECT_NAME}.wundergraph.dev/operations/Dragons 1. Make changes to the `main` branch, e.g. change the query in `.wundergraph/operations/Dragons.graphql` 2. Commit and push the changes -See your changes live in less than 20 seconds. - -```shell -curl -X GET https://{YOUR_PROJECT_NAME}.wundergraph.dev/operations/Dragons -``` +See your changes live in less than a minute. --- diff --git a/package-lock.json b/package-lock.json index 38a67db..e6ee6b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@wundergraph/sdk": "^0.124.0" + "@wundergraph/sdk": "^0.128.0" }, "devDependencies": { "@types/node": "^14.14.37", @@ -287,16 +287,16 @@ } }, "node_modules/@wundergraph/sdk": { - "version": "0.124.0", - "resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.124.0.tgz", - "integrity": "sha512-sRz20cGI7beNCaxycov3G6F6YoeyLV1K2fzybkTbQ58mFaVLmt015sHFpJ2aQIOo2VyFETpH1R7f7GMVZWc8XQ==", + "version": "0.128.0", + "resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.128.0.tgz", + "integrity": "sha512-n4ojXJcU8+zHlVQHwJ/zTzDEXr/usJmFFjJPNypq/NZG8/KtlNLtl6qMQ7Nv9x1mOmnlqkNP12hNbuBYtJ7Huw==", "dependencies": { "@fastify/formbody": "^7.3.0", "@graphql-tools/schema": "^8.3.10", "@prisma/generator-helper": "^3.9.2", "@web-std/fetch": "^4.1.0", "@wundergraph/protobuf": "^0.100.0", - "@wundergraph/wunderctl": ">=0.119.0", + "@wundergraph/wunderctl": ">=0.121.0", "axios": "^0.26.1", "axios-retry": "^3.3.1", "close-with-grace": "^1.1.0", @@ -317,16 +317,18 @@ "postman-collection": "^4.1.1", "prettier": "^2.7.1", "protobufjs": "^6.11.2", - "swagger2openapi": "^7.0.8" + "swagger2openapi": "^7.0.8", + "terminate": "^2.5.0", + "ts-retry-promise": "^0.7.0" }, "bin": { "wunderctl": "dist/wunderctl/bin/run.js" } }, "node_modules/@wundergraph/wunderctl": { - "version": "0.119.0", - "resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.119.0.tgz", - "integrity": "sha512-BUWBpScOA20jTRR8a5Aw5btMtK7OGcClqmbEq9g64Vx7U+rdoho2lcWfU9G2lFbZxuWcXqIJuommCxZj2wyAHw==", + "version": "0.121.0", + "resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.121.0.tgz", + "integrity": "sha512-07if1CKSZ+MviMWO7vcPdKt3XofNsmuYJdxO5beZG+6FXxjvHJx4xiTGT5a3qJXmvooX2KsU2cbFa6KvulIXXQ==", "hasInstallScript": true, "dependencies": { "axios": "^0.26.1", @@ -694,6 +696,11 @@ "detect-libc": "^1.0.3" } }, + "node_modules/duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" + }, "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -720,6 +727,20 @@ "node": ">=6" } }, + "node_modules/event-stream": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", + "integrity": "sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==", + "dependencies": { + "duplexer": "~0.1.1", + "from": "~0", + "map-stream": "~0.1.0", + "pause-stream": "0.0.11", + "split": "0.3", + "stream-combiner": "~0.0.4", + "through": "~2.3.1" + } + }, "node_modules/event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -902,6 +923,11 @@ "node": ">= 0.6" } }, + "node_modules/from": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", + "integrity": "sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==" + }, "node_modules/fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", @@ -913,6 +939,17 @@ "node": ">= 8" } }, + "node_modules/fs-minipass/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -1306,6 +1343,11 @@ "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" }, + "node_modules/map-stream": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz", + "integrity": "sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==" + }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -1366,9 +1408,9 @@ } }, "node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.0.0.tgz", + "integrity": "sha512-g2Uuh2jEKoht+zvO6vJqXmYpflPqzRBT+Th2h01DKh5z7wbY/AZ2gCQ78cP70YoHPyFdY30YBV5WxgLOEwOykw==", "dependencies": { "yallist": "^4.0.0" }, @@ -1388,6 +1430,17 @@ "node": ">= 8" } }, + "node_modules/minizlib/node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", @@ -1587,6 +1640,14 @@ "node": ">=8" } }, + "node_modules/pause-stream": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", + "integrity": "sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==", + "dependencies": { + "through": "~2.3" + } + }, "node_modules/pino": { "version": "8.7.0", "resolved": "https://registry.npmjs.org/pino/-/pino-8.7.0.tgz", @@ -1772,6 +1833,20 @@ "node": ">= 0.10" } }, + "node_modules/ps-tree": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.2.0.tgz", + "integrity": "sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==", + "dependencies": { + "event-stream": "=3.3.4" + }, + "bin": { + "ps-tree": "bin/ps-tree.js" + }, + "engines": { + "node": ">= 0.10" + } + }, "node_modules/pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -2083,6 +2158,17 @@ "node": ">=0.10.0" } }, + "node_modules/split": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", + "integrity": "sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==", + "dependencies": { + "through": "2" + }, + "engines": { + "node": "*" + } + }, "node_modules/split2": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.1.0.tgz", @@ -2091,6 +2177,14 @@ "node": ">= 10.x" } }, + "node_modules/stream-combiner": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", + "integrity": "sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==", + "dependencies": { + "duplexer": "~0.1.1" + } + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -2180,13 +2274,13 @@ } }, "node_modules/tar": { - "version": "6.1.12", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.12.tgz", - "integrity": "sha512-jU4TdemS31uABHd+Lt5WEYJuzn+TJTCBLljvIAHZOz6M9Os5pJ4dD+vRFLxPa/n3T0iEFzpi+0x1UfuDZYbRMw==", + "version": "6.1.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.13.tgz", + "integrity": "sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==", "dependencies": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", + "minipass": "^4.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" @@ -2195,6 +2289,17 @@ "node": ">=10" } }, + "node_modules/terminate": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/terminate/-/terminate-2.5.0.tgz", + "integrity": "sha512-WnhIjfoTiIvmrfey4GSkqJevEHbIFnSdKeutHwA+cm81/1+GlAHLw1pBKxsKqkrqMaQKK65V6WrvUa851phbgA==", + "dependencies": { + "ps-tree": "^1.2.0" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/thread-stream": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-2.2.0.tgz", @@ -2203,6 +2308,11 @@ "real-require": "^0.2.0" } }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + }, "node_modules/tiny-lru": { "version": "9.0.3", "resolved": "https://registry.npmjs.org/tiny-lru/-/tiny-lru-9.0.3.tgz", @@ -2262,6 +2372,14 @@ "node": ">= 0.10.0" } }, + "node_modules/ts-retry-promise": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/ts-retry-promise/-/ts-retry-promise-0.7.0.tgz", + "integrity": "sha512-x6yWZXC4BfXy4UyMweOFvbS1yJ/Y5biSz/mEPiILtJZLrqD3ZxIpzVOGGgifHHdaSe3WxzFRtsRbychI6zofOg==", + "engines": { + "node": ">=6" + } + }, "node_modules/tslib": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", @@ -2731,16 +2849,16 @@ } }, "@wundergraph/sdk": { - "version": "0.124.0", - "resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.124.0.tgz", - "integrity": "sha512-sRz20cGI7beNCaxycov3G6F6YoeyLV1K2fzybkTbQ58mFaVLmt015sHFpJ2aQIOo2VyFETpH1R7f7GMVZWc8XQ==", + "version": "0.128.0", + "resolved": "https://registry.npmjs.org/@wundergraph/sdk/-/sdk-0.128.0.tgz", + "integrity": "sha512-n4ojXJcU8+zHlVQHwJ/zTzDEXr/usJmFFjJPNypq/NZG8/KtlNLtl6qMQ7Nv9x1mOmnlqkNP12hNbuBYtJ7Huw==", "requires": { "@fastify/formbody": "^7.3.0", "@graphql-tools/schema": "^8.3.10", "@prisma/generator-helper": "^3.9.2", "@web-std/fetch": "^4.1.0", "@wundergraph/protobuf": "^0.100.0", - "@wundergraph/wunderctl": ">=0.119.0", + "@wundergraph/wunderctl": ">=0.121.0", "axios": "^0.26.1", "axios-retry": "^3.3.1", "close-with-grace": "^1.1.0", @@ -2761,13 +2879,15 @@ "postman-collection": "^4.1.1", "prettier": "^2.7.1", "protobufjs": "^6.11.2", - "swagger2openapi": "^7.0.8" + "swagger2openapi": "^7.0.8", + "terminate": "^2.5.0", + "ts-retry-promise": "^0.7.0" } }, "@wundergraph/wunderctl": { - "version": "0.119.0", - "resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.119.0.tgz", - "integrity": "sha512-BUWBpScOA20jTRR8a5Aw5btMtK7OGcClqmbEq9g64Vx7U+rdoho2lcWfU9G2lFbZxuWcXqIJuommCxZj2wyAHw==", + "version": "0.121.0", + "resolved": "https://registry.npmjs.org/@wundergraph/wunderctl/-/wunderctl-0.121.0.tgz", + "integrity": "sha512-07if1CKSZ+MviMWO7vcPdKt3XofNsmuYJdxO5beZG+6FXxjvHJx4xiTGT5a3qJXmvooX2KsU2cbFa6KvulIXXQ==", "requires": { "axios": "^0.26.1", "debug": "^4.3.4", @@ -3023,6 +3143,11 @@ "detect-libc": "^1.0.3" } }, + "duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" + }, "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", @@ -3046,6 +3171,20 @@ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, + "event-stream": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", + "integrity": "sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==", + "requires": { + "duplexer": "~0.1.1", + "from": "~0", + "map-stream": "~0.1.0", + "pause-stream": "0.0.11", + "split": "0.3", + "stream-combiner": "~0.0.4", + "through": "~2.3.1" + } + }, "event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -3190,12 +3329,27 @@ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==" }, + "from": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", + "integrity": "sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==" + }, "fs-minipass": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", "requires": { "minipass": "^3.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "requires": { + "yallist": "^4.0.0" + } + } } }, "fs.realpath": { @@ -3467,6 +3621,11 @@ "resolved": "https://registry.npmjs.org/long/-/long-5.2.1.tgz", "integrity": "sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A==" }, + "map-stream": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/map-stream/-/map-stream-0.1.0.tgz", + "integrity": "sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==" + }, "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", @@ -3512,9 +3671,9 @@ "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" }, "minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.0.0.tgz", + "integrity": "sha512-g2Uuh2jEKoht+zvO6vJqXmYpflPqzRBT+Th2h01DKh5z7wbY/AZ2gCQ78cP70YoHPyFdY30YBV5WxgLOEwOykw==", "requires": { "yallist": "^4.0.0" } @@ -3526,6 +3685,16 @@ "requires": { "minipass": "^3.0.0", "yallist": "^4.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "requires": { + "yallist": "^4.0.0" + } + } } }, "mkdirp": { @@ -3671,6 +3840,14 @@ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" }, + "pause-stream": { + "version": "0.0.11", + "resolved": "https://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz", + "integrity": "sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==", + "requires": { + "through": "~2.3" + } + }, "pino": { "version": "8.7.0", "resolved": "https://registry.npmjs.org/pino/-/pino-8.7.0.tgz", @@ -3819,6 +3996,14 @@ "ipaddr.js": "1.9.1" } }, + "ps-tree": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.2.0.tgz", + "integrity": "sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==", + "requires": { + "event-stream": "=3.3.4" + } + }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", @@ -4059,11 +4244,27 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, + "split": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", + "integrity": "sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==", + "requires": { + "through": "2" + } + }, "split2": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/split2/-/split2-4.1.0.tgz", "integrity": "sha512-VBiJxFkxiXRlUIeyMQi8s4hgvKCSjtknJv/LVYbrgALPwf5zSKmEwV9Lst25AkvMDnvxODugjdl6KZgwKM1WYQ==" }, + "stream-combiner": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/stream-combiner/-/stream-combiner-0.0.4.tgz", + "integrity": "sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==", + "requires": { + "duplexer": "~0.1.1" + } + }, "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -4127,18 +4328,26 @@ } }, "tar": { - "version": "6.1.12", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.12.tgz", - "integrity": "sha512-jU4TdemS31uABHd+Lt5WEYJuzn+TJTCBLljvIAHZOz6M9Os5pJ4dD+vRFLxPa/n3T0iEFzpi+0x1UfuDZYbRMw==", + "version": "6.1.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.13.tgz", + "integrity": "sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==", "requires": { "chownr": "^2.0.0", "fs-minipass": "^2.0.0", - "minipass": "^3.0.0", + "minipass": "^4.0.0", "minizlib": "^2.1.1", "mkdirp": "^1.0.3", "yallist": "^4.0.0" } }, + "terminate": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/terminate/-/terminate-2.5.0.tgz", + "integrity": "sha512-WnhIjfoTiIvmrfey4GSkqJevEHbIFnSdKeutHwA+cm81/1+GlAHLw1pBKxsKqkrqMaQKK65V6WrvUa851phbgA==", + "requires": { + "ps-tree": "^1.2.0" + } + }, "thread-stream": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-2.2.0.tgz", @@ -4147,6 +4356,11 @@ "real-require": "^0.2.0" } }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" + }, "tiny-lru": { "version": "9.0.3", "resolved": "https://registry.npmjs.org/tiny-lru/-/tiny-lru-9.0.3.tgz", @@ -4201,6 +4415,11 @@ } } }, + "ts-retry-promise": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/ts-retry-promise/-/ts-retry-promise-0.7.0.tgz", + "integrity": "sha512-x6yWZXC4BfXy4UyMweOFvbS1yJ/Y5biSz/mEPiILtJZLrqD3ZxIpzVOGGgifHHdaSe3WxzFRtsRbychI6zofOg==" + }, "tslib": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.1.tgz", diff --git a/package.json b/package.json index 03ddbbc..41d8823 100755 --- a/package.json +++ b/package.json @@ -4,13 +4,13 @@ "description": "", "scripts": { "start": "wunderctl up --debug", - "generate": "wunderctl generate up --debug", + "build": "wunderctl generate --debug --pretty-logging=true", "check": "tsc --noEmit" }, "author": "", "license": "ISC", "dependencies": { - "@wundergraph/sdk": "^0.124.0" + "@wundergraph/sdk": "^0.128.0" }, "devDependencies": { "@types/node": "^14.14.37",