@platformatic/astro 3.27.0 → 3.28.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/config.d.ts +2 -0
- package/lib/capability.js +2 -2
- package/package.json +6 -6
- package/schema.json +20 -1
package/config.d.ts
CHANGED
|
@@ -499,6 +499,7 @@ export interface PlatformaticAstroConfig {
|
|
|
499
499
|
[k: string]: string;
|
|
500
500
|
};
|
|
501
501
|
sourceMaps?: boolean;
|
|
502
|
+
nodeModulesSourceMaps?: string[];
|
|
502
503
|
scheduler?: {
|
|
503
504
|
enabled?: boolean | string;
|
|
504
505
|
name: string;
|
|
@@ -553,6 +554,7 @@ export interface PlatformaticAstroConfig {
|
|
|
553
554
|
};
|
|
554
555
|
envfile?: string;
|
|
555
556
|
sourceMaps?: boolean;
|
|
557
|
+
nodeModulesSourceMaps?: string[];
|
|
556
558
|
packageManager?: "npm" | "pnpm" | "yarn";
|
|
557
559
|
preload?: string | string[];
|
|
558
560
|
nodeOptions?: string;
|
package/lib/capability.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
ensureTrailingSlash,
|
|
8
8
|
errors,
|
|
9
9
|
getServerUrl,
|
|
10
|
-
importFile
|
|
10
|
+
importFile,
|
|
11
|
+
resolvePackageViaCJS
|
|
11
12
|
} from '@platformatic/basic'
|
|
12
|
-
import { resolvePackageViaCJS } from '@platformatic/basic/lib/utils.js'
|
|
13
13
|
import { ensureLoggableError } from '@platformatic/foundation'
|
|
14
14
|
import fastify from 'fastify'
|
|
15
15
|
import { existsSync } from 'node:fs'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/astro",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.28.0",
|
|
4
4
|
"description": "Platformatic Astro Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"@fastify/static": "^8.0.0",
|
|
20
20
|
"fastify": "^5.0.0",
|
|
21
21
|
"semver": "^7.6.3",
|
|
22
|
-
"@platformatic/
|
|
23
|
-
"@platformatic/
|
|
22
|
+
"@platformatic/foundation": "3.28.0",
|
|
23
|
+
"@platformatic/basic": "3.28.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@astrojs/node": "^9.2.0",
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"json-schema-to-typescript": "^15.0.1",
|
|
33
33
|
"neostandard": "^0.12.0",
|
|
34
34
|
"typescript": "^5.5.4",
|
|
35
|
-
"vite": "^
|
|
35
|
+
"vite": "^7.0.0",
|
|
36
36
|
"ws": "^8.18.0",
|
|
37
|
-
"@platformatic/
|
|
38
|
-
"@platformatic/
|
|
37
|
+
"@platformatic/service": "3.28.0",
|
|
38
|
+
"@platformatic/gateway": "3.28.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.28.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Astro Config",
|
|
5
5
|
"type": "object",
|
|
@@ -593,6 +593,12 @@
|
|
|
593
593
|
"sourceMaps": {
|
|
594
594
|
"type": "boolean"
|
|
595
595
|
},
|
|
596
|
+
"nodeModulesSourceMaps": {
|
|
597
|
+
"type": "array",
|
|
598
|
+
"items": {
|
|
599
|
+
"type": "string"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
596
602
|
"packageManager": {
|
|
597
603
|
"type": "string",
|
|
598
604
|
"enum": [
|
|
@@ -1839,6 +1845,13 @@
|
|
|
1839
1845
|
"type": "boolean",
|
|
1840
1846
|
"default": false
|
|
1841
1847
|
},
|
|
1848
|
+
"nodeModulesSourceMaps": {
|
|
1849
|
+
"type": "array",
|
|
1850
|
+
"items": {
|
|
1851
|
+
"type": "string"
|
|
1852
|
+
},
|
|
1853
|
+
"default": []
|
|
1854
|
+
},
|
|
1842
1855
|
"scheduler": {
|
|
1843
1856
|
"type": "array",
|
|
1844
1857
|
"items": {
|
|
@@ -2092,6 +2105,12 @@
|
|
|
2092
2105
|
"sourceMaps": {
|
|
2093
2106
|
"type": "boolean"
|
|
2094
2107
|
},
|
|
2108
|
+
"nodeModulesSourceMaps": {
|
|
2109
|
+
"type": "array",
|
|
2110
|
+
"items": {
|
|
2111
|
+
"type": "string"
|
|
2112
|
+
}
|
|
2113
|
+
},
|
|
2095
2114
|
"packageManager": {
|
|
2096
2115
|
"type": "string",
|
|
2097
2116
|
"enum": [
|