@platformatic/runtime 1.3.1 → 1.4.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/package.json +13 -12
- package/test.js +20 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"c8": "^8.0.1",
|
|
21
21
|
"execa": "^8.0.1",
|
|
22
|
+
"glob": "^10.3.10",
|
|
22
23
|
"snazzy": "^9.0.0",
|
|
23
24
|
"split2": "^4.2.0",
|
|
24
25
|
"standard": "^17.1.0",
|
|
25
26
|
"tsd": "^0.29.0",
|
|
26
27
|
"typescript": "^5.2.2",
|
|
27
|
-
"@platformatic/sql-graphql": "1.
|
|
28
|
-
"@platformatic/sql-mapper": "1.
|
|
28
|
+
"@platformatic/sql-graphql": "1.4.1",
|
|
29
|
+
"@platformatic/sql-mapper": "1.4.1"
|
|
29
30
|
},
|
|
30
31
|
"dependencies": {
|
|
31
32
|
"@fastify/error": "^3.3.0",
|
|
@@ -37,18 +38,18 @@
|
|
|
37
38
|
"es-main": "^1.3.0",
|
|
38
39
|
"fastest-levenshtein": "^1.0.16",
|
|
39
40
|
"fastify": "^4.23.2",
|
|
40
|
-
"fastify-undici-dispatcher": "^0.
|
|
41
|
+
"fastify-undici-dispatcher": "^0.5.0",
|
|
41
42
|
"help-me": "^4.2.0",
|
|
42
43
|
"minimist": "^1.2.8",
|
|
43
44
|
"pino": "^8.15.3",
|
|
44
45
|
"pino-pretty": "^10.2.0",
|
|
45
46
|
"undici": "^5.25.4",
|
|
46
|
-
"@platformatic/composer": "1.
|
|
47
|
-
"@platformatic/config": "1.
|
|
48
|
-
"@platformatic/db": "1.
|
|
49
|
-
"@platformatic/service": "1.
|
|
50
|
-
"@platformatic/telemetry": "1.
|
|
51
|
-
"@platformatic/utils": "1.
|
|
47
|
+
"@platformatic/composer": "1.4.1",
|
|
48
|
+
"@platformatic/config": "1.4.1",
|
|
49
|
+
"@platformatic/db": "1.4.1",
|
|
50
|
+
"@platformatic/service": "1.4.1",
|
|
51
|
+
"@platformatic/telemetry": "1.4.1",
|
|
52
|
+
"@platformatic/utils": "1.4.1"
|
|
52
53
|
},
|
|
53
54
|
"standard": {
|
|
54
55
|
"ignore": [
|
|
@@ -57,8 +58,8 @@
|
|
|
57
58
|
]
|
|
58
59
|
},
|
|
59
60
|
"scripts": {
|
|
60
|
-
"test": "npm run lint && node
|
|
61
|
-
"coverage": "npm run lint && c8 -x fixtures -x test node
|
|
61
|
+
"test": "npm run lint && node test.js test/cli/*.test.mjs && tsd",
|
|
62
|
+
"coverage": "npm run lint && c8 -x fixtures -x test node test.js && tsd",
|
|
62
63
|
"lint": "standard | snazzy"
|
|
63
64
|
}
|
|
64
65
|
}
|
package/test.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
const { tap, spec } = require('node:test/reporters')
|
|
4
|
+
const { run } = require('node:test')
|
|
5
|
+
const path = require('node:path')
|
|
6
|
+
const glob = require('glob').globSync
|
|
7
|
+
|
|
8
|
+
/* eslint-disable new-cap */
|
|
9
|
+
const reporter = process.stdout.isTTY ? new spec() : tap
|
|
10
|
+
|
|
11
|
+
const files = [
|
|
12
|
+
...glob(path.join(__dirname, 'test', '*.test.js')),
|
|
13
|
+
...glob(path.join(__dirname, 'test', 'cli', '*.test.mjs'))
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
run({
|
|
17
|
+
files,
|
|
18
|
+
concurrency: 1,
|
|
19
|
+
timeout: 30000
|
|
20
|
+
}).compose(reporter).pipe(process.stdout)
|