@wix/astro 1.0.2 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/astro",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "devDependencies": {
5
5
  "@wix/ambassador-devcenter-components-v1-component": "^1.0.459",
6
6
  "@wix/cli-app-definitions": "0.0.0",
@@ -39,5 +39,5 @@
39
39
  ]
40
40
  }
41
41
  },
42
- "falconPackageHash": "316d7aee4c5a27a88893450492b78aa2a6bb5309fe78a6f6c8d50a69"
42
+ "falconPackageHash": "6f54786ab2d68ddea2729f44cbccbef5eaa98825d77bdb71b705aa08"
43
43
  }
package/src/index.ts CHANGED
@@ -34,15 +34,19 @@ const createIntegration = (): AstroIntegration => {
34
34
  model ??= await createProjectModel();
35
35
  const appManifest = generateAppManifest(model);
36
36
 
37
- await writeJson(
38
- join(_config.outDir.pathname, '_wix/app-manifest.json'),
39
- appManifest
37
+ const appManifestPath = join(
38
+ _config.outDir.pathname,
39
+ '_wix/app-manifest.json'
40
40
  );
41
41
 
42
+ await writeJson(appManifestPath, appManifest);
43
+
42
44
  await writeJson(
43
45
  join(_config.root.pathname, GIT_IGNORED_DIR, 'build-metadata.json'),
44
46
  {
47
+ appManifestPath,
45
48
  clientDir: _config.build.client.pathname,
49
+ outDir: _config.outDir.pathname,
46
50
  serverDir: _config.build.server.pathname,
47
51
  } satisfies BuildMetadata
48
52
  );