@lando/symfony 1.4.1 → 1.5.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 (36) hide show
  1. package/.nyc_output/processinfo/9eb5a242-d175-4832-b066-fcad35ff990b.json +1 -0
  2. package/.nyc_output/processinfo/bbc6227c-0e57-4656-ad5b-874f12785892.json +1 -0
  3. package/.nyc_output/processinfo/index.json +1 -1
  4. package/CHANGELOG.md +3 -0
  5. package/coverage/index.html +1 -1
  6. package/node_modules/@lando/mariadb/.eslintignore +3 -2
  7. package/node_modules/@lando/mariadb/CHANGELOG.md +5 -0
  8. package/node_modules/@lando/mariadb/netlify.toml +19 -4
  9. package/node_modules/@lando/mariadb/package.json +11 -11
  10. package/node_modules/@lando/mariadb/tmpfile +0 -0
  11. package/node_modules/@lando/mariadb/utils/get-default-healthcheck.js +12 -5
  12. package/node_modules/@lando/mysql/.eslintignore +3 -2
  13. package/node_modules/@lando/mysql/CHANGELOG.md +5 -0
  14. package/node_modules/@lando/mysql/netlify.toml +19 -4
  15. package/node_modules/@lando/mysql/package.json +11 -11
  16. package/node_modules/@lando/mysql/tmpfile +0 -0
  17. package/node_modules/@lando/mysql/utils/get-default-healthcheck.js +12 -5
  18. package/node_modules/@lando/postgres/.eslintignore +3 -2
  19. package/node_modules/@lando/postgres/.nyc_output/processinfo/3380cdae-4eeb-4e34-9b80-ce510e7ff922.json +1 -0
  20. package/node_modules/@lando/postgres/.nyc_output/processinfo/4a260cab-351e-4105-aba4-06e6f872bf12.json +1 -0
  21. package/node_modules/@lando/postgres/.nyc_output/processinfo/index.json +1 -1
  22. package/node_modules/@lando/postgres/CHANGELOG.md +5 -0
  23. package/node_modules/@lando/postgres/coverage/index.html +1 -1
  24. package/node_modules/@lando/postgres/netlify.toml +20 -5
  25. package/node_modules/@lando/postgres/package.json +13 -13
  26. package/node_modules/@lando/postgres/tmpfile +0 -0
  27. package/node_modules/@lando/postgres/utils/get-default-healthcheck.js +9 -4
  28. package/package.json +9 -9
  29. package/.nyc_output/processinfo/61859fb3-ac68-45b8-b65b-22bcf941c388.json +0 -1
  30. package/.nyc_output/processinfo/a404ca81-f26d-4a98-b687-edb7c07118ad.json +0 -1
  31. package/node_modules/@lando/postgres/.nyc_output/processinfo/2687c51a-1087-45b1-b5dd-1c557d4a9030.json +0 -1
  32. package/node_modules/@lando/postgres/.nyc_output/processinfo/8b1ac11a-c036-44b8-8ee5-b34875c4541c.json +0 -1
  33. /package/.nyc_output/{61859fb3-ac68-45b8-b65b-22bcf941c388.json → 9eb5a242-d175-4832-b066-fcad35ff990b.json} +0 -0
  34. /package/.nyc_output/{a404ca81-f26d-4a98-b687-edb7c07118ad.json → bbc6227c-0e57-4656-ad5b-874f12785892.json} +0 -0
  35. /package/node_modules/@lando/postgres/.nyc_output/{2687c51a-1087-45b1-b5dd-1c557d4a9030.json → 3380cdae-4eeb-4e34-9b80-ce510e7ff922.json} +0 -0
  36. /package/node_modules/@lando/postgres/.nyc_output/{8b1ac11a-c036-44b8-8ee5-b34875c4541c.json → 4a260cab-351e-4105-aba4-06e6f872bf12.json} +0 -0
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1823,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1710179866846,"ppid":1822,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/9eb5a242-d175-4832-b066-fcad35ff990b.json","externalId":"","uuid":"9eb5a242-d175-4832-b066-fcad35ff990b","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1834,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1710179867001,"ppid":1823,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/bbc6227c-0e57-4656-ad5b-874f12785892.json","externalId":"","uuid":"bbc6227c-0e57-4656-ad5b-874f12785892","files":[]}
@@ -1 +1 @@
1
- {"processes":{"61859fb3-ac68-45b8-b65b-22bcf941c388":{"parent":null,"children":[]},"a404ca81-f26d-4a98-b687-edb7c07118ad":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
1
+ {"processes":{"9eb5a242-d175-4832-b066-fcad35ff990b":{"parent":null,"children":[]},"bbc6227c-0e57-4656-ad5b-874f12785892":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v1.5.0 - [March 8, 2024](https://github.com/lando/symfony/releases/tag/v1.5.0)
2
+ * Updated to latest database services.
3
+
1
4
  ## v1.4.1 - [March 4, 2024](https://github.com/lando/symfony/releases/tag/v1.4.1)
2
5
 
3
6
  ### Fixes
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2024-03-05T04:03:37.605Z
89
+ at 2024-03-11T17:57:47.203Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -1,4 +1,5 @@
1
- .temp
2
- .cache
1
+ temp
2
+ cache
3
3
  dist
4
4
  _site
5
+ !.vitepress
@@ -1,3 +1,8 @@
1
+ ## v1.1.0 - [March 8, 2024](https://github.com/lando/mariadb/releases/tag/v1.1.0)
2
+
3
+ ### Fixes
4
+ * Allow empty password and other creds fields to pass healthcheck [lando/lamp#51](https://github.com/lando/lamp/issues/51)
5
+
1
6
  ## v1.0.0 - [December 7, 2023](https://github.com/lando/mariadb/releases/tag/v1.0.0)
2
7
 
3
8
  * Dialed fully for `lando update`
@@ -1,6 +1,6 @@
1
1
  [build]
2
2
  base = "./"
3
- publish = "docs/.vuepress/dist"
3
+ publish = "docs/.vitepress/dist"
4
4
  command = "npm run docs:build"
5
5
 
6
6
  # Sets our asset optimization
@@ -20,13 +20,28 @@
20
20
  for = "/images/*"
21
21
  [headers.values]
22
22
  Cache-Control = "public, max-age=31536000"
23
-
23
+
24
+ # pluginz
25
+ # https://github.com/netlify/netlify-plugin-lighthouse#readme
26
+ [[plugins]]
27
+ package = "@netlify/plugin-lighthouse"
28
+ [plugins.inputs.audits]
29
+ output_path = "reports/lighthouse.html"
30
+
31
+ # https://github.com/munter/netlify-plugin-checklinks#readme
32
+ [[plugins]]
33
+ package = "netlify-plugin-checklinks"
34
+ [plugins.inputs]
35
+ todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
36
+ skipPatterns = [ ".rss", ".gif", ".jpg" ]
37
+ checkExternal = true
38
+
24
39
  # We need this so preview environments and the base site look ok on their own
25
40
  [[redirects]]
26
41
  from = "/"
27
- to = "/mariadb"
42
+ to = "/plugins/mariadb"
28
43
  status = 200
29
44
  [[redirects]]
30
- from = "/mariadb/*"
45
+ from = "/plugins/mariadb/*"
31
46
  to = "/:splat"
32
47
  status = 200
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lando/mariadb",
3
3
  "description": "A Lando plugin that provides a tight integration with mariadb.",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/mariadb",
@@ -33,10 +33,10 @@
33
33
  },
34
34
  "scripts": {
35
35
  "coverage": "nyc report --reporter=text-lcov | coveralls",
36
- "docs:dev": "vuepress dev docs --clean-cache --clean-temp",
37
- "docs:build": "vuepress build docs",
38
- "docs:lint": "eslint -c docs/.eslintrc.json --quiet docs/.vuepress",
39
- "lint": "eslint --quiet . && npm run docs:lint",
36
+ "docs:dev": "vitepress dev docs",
37
+ "docs:build": "vitepress build docs",
38
+ "docs:preview": "vitepress preview docs",
39
+ "lint": "eslint . --ext .js --ext .mjs ",
40
40
  "test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
41
41
  "test:leia": "leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
42
42
  "test": "npm run lint && npm run test:unit"
@@ -47,7 +47,7 @@
47
47
  "devDependencies": {
48
48
  "@babel/eslint-parser": "^7.16.0",
49
49
  "@lando/leia": "^0.6.5",
50
- "@lando/vuepress-theme-default-plus": "1.0.0-beta.49",
50
+ "@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
51
51
  "chai": "^4.3.4",
52
52
  "command-line-test": "^1.0.10",
53
53
  "eslint": "^7.32.0",
@@ -55,15 +55,15 @@
55
55
  "eslint-plugin-vue": "^8.0.3",
56
56
  "mocha": "^9.1.2",
57
57
  "nyc": "^15.1.0",
58
- "vuepress": "2.0.0-beta.53"
58
+ "vitepress": "^1.0.0-rc.42"
59
59
  },
60
60
  "bundledDependencies": [
61
61
  "lodash"
62
62
  ],
63
63
  "dist": {
64
- "integrity": "sha512-L/t4cAbFdIMtOr3rvPQmjzai2B/70sThlJGYOTaGlkoAeBE5I6R+nDDufW1LMZntjR8UnQH8m/c8twuIIbDffA==",
65
- "shasum": "8521dc25224f586da7c49234ebafb7a8539b779e",
66
- "filename": "lando-mariadb-1.0.0.tgz",
67
- "unpackedSize": 1468250
64
+ "integrity": "sha512-WfVKHB9WNfAnYmcUtvHD1mnEtzTrJPnC8IxxXD7bXlGHzCg0fTDMCDq/E4KULzPv3gzSv/Y/qVckwk6PBHrTPQ==",
65
+ "shasum": "3e46a4aa9c131181ed9fbe403e060c90ef9dff67",
66
+ "filename": "lando-mariadb-1.1.0.tgz",
67
+ "unpackedSize": 1469176
68
68
  }
69
69
  }
File without changes
@@ -2,14 +2,21 @@
2
2
 
3
3
  // checks to see if a setting is disabled
4
4
  module.exports = options => {
5
- return [
5
+ let healthcheck = [
6
6
  'mysql',
7
7
  `--host=${options.name}`,
8
- `--user=${options.creds.user}`,
9
- `--database=${options.creds.database}`,
10
- `--password=${options.creds.password}`,
8
+ ];
9
+
10
+ // Only include whatever creds are available.
11
+ options.creds.user ? healthcheck.push(`--user=${options.creds.user}`) : false;
12
+ options.creds.database ? healthcheck.push(`--database=${options.creds.database}`) : false;
13
+ options.creds.password ? healthcheck.push(`--password=${options.creds.password}`) : false;
14
+
15
+ healthcheck = healthcheck.concat([
11
16
  '--silent',
12
17
  '--execute',
13
18
  '"SHOW TABLES;"',
14
- ].join(' ');
19
+ ]);
20
+
21
+ return healthcheck.join(' ');
15
22
  };
@@ -1,4 +1,5 @@
1
- .temp
2
- .cache
1
+ temp
2
+ cache
3
3
  dist
4
4
  _site
5
+ !.vitepress
@@ -1,3 +1,8 @@
1
+ ## v1.1.0 - [March 8, 2024](https://github.com/lando/mysql/releases/tag/v1.1.0)
2
+
3
+ ### Fixes
4
+ * Allow empty password and other creds fields to pass healthcheck [lando/lamp#51](https://github.com/lando/lamp/issues/51)
5
+
1
6
  ## v1.0.0 - [December 7, 2023](https://github.com/lando/mysql/releases/tag/v1.0.0)
2
7
 
3
8
  * Dialed fully for `lando update`
@@ -1,6 +1,6 @@
1
1
  [build]
2
2
  base = "./"
3
- publish = "docs/.vuepress/dist"
3
+ publish = "docs/.vitepress/dist"
4
4
  command = "npm run docs:build"
5
5
 
6
6
  # Sets our asset optimization
@@ -20,13 +20,28 @@
20
20
  for = "/images/*"
21
21
  [headers.values]
22
22
  Cache-Control = "public, max-age=31536000"
23
-
23
+
24
+ # pluginz
25
+ # https://github.com/netlify/netlify-plugin-lighthouse#readme
26
+ [[plugins]]
27
+ package = "@netlify/plugin-lighthouse"
28
+ [plugins.inputs.audits]
29
+ output_path = "reports/lighthouse.html"
30
+
31
+ # https://github.com/munter/netlify-plugin-checklinks#readme
32
+ [[plugins]]
33
+ package = "netlify-plugin-checklinks"
34
+ [plugins.inputs]
35
+ todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
36
+ skipPatterns = [ ".rss", ".gif", ".jpg" ]
37
+ checkExternal = true
38
+
24
39
  # We need this so preview environments and the base site look ok on their own
25
40
  [[redirects]]
26
41
  from = "/"
27
- to = "/mysql"
42
+ to = "/plugins/mysql"
28
43
  status = 200
29
44
  [[redirects]]
30
- from = "/mysql/*"
45
+ from = "/plugins/mysql/*"
31
46
  to = "/:splat"
32
47
  status = 200
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lando/mysql",
3
3
  "description": "A Lando plugin that provides a tight integration with MySQL.",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/mysql",
@@ -33,10 +33,10 @@
33
33
  },
34
34
  "scripts": {
35
35
  "coverage": "nyc report --reporter=text-lcov | coveralls",
36
- "docs:dev": "vuepress dev docs --clean-cache --clean-temp",
37
- "docs:build": "vuepress build docs",
38
- "docs:lint": "eslint -c docs/.eslintrc.json --quiet docs/.vuepress",
39
- "lint": "eslint --quiet . && npm run docs:lint",
36
+ "docs:dev": "vitepress dev docs",
37
+ "docs:build": "vitepress build docs",
38
+ "docs:preview": "vitepress preview docs",
39
+ "lint": "eslint . --ext .js --ext .mjs ",
40
40
  "test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
41
41
  "test:leia": "leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
42
42
  "test": "npm run lint && npm run test:unit"
@@ -47,7 +47,7 @@
47
47
  "devDependencies": {
48
48
  "@babel/eslint-parser": "^7.16.0",
49
49
  "@lando/leia": "^0.6.5",
50
- "@lando/vuepress-theme-default-plus": "1.0.0-beta.49",
50
+ "@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
51
51
  "chai": "^4.3.4",
52
52
  "command-line-test": "^1.0.10",
53
53
  "eslint": "^7.32.0",
@@ -55,15 +55,15 @@
55
55
  "eslint-plugin-vue": "^8.0.3",
56
56
  "mocha": "^9.1.2",
57
57
  "nyc": "^15.1.0",
58
- "vuepress": "2.0.0-beta.53"
58
+ "vitepress": "^1.0.0-rc.42"
59
59
  },
60
60
  "bundledDependencies": [
61
61
  "lodash"
62
62
  ],
63
63
  "dist": {
64
- "integrity": "sha512-CZQHV1UfeD+2XW3DsxgvUcsaUpCTJeJ+4iwl2xn00x7p+74vUthuos9xA+RGSPcJX1dSmjxKBEbtOt+X0PS73Q==",
65
- "shasum": "84b506afc16a0ca5901b043c05589274f3beb796",
66
- "filename": "lando-mysql-1.0.0.tgz",
67
- "unpackedSize": 1468081
64
+ "integrity": "sha512-lprclsoY/I5gMA6Qtq/n91EaWVdlrxbr5BG9CvyrZjl1xSUeoqGTB0NVDHUn33X+ozoCTO88i64iw3lFHFKMdQ==",
65
+ "shasum": "ce6a886ec27a86770b7981cf505849b053acf2e0",
66
+ "filename": "lando-mysql-1.1.0.tgz",
67
+ "unpackedSize": 1469005
68
68
  }
69
69
  }
File without changes
@@ -2,14 +2,21 @@
2
2
 
3
3
  // checks to see if a setting is disabled
4
4
  module.exports = options => {
5
- return [
5
+ let healthcheck = [
6
6
  'mysql',
7
7
  `--host=${options.name}`,
8
- `--user=${options.creds.user}`,
9
- `--database=${options.creds.database}`,
10
- `--password=${options.creds.password}`,
8
+ ];
9
+
10
+ // Only include whatever creds are available.
11
+ options.creds.user ? healthcheck.push(`--user=${options.creds.user}`) : false;
12
+ options.creds.database ? healthcheck.push(`--database=${options.creds.database}`) : false;
13
+ options.creds.password ? healthcheck.push(`--password=${options.creds.password}`) : false;
14
+
15
+ healthcheck = healthcheck.concat([
11
16
  '--silent',
12
17
  '--execute',
13
18
  '"SHOW TABLES;"',
14
- ].join(' ');
19
+ ]);
20
+
21
+ return healthcheck.join(' ');
15
22
  };
@@ -1,4 +1,5 @@
1
- .temp
2
- .cache
1
+ temp
2
+ cache
3
3
  dist
4
4
  _site
5
+ !.vitepress
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1879,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1709931699943,"ppid":1868,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/3380cdae-4eeb-4e34-9b80-ce510e7ff922.json","externalId":"","uuid":"3380cdae-4eeb-4e34-9b80-ce510e7ff922","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1868,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1709931699762,"ppid":1867,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/4a260cab-351e-4105-aba4-06e6f872bf12.json","externalId":"","uuid":"4a260cab-351e-4105-aba4-06e6f872bf12","files":[]}
@@ -1 +1 @@
1
- {"processes":{"2687c51a-1087-45b1-b5dd-1c557d4a9030":{"parent":null,"children":[]},"8b1ac11a-c036-44b8-8ee5-b34875c4541c":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
1
+ {"processes":{"3380cdae-4eeb-4e34-9b80-ce510e7ff922":{"parent":null,"children":[]},"4a260cab-351e-4105-aba4-06e6f872bf12":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
@@ -1,3 +1,8 @@
1
+ ## v1.1.0 - [March 8, 2024](https://github.com/lando/postgres/releases/tag/v1.1.0)
2
+
3
+ ### Fixes
4
+ * Allow empty user/dbname fields to pass healthcheck [lando/lamp#51](https://github.com/lando/lamp/issues/51)
5
+
1
6
  ## v1.0.0 - [December 7, 2023](https://github.com/lando/postgres/releases/tag/v1.0.0)
2
7
 
3
8
  * Dialed fully for `lando update`.
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2023-12-14T19:30:54.694Z
89
+ at 2024-03-08T21:01:40.150Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -1,6 +1,6 @@
1
1
  [build]
2
2
  base = "./"
3
- publish = "docs/.vuepress/dist"
3
+ publish = "docs/.vitepress/dist"
4
4
  command = "npm run docs:build"
5
5
 
6
6
  # Sets our asset optimization
@@ -20,13 +20,28 @@
20
20
  for = "/images/*"
21
21
  [headers.values]
22
22
  Cache-Control = "public, max-age=31536000"
23
-
23
+
24
+ # pluginz
25
+ # https://github.com/netlify/netlify-plugin-lighthouse#readme
26
+ [[plugins]]
27
+ package = "@netlify/plugin-lighthouse"
28
+ [plugins.inputs.audits]
29
+ output_path = "reports/lighthouse.html"
30
+
31
+ # https://github.com/munter/netlify-plugin-checklinks#readme
32
+ [[plugins]]
33
+ package = "netlify-plugin-checklinks"
34
+ [plugins.inputs]
35
+ todoPatterns = [ "load", "CHANGELOG.html", "x.com", "twitter.com" ]
36
+ skipPatterns = [ ".rss", ".gif", ".jpg" ]
37
+ checkExternal = true
38
+
24
39
  # We need this so preview environments and the base site look ok on their own
25
40
  [[redirects]]
26
41
  from = "/"
27
- to = "/postgres"
42
+ to = "/plugins/postgres"
28
43
  status = 200
29
44
  [[redirects]]
30
- from = "/postgres/*"
45
+ from = "/plugins/postgres/*"
31
46
  to = "/:splat"
32
- status = 200
47
+ status = 200
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lando/postgres",
3
3
  "description": "A Lando plugin that provides a tight integration with Postgres.",
4
- "version": "1.0.0",
4
+ "version": "1.1.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/postgres",
@@ -16,9 +16,6 @@
16
16
  "engines": {
17
17
  "node": ">=18.0.0"
18
18
  },
19
- "bundledDependencies": [
20
- "lodash"
21
- ],
22
19
  "lando": {},
23
20
  "main": "index.js",
24
21
  "nyc": {
@@ -36,13 +33,13 @@
36
33
  },
37
34
  "scripts": {
38
35
  "coverage": "nyc report --reporter=text-lcov | coveralls",
39
- "docs:dev": "vuepress dev docs --clean-cache --clean-temp",
40
- "docs:build": "vuepress build docs",
41
- "docs:lint": "eslint -c docs/.eslintrc.json --quiet docs/.vuepress",
42
- "lint": "eslint --quiet . && yarn docs:lint",
36
+ "docs:dev": "vitepress dev docs",
37
+ "docs:build": "vitepress build docs",
38
+ "docs:preview": "vitepress preview docs",
39
+ "lint": "eslint . --ext .js --ext .mjs ",
43
40
  "test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
44
- "test:leia": "yarn leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
45
- "test": "yarn lint && yarn test:unit"
41
+ "test:leia": "leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
42
+ "test": "npm run lint && npm run test:unit"
46
43
  },
47
44
  "dependencies": {
48
45
  "lodash": "^4.17.21"
@@ -50,7 +47,7 @@
50
47
  "devDependencies": {
51
48
  "@babel/eslint-parser": "^7.16.0",
52
49
  "@lando/leia": "^0.6.5",
53
- "@lando/vuepress-theme-default-plus": "1.0.0-beta.49",
50
+ "@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
54
51
  "chai": "^4.3.4",
55
52
  "command-line-test": "^1.0.10",
56
53
  "eslint": "^7.32.0",
@@ -58,6 +55,9 @@
58
55
  "eslint-plugin-vue": "^8.0.3",
59
56
  "mocha": "^9.1.2",
60
57
  "nyc": "^15.1.0",
61
- "vuepress": "2.0.0-beta.53"
62
- }
58
+ "vitepress": "^1.0.0-rc.42"
59
+ },
60
+ "bundledDependencies": [
61
+ "lodash"
62
+ ]
63
63
  }
File without changes
@@ -2,11 +2,16 @@
2
2
 
3
3
  // checks to see if a setting is disabled
4
4
  module.exports = options => {
5
- return [
5
+ let healthcheck = [
6
6
  'psql',
7
7
  `--host=${options.name}`,
8
- `--username=${options.creds.user}`,
9
- `--dbname=${options.creds.database}`,
8
+ ];
9
+
10
+ // Only include whatever creds are available.
11
+ options.creds.user ? healthcheck.push(`--user=${options.creds.user}`) : false;
12
+ options.creds.database ? healthcheck.push(`--dbname=${options.creds.database}`) : false;
13
+
14
+ return healthcheck.concat([
10
15
  '-c "\\\l"',
11
- ].join(' ');
16
+ ]).join(' ');
12
17
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lando/symfony",
3
3
  "description": "A Lando plugin that provides a tight integration with Symfony.",
4
- "version": "1.4.1",
4
+ "version": "1.5.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/symfony",
@@ -43,20 +43,20 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@lando/apache": "^1.0.0",
46
- "@lando/mariadb": "^1.0.0",
46
+ "@lando/mariadb": "^1.1.0",
47
47
  "@lando/memcached": "^1.1.0",
48
48
  "@lando/mssql": "^1.0.0",
49
- "@lando/mysql": "^1.0.0",
49
+ "@lando/mysql": "^1.1.0",
50
50
  "@lando/nginx": "^1.0.0",
51
51
  "@lando/php": "^1.2.0",
52
- "@lando/postgres": "^1.0.0",
52
+ "@lando/postgres": "^1.1.0",
53
53
  "@lando/redis": "^1.0.0",
54
54
  "lodash": "^4.17.21"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@babel/eslint-parser": "^7.23.10",
58
58
  "@lando/leia": "^0.6.7",
59
- "@lando/vitepress-theme-default-plus": "^1.0.0-beta.39",
59
+ "@lando/vitepress-theme-default-plus": "^1.0.0-beta.40",
60
60
  "chai": "^4.3.4",
61
61
  "command-line-test": "^1.0.10",
62
62
  "eslint": "^8.56.0",
@@ -79,9 +79,9 @@
79
79
  "lodash"
80
80
  ],
81
81
  "dist": {
82
- "integrity": "sha512-Wc0sW0+RQdHjOdiOsi7qHVzNjL6TGlYDMcOaITuwHTg+dljPXKD1opSxq/Mgj7EH4nFNo+30s3NbsizFJToICA==",
83
- "shasum": "512c730edf345aa78a66f0efee9eca2a6e44627f",
84
- "filename": "lando-symfony-1.4.1.tgz",
85
- "unpackedSize": 16649716
82
+ "integrity": "sha512-ofPWBhMRRt/t2AX6X2vvrBgPeO5iCU03rTAIyjo+5T79BUlgJtqlp+F/PSkEPSvZIL9RlWf70+lTkcZi4lw66A==",
83
+ "shasum": "0f436a366a954c50f3e8621b4b0d05e88944cd9f",
84
+ "filename": "lando-symfony-1.5.0.tgz",
85
+ "unpackedSize": 16652524
86
86
  }
87
87
  }
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1955,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1709611417411,"ppid":1944,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/61859fb3-ac68-45b8-b65b-22bcf941c388.json","externalId":"","uuid":"61859fb3-ac68-45b8-b65b-22bcf941c388","files":[]}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1944,"argv":["/opt/hostedtoolcache/node/18.19.1/x64/bin/node","/home/runner/work/symfony/symfony/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/symfony/symfony","time":1709611417254,"ppid":1943,"coverageFilename":"/home/runner/work/symfony/symfony/.nyc_output/a404ca81-f26d-4a98-b687-edb7c07118ad.json","externalId":"","uuid":"a404ca81-f26d-4a98-b687-edb7c07118ad","files":[]}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1966,"argv":["/opt/hostedtoolcache/node/18.19.0/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1702582254499,"ppid":1955,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/2687c51a-1087-45b1-b5dd-1c557d4a9030.json","externalId":"","uuid":"2687c51a-1087-45b1-b5dd-1c557d4a9030","files":[]}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1955,"argv":["/opt/hostedtoolcache/node/18.19.0/x64/bin/node","/home/runner/work/postgres/postgres/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/postgres/postgres","time":1702582254328,"ppid":1954,"coverageFilename":"/home/runner/work/postgres/postgres/.nyc_output/8b1ac11a-c036-44b8-8ee5-b34875c4541c.json","externalId":"","uuid":"8b1ac11a-c036-44b8-8ee5-b34875c4541c","files":[]}