@adobe/aio-commerce-lib-app 1.10.0-alpha-20260731154804 → 1.10.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 (54) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/dist/cjs/actions/app-config/index.cjs +6 -6
  3. package/dist/cjs/actions/app-config/index.d.cts +1 -1
  4. package/dist/cjs/actions/association/index.cjs +2 -2
  5. package/dist/cjs/actions/config/index.cjs +6 -5
  6. package/dist/cjs/actions/installation/index.cjs +5 -5
  7. package/dist/cjs/actions/installation/index.d.cts +2 -2
  8. package/dist/cjs/actions/scope-tree/index.cjs +8 -6
  9. package/dist/cjs/{app-e4bCHpek.d.cts → app-CSqkACEm.d.cts} +3 -3
  10. package/dist/cjs/commands/index.cjs +45 -25
  11. package/dist/cjs/commands/templates/typescript/webpack-config.cjs +8 -1
  12. package/dist/cjs/config/index.browser.cjs +1 -1
  13. package/dist/cjs/config/index.browser.d.cts +1 -1
  14. package/dist/cjs/config/index.node.cjs +4 -4
  15. package/dist/cjs/config/index.node.d.cts +2 -2
  16. package/dist/cjs/{define-B__VyRtO.d.cts → define-BuploXfU.d.cts} +1 -1
  17. package/dist/cjs/{define-hlcQw7Cv.cjs → define-C-Xq1pCa.cjs} +0 -1
  18. package/dist/cjs/{environment-B7EnozSg.cjs → environment-B6533pAY.cjs} +1 -1
  19. package/dist/cjs/{index-Ds7AyoNv.d.cts → index-NxK_-lg1.d.cts} +1 -1
  20. package/dist/cjs/{index.node-CVGURlxu.cjs → index.node-BDMqlp90.cjs} +8 -5
  21. package/dist/cjs/{logging-udPuAJPt.cjs → logging-QTsrSwPc.cjs} +1 -1
  22. package/dist/cjs/management/index.cjs +1 -1
  23. package/dist/cjs/management/index.d.cts +1 -1
  24. package/dist/cjs/{management-DmH7fVxy.cjs → management-BeVfzKuc.cjs} +25 -16
  25. package/dist/cjs/{openapi-BzRN5Lc6.cjs → openapi-C_y_Y5YX.cjs} +1 -2
  26. package/dist/cjs/{rolldown-runtime-Cozy-1ZF.cjs → rolldown-runtime-CDQd2xEI.cjs} +1 -2
  27. package/dist/cjs/{router-hA_Y9gZ1.cjs → router-CxDTb6r1.cjs} +3 -2
  28. package/dist/cjs/{schemas-mLxMh_ko.cjs → schemas-3e49M8zz.cjs} +1 -1
  29. package/dist/cjs/{validate-Dt0Fdj1L.cjs → validate-C6424wM6.cjs} +3 -3
  30. package/dist/cjs/{webhooks-CrHGA-sO.cjs → webhooks-uYZZmgTg.cjs} +6 -6
  31. package/dist/es/actions/app-config/index.d.mts +1 -1
  32. package/dist/es/actions/app-config/index.mjs +4 -4
  33. package/dist/es/actions/association/index.mjs +1 -1
  34. package/dist/es/actions/config/index.mjs +3 -2
  35. package/dist/es/actions/installation/index.d.mts +2 -2
  36. package/dist/es/actions/installation/index.mjs +3 -3
  37. package/dist/es/actions/scope-tree/index.mjs +5 -3
  38. package/dist/es/{app-e4bCHpek.d.mts → app-CSqkACEm.d.mts} +3 -3
  39. package/dist/es/commands/index.mjs +43 -23
  40. package/dist/es/commands/templates/typescript/webpack-config.cjs +8 -1
  41. package/dist/es/config/index.browser.d.mts +1 -1
  42. package/dist/es/config/index.node.d.mts +2 -2
  43. package/dist/es/config/index.node.mjs +3 -3
  44. package/dist/es/{define-BEY_Q6rS.d.mts → define-DzMn3tWf.d.mts} +1 -1
  45. package/dist/es/{index-Dsg4LZde.d.mts → index-DsHq4q57.d.mts} +1 -1
  46. package/dist/es/{index.node-DF-tsr35.mjs → index.node--IcDg8wI.mjs} +7 -4
  47. package/dist/es/management/index.d.mts +1 -1
  48. package/dist/es/management/index.mjs +1 -1
  49. package/dist/es/{management-BpFkwoig.mjs → management-CfYDBXqP.mjs} +22 -13
  50. package/dist/es/{openapi-QEV7W6DH.mjs → openapi-Brn9plmt.mjs} +1 -1
  51. package/dist/es/{router-B_h0cvjc.mjs → router-BshIPAR1.mjs} +2 -1
  52. package/dist/es/{validate-yqa8uIyb.mjs → validate-B4S4D4NW.mjs} +1 -1
  53. package/dist/es/{webhooks-CVbZOxYS.mjs → webhooks-DsMMtG05.mjs} +4 -4
  54. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,12 +1,12 @@
1
1
  # @adobe/aio-commerce-lib-app
2
2
 
3
- ## 1.10.0-alpha-20260731154804
4
- ### Minor Changes
5
-
3
+ ## 1.10.0
6
4
 
5
+ ### Minor Changes
7
6
 
