@platformatic/runtime 2.0.0-alpha.17 → 2.0.0-alpha.19
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/upgrade.js +0 -4
- package/lib/versions/v2.0.0.js +4 -0
- package/package.json +13 -13
- 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 HttpsSchemasPlatformaticDevPlatformaticRuntime200Alpha19Json = {
|
|
9
9
|
[k: string]: unknown;
|
|
10
10
|
} & {
|
|
11
11
|
$schema?: string;
|
package/lib/upgrade.js
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
const { join } = require('node:path')
|
|
4
4
|
|
|
5
|
-
const pkg = require('../package.json')
|
|
6
|
-
|
|
7
5
|
module.exports = async function upgrade (config, version) {
|
|
8
6
|
const { semgrator } = await import('semgrator')
|
|
9
7
|
|
|
@@ -20,7 +18,5 @@ module.exports = async function upgrade (config, version) {
|
|
|
20
18
|
result = updated.result
|
|
21
19
|
}
|
|
22
20
|
|
|
23
|
-
result.$schema = `https://schemas.platformatic.dev/@platformatic/runtime/${pkg.version}.json`
|
|
24
|
-
|
|
25
21
|
return result
|
|
26
22
|
}
|
package/lib/versions/v2.0.0.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
+
const pkg = require('../../package.json')
|
|
4
|
+
|
|
3
5
|
module.exports = {
|
|
4
6
|
version: '1.99.0', // This is to account alpha versions as well
|
|
5
7
|
up: function (config) {
|
|
@@ -12,6 +14,8 @@ module.exports = {
|
|
|
12
14
|
delete config.hotReload
|
|
13
15
|
}
|
|
14
16
|
|
|
17
|
+
config.$schema = `https://schemas.platformatic.dev/@platformatic/runtime/${pkg.version}.json`
|
|
18
|
+
|
|
15
19
|
if (config.server?.logger) {
|
|
16
20
|
config.logger = config.server.logger
|
|
17
21
|
delete config.server.logger
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"typescript": "^5.5.4",
|
|
35
35
|
"undici-oidc-interceptor": "^0.5.0",
|
|
36
36
|
"why-is-node-running": "^2.2.2",
|
|
37
|
-
"@platformatic/composer": "2.0.0-alpha.
|
|
38
|
-
"@platformatic/db": "2.0.0-alpha.
|
|
39
|
-
"@platformatic/
|
|
40
|
-
"@platformatic/sql-
|
|
41
|
-
"@platformatic/
|
|
37
|
+
"@platformatic/composer": "2.0.0-alpha.19",
|
|
38
|
+
"@platformatic/db": "2.0.0-alpha.19",
|
|
39
|
+
"@platformatic/service": "2.0.0-alpha.19",
|
|
40
|
+
"@platformatic/sql-graphql": "2.0.0-alpha.19",
|
|
41
|
+
"@platformatic/sql-mapper": "2.0.0-alpha.19"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@fastify/error": "^4.0.0",
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
"undici": "^6.9.0",
|
|
69
69
|
"undici-thread-interceptor": "^0.6.1",
|
|
70
70
|
"ws": "^8.16.0",
|
|
71
|
-
"@platformatic/basic": "2.0.0-alpha.
|
|
72
|
-
"@platformatic/
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/itc": "2.0.0-alpha.
|
|
75
|
-
"@platformatic/telemetry": "2.0.0-alpha.
|
|
76
|
-
"@platformatic/
|
|
77
|
-
"@platformatic/
|
|
71
|
+
"@platformatic/basic": "2.0.0-alpha.19",
|
|
72
|
+
"@platformatic/generators": "2.0.0-alpha.19",
|
|
73
|
+
"@platformatic/config": "2.0.0-alpha.19",
|
|
74
|
+
"@platformatic/itc": "2.0.0-alpha.19",
|
|
75
|
+
"@platformatic/telemetry": "2.0.0-alpha.19",
|
|
76
|
+
"@platformatic/ts-compiler": "2.0.0-alpha.19",
|
|
77
|
+
"@platformatic/utils": "2.0.0-alpha.19"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"test": "npm run lint && borp --concurrency=1 --timeout=180000 && tsd",
|
package/schema.json
CHANGED