wattpm 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.
@@ -55,7 +55,7 @@ export async function initCommand (logger, args) {
55
55
 
56
56
  await writeFile(
57
57
  configurationFile,
58
- JSON.stringify({ $schema: schema.$id, ...configManager.current, entrypoint: positionals[1] ?? '' }, null, 2),
58
+ JSON.stringify({ $schema: schema.$id, ...configManager.current, entrypoint: positionals[1] ?? undefined }, null, 2),
59
59
  'utf-8'
60
60
  )
61
61
 
package/lib/defaults.js CHANGED
@@ -6,7 +6,6 @@ export const defaultConfiguration = {
6
6
  logger: {
7
7
  level: 'info'
8
8
  },
9
- entrypoint: '',
10
9
  autoload: {
11
10
  path: 'web'
12
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wattpm",
3
- "version": "2.0.2",
3
+ "version": "2.1.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.0.2",
38
- "@platformatic/config": "2.0.2",
39
- "@platformatic/control": "2.0.2",
40
- "@platformatic/runtime": "2.0.2",
41
- "@platformatic/utils": "2.0.2"
37
+ "@platformatic/basic": "2.1.0",
38
+ "@platformatic/config": "2.1.0",
39
+ "@platformatic/control": "2.1.0",
40
+ "@platformatic/utils": "2.1.0",
41
+ "@platformatic/runtime": "2.1.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.0.2.json",
2
+ "$id": "https://schemas.platformatic.dev/wattpm/2.1.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "type": "object",
5
5
  "properties": {
@@ -600,20 +600,17 @@
600
600
  "anyOf": [
601
601
  {
602
602
  "required": [
603
- "autoload",
604
- "entrypoint"
603
+ "autoload"
605
604
  ]
606
605
  },
607
606
  {
608
607
  "required": [
609
- "services",
610
- "entrypoint"
608
+ "services"
611
609
  ]
612
610
  },
613
611
  {
614
612
  "required": [
615
- "web",
616
- "entrypoint"
613
+ "web"
617
614
  ]
618
615
  }
619
616
  ],