wgc 0.95.0 → 0.96.0

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 (28) hide show
  1. package/dist/package.json +4 -1
  2. package/dist/src/commands/grpc-service/commands/generate.js +6 -1
  3. package/dist/src/commands/grpc-service/commands/generate.js.map +1 -1
  4. package/dist/src/commands/router/commands/plugin/commands/build.js +44 -19
  5. package/dist/src/commands/router/commands/plugin/commands/build.js.map +1 -1
  6. package/dist/src/commands/router/commands/plugin/commands/generate.js +32 -10
  7. package/dist/src/commands/router/commands/plugin/commands/generate.js.map +1 -1
  8. package/dist/src/commands/router/commands/plugin/commands/init.js +79 -48
  9. package/dist/src/commands/router/commands/plugin/commands/init.js.map +1 -1
  10. package/dist/src/commands/router/commands/plugin/commands/test.js +36 -7
  11. package/dist/src/commands/router/commands/plugin/commands/test.js.map +1 -1
  12. package/dist/src/commands/router/commands/plugin/templates/go.d.ts +9 -0
  13. package/dist/src/commands/router/commands/plugin/templates/go.js +18 -0
  14. package/dist/src/commands/router/commands/plugin/templates/go.js.map +1 -0
  15. package/dist/src/commands/router/commands/plugin/templates/plugin.d.ts +3 -8
  16. package/dist/src/commands/router/commands/plugin/templates/plugin.js +11 -424
  17. package/dist/src/commands/router/commands/plugin/templates/plugin.js.map +1 -1
  18. package/dist/src/commands/router/commands/plugin/templates/project.d.ts +5 -5
  19. package/dist/src/commands/router/commands/plugin/templates/project.js +14 -200
  20. package/dist/src/commands/router/commands/plugin/templates/project.js.map +1 -1
  21. package/dist/src/commands/router/commands/plugin/templates/typescript.d.ts +14 -0
  22. package/dist/src/commands/router/commands/plugin/templates/typescript.js +28 -0
  23. package/dist/src/commands/router/commands/plugin/templates/typescript.js.map +1 -0
  24. package/dist/src/commands/router/commands/plugin/toolchain.d.ts +25 -6
  25. package/dist/src/commands/router/commands/plugin/toolchain.js +334 -78
  26. package/dist/src/commands/router/commands/plugin/toolchain.js.map +1 -1
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/package.json +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgc",
3
- "version": "0.95.0",
3
+ "version": "0.96.0",
4
4
  "description": "The official CLI tool to manage the GraphQL Federation Platform Cosmo",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -19,6 +19,9 @@
19
19
  "url": "https://github.com/wundergraph/cosmo"
20
20
  },
21
21
  "scripts": {
22
+ "compile-templates": "tsx scripts/compile-templates.ts && prettier --write src/commands/router/commands/plugin/templates/*.ts",
23
+ "prebuild": "npm run compile-templates",
24
+ "prebuild:bun": "bun run compile-templates",
22
25
  "build": "rm -rf dist && tsc",
23
26
  "build:bun": "bun build --compile --production --outfile wgc src/index.ts",
24
27
  "wgc": "tsx --env-file .env src/index.ts",
@@ -46,7 +49,7 @@
46
49
  "@wundergraph/composition": "0.48.4",
47
50
  "@wundergraph/cosmo-connect": "0.123.0",
48
51
  "@wundergraph/cosmo-shared": "0.42.17",
49
- "@wundergraph/protographic": "0.10.0",
52
+ "@wundergraph/protographic": "0.11.0",
50
53
  "ajv": "^8.17.1",
51
54
  "axios": "^1.12.2",
52
55
  "boxen": "^7.1.1",
@@ -104,5 +107,5 @@
104
107
  "typescript": "5.5.2",
105
108
  "vitest": "^3.2.4"
106
109
  },
107
- "gitHead": "917a4ef48cf10f4a1e9b2c5bb4c8cb80d643f000"
110
+ "gitHead": "93843fff0185666e10839cca3be86c19bcd62f0d"
108
111
  }