@platformatic/runtime 2.67.0 → 2.67.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.
- package/config.d.ts +1 -1
- package/lib/config.js +3 -3
- package/package.json +14 -14
- package/schema.json +1 -1
package/config.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type
|
|
8
|
+
export type HttpsSchemasPlatformaticDevPlatformaticRuntime2671Json = {
|
|
9
9
|
[k: string]: unknown;
|
|
10
10
|
} & {
|
|
11
11
|
$schema?: string;
|
package/lib/config.js
CHANGED
|
@@ -140,14 +140,14 @@ async function _transformConfig (configManager, args) {
|
|
|
140
140
|
const basic = await import('@platformatic/basic')
|
|
141
141
|
service.isPLTService = false
|
|
142
142
|
try {
|
|
143
|
-
const
|
|
144
|
-
service.type =
|
|
143
|
+
const { stackable } = await basic.importStackableAndConfig(service.path)
|
|
144
|
+
service.type = stackable.default.configType
|
|
145
145
|
const _require = createRequire(service.path)
|
|
146
146
|
// This is needed to work around Rust bug on dylibs:
|
|
147
147
|
// https://github.com/rust-lang/rust/issues/91979
|
|
148
148
|
// https://github.com/rollup/rollup/issues/5761
|
|
149
149
|
// TODO(mcollina): we should expose this inside every stackable configuration.
|
|
150
|
-
|
|
150
|
+
stackable.default.modulesToLoad?.forEach(m => {
|
|
151
151
|
const toLoad = _require.resolve(m)
|
|
152
152
|
loadModule(_require, toLoad).catch(() => {})
|
|
153
153
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "2.67.
|
|
3
|
+
"version": "2.67.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"typescript": "^5.5.4",
|
|
38
38
|
"undici-oidc-interceptor": "^0.5.0",
|
|
39
39
|
"why-is-node-running": "^2.2.2",
|
|
40
|
-
"@platformatic/
|
|
41
|
-
"@platformatic/
|
|
42
|
-
"@platformatic/node": "2.67.
|
|
43
|
-
"@platformatic/service": "2.67.
|
|
44
|
-
"@platformatic/sql-mapper": "2.67.
|
|
45
|
-
"@platformatic/sql-graphql": "2.67.
|
|
40
|
+
"@platformatic/db": "2.67.1",
|
|
41
|
+
"@platformatic/composer": "2.67.1",
|
|
42
|
+
"@platformatic/node": "2.67.1",
|
|
43
|
+
"@platformatic/service": "2.67.1",
|
|
44
|
+
"@platformatic/sql-mapper": "2.67.1",
|
|
45
|
+
"@platformatic/sql-graphql": "2.67.1"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@fastify/accepts": "^5.0.0",
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
"undici": "^7.0.0",
|
|
78
78
|
"undici-thread-interceptor": "^0.13.1",
|
|
79
79
|
"ws": "^8.16.0",
|
|
80
|
-
"@platformatic/basic": "2.67.
|
|
81
|
-
"@platformatic/config": "2.67.
|
|
82
|
-
"@platformatic/generators": "2.67.
|
|
83
|
-
"@platformatic/itc": "2.67.
|
|
84
|
-
"@platformatic/telemetry": "2.67.
|
|
85
|
-
"@platformatic/ts-compiler": "2.67.
|
|
86
|
-
"@platformatic/utils": "2.67.
|
|
80
|
+
"@platformatic/basic": "2.67.1",
|
|
81
|
+
"@platformatic/config": "2.67.1",
|
|
82
|
+
"@platformatic/generators": "2.67.1",
|
|
83
|
+
"@platformatic/itc": "2.67.1",
|
|
84
|
+
"@platformatic/telemetry": "2.67.1",
|
|
85
|
+
"@platformatic/ts-compiler": "2.67.1",
|
|
86
|
+
"@platformatic/utils": "2.67.1"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
89
|
"test": "pnpm run lint && borp --concurrency=1 --timeout=600000 && tsd",
|
package/schema.json
CHANGED