wattpm 2.2.1 → 2.3.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.
package/bin/wattpm.js CHANGED
@@ -1,5 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { main } from '../index.js'
3
+ import { checkNodeVersionForServices } from '@platformatic/utils'
4
4
 
5
+ checkNodeVersionForServices()
6
+
7
+ // Use await import here so that we can throw a proprer error on unsupported Node.js version
8
+ const { main } = await import('../index.js')
5
9
  await main()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wattpm",
3
- "version": "2.2.1",
3
+ "version": "2.3.0",
4
4
  "description": "The Node.js Application Server",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -34,11 +34,11 @@
34
34
  "pino-pretty": "^11.2.2",
35
35
  "split2": "^4.2.0",
36
36
  "table": "^6.8.2",
37
- "@platformatic/basic": "2.2.1",
38
- "@platformatic/config": "2.2.1",
39
- "@platformatic/control": "2.2.1",
40
- "@platformatic/utils": "2.2.1",
41
- "@platformatic/runtime": "2.2.1"
37
+ "@platformatic/basic": "2.3.0",
38
+ "@platformatic/config": "2.3.0",
39
+ "@platformatic/control": "2.3.0",
40
+ "@platformatic/utils": "2.3.0",
41
+ "@platformatic/runtime": "2.3.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "borp": "^0.17.0",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/wattpm/2.2.1.json",
2
+ "$id": "https://schemas.platformatic.dev/wattpm/2.3.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "type": "object",
5
5
  "properties": {