platformatic 2.0.2 → 2.1.0

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.
Files changed (2) hide show
  1. package/lib/upgrade.js +3 -1
  2. package/package.json +18 -18
package/lib/upgrade.js CHANGED
@@ -42,7 +42,9 @@ async function upgradeApp (config, logger) {
42
42
  },
43
43
  })
44
44
 
45
- await configManager.parseAndValidate(false)
45
+ configManager.schemaOptions.useDefaults = false
46
+
47
+ await configManager.parse(false, [], { validation: false, transform: false })
46
48
  config = configManager.current
47
49
 
48
50
  // If the schema is present, we use it to format the config
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "platformatic",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "Platformatic CLI",
5
5
  "main": "cli.js",
6
6
  "type": "module",
@@ -37,14 +37,14 @@
37
37
  "mkdirp": "^2.1.6",
38
38
  "neostandard": "^0.11.1",
39
39
  "typescript": "^5.5.3",
40
- "@platformatic/composer": "2.0.2",
41
- "@platformatic/astro": "2.0.2",
42
- "@platformatic/next": "2.0.2",
43
- "@platformatic/db": "2.0.2",
44
- "@platformatic/node": "2.0.2",
45
- "@platformatic/service": "2.0.2",
46
- "@platformatic/remix": "2.0.2",
47
- "@platformatic/vite": "2.0.2"
40
+ "@platformatic/astro": "2.1.0",
41
+ "@platformatic/composer": "2.1.0",
42
+ "@platformatic/db": "2.1.0",
43
+ "@platformatic/node": "2.1.0",
44
+ "@platformatic/next": "2.1.0",
45
+ "@platformatic/remix": "2.1.0",
46
+ "@platformatic/service": "2.1.0",
47
+ "@platformatic/vite": "2.1.0"
48
48
  },
49
49
  "dependencies": {
50
50
  "@fastify/error": "^4.0.0",
@@ -62,15 +62,15 @@
62
62
  "pino-pretty": "^11.2.2",
63
63
  "split2": "^4.2.0",
64
64
  "undici": "^6.9.0",
65
- "@platformatic/basic": "2.0.2",
66
- "@platformatic/client-cli": "2.0.2",
67
- "@platformatic/control": "2.0.2",
68
- "@platformatic/config": "2.0.2",
69
- "@platformatic/db": "2.0.2",
70
- "@platformatic/runtime": "2.0.2",
71
- "@platformatic/frontend-template": "2.0.2",
72
- "@platformatic/utils": "2.0.2",
73
- "create-platformatic": "2.0.2"
65
+ "@platformatic/basic": "2.1.0",
66
+ "@platformatic/client-cli": "2.1.0",
67
+ "@platformatic/control": "2.1.0",
68
+ "@platformatic/config": "2.1.0",
69
+ "@platformatic/frontend-template": "2.1.0",
70
+ "@platformatic/runtime": "2.1.0",
71
+ "@platformatic/db": "2.1.0",
72
+ "@platformatic/utils": "2.1.0",
73
+ "create-platformatic": "2.1.0"
74
74
  },
75
75
  "scripts": {
76
76
  "test": "pnpm run lint && borp --no-timeout --concurrency 1",