@lando/php 0.10.0 → 0.10.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.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2039,"argv":["/opt/hostedtoolcache/node/18.18.2/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1701122258224,"ppid":2028,"coverageFilename":"/home/runner/work/php/php/.nyc_output/13cec594-963c-4e3a-ad7a-a8adee6104c3.json","externalId":"","uuid":"13cec594-963c-4e3a-ad7a-a8adee6104c3","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":2028,"argv":["/opt/hostedtoolcache/node/18.18.2/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1701122258034,"ppid":2027,"coverageFilename":"/home/runner/work/php/php/.nyc_output/33a95323-e2a9-46ad-b3d5-f5e5411e7140.json","externalId":"","uuid":"33a95323-e2a9-46ad-b3d5-f5e5411e7140","files":[]}
@@ -1 +1 @@
1
- {"processes":{"3f3dab62-d0cb-4485-a4eb-6821012b5917":{"parent":null,"children":[]},"bcd2e306-a8a2-474b-b7e0-35972746fd96":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
1
+ {"processes":{"13cec594-963c-4e3a-ad7a-a8adee6104c3":{"parent":null,"children":[]},"33a95323-e2a9-46ad-b3d5-f5e5411e7140":{"parent":null,"children":[]}},"files":{},"externalIds":{}}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.10.1 - [November 27, 2023](https://github.com/lando/php/releases/tag/v0.10.1)
2
+ * Removed relative references to dependencies.
3
+ * Added nginxServiceType option so other services can override the default `php-nginx` service with their own.
4
+
1
5
  ## v0.10.0 - [November 21, 2023](https://github.com/lando/php/releases/tag/v0.10.0)
2
6
  * Removed MultiViews from Apache config. [#66](https://github.com/lando/php/issues/66)
3
7
  * Isolated PHP to work as a standalone service. [#78](https://github.com/lando/php/pull/78)
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  const _ = require('lodash');
4
- const LandoNginx = require('./../node_modules/@lando/nginx/builders/nginx.js');
4
+ const LandoNginx = require('@lando/nginx/builders/nginx.js');
5
5
 
6
6
  // Builder
7
7
  module.exports = {
package/builders/php.js CHANGED
@@ -21,7 +21,7 @@ const nginxConfig = options => ({
21
21
  project: options.project,
22
22
  root: options.root,
23
23
  ssl: options.nginxSsl,
24
- type: 'php-nginx',
24
+ type: options.nginxServiceType,
25
25
  userConfRoot: options.userConfRoot,
26
26
  webroot: options.webroot,
27
27
  version: options.via.split(':')[1],
@@ -132,6 +132,7 @@ module.exports = {
132
132
  via: 'apache',
133
133
  volumes: ['/usr/local/bin'],
134
134
  webroot: '.',
135
+ nginxServiceType: 'php-nginx',
135
136
  },
136
137
  parent: '_appserver',
137
138
  builder: (parent, config) => class LandoPhp extends parent {
@@ -192,7 +193,7 @@ module.exports = {
192
193
  const nginxOpts = nginxConfig(options);
193
194
 
194
195
  // Merge in any user specifified
195
- const PhpNginx = factory.get('php-nginx');
196
+ const PhpNginx = factory.get(nginxOpts.type);
196
197
  const data = new PhpNginx(nginxOpts.name, nginxOpts);
197
198
  // If the user has overriden this service lets make sure we include that as well
198
199
  const userOverrides = _.get(options, `_app.config.services.${nginxOpts.name}.overrides`, {});
@@ -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-11-21T20:14:14.144Z
89
+ at 2023-11-27T21:57:38.429Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lando/php",
3
3
  "description": "A Lando plugin that provides a tight integration with PHP.",
4
- "version": "0.10.0",
4
+ "version": "0.10.1",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/php",
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1974,"argv":["/opt/hostedtoolcache/node/18.18.2/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1700597653751,"ppid":1973,"coverageFilename":"/home/runner/work/php/php/.nyc_output/3f3dab62-d0cb-4485-a4eb-6821012b5917.json","externalId":"","uuid":"3f3dab62-d0cb-4485-a4eb-6821012b5917","files":[]}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1985,"argv":["/opt/hostedtoolcache/node/18.18.2/x64/bin/node","/home/runner/work/php/php/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/php/php","time":1700597653949,"ppid":1974,"coverageFilename":"/home/runner/work/php/php/.nyc_output/bcd2e306-a8a2-474b-b7e0-35972746fd96.json","externalId":"","uuid":"bcd2e306-a8a2-474b-b7e0-35972746fd96","files":[]}