@platformatic/astro 2.27.1 → 2.28.1-alpha.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 +3 -2
  2. package/package.json +6 -6
  3. package/schema.json +1 -1
package/index.js CHANGED
@@ -300,7 +300,7 @@ function transformConfig () {
300
300
  this.current.watch = { enabled: this.current.watch || false }
301
301
  }
302
302
 
303
- basicTransformConfig.call(this)
303
+ return basicTransformConfig.call(this)
304
304
  }
305
305
 
306
306
  export async function buildStackable (opts) {
@@ -311,7 +311,8 @@ export async function buildStackable (opts) {
311
311
  source: opts.config ?? {},
312
312
  schemaOptions,
313
313
  transformConfig,
314
- dirname: root
314
+ dirname: root,
315
+ context: opts.context
315
316
  })
316
317
  await configManager.parseAndValidate()
317
318
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/astro",
3
- "version": "2.27.1",
3
+ "version": "2.28.1-alpha.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.27.1",
23
- "@platformatic/config": "2.27.1",
24
- "@platformatic/utils": "2.27.1"
22
+ "@platformatic/basic": "2.28.1-alpha.1",
23
+ "@platformatic/utils": "2.28.1-alpha.1",
24
+ "@platformatic/config": "2.28.1-alpha.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/composer": "2.27.1",
37
- "@platformatic/service": "2.27.1"
36
+ "@platformatic/service": "2.28.1-alpha.1",
37
+ "@platformatic/composer": "2.28.1-alpha.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.27.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/astro/2.28.1-alpha.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Astro Stackable",
5
5
  "type": "object",