create-platformatic 0.26.0 → 0.26.1
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.26.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"description": "Create platformatic-db interactive tool",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"semver": "^7.5.1",
|
|
34
34
|
"undici": "^5.22.1",
|
|
35
35
|
"which": "^3.0.1",
|
|
36
|
-
"@platformatic/config": "0.26.
|
|
36
|
+
"@platformatic/config": "0.26.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"ajv": "^8.12.0",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"standard": "^17.0.0",
|
|
46
46
|
"tap": "^16.3.4",
|
|
47
47
|
"yaml": "^2.2.2",
|
|
48
|
-
"@platformatic/db": "0.26.
|
|
49
|
-
"@platformatic/service": "0.26.
|
|
48
|
+
"@platformatic/db": "0.26.1",
|
|
49
|
+
"@platformatic/service": "0.26.1"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"test": "standard | snazzy && cross-env NODE_OPTIONS=\"--loader=esmock --no-warnings\" c8 --100 tap --no-coverage test/*test.mjs test/*/*test.mjs",
|
package/src/create-gitignore.mjs
CHANGED
package/src/db/create-db-cli.mjs
CHANGED
|
@@ -143,7 +143,7 @@ const createPlatformaticDB = async (_args, opts) => {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
if (!hasPlatformaticInstalled) {
|
|
146
|
-
const exe = await which('platformatic', {
|
|
146
|
+
const exe = await which('platformatic', { nothrow: true })
|
|
147
147
|
hasPlatformaticInstalled = !!exe
|
|
148
148
|
}
|
|
149
149
|
|