@platformatic/service 2.0.0 → 2.0.2
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/versions/2.0.0.js
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const { version } = require('../../package.json')
|
|
4
4
|
|
|
5
|
-
module.exports = {
|
|
5
|
+
module.exports.migration = {
|
|
6
6
|
version: '2.0.0',
|
|
7
|
+
toVersion: version,
|
|
7
8
|
up: function (config) {
|
|
8
|
-
config
|
|
9
|
+
if (typeof config.allowCycles === 'boolean') {
|
|
10
|
+
delete config.allowCycles
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
config.$schema = `https://schemas.platformatic.dev/@platformatic/service/${version}.json`
|
|
14
|
+
|
|
9
15
|
return config
|
|
10
|
-
}
|
|
16
|
+
},
|
|
11
17
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const { version } = require('../../package.json')
|
|
4
|
-
|
|
5
3
|
module.exports.migration = {
|
|
6
4
|
version: '0.28.0',
|
|
7
|
-
toVersion:
|
|
5
|
+
toVersion: '1.99.0',
|
|
8
6
|
up: function (config) {
|
|
9
7
|
if (config.watch !== false) {
|
|
10
8
|
config.watch = typeof config.watch === 'object' ? config.watch : true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
"rfdc": "^1.3.1",
|
|
77
77
|
"semgrator": "^0.3.0",
|
|
78
78
|
"undici": "^6.9.0",
|
|
79
|
-
"@platformatic/
|
|
80
|
-
"@platformatic/
|
|
81
|
-
"@platformatic/
|
|
82
|
-
"@platformatic/telemetry": "2.0.
|
|
83
|
-
"@platformatic/
|
|
84
|
-
"@platformatic/
|
|
85
|
-
"@platformatic/
|
|
79
|
+
"@platformatic/client": "2.0.2",
|
|
80
|
+
"@platformatic/config": "2.0.2",
|
|
81
|
+
"@platformatic/generators": "2.0.2",
|
|
82
|
+
"@platformatic/telemetry": "2.0.2",
|
|
83
|
+
"@platformatic/scalar-theme": "2.0.2",
|
|
84
|
+
"@platformatic/utils": "2.0.2",
|
|
85
|
+
"@platformatic/ts-compiler": "2.0.2"
|
|
86
86
|
},
|
|
87
87
|
"scripts": {
|
|
88
88
|
"test": "pnpm run lint && borp -T --concurrency=1 --timeout=180000 && tsd",
|
package/schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/service/2.0.
|
|
3
|
-
"version": "2.0.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/2.0.2.json",
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"title": "Platformatic Service",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
|
|
3
|
-
const { version } = require('../../package.json')
|
|
4
|
-
|
|
5
|
-
module.exports.migration = {
|
|
6
|
-
version: '1.99.0', // This is to account alpha versions as well
|
|
7
|
-
toVersion: version,
|
|
8
|
-
up: function (config) {
|
|
9
|
-
if (typeof config.allowCycles === 'boolean') {
|
|
10
|
-
delete config.allowCycles
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
return config
|
|
14
|
-
},
|
|
15
|
-
}
|