create-platformatic 0.22.0 → 0.23.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-platformatic",
3
- "version": "0.22.0",
3
+ "version": "0.23.0",
4
4
  "description": "Create platformatic-db interactive tool",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,12 +27,12 @@
27
27
  "minimist": "^1.2.8",
28
28
  "mkdirp": "^2.1.6",
29
29
  "ora": "^6.3.0",
30
- "pino": "^8.11.0",
30
+ "pino": "^8.12.0",
31
31
  "pino-pretty": "^10.0.0",
32
32
  "pupa": "^3.1.0",
33
33
  "semver": "^7.5.0",
34
34
  "undici": "^5.22.0",
35
- "@platformatic/config": "0.22.0"
35
+ "@platformatic/config": "0.23.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "ajv": "^8.12.0",
@@ -43,8 +43,8 @@
43
43
  "standard": "^17.0.0",
44
44
  "tap": "^16.3.4",
45
45
  "yaml": "^2.2.2",
46
- "@platformatic/db": "0.22.0",
47
- "@platformatic/service": "0.22.0"
46
+ "@platformatic/db": "0.23.0",
47
+ "@platformatic/service": "0.23.0"
48
48
  },
49
49
  "scripts": {
50
50
  "test": "standard | snazzy && NODE_OPTIONS=--loader=esmock c8 --100 tap --no-coverage test/*test.mjs test/*/*test.mjs",
@@ -19,7 +19,7 @@ const packageJsonTemplate = (addTSBuild = false) => (`\
19
19
  "platformatic": "^{platVersion}"
20
20
  },
21
21
  "engines": {
22
- "node": "^16.17.0 || ^18.8.0 || >=19"
22
+ "node": "^18.8.0 || >=19"
23
23
  }
24
24
  }`)
25
25
 
package/src/db/README.md CHANGED
@@ -5,9 +5,9 @@ This is a generated [Platformatic DB](https://oss.platformatic.dev/docs/referenc
5
5
  ## Requirements
6
6
 
7
7
  Platformatic supports macOS, Linux and Windows ([WSL](https://docs.microsoft.com/windows/wsl/) recommended).
8
- You'll need to have [Node.js](https://nodejs.org/) >= v16.17.0 or >= v18.8.0
8
+ You'll need to have [Node.js](https://nodejs.org/) >= v18.8.0
9
9
 
10
- ## Setup
10
+ ## Setup
11
11
 
12
12
  1. Install dependencies:
13
13
 
@@ -5,9 +5,9 @@ This is a generated [Platformatic DB](https://oss.platformatic.dev/docs/referenc
5
5
  ## Requirements
6
6
 
7
7
  Platformatic supports macOS, Linux and Windows ([WSL](https://docs.microsoft.com/windows/wsl/) recommended).
8
- You'll need to have [Node.js](https://nodejs.org/) >= v16.17.0 or >= v18.8.0
8
+ You'll need to have [Node.js](https://nodejs.org/) >= v18.8.0
9
9
 
10
- ## Setup
10
+ ## Setup
11
11
 
12
12
  Install dependencies:
13
13
 
package/src/utils.mjs CHANGED
@@ -79,7 +79,7 @@ export const getDependencyVersion = async (dependencyName) => {
79
79
  return packageJson.version
80
80
  }
81
81
 
82
- export const minimumSupportedNodeVersions = ['16.17.0', '18.8.0', '19.0.0']
82
+ export const minimumSupportedNodeVersions = ['18.8.0', '19.0.0']
83
83
 
84
84
  export const isCurrentVersionSupported = (currentVersion) => {
85
85
  // TODO: add try/catch if some unsupported node version is passed