@zuplo/cli 6.69.6 → 6.69.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 (141) hide show
  1. package/dist/__tests__/integration/confirm-production-deploy.integration.test.d.ts +2 -0
  2. package/dist/__tests__/integration/confirm-production-deploy.integration.test.d.ts.map +1 -0
  3. package/dist/__tests__/integration/confirm-production-deploy.integration.test.js +184 -0
  4. package/dist/__tests__/integration/confirm-production-deploy.integration.test.js.map +1 -0
  5. package/dist/__tests__/integration/deploy.integration.test.js +1 -0
  6. package/dist/__tests__/integration/deploy.integration.test.js.map +1 -1
  7. package/dist/__tests__/integration/jest-mocks-setup.js +3 -0
  8. package/dist/__tests__/integration/jest-mocks-setup.js.map +1 -1
  9. package/dist/__tests__/integration/whoami.integration.test.js +27 -0
  10. package/dist/__tests__/integration/whoami.integration.test.js.map +1 -1
  11. package/dist/bucket/list/handler.d.ts +8 -0
  12. package/dist/bucket/list/handler.d.ts.map +1 -0
  13. package/dist/bucket/list/handler.js +54 -0
  14. package/dist/bucket/list/handler.js.map +1 -0
  15. package/dist/bucket/models.d.ts +23 -0
  16. package/dist/bucket/models.d.ts.map +1 -0
  17. package/dist/bucket/models.js +2 -0
  18. package/dist/bucket/models.js.map +1 -0
  19. package/dist/cli.js +4 -0
  20. package/dist/cli.js.map +1 -1
  21. package/dist/cmds/bucket/index.d.ts +4 -0
  22. package/dist/cmds/bucket/index.d.ts.map +1 -0
  23. package/dist/cmds/bucket/index.js +9 -0
  24. package/dist/cmds/bucket/index.js.map +1 -0
  25. package/dist/cmds/bucket/list.d.ts +9 -0
  26. package/dist/cmds/bucket/list.d.ts.map +1 -0
  27. package/dist/cmds/bucket/list.js +60 -0
  28. package/dist/cmds/bucket/list.js.map +1 -0
  29. package/dist/cmds/deploy.d.ts.map +1 -1
  30. package/dist/cmds/deploy.js +4 -1
  31. package/dist/cmds/deploy.js.map +1 -1
  32. package/dist/cmds/logout.d.ts +9 -0
  33. package/dist/cmds/logout.d.ts.map +1 -0
  34. package/dist/cmds/logout.js +23 -0
  35. package/dist/cmds/logout.js.map +1 -0
  36. package/dist/cmds/whoami.d.ts.map +1 -1
  37. package/dist/cmds/whoami.js +1 -2
  38. package/dist/cmds/whoami.js.map +1 -1
  39. package/dist/common/middleware/confirm-production-deploy.d.ts +4 -0
  40. package/dist/common/middleware/confirm-production-deploy.d.ts.map +1 -0
  41. package/dist/common/middleware/confirm-production-deploy.js +49 -0
  42. package/dist/common/middleware/confirm-production-deploy.js.map +1 -0
  43. package/dist/common/middleware/get-environment-param.d.ts +6 -0
  44. package/dist/common/middleware/get-environment-param.d.ts.map +1 -1
  45. package/dist/common/middleware/get-environment-param.js +15 -0
  46. package/dist/common/middleware/get-environment-param.js.map +1 -1
  47. package/dist/common/middleware/get-environment-param.test.d.ts +2 -0
  48. package/dist/common/middleware/get-environment-param.test.d.ts.map +1 -0
  49. package/dist/common/middleware/get-environment-param.test.js +33 -0
  50. package/dist/common/middleware/get-environment-param.test.js.map +1 -0
  51. package/dist/common/output.d.ts +3 -0
  52. package/dist/common/output.d.ts.map +1 -1
  53. package/dist/common/output.js +11 -0
  54. package/dist/common/output.js.map +1 -1
  55. package/dist/common/read-linked-config.d.ts +6 -1
  56. package/dist/common/read-linked-config.d.ts.map +1 -1
  57. package/dist/common/read-linked-config.js +14 -4
  58. package/dist/common/read-linked-config.js.map +1 -1
  59. package/dist/common/read-linked-config.test.js +97 -0
  60. package/dist/common/read-linked-config.test.js.map +1 -1
  61. package/dist/deploy/environments.d.ts +1 -0
  62. package/dist/deploy/environments.d.ts.map +1 -1
  63. package/dist/deploy/environments.js +11 -7
  64. package/dist/deploy/environments.js.map +1 -1
  65. package/dist/login/logout.d.ts +5 -0
  66. package/dist/login/logout.d.ts.map +1 -0
  67. package/dist/login/logout.js +6 -0
  68. package/dist/login/logout.js.map +1 -0
  69. package/dist/login/tokens.d.ts +1 -0
  70. package/dist/login/tokens.d.ts.map +1 -1
  71. package/dist/login/tokens.js +16 -1
  72. package/dist/login/tokens.js.map +1 -1
  73. package/dist/tsconfig.tsbuildinfo +1 -1
  74. package/dist/whoami/handler.d.ts +1 -1
  75. package/dist/whoami/handler.d.ts.map +1 -1
  76. package/dist/whoami/handler.js +8 -1
  77. package/dist/whoami/handler.js.map +1 -1
  78. package/node_modules/@zuplo/core/customer.cli.minified.js +225 -211
  79. package/node_modules/@zuplo/core/index.minified.js +237 -223
  80. package/node_modules/@zuplo/core/package.json +1 -1
  81. package/node_modules/@zuplo/editor/node_modules/find-my-way/.github/workflows/node.js.yml +1 -1
  82. package/node_modules/@zuplo/editor/node_modules/find-my-way/README.md +10 -0
  83. package/node_modules/@zuplo/editor/node_modules/find-my-way/index.d.ts +6 -0
  84. package/node_modules/@zuplo/editor/node_modules/find-my-way/index.js +37 -4
  85. package/node_modules/@zuplo/editor/node_modules/find-my-way/lib/handler-storage.js +2 -2
  86. package/node_modules/@zuplo/editor/node_modules/find-my-way/package.json +3 -3
  87. package/node_modules/@zuplo/editor/node_modules/find-my-way/test/repro-issue-414.test.js +57 -0
  88. package/node_modules/@zuplo/editor/node_modules/find-my-way/test/types/router.test-d.ts +1 -0
  89. package/node_modules/@zuplo/graphql/package.json +1 -1
  90. package/node_modules/@zuplo/openapi-tools/package.json +1 -1
  91. package/node_modules/@zuplo/otel/package.json +1 -1
  92. package/node_modules/@zuplo/runtime/out/esm/index.js +48 -48
  93. package/node_modules/@zuplo/runtime/out/esm/index.js.map +1 -1
  94. package/node_modules/@zuplo/runtime/out/types/index.d.ts +23 -2
  95. package/node_modules/@zuplo/runtime/package.json +1 -1
  96. package/node_modules/graphql/index.d.ts +1 -0
  97. package/node_modules/graphql/language/ast.d.ts +10 -1
  98. package/node_modules/graphql/language/ast.js +8 -1
  99. package/node_modules/graphql/language/ast.mjs +8 -1
  100. package/node_modules/graphql/language/directiveLocation.d.ts +1 -0
  101. package/node_modules/graphql/language/directiveLocation.js +1 -0
  102. package/node_modules/graphql/language/directiveLocation.mjs +1 -0
  103. package/node_modules/graphql/language/index.d.ts +1 -0
  104. package/node_modules/graphql/language/kinds.d.ts +1 -0
  105. package/node_modules/graphql/language/kinds.js +1 -0
  106. package/node_modules/graphql/language/kinds.mjs +1 -0
  107. package/node_modules/graphql/language/parser.d.ts +14 -0
  108. package/node_modules/graphql/language/parser.js +33 -0
  109. package/node_modules/graphql/language/parser.mjs +33 -0
  110. package/node_modules/graphql/language/predicates.js +3 -1
  111. package/node_modules/graphql/language/predicates.mjs +5 -1
  112. package/node_modules/graphql/language/printer.js +13 -1
  113. package/node_modules/graphql/language/printer.mjs +13 -1
  114. package/node_modules/graphql/package.json +1 -1
  115. package/node_modules/graphql/type/directives.d.ts +9 -1
  116. package/node_modules/graphql/type/directives.js +10 -1
  117. package/node_modules/graphql/type/directives.mjs +10 -1
  118. package/node_modules/graphql/type/introspection.js +24 -1
  119. package/node_modules/graphql/type/introspection.mjs +24 -1
  120. package/node_modules/graphql/utilities/buildASTSchema.js +4 -0
  121. package/node_modules/graphql/utilities/buildASTSchema.mjs +4 -0
  122. package/node_modules/graphql/utilities/buildClientSchema.js +1 -0
  123. package/node_modules/graphql/utilities/buildClientSchema.mjs +1 -0
  124. package/node_modules/graphql/utilities/extendSchema.js +58 -3
  125. package/node_modules/graphql/utilities/extendSchema.mjs +58 -3
  126. package/node_modules/graphql/utilities/getIntrospectionQuery.d.ts +16 -0
  127. package/node_modules/graphql/utilities/getIntrospectionQuery.js +31 -38
  128. package/node_modules/graphql/utilities/getIntrospectionQuery.mjs +31 -38
  129. package/node_modules/graphql/utilities/introspectionFromSchema.js +1 -0
  130. package/node_modules/graphql/utilities/introspectionFromSchema.mjs +1 -0
  131. package/node_modules/graphql/utilities/printSchema.js +1 -0
  132. package/node_modules/graphql/utilities/printSchema.mjs +1 -0
  133. package/node_modules/graphql/utilities/valueFromAST.js +12 -2
  134. package/node_modules/graphql/utilities/valueFromAST.mjs +12 -2
  135. package/node_modules/graphql/validation/rules/KnownDirectivesRule.js +4 -0
  136. package/node_modules/graphql/validation/rules/KnownDirectivesRule.mjs +4 -0
  137. package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +12 -0
  138. package/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.mjs +12 -0
  139. package/node_modules/graphql/version.js +3 -3
  140. package/node_modules/graphql/version.mjs +3 -3
  141. package/package.json +6 -6
