@wix/create-new 0.0.63 → 0.0.65
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.
- package/build/{chunk-GNLSHRVA.js → chunk-6R4YJJNX.js} +14 -3
- package/build/{chunk-GNLSHRVA.js.map → chunk-6R4YJJNX.js.map} +1 -1
- package/build/{generator-PRTIBUNH.js → generator-SD43RRXK.js} +2 -2
- package/build/index.js +455 -133
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- /package/build/{generator-PRTIBUNH.js.map → generator-SD43RRXK.js.map} +0 -0
|
@@ -16436,7 +16436,6 @@ var CliSystemErrorCode = (0, import_variant.variant)({
|
|
|
16436
16436
|
FailedToDistributeClientManifestUpdate: {},
|
|
16437
16437
|
FailedToCreateRoutesWithMetaSiteUrl: {},
|
|
16438
16438
|
FailedToGetUrl: {},
|
|
16439
|
-
FailedToUpdateExternalSiteUrl: {},
|
|
16440
16439
|
FailedToGetGitHubOnboardingStatus: (0, import_variant.fields)(),
|
|
16441
16440
|
FailedToInitGitHubRepository: (0, import_variant.fields)(),
|
|
16442
16441
|
FailedToGenerateExtensionConfig: (0, import_variant.fields)(),
|
|
@@ -19394,7 +19393,10 @@ var wixAstroSiteConfigSchema = zod_default.object({
|
|
|
19394
19393
|
$schema: zod_default.string().optional(),
|
|
19395
19394
|
projectType: zod_default.literal("Site").optional().default("Site"),
|
|
19396
19395
|
appId: zod_default.string(),
|
|
19397
|
-
siteId: zod_default.string()
|
|
19396
|
+
siteId: zod_default.string(),
|
|
19397
|
+
site: zod_default.object({
|
|
19398
|
+
outputDirectory: zod_default.string().optional()
|
|
19399
|
+
}).optional()
|
|
19398
19400
|
});
|
|
19399
19401
|
var wixAstroAppConfigSchema = zod_default.object({
|
|
19400
19402
|
$schema: zod_default.string().optional(),
|
|
@@ -19408,6 +19410,9 @@ var wixAstroConfigSchema = zod_default.discriminatedUnion("projectType", [
|
|
|
19408
19410
|
wixAstroSiteConfigSchema,
|
|
19409
19411
|
wixAstroAppConfigSchema
|
|
19410
19412
|
]);
|
|
19413
|
+
var envSchema = zod_default.object({
|
|
19414
|
+
WIX_SITE_ID: zod_default.string().uuid().optional()
|
|
19415
|
+
});
|
|
19411
19416
|
var ENV_FILE_NAME = ".env.local";
|
|
19412
19417
|
var TRANSLATIONS_FILE_PATH = join6("src", "translations.json");
|
|
19413
19418
|
var devMetadataSchema = zod_default.object({
|
|
@@ -19500,6 +19505,11 @@ function getEnvFilePath(projectFolder) {
|
|
|
19500
19505
|
}
|
|
19501
19506
|
var MULTILINGUAL_DIR = join6(GIT_IGNORED_DIR, "multilingual");
|
|
19502
19507
|
var TRANSLATIONS_DIR = join6(MULTILINGUAL_DIR, "translations");
|
|
19508
|
+
var ASTRO_APP_CONFIG_PATH = join6(GIT_IGNORED_DIR, "app.config.json");
|
|
19509
|
+
var astroAppConfigSchema = zod_default.object({
|
|
19510
|
+
siteId: zod_default.string().uuid().optional(),
|
|
19511
|
+
devArmTag: zod_default.string().optional()
|
|
19512
|
+
});
|
|
19503
19513
|
|
|
19504
19514
|
// ../../node_modules/tempy/index.js
|
|
19505
19515
|
init_esm_shims();
|
|
@@ -19669,6 +19679,7 @@ export {
|
|
|
19669
19679
|
readPackageJson,
|
|
19670
19680
|
writePackageJson,
|
|
19671
19681
|
updateEnvFile,
|
|
19682
|
+
WIX_CONFIG_FILENAME,
|
|
19672
19683
|
USER_CONFIG_FILENAME,
|
|
19673
19684
|
userConfigSchema,
|
|
19674
19685
|
getWixConfigFilePath,
|
|
@@ -19756,4 +19767,4 @@ is-git-url/index.js:
|
|
|
19756
19767
|
* Released under the MIT License.
|
|
19757
19768
|
*)
|
|
19758
19769
|
*/
|
|
19759
|
-
//# sourceMappingURL=chunk-
|
|
19770
|
+
//# sourceMappingURL=chunk-6R4YJJNX.js.map
|