@platformatic/astro 2.43.0 → 2.44.1

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 (3) hide show
  1. package/index.js +5 -1
  2. package/package.json +6 -6
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -34,6 +34,10 @@ export class AstroStackable extends BaseStackable {
34
34
  }
35
35
 
36
36
  async init () {
37
+ if (this.isProduction) {
38
+ return
39
+ }
40
+
37
41
  this.#astro = resolve(dirname(resolvePackage(this.root, 'astro')), '../..')
38
42
  const astroPackage = JSON.parse(await readFile(resolve(this.#astro, 'package.json'), 'utf-8'))
39
43
 
@@ -100,7 +104,7 @@ export class AstroStackable extends BaseStackable {
100
104
  }
101
105
  }
102
106
  }
103
- ],
107
+ ]
104
108
  })
105
109
  } finally {
106
110
  globalThis.platformatic.isBuilding = false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/astro",
3
- "version": "2.43.0",
3
+ "version": "2.44.1",
4
4
  "description": "Platformatic Astro Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -19,9 +19,9 @@
19
19
  "@fastify/static": "^8.0.0",
20
20
  "fastify": "^5.0.0",
21
21
  "semver": "^7.6.3",
22
- "@platformatic/basic": "2.43.0",
23
- "@platformatic/config": "2.43.0",
24
- "@platformatic/utils": "2.43.0"
22
+ "@platformatic/basic": "2.44.1",
23
+ "@platformatic/utils": "2.44.1",
24
+ "@platformatic/config": "2.44.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@astrojs/node": "^8.3.3",
@@ -33,8 +33,8 @@
33
33
  "typescript": "^5.5.4",
34
34
  "vite": "^5.4.4",
35
35
  "ws": "^8.18.0",
36
- "@platformatic/service": "2.43.0",
37
- "@platformatic/composer": "2.43.0"
36
+ "@platformatic/composer": "2.44.1",
37
+ "@platformatic/service": "2.44.1"
38
38
  },
39
39
  "scripts": {
40
40
  "test": "npm run lint && borp --concurrency=1 --no-timeout",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/astro/2.43.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/astro/2.44.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Astro Stackable",
5
5
  "type": "object",