@@ -42,6 +42,7 @@ function UniqueDirectivesPerLocationRule(context) {
42
42
 
43
43
  const schemaDirectives = Object.create(null);
44
44
  const typeDirectivesMap = Object.create(null);
45
+ const directiveDirectivesMap = Object.create(null);
45
46
  return {
46
47
  // Many different AST nodes may contain directives. Rather than listing
47
48
  // them all, just listen for entering any node, and check to see if it
@@ -68,6 +69,17 @@ function UniqueDirectivesPerLocationRule(context) {
68
69
  if (seenDirectives === undefined) {
69
70
  typeDirectivesMap[typeName] = seenDirectives = Object.create(null);
70
71
  }
72
+ } else if (
73
+ node.kind === _kinds.Kind.DIRECTIVE_DEFINITION ||
74
+ node.kind === _kinds.Kind.DIRECTIVE_EXTENSION
75
+ ) {
76
+ const directiveName = node.name.value;
77
+ seenDirectives = directiveDirectivesMap[directiveName];
78
+
79
+ if (seenDirectives === undefined) {
80
+ directiveDirectivesMap[directiveName] = seenDirectives =
81
+ Object.create(null);
82
+ }
71
83
  } else {
72
84
  seenDirectives = Object.create(null);
73
85
  }
@@ -35,6 +35,7 @@ export function UniqueDirectivesPerLocationRule(context) {
35
35
 
36
36
  const schemaDirectives = Object.create(null);
37
37
  const typeDirectivesMap = Object.create(null);
38
+ const directiveDirectivesMap = Object.create(null);
38
39
  return {
39
40
  // Many different AST nodes may contain directives. Rather than listing
40
41
  // them all, just listen for entering any node, and check to see if it
@@ -58,6 +59,17 @@ export function UniqueDirectivesPerLocationRule(context) {
58
59
  if (seenDirectives === undefined) {
59
60
  typeDirectivesMap[typeName] = seenDirectives = Object.create(null);
60
61
  }
62
+ } else if (
63
+ node.kind === Kind.DIRECTIVE_DEFINITION ||
64
+ node.kind === Kind.DIRECTIVE_EXTENSION
65
+ ) {
66
+ const directiveName = node.name.value;
67
+ seenDirectives = directiveDirectivesMap[directiveName];
68
+
69
+ if (seenDirectives === undefined) {
70
+ directiveDirectivesMap[directiveName] = seenDirectives =
71
+ Object.create(null);
72
+ }
61
73
  } else {
62
74
  seenDirectives = Object.create(null);
63
75
  }
@@ -10,7 +10,7 @@ exports.versionInfo = exports.version = void 0;
10
10
  /**
11
11
  * A string containing the version of the GraphQL.js library
12
12
  */
13
- const version = '16.13.2';
13
+ const version = '16.14.0';
14
14
  /**
15
15
  * An object containing the components of the GraphQL.js version string
16
16
  */
@@ -18,8 +18,8 @@ const version = '16.13.2';
18
18
  exports.version = version;
19
19
  const versionInfo = Object.freeze({
20
20
  major: 16,
21
- minor: 13,
22
- patch: 2,
21
+ minor: 14,
22
+ patch: 0,
23
23
  preReleaseTag: null,
24
24
  });
25
25
  exports.versionInfo = versionInfo;
@@ -4,14 +4,14 @@
4
4
  /**
5
5
  * A string containing the version of the GraphQL.js library
6
6
  */
7
- export const version = '16.13.2';
7
+ export const version = '16.14.0';
8
8
  /**
9
9
  * An object containing the components of the GraphQL.js version string
10
10
  */
11
11
 
12
12
  export const versionInfo = Object.freeze({
13
13
  major: 16,
14
- minor: 13,
15
- patch: 2,
14
+ minor: 14,
15
+ patch: 0,
16
16
  preReleaseTag: null,
17
17
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuplo/cli",
3
- "version": "6.69.6",
3
+ "version": "6.69.9",
4
4
  "repository": "https://github.com/zuplo/zuplo",
5
5
  "author": "Zuplo, Inc.",
6
6
  "type": "module",
@@ -29,10 +29,10 @@
29
29
  "@opentelemetry/api": "1.9.0",
30
30
  "@sentry/node": "9.22.0",
31
31
  "@swc/core": "1.10.18",
32
- "@zuplo/core": "6.69.6",
32
+ "@zuplo/core": "6.69.9",
33
33
  "@zuplo/editor": "1.0.20821740935",
34
- "@zuplo/openapi-tools": "6.69.6",
35
- "@zuplo/runtime": "6.69.6",
34
+ "@zuplo/openapi-tools": "6.69.9",
35
+ "@zuplo/runtime": "6.69.9",
36
36
  "chalk": "5.4.1",
37
37
  "chokidar": "3.5.3",
38
38
  "cookie": "1.0.2",
@@ -66,8 +66,8 @@
66
66
  "workerd": "1.20241230.0",
67
67
  "yargs": "17.7.2",
68
68
  "zod": "^3.24.1",
69
- "@zuplo/graphql": "6.69.6",
70
- "@zuplo/otel": "6.69.6"
69
+ "@zuplo/graphql": "6.69.9",
70
+ "@zuplo/otel": "6.69.9"
71
71
  },
72
72
  "bundleDependencies": [
73
73
  "@fastify/cors",