@smi-digital/create-smi-app 2.4.4 → 2.4.6

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/dist/index.js CHANGED
@@ -604,7 +604,7 @@ async function createIntegrations(options, projectRoot, templatesDir) {
604
604
  const astroConfigPath = join5(frontendDir, "astro.config.mjs");
605
605
  let astroConfig = await readFile4(astroConfigPath, "utf8");
606
606
  astroConfig = astroConfig.replace(
607
- "export default defineConfig({",
607
+ /export default defineConfig\s*\(\s*\{/v,
608
608
  "export default defineConfig({\n output: 'server',"
609
609
  );
610
610
  await writeFile3(astroConfigPath, astroConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smi-digital/create-smi-app",
3
- "version": "2.4.4",
3
+ "version": "2.4.6",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -28,4 +28,4 @@ ENV HOST=0.0.0.0
28
28
  ENV PORT=4321
29
29
 
30
30
  # Start the server (Adjust entrypoint depending on your Astro Node/Bun adapter)
31
- CMD ["bun", "run", "./dist/server/entry.mjs"]
31
+ CMD ["bun", "./dist/server/entry.mjs"]
@@ -7,7 +7,7 @@
7
7
  # ==============================================================================
8
8
 
9
9
  # Internal Docker Network routing (Do not change)
10
- PUBLIC_API_URL=http://__APP_NAME__-strapi:1337
10
+ STRAPI_URL=http://__APP_NAME__-strapi:1337
11
11
 
12
12
  # Add your client-specific 3rd party secrets below
13
13
  # STRIPE_SECRET_KEY=sk_live_...