8
- - [#606](https://github.com/adobe/aio-commerce-sdk/pull/606) [`3d2947e`](https://github.com/adobe/aio-commerce-sdk/commit/3d2947e78e90356316f5d1d090460581d3a2c3b9) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Add TypeScript project scaffolding and support TypeScript Commerce configuration in generated Runtime actions.
7
+ - [#606](https://github.com/adobe/aio-commerce-sdk/pull/606) [`a18a250`](https://github.com/adobe/aio-commerce-sdk/commit/a18a2506b9d6fafb0b96ca8b7960208e51546dc3) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Custom installation step scripts can now be TypeScript (`.ts`) files, not just JavaScript.
9
8
 
9
+ - [#606](https://github.com/adobe/aio-commerce-sdk/pull/606) [`a18a250`](https://github.com/adobe/aio-commerce-sdk/commit/a18a2506b9d6fafb0b96ca8b7960208e51546dc3) Thanks [@iivvaannxx](https://github.com/iivvaannxx)! - Add TypeScript project scaffolding and support TypeScript Commerce configuration in generated Runtime actions.
10
10
 
11
11
  ### Patch Changes
12
12
 
@@ -13,10 +13,10 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_rolldown_runtime = require('../../rolldown-runtime-Cozy-1ZF.cjs');
17
- const require_environment = require('../../environment-B7EnozSg.cjs');
18
- const require_validate = require('../../validate-Dt0Fdj1L.cjs');
19
- const require_router = require('../../router-hA_Y9gZ1.cjs');
16
+ const require_rolldown_runtime = require('../../rolldown-runtime-CDQd2xEI.cjs');
17
+ const require_environment = require('../../environment-B6533pAY.cjs');
18
+ const require_validate = require('../../validate-C6424wM6.cjs');
19
+ const require_router = require('../../router-CxDTb6r1.cjs');
20
20
  let _adobe_aio_commerce_lib_config = require("@adobe/aio-commerce-lib-config");
21
21
  let valibot = require("valibot");
22
22
  valibot = require_rolldown_runtime.__toESM(valibot, 1);
@@ -29,7 +29,7 @@ let crypto = require("crypto");
29
29
  * Loads the committed OpenAPI spec via dynamic import so it
30
30
  * lands in its own chunk and is not parsed on every cold start.
31
31
  */
32
- const importOpenApi = () => Promise.resolve().then(() => require("../../openapi-BzRN5Lc6.cjs"));
32
+ const importOpenApi = () => Promise.resolve().then(() => require("../../openapi-C_y_Y5YX.cjs"));
33
33
  /** Matches component schema `$ref` strings, capturing the schema name. */
34
34
  const SCHEMA_REF_PATTERN = /"#\/components\/schemas\/(\w+)"/g;
35
35
  /**
@@ -80,7 +80,7 @@ function pruneUnusedTags(spec) {
80
80
  * @param domains - The active config domains.
81
81
  */
82
82
  function getOpenApiCacheKey(domains) {
83
- const input = `1.10.0-alpha-20260731154804:${[...domains].sort().join(",")}:2.0.0`;
83
+ const input = `1.10.0:${[...domains].sort().join(",")}:2.0.0`;
84
84
  return (0, crypto.createHash)("sha256").update(input).digest("hex").slice(0, 8);
85
85
  }
86
86
  /** Returns the server URL to be set in the OpenAPI spec, based on the current namespace. */
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
  import "../../index-DWEigxhy.cjs";
16
- import { n as CommerceAppConfig } from "../../app-e4bCHpek.cjs";
16
+ import { n as CommerceAppConfig } from "../../app-CSqkACEm.cjs";
17
17
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
18
18
  //#region source/actions/app-config/router.d.ts
19
19
  /** The arguments required to create the runtime action for the app-config action. */
@@ -13,9 +13,9 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_rolldown_runtime = require('../../rolldown-runtime-Cozy-1ZF.cjs');
16
+ const require_rolldown_runtime = require('../../rolldown-runtime-CDQd2xEI.cjs');
17
17
  const require_repository = require('../../repository-CbceYZqc.cjs');
18
- const require_router = require('../../router-hA_Y9gZ1.cjs');
18
+ const require_router = require('../../router-CxDTb6r1.cjs');
19
19
  let valibot = require("valibot");
20
20
  valibot = require_rolldown_runtime.__toESM(valibot, 1);
21
21
  let _adobe_aio_commerce_lib_core_commerce = require("@adobe/aio-commerce-lib-core/commerce");
@@ -13,10 +13,10 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_rolldown_runtime = require('../../rolldown-runtime-Cozy-1ZF.cjs');
17
- const require_schemas = require('../../schemas-mLxMh_ko.cjs');
18
- const require_environment = require('../../environment-B7EnozSg.cjs');
19
- const require_router = require('../../router-hA_Y9gZ1.cjs');
16
+ const require_rolldown_runtime = require('../../rolldown-runtime-CDQd2xEI.cjs');
17
+ const require_schemas = require('../../schemas-3e49M8zz.cjs');
18
+ const require_environment = require('../../environment-B6533pAY.cjs');
19
+ const require_router = require('../../router-CxDTb6r1.cjs');
20
20
  let _adobe_aio_commerce_lib_config = require("@adobe/aio-commerce-lib-config");
21
21
  let valibot = require("valibot");
22
22
  valibot = require_rolldown_runtime.__toESM(valibot, 1);
@@ -118,7 +118,8 @@ router.put("/", {
118
118
  params: rawParams,
119
119
  schema: rawParams.configSchema
120
120
  });
121
- const result = await (0, _adobe_aio_commerce_lib_config.setConfiguration)({ config: config.filter((item) => item.value !== MASKED_PASSWORD_VALUE) }, (0, _adobe_aio_commerce_lib_config.byScopeId)(scopeId), { encryptionKey: rawParams.AIO_COMMERCE_CONFIG_ENCRYPTION_KEY });
121
+ const updatedFields = config.filter((item) => item.value !== MASKED_PASSWORD_VALUE);
122
+ const result = await (0, _adobe_aio_commerce_lib_config.setConfiguration)({ config: updatedFields }, (0, _adobe_aio_commerce_lib_config.byScopeId)(scopeId), { encryptionKey: rawParams.AIO_COMMERCE_CONFIG_ENCRYPTION_KEY });
122
123
  result.config = filterPasswordFields(configSchema, result.config);
123
124
  return (0, _adobe_aio_commerce_lib_core_responses.ok)({
124
125
  body: result,
@@ -13,11 +13,11 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_rolldown_runtime = require('../../rolldown-runtime-Cozy-1ZF.cjs');
17
- const require_schemas = require('../../schemas-mLxMh_ko.cjs');
18
- const require_validate = require('../../validate-Dt0Fdj1L.cjs');
19
- const require_management = require('../../management-DmH7fVxy.cjs');
20
- const require_router = require('../../router-hA_Y9gZ1.cjs');
16
+ const require_rolldown_runtime = require('../../rolldown-runtime-CDQd2xEI.cjs');
17
+ const require_schemas = require('../../schemas-3e49M8zz.cjs');
18
+ const require_validate = require('../../validate-C6424wM6.cjs');
19
+ const require_management = require('../../management-BeVfzKuc.cjs');
20
+ const require_router = require('../../router-CxDTb6r1.cjs');
21
21
  let _adobe_aio_lib_state = require("@adobe/aio-lib-state");
22
22
  let valibot = require("valibot");
23
23
  valibot = require_rolldown_runtime.__toESM(valibot, 1);
@@ -13,8 +13,8 @@
13
13
  */
14
14
 
15
15
  import "../../index-DWEigxhy.cjs";
16
- import { n as CommerceAppConfig, r as CommerceAppConfigOutputModel } from "../../app-e4bCHpek.cjs";
17
- import { Y as InstallationContext } from "../../index-Ds7AyoNv.cjs";
16
+ import { n as CommerceAppConfig, r as CommerceAppConfigOutputModel } from "../../app-CSqkACEm.cjs";
17
+ import { Y as InstallationContext } from "../../index-NxK_-lg1.cjs";
18
18
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
19
19
  //#region source/actions/installation/router.d.ts
20
20
  /** Loads generated custom installation script modules. */
@@ -13,10 +13,10 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_rolldown_runtime = require('../../rolldown-runtime-Cozy-1ZF.cjs');
17
- const require_schemas = require('../../schemas-mLxMh_ko.cjs');
18
- const require_logging = require('../../logging-udPuAJPt.cjs');
19
- const require_router = require('../../router-hA_Y9gZ1.cjs');
16
+ const require_rolldown_runtime = require('../../rolldown-runtime-CDQd2xEI.cjs');
17
+ const require_schemas = require('../../schemas-3e49M8zz.cjs');
18
+ const require_logging = require('../../logging-QTsrSwPc.cjs');
19
+ const require_router = require('../../router-CxDTb6r1.cjs');
20
20
  let _adobe_aio_commerce_lib_api = require("@adobe/aio-commerce-lib-api");
21
21
  let _adobe_aio_commerce_lib_config = require("@adobe/aio-commerce-lib-config");
22
22
  let valibot = require("valibot");
@@ -97,11 +97,13 @@ router.post("/commerce", {
97
97
  const { logger } = ctx;
98
98
  logger.debug("Syncing commerce scopes...");
99
99
  const { commerceBaseUrl, commerceEnv } = req.body;
100
- const result = await (0, _adobe_aio_commerce_lib_config.syncCommerceScopes)((0, _adobe_aio_commerce_lib_api.resolveCommerceHttpClientParams)({
100
+ const paramsWithCommerceConfig = {
101
101
  ...ctx.rawParams,
102
102
  AIO_COMMERCE_API_BASE_URL: commerceBaseUrl,
103
103
  ...commerceEnv && { AIO_COMMERCE_API_FLAVOR: commerceEnv }
104
- }, { tryForwardAuthProvider: true }));
104
+ };
105
+ const commerceConfig = (0, _adobe_aio_commerce_lib_api.resolveCommerceHttpClientParams)(paramsWithCommerceConfig, { tryForwardAuthProvider: true });
106
+ const result = await (0, _adobe_aio_commerce_lib_config.syncCommerceScopes)(commerceConfig);
105
107
  if (result.error) {
106
108
  logger.error(`Error syncing commerce scopes: ${require_logging.inspect(result.error)}`);
107
109
  return (0, _adobe_aio_commerce_lib_core_responses.internalServerError)({ body: {
@@ -927,7 +927,7 @@ declare const CommerceAppConfigSchemas: {
927
927
  readonly customInstallationSteps: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
928
928
  readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step description must not be longer than 255 characters">]>;
929
929
  readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
930
- readonly script: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
930
+ readonly script: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Script path must end with .js or .ts (e.g., \"./setup.js\", \"./scripts/setup.ts\", or \"../../scripts/setup.js\")">]>;
931
931
  }, undefined>, "Expected an array of custom installation steps">, undefined>, v.CheckAction<{
932
932
  description: string;
933
933
  name: string;
@@ -941,7 +941,7 @@ declare const CommerceAppConfigSchemas: {
941
941
  readonly "installation.customInstallationSteps": v.ArraySchema<v.ObjectSchema<{
942
942
  readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step description must not be longer than 255 characters">]>;
943
943
  readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
944
- readonly script: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
944
+ readonly script: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Script path must end with .js or .ts (e.g., \"./setup.js\", \"./scripts/setup.ts\", or \"../../scripts/setup.js\")">]>;
945
945
  }, undefined>, "Expected an array of custom installation steps">;
946
946
  readonly metadata: v.ObjectSchema<{
947
947
  readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string for the ${string}`>, v.NonEmptyAction<string, `The ${string} must not be empty`>]>, v.MaxLengthAction<string, 255, "The metadata description must not be longer than 255 characters">]>;
@@ -1671,7 +1671,7 @@ declare const CommerceAppConfigSchema: v.LooseObjectSchema<{
1671
1671
  readonly customInstallationSteps: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1672
1672
  readonly description: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step description must not be longer than 255 characters">]>;
1673
1673
  readonly name: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.MaxLengthAction<string, 255, "The step name must not be longer than 255 characters">]>;
1674
- readonly script: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Script path must end with .js (e.g., \"./setup.js\", \"./scripts/setup.js\", or \"../../scripts/setup.js\")">]>;
1674
+ readonly script: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<`Expected a string value for '${string}'`>, v.NonEmptyAction<string, `The value of "${string}" must not be empty`>]>, v.RegexAction<string, "Script path must end with .js or .ts (e.g., \"./setup.js\", \"./scripts/setup.ts\", or \"../../scripts/setup.js\")">]>;
1675
1675
  }, undefined>, "Expected an array of custom installation steps">, undefined>, v.CheckAction<{
1676
1676
  description: string;
1677
1677
  name: string;
@@ -13,12 +13,12 @@
13
13
  * governing permissions and limitations under the License.
14
14
  */
15
15
 
16
- const require_rolldown_runtime = require('../rolldown-runtime-Cozy-1ZF.cjs');
16
+ const require_rolldown_runtime = require('../rolldown-runtime-CDQd2xEI.cjs');
17
17
  const require_error = require('../error-D-N0PKSl.cjs');
18
- const require_index_node = require('../index.node-CVGURlxu.cjs');
19
- const require_webhooks = require('../webhooks-CrHGA-sO.cjs');
20
- const require_validate = require('../validate-Dt0Fdj1L.cjs');
21
- const require_logging = require('../logging-udPuAJPt.cjs');
18
+ const require_index_node = require('../index.node-BDMqlp90.cjs');
19
+ const require_webhooks = require('../webhooks-uYZZmgTg.cjs');
20
+ const require_validate = require('../validate-C6424wM6.cjs');
21
+ const require_logging = require('../logging-QTsrSwPc.cjs');
22
22
  let _adobe_aio_commerce_lib_config = require("@adobe/aio-commerce-lib-config");
23
23
  let _adobe_aio_commerce_lib_core_error = require("@adobe/aio-commerce-lib-core/error");
24
24
  let consola = require("consola");
@@ -70,7 +70,7 @@ const SHARED_TYPESCRIPT_DEV_DEPENDENCIES = [{
70
70
  version: "^1.0.26"
71
71
  }, {
72
72
  name: "typescript",
73
- version: "^7.0.2"
73
+ version: "^6.0.3"
74
74
  }];
75
75
  /** TypeScript loader required only by root Runtime action scaffolding. */
76
76
  const TYPESCRIPT_WEBPACK_DEV_DEPENDENCY = {
@@ -92,7 +92,8 @@ function getExtensionPointFolderPath(extensionPointId) {
92
92
 
93
93
  //#endregion
94
94
  //#region source/commands/generate/actions/constants.ts
95
- const __dirname$1 = (0, path.dirname)((0, url.fileURLToPath)(require("url").pathToFileURL(__filename).href));
95
+ const __filename$1 = (0, url.fileURLToPath)(require("url").pathToFileURL(__filename).href);
96
+ const __dirname$1 = (0, path.dirname)(__filename$1);
96
97
  /** The path to the action templates directory, sibling to this file. */
97
98
  const TEMPLATES_DIR = (0, path.join)(__dirname$1, "templates");
98
99
  /** The list of Commerce variables that are required for the runtime actions. */
@@ -238,7 +239,8 @@ const ROOT_TYPESCRIPT_CONFIG = {
238
239
  allowJs: true,
239
240
  checkJs: true,
240
241
  module: "esnext",
241
- moduleResolution: "bundler"
242
+ moduleResolution: "bundler",
243
+ noEmit: true
242
244
  },
243
245
  exclude: ["src/**/web-src/**"],
244
246
  extends: [
@@ -458,7 +460,8 @@ async function prepareWebSourcePackage(projectRoot, extension) {
458
460
  }
459
461
  consola.consola.info("Installing missing web-src dependencies from package.json:");
460
462
  consola.consola.log.raw((0, consola_utils.formatTree)(installPlan.missing.map(({ name, version }) => ` ${name}@${version}`)));
461
- runProjectInstall(await require_index_node.detectPackageManager(projectRoot), projectRoot);
463
+ const packageManager = await require_index_node.detectPackageManager(projectRoot);
464
+ runProjectInstall(packageManager, projectRoot);
462
465
  }
463
466
  /**
464
467
  * Add the package import alias for an existing or generated web-src.
@@ -467,7 +470,8 @@ async function prepareWebSourcePackage(projectRoot, extension) {
467
470
  async function prepareWebSourceImportAlias(extConfig) {
468
471
  const entrypoint = getWebSourceEntrypoint(extConfig);
469
472
  if (entrypoint === null) return;
470
- const pkg = await require_index_node.loadPackageJson(await require_index_node.getProjectRootDirectory());
473
+ const projectRoot = await require_index_node.getProjectRootDirectory();
474
+ const pkg = await require_index_node.loadPackageJson(projectRoot);
471
475
  if (pkg === null) throw new Error("Could not find package.json.");
472
476
  const existingImports = typeof pkg.content.imports === "object" && pkg.content.imports !== null ? pkg.content.imports : {};
473
477
  const webSourceSrcPath = (0, path.join)((0, path.dirname)(entrypoint), "src");
@@ -703,7 +707,8 @@ function buildAdminUiV2ExtConfig(appConfig) {
703
707
  async function readYamlFile(path$5) {
704
708
  let doc = new yaml.Document();
705
709
  if ((0, fs.existsSync)(path$5)) try {
706
- doc = (0, yaml.parseDocument)(await (0, fs_promises.readFile)(path$5, "utf-8"), { keepSourceTokens: true });
710
+ const fileContent = await (0, fs_promises.readFile)(path$5, "utf-8");
711
+ doc = (0, yaml.parseDocument)(fileContent, { keepSourceTokens: true });
707
712
  } catch (err) {
708
713
  const file = (0, path.basename)(path$5);
709
714
  throw new Error(`Failed to parse ${file}`, { cause: err });
@@ -933,7 +938,8 @@ async function buildHooks(extConfig, hooks) {
933
938
  pair.key.spaceBefore = true;
934
939
  pair.key.commentBefore = ` The ${generatedHooks} hooks are auto-generated. Do not remove or manually edit.`;
935
940
  } });
936
- const execCommand = require_index_node.getExecCommand(await require_index_node.detectPackageManager());
941
+ const packageManager = await require_index_node.detectPackageManager();
942
+ const execCommand = require_index_node.getExecCommand(packageManager);
937
943
  for (const [name, command] of Object.entries(hooks)) {
938
944
  const fullCommand = `${command.replaceAll("$packageExec", execCommand)}`;
939
945
  const prevValue = (hooksMap.get(name) ?? "").trim();
@@ -947,11 +953,12 @@ async function buildHooks(extConfig, hooks) {
947
953
  * @param config - The config to write
948
954
  */
949
955
  async function writeExtConfig(configPath, doc) {
950
- await (0, fs_promises.writeFile)(configPath, doc.toString({
956
+ const yamlContent = doc.toString({
951
957
  defaultStringType: "PLAIN",
952
958
  indent: 2,
953
959
  lineWidth: 0
954
- }), "utf-8");
960
+ });
961
+ await (0, fs_promises.writeFile)(configPath, yamlContent, "utf-8");
955
962
  }
956
963
 
957
964
  //#endregion
@@ -996,7 +1003,8 @@ async function writeJavaScriptAppConfigModule(configFilePath, outputPath) {
996
1003
  /** Bundle a TypeScript app config file into runtime-safe ESM. */
997
1004
  async function bundleTypeScriptAppConfigModule(configFilePath, outputPath) {
998
1005
  const projectRoot = await require_index_node.getProjectRootDirectory();
999
- const { command, args } = require_index_node.getPackageExecutionCommand(await require_index_node.detectPackageManager(projectRoot), [
1006
+ const packageManager = await require_index_node.detectPackageManager(projectRoot);
1007
+ const { command, args } = require_index_node.getPackageExecutionCommand(packageManager, [
1000
1008
  ESBUILD_PACKAGE,
1001
1009
  configFilePath,
1002
1010
  "--bundle",
@@ -1091,9 +1099,11 @@ async function generateActionFiles(appManifest, actions, extensionPointId, templ
1091
1099
  await require_index_node.makeOutputDirFor(getActionsDir(extensionPointId));
1092
1100
  const projectRoot = await require_index_node.getProjectRootDirectory();
1093
1101
  const outputFiles = await Promise.all(actions.map(async (action) => {
1094
- let template = await (0, fs_promises.readFile)((0, path.join)(templatesDir, action.templateFile), "utf-8");
1102
+ const templatePath = (0, path.join)(templatesDir, action.templateFile);
1103
+ let template = await (0, fs_promises.readFile)(templatePath, "utf-8");
1095
1104
  if (action.name === "installation") {
1096
- const scriptsTemplate = await generateCustomScriptsTemplate(await (0, fs_promises.readFile)((0, path.join)(templatesDir, "app-management", "custom-scripts.js.template"), "utf-8"), appManifest);
1105
+ const customScriptsTemplatePath = (0, path.join)(templatesDir, "app-management", "custom-scripts.js.template");
1106
+ const scriptsTemplate = await generateCustomScriptsTemplate(await (0, fs_promises.readFile)(customScriptsTemplatePath, "utf-8"), appManifest);
1097
1107
  template = applyCustomScripts(template, scriptsTemplate);
1098
1108
  }
1099
1109
  const actionPath = (0, path.join)(projectRoot, getActionPath(extensionPointId, action.name));
@@ -1144,8 +1154,12 @@ async function generateCustomScriptsTemplate(template, appManifest) {
1144
1154
  */
1145
1155
  async function run$5(appManifest, templatesDir = TEMPLATES_DIR) {
1146
1156
  await prepareRuntimeAppConfigModule(appManifest);
1147
- await generateActionFiles(appManifest, getRuntimeActions(await updateExtConfig(appManifest, EXTENSIBILITY_EXTENSION_POINT_ID), "app-management"), EXTENSIBILITY_EXTENSION_POINT_ID, templatesDir);
1148
- if (require_validate.hasBusinessConfigSchema(appManifest)) await generateActionFiles(appManifest, getRuntimeActions(await updateExtConfig(appManifest, CONFIGURATION_EXTENSION_POINT_ID), "business-configuration"), CONFIGURATION_EXTENSION_POINT_ID, templatesDir);
1157
+ const appManagementExtConfig = await updateExtConfig(appManifest, EXTENSIBILITY_EXTENSION_POINT_ID);
1158
+ await generateActionFiles(appManifest, getRuntimeActions(appManagementExtConfig, "app-management"), EXTENSIBILITY_EXTENSION_POINT_ID, templatesDir);
1159
+ if (require_validate.hasBusinessConfigSchema(appManifest)) {
1160
+ const businessConfigExtConfig = await updateExtConfig(appManifest, CONFIGURATION_EXTENSION_POINT_ID);
1161
+ await generateActionFiles(appManifest, getRuntimeActions(businessConfigExtConfig, "business-configuration"), CONFIGURATION_EXTENSION_POINT_ID, templatesDir);
1162
+ }
1149
1163
  if (require_webhooks.hasAdminUi(appManifest)) {
1150
1164
  const extConfig = await updateExtConfig(appManifest, BACKEND_UI_V2_EXTENSION_POINT_ID);
1151
1165
  if (extConfig.operations?.view) {
@@ -1178,7 +1192,9 @@ async function run$4(appConfig) {
1178
1192
  }
1179
1193
  consola.consola.info("Generating app manifest...");
1180
1194
  const contents = (0, safe_stable_stringify.stringify)(appConfig, null, 2);
1181
- await (0, fs_promises.writeFile)((0, path.join)(await require_index_node.makeOutputDirFor(getGeneratedDir(EXTENSIBILITY_EXTENSION_POINT_ID)), APP_MANIFEST_FILE), contents, "utf-8");
1195
+ const outputDir = await require_index_node.makeOutputDirFor(getGeneratedDir(EXTENSIBILITY_EXTENSION_POINT_ID));
1196
+ const manifestPath = (0, path.join)(outputDir, APP_MANIFEST_FILE);
1197
+ await (0, fs_promises.writeFile)(manifestPath, contents, "utf-8");
1182
1198
  consola.consola.success(`Generated ${APP_MANIFEST_FILE}\n`);
1183
1199
  }
1184
1200
  /** Run the generate manifest command */
@@ -1231,7 +1247,8 @@ async function run$3(appConfig) {
1231
1247
  consola.consola.info("Generating configuration schema...");
1232
1248
  const outputDir = await require_index_node.makeOutputDirFor(getGeneratedDir(CONFIGURATION_EXTENSION_POINT_ID));
1233
1249
  const contents = (0, safe_stable_stringify.stringify)(appConfig.businessConfig.schema, null, 2);
1234
- await (0, fs_promises.writeFile)((0, path.join)(outputDir, CONFIG_SCHEMA_FILE_NAME), contents, "utf-8");
1250
+ const schemaPath = (0, path.join)(outputDir, CONFIG_SCHEMA_FILE_NAME);
1251
+ await (0, fs_promises.writeFile)(schemaPath, contents, "utf-8");
1235
1252
  consola.consola.success(`Generated ${CONFIG_SCHEMA_FILE_NAME}\n`);
1236
1253
  }
1237
1254
  /** Run the generate schema command */
@@ -1642,7 +1659,8 @@ async function addExtensionPointToInstallYaml(extensionPointId, rootDirectory, c
1642
1659
  async function ensureCommerceAppConfig(cwd = process.cwd(), formatConfig = true, flags) {
1643
1660
  const configFilePath = await require_index_node.resolveCommerceAppConfig(cwd);
1644
1661
  if (configFilePath !== null) try {
1645
- const validatedConfig = require_validate.validateCommerceAppConfig(await require_index_node.readCommerceAppConfig(cwd));
1662
+ const config = await require_index_node.readCommerceAppConfig(cwd);
1663
+ const validatedConfig = require_validate.validateCommerceAppConfig(config);
1646
1664
  consola.consola.success(`${COMMERCE_APP_CONFIG_FILE} found and is valid. Continuing...`);
1647
1665
  return {
1648
1666
  config: validatedConfig,
@@ -1665,8 +1683,10 @@ async function ensureCommerceAppConfig(cwd = process.cwd(), formatConfig = true,
1665
1683
  const configContent = await getDefaultCommerceAppConfig(cwd, answers);
1666
1684
  const path$2 = (0, path.join)(await require_index_node.getProjectRootDirectory(cwd), answers.configFile);
1667
1685
  consola.consola.info(`Creating ${answers.configFile}...`);
1668
- if (formatConfig) await (0, fs_promises.writeFile)(path$2, await prettierFormat(configContent, path$2), "utf-8");
1669
- else await (0, fs_promises.writeFile)(path$2, configContent, "utf-8");
1686
+ if (formatConfig) {
1687
+ const formattedConfig = await prettierFormat(configContent, path$2);
1688
+ await (0, fs_promises.writeFile)(path$2, formattedConfig, "utf-8");
1689
+ } else await (0, fs_promises.writeFile)(path$2, configContent, "utf-8");
1670
1690
  const createdConfig = await require_index_node.parseCommerceAppConfig(cwd);
1671
1691
  consola.consola.success(`Created ${answers.configFile}`);
1672
1692
  return {
@@ -1769,7 +1789,7 @@ async function ensureInstallYaml(domains, cwd = process.cwd()) {
1769
1789
 
1770
1790
  //#endregion
1771
1791
  //#region source/commands/init/main.ts
1772
- const REQUIRED_DEPENDENCIES = ["@adobe/aio-commerce-sdk", `@adobe/aio-commerce-lib-app@1.10.0-alpha-20260731154804`];
1792
+ const REQUIRED_DEPENDENCIES = ["@adobe/aio-commerce-sdk", `@adobe/aio-commerce-lib-app@1.10.0`];
1773
1793
  /** Initialize the project */
1774
1794
  async function run(flags, extraOptions) {
1775
1795
  consola.consola.start("Initializing app...");
@@ -15,7 +15,14 @@ module.exports = {
15
15
  {
16
16
  exclude: /node_modules/,
17
17
  test: /\.[cm]?tsx?$/,
18
- use: "ts-loader",
18
+ use: {
19
+ loader: "ts-loader",
20
+ options: {
21
+ compilerOptions: {
22
+ noEmit: false,
23
+ },
24
+ },
25
+ },
19
26
  },
20
27
  ],
21
28
  },
@@ -13,6 +13,6 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_define = require('../define-hlcQw7Cv.cjs');
16
+ const require_define = require('../define-C-Xq1pCa.cjs');
17
17
 
18
18
  exports.defineConfig = require_define.defineConfig;
@@ -12,5 +12,5 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { t as defineConfig } from "../define-B__VyRtO.cjs";
15
+ import { t as defineConfig } from "../define-BuploXfU.cjs";
16
16
  export { defineConfig };
@@ -13,10 +13,10 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_index_node = require('../index.node-CVGURlxu.cjs');
17
- const require_define = require('../define-hlcQw7Cv.cjs');
18
- const require_webhooks = require('../webhooks-CrHGA-sO.cjs');
19
- const require_validate = require('../validate-Dt0Fdj1L.cjs');
16
+ const require_index_node = require('../index.node-BDMqlp90.cjs');
17
+ const require_define = require('../define-C-Xq1pCa.cjs');
18
+ const require_webhooks = require('../webhooks-uYZZmgTg.cjs');
19
+ const require_validate = require('../validate-C6424wM6.cjs');
20
20
 
21
21
  exports.CommerceAppConfigSchemas = require_validate.CommerceAppConfigSchemas;
22
22
  exports.defineConfig = require_define.defineConfig;
@@ -12,8 +12,8 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { a as CommerceAppConfigSchemas, i as CommerceAppConfigDomain, n as CommerceAppConfig, o as getConfigDomains, r as CommerceAppConfigOutputModel, s as hasConfigDomain, t as AnyCommerceAppConfig } from "../app-e4bCHpek.cjs";
16
- import { t as defineConfig } from "../define-B__VyRtO.cjs";
15
+ import { a as CommerceAppConfigSchemas, i as CommerceAppConfigDomain, n as CommerceAppConfig, o as getConfigDomains, r as CommerceAppConfigOutputModel, s as hasConfigDomain, t as AnyCommerceAppConfig } from "../app-CSqkACEm.cjs";
16
+ import { t as defineConfig } from "../define-BuploXfU.cjs";
17
17
  import { Get } from "type-fest";
18
18
  import * as v from "valibot";
19
19
  import "@adobe/aio-commerce-lib-config";
@@ -12,7 +12,7 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { n as CommerceAppConfig } from "./app-e4bCHpek.cjs";
15
+ import { n as CommerceAppConfig } from "./app-CSqkACEm.cjs";
16
16
  //#region source/config/lib/define.d.ts
17
17
  /**
18
18
  * Helper to type-safely define the app config.
@@ -12,7 +12,6 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
-
16
15
  //#region source/config/lib/define.ts
17
16
  /**
18
17
  * Helper to type-safely define the app config.
@@ -12,7 +12,7 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- const require_rolldown_runtime = require('./rolldown-runtime-Cozy-1ZF.cjs');
15
+ const require_rolldown_runtime = require('./rolldown-runtime-CDQd2xEI.cjs');
16
16
  let _adobe_aio_commerce_lib_core_error = require("@adobe/aio-commerce-lib-core/error");
17
17
  let valibot = require("valibot");
18
18
  valibot = require_rolldown_runtime.__toESM(valibot, 1);
@@ -12,7 +12,7 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { r as CommerceAppConfigOutputModel } from "./app-e4bCHpek.cjs";
15
+ import { r as CommerceAppConfigOutputModel } from "./app-CSqkACEm.cjs";
16
16
  import { RuntimeActionParams } from "@adobe/aio-commerce-lib-core/params";
17
17
  import AioLogger from "@adobe/aio-lib-core-logging";
18
18
  import * as v from "valibot";
@@ -12,9 +12,9 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- const require_rolldown_runtime = require('./rolldown-runtime-Cozy-1ZF.cjs');
15
+ const require_rolldown_runtime = require('./rolldown-runtime-CDQd2xEI.cjs');
16
16
  const require_error = require('./error-D-N0PKSl.cjs');
17
- const require_validate = require('./validate-Dt0Fdj1L.cjs');
17
+ const require_validate = require('./validate-C6424wM6.cjs');
18
18
  let fs = require("fs");
19
19
  let fs_promises = require("fs/promises");
20
20
  let path = require("path");
@@ -161,7 +161,8 @@ async function getProjectRootDirectory(cwd = process.cwd()) {
161
161
  * @param fileOrFolder - The file or folder to create
162
162
  */
163
163
  async function makeOutputDirFor(fileOrFolder) {
164
- const outputDir = (0, path.join)(await getProjectRootDirectory(), fileOrFolder);
164
+ const rootDirectory = await getProjectRootDirectory();
165
+ const outputDir = (0, path.join)(rootDirectory, fileOrFolder);
165
166
  if (!(0, fs.existsSync)(outputDir)) await (0, fs_promises.mkdir)(outputDir, { recursive: true });
166
167
  return outputDir;
167
168
  }
@@ -199,7 +200,8 @@ function isValidPackageManager(value) {
199
200
  * @param cwd - Directory to start detection from; defaults to `process.cwd()`
200
201
  */
201
202
  async function detectPackageManager(cwd = process.cwd()) {
202
- const result = await (0, package_manager_detector_detect.detect)({ cwd: await getProjectRootDirectory(cwd) });
203
+ const rootDirectory = await getProjectRootDirectory(cwd);
204
+ const result = await (0, package_manager_detector_detect.detect)({ cwd: rootDirectory });
203
205
  if (isValidPackageManager(result?.name)) return result.name;
204
206
  const fromUserAgent = (0, package_manager_detector_detect.getUserAgent)() ?? void 0;
205
207
  if (isValidPackageManager(fromUserAgent)) return fromUserAgent;
@@ -360,7 +362,8 @@ async function hasNamedCommerceAppConfigExports(cwd = process.cwd()) {
360
362
  * @throws {Error} If no config file is found, if the file doesn't export a default export, or if validation fails
361
363
  */
362
364
  async function parseCommerceAppConfig(cwd = process.cwd()) {
363
- return require_validate.validateCommerceAppConfig(await readCommerceAppConfig(cwd));
365
+ const config = await readCommerceAppConfig(cwd);
366
+ return require_validate.validateCommerceAppConfig(config);
364
367
  }
365
368
 
366
369
  //#endregion
@@ -12,7 +12,7 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- const require_rolldown_runtime = require('./rolldown-runtime-Cozy-1ZF.cjs');
15
+ const require_rolldown_runtime = require('./rolldown-runtime-CDQd2xEI.cjs');
16
16
  let util = require("util");
17
17
  util = require_rolldown_runtime.__toESM(util, 1);
18
18
 
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
16
- const require_management = require('../management-DmH7fVxy.cjs');
16
+ const require_management = require('../management-BeVfzKuc.cjs');
17
17
 
18
18
  exports.createInitialInstallationState = require_management.createInitialInstallationState;
19
19
  exports.createInitialUninstallationState = require_management.createInitialUninstallationState;
@@ -12,5 +12,5 @@
12
12
  * governing permissions and limitations under the License.
13
13
  */
14
14
 
15
- import { $ as StepContextFactory, A as ExecutionStatus, B as isCompletedState, C as executeUninstallWorkflow, D as StepFailedEvent, E as StepEvent, F as InstallationRetryMetadata, G as BranchStep, H as isInProgressState, I as InstallationState, J as InferStepOutput, K as BranchStepOptions, L as InstallationStatus, M as InProgressInstallationState, N as InstallationData, O as StepStartedEvent, P as InstallationError, Q as Step, R as StepStatus, S as createRetryState, T as InstallationHooks, U as isSucceededState, V as isFailedState, W as AnyStep, X as LeafStep, Y as InstallationContext, Z as LeafStepOptions, _ as ValidationSummary, a as RunValidationOptions, at as ValidationIssueSeverity, b as ExecuteWorkflowOptions, c as runInstallation, ct as isBranchStep, d as CustomInstallationStepDefinition, et as StepMeta, f as CustomInstallationStepHandler, g as ValidationResult, h as ValidateStepTreeOptions, i as RunUninstallationOptions, it as ValidationIssue, j as FailedInstallationState, k as StepSucceededEvent, l as runUninstallation, lt as isLeafStep, m as StepValidationResult, n as CreateInitialUninstallationStateOptions, nt as ValidationContext, o as createInitialInstallationState, ot as defineBranchStep, p as defineCustomInstallationStep, q as ExecutionContext, r as RunInstallationOptions, rt as ValidationExecutionContext, s as createInitialUninstallationState, st as defineLeafStep, t as CreateInitialInstallationStateOptions, tt as StepMetaInfo, u as runValidation, v as validateStepTree, w as executeWorkflow, x as createInitialState, y as CreateInitialStateOptions, z as SucceededInstallationState } from "../index-Ds7AyoNv.cjs";
15
+ import { $ as StepContextFactory, A as ExecutionStatus, B as isCompletedState, C as executeUninstallWorkflow, D as StepFailedEvent, E as StepEvent, F as InstallationRetryMetadata, G as BranchStep, H as isInProgressState, I as InstallationState, J as InferStepOutput, K as BranchStepOptions, L as InstallationStatus, M as InProgressInstallationState, N as InstallationData, O as StepStartedEvent, P as InstallationError, Q as Step, R as StepStatus, S as createRetryState, T as InstallationHooks, U as isSucceededState, V as isFailedState, W as AnyStep, X as LeafStep, Y as InstallationContext, Z as LeafStepOptions, _ as ValidationSummary, a as RunValidationOptions, at as ValidationIssueSeverity, b as ExecuteWorkflowOptions, c as runInstallation, ct as isBranchStep, d as CustomInstallationStepDefinition, et as StepMeta, f as CustomInstallationStepHandler, g as ValidationResult, h as ValidateStepTreeOptions, i as RunUninstallationOptions, it as ValidationIssue, j as FailedInstallationState, k as StepSucceededEvent, l as runUninstallation, lt as isLeafStep, m as StepValidationResult, n as CreateInitialUninstallationStateOptions, nt as ValidationContext, o as createInitialInstallationState, ot as defineBranchStep, p as defineCustomInstallationStep, q as ExecutionContext, r as RunInstallationOptions, rt as ValidationExecutionContext, s as createInitialUninstallationState, st as defineLeafStep, t as CreateInitialInstallationStateOptions, tt as StepMetaInfo, u as runValidation, v as validateStepTree, w as executeWorkflow, x as createInitialState, y as CreateInitialStateOptions, z as SucceededInstallationState } from "../index-NxK_-lg1.cjs";
16
16
  export { type AnyStep, type BranchStep, type BranchStepOptions, type CreateInitialInstallationStateOptions, type CreateInitialStateOptions, type CreateInitialUninstallationStateOptions, type CustomInstallationStepDefinition, type CustomInstallationStepHandler, type ExecuteWorkflowOptions, type ExecutionContext, type ExecutionStatus, type FailedInstallationState, type InProgressInstallationState, type InferStepOutput, type InstallationContext, type InstallationData, type InstallationError, type InstallationHooks, type InstallationRetryMetadata, type InstallationState, type InstallationStatus, type LeafStep, type LeafStepOptions, type RunInstallationOptions, type RunUninstallationOptions, type RunValidationOptions, type Step, type StepContextFactory, type StepEvent, type StepFailedEvent, type StepMeta, type StepMetaInfo, type StepStartedEvent, type StepStatus, type StepSucceededEvent, type StepValidationResult, type SucceededInstallationState, type ValidateStepTreeOptions, type ValidationContext, type ValidationExecutionContext, type ValidationIssue, type ValidationIssueSeverity, type ValidationResult, type ValidationSummary, createInitialInstallationState, type createInitialState, createInitialUninstallationState, type createRetryState, type defineBranchStep, defineCustomInstallationStep, type defineLeafStep, type executeUninstallWorkflow, type executeWorkflow, type isBranchStep, isCompletedState, isFailedState, isInProgressState, type isLeafStep, isSucceededState, runInstallation, runUninstallation, runValidation, type validateStepTree };