@wix/ditto-codegen-public 1.0.322 → 1.0.323

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 (2) hide show
  1. package/dist/out.js +2 -3
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -12904,12 +12904,11 @@ var require_environments = __commonJS({
12904
12904
  Object.defineProperty(exports2, "getActiveHooks", { enumerable: true, get: function() {
12905
12905
  return hooks_1.getActiveHooks;
12906
12906
  } });
12907
- function getCodegenEnvironmentConfig(environment) {
12908
- switch (environment) {
12907
+ function getCodegenEnvironmentConfig() {
12908
+ switch (process.env.CODEGEN_ENVIRONMENT) {
12909
12909
  case types_1.Environment.STUDIO_2:
12910
12910
  return studio_2_1.studio2CodegenConfig;
12911
12911
  case types_1.Environment.APP_BUILDER:
12912
- case types_1.Environment.UNKNOWN_ENVIRONMENT:
12913
12912
  default:
12914
12913
  return app_builder_1.appBuilderCodegenConfig;
12915
12914
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.322",
3
+ "version": "1.0.323",
4
4
  "description": "AI-powered Wix CLI app generator - standalone executable",
5
5
  "scripts": {
6
6
  "build": "node build.mjs",
@@ -27,5 +27,5 @@
27
27
  "@wix/ditto-codegen": "1.0.0",
28
28
  "esbuild": "^0.27.2"
29
29
  },
30
- "falconPackageHash": "ee006d0a99bf914141e13f3c3a53c82b337cbc6aa650550976a931be"
30
+ "falconPackageHash": "9aa40a224d28520ec48145f69ef92d7698c69f6d4293f1ef7a37322a"
31
31
  }