@platformatic/astro 3.29.1 → 3.30.0
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/lib/capability.js +3 -2
- package/package.json +6 -6
- package/schema.json +1 -1
package/lib/capability.js
CHANGED
|
@@ -37,8 +37,9 @@ export class AstroCapability extends BaseCapability {
|
|
|
37
37
|
return
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
const astroPackageJsonPath = await resolvePackageViaCJS(this.root, 'astro/package.json')
|
|
41
|
+
this.#astro = dirname(astroPackageJsonPath)
|
|
42
|
+
const astroPackage = JSON.parse(await readFile(astroPackageJsonPath, 'utf-8'))
|
|
42
43
|
|
|
43
44
|
if (!satisfies(astroPackage.version, supportedVersions)) {
|
|
44
45
|
throw new errors.UnsupportedVersion('astro', astroPackage.version, supportedVersions)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/astro",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.30.0",
|
|
4
4
|
"description": "Platformatic Astro Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@fastify/middie": "^9.0.0",
|
|
19
19
|
"@fastify/static": "^8.0.0",
|
|
20
|
-
"fastify": "^5.
|
|
20
|
+
"fastify": "^5.7.0",
|
|
21
21
|
"semver": "^7.6.3",
|
|
22
|
-
"@platformatic/basic": "3.
|
|
23
|
-
"@platformatic/foundation": "3.
|
|
22
|
+
"@platformatic/basic": "3.30.0",
|
|
23
|
+
"@platformatic/foundation": "3.30.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@astrojs/node": "^9.2.0",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"typescript": "^5.5.4",
|
|
35
35
|
"vite": "^7.0.0",
|
|
36
36
|
"ws": "^8.18.0",
|
|
37
|
-
"@platformatic/gateway": "3.
|
|
38
|
-
"@platformatic/service": "3.
|
|
37
|
+
"@platformatic/gateway": "3.30.0",
|
|
38
|
+
"@platformatic/service": "3.30.0"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/astro/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/astro/3.30.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Astro Config",
|
|
5
5
|
"type": "object",
|