@platformatic/basic 2.2.1 → 2.2.2-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.
- package/lib/base.js +3 -3
- package/package.json +8 -8
- package/schema.json +1 -1
package/lib/base.js
CHANGED
|
@@ -44,7 +44,7 @@ export class BaseStackable {
|
|
|
44
44
|
this.registerGlobals({
|
|
45
45
|
setOpenapiSchema: this.setOpenapiSchema.bind(this),
|
|
46
46
|
setGraphqlSchema: this.setGraphqlSchema.bind(this),
|
|
47
|
-
|
|
47
|
+
setBasePath: this.setBasePath.bind(this)
|
|
48
48
|
})
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -104,8 +104,8 @@ export class BaseStackable {
|
|
|
104
104
|
this.graphqlSchema = schema
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
this.
|
|
107
|
+
setBasePath (basePath) {
|
|
108
|
+
this.basePath = basePath
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
async log ({ message, level }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/basic",
|
|
3
|
-
"version": "2.2.1",
|
|
3
|
+
"version": "2.2.2-alpha.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"split2": "^4.2.0",
|
|
24
24
|
"undici": "^6.19.5",
|
|
25
25
|
"ws": "^8.18.0",
|
|
26
|
-
"@platformatic/
|
|
27
|
-
"@platformatic/
|
|
28
|
-
"@platformatic/
|
|
29
|
-
"@platformatic/
|
|
26
|
+
"@platformatic/telemetry": "2.2.2-alpha.1",
|
|
27
|
+
"@platformatic/config": "2.2.2-alpha.1",
|
|
28
|
+
"@platformatic/itc": "2.2.2-alpha.1",
|
|
29
|
+
"@platformatic/utils": "2.2.2-alpha.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"borp": "^0.17.0",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"react": "^18.3.1",
|
|
40
40
|
"react-dom": "^18.3.1",
|
|
41
41
|
"typescript": "^5.5.4",
|
|
42
|
-
"vite": "^5.4.0"
|
|
43
|
-
"@platformatic/composer": "2.2.1",
|
|
44
|
-
"@platformatic/service": "2.2.1"
|
|
42
|
+
"vite": "^5.4.0"
|
|
45
43
|
},
|
|
46
44
|
"scripts": {
|
|
45
|
+
"test": "npm run lint && borp --concurrency=1 --no-timeout",
|
|
46
|
+
"coverage": "npm run lint && borp -C -X test -X test/fixtures --concurrency=1 --no-timeout",
|
|
47
47
|
"gen-schema": "node lib/schema.js > schema.json",
|
|
48
48
|
"gen-types": "json2ts > config.d.ts < schema.json",
|
|
49
49
|
"build": "pnpm run gen-schema && pnpm run gen-types",
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/basic/2.2.1.json",
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/basic/2.2.2-alpha.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Stackable",
|
|
5
5
|
"type": "object",
|