@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.
- package/.nyc_output/processinfo/13cec594-963c-4e3a-ad7a-a8adee6104c3.json +1 -0
- package/.nyc_output/processinfo/33a95323-e2a9-46ad-b3d5-f5e5411e7140.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +4 -0
- package/builders/php-nginx.js +1 -1
- package/builders/php.js +3 -2
- package/coverage/index.html +1 -1
- package/package.json +1 -1
- package/.nyc_output/processinfo/3f3dab62-d0cb-4485-a4eb-6821012b5917.json +0 -1
- package/.nyc_output/processinfo/bcd2e306-a8a2-474b-b7e0-35972746fd96.json +0 -1
- /package/.nyc_output/{3f3dab62-d0cb-4485-a4eb-6821012b5917.json → 13cec594-963c-4e3a-ad7a-a8adee6104c3.json} +0 -0
- /package/.nyc_output/{bcd2e306-a8a2-474b-b7e0-35972746fd96.json → 33a95323-e2a9-46ad-b3d5-f5e5411e7140.json} +0 -0
|
@@ -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":{"
|
|
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)
|
package/builders/php-nginx.js
CHANGED
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:
|
|
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(
|
|
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`, {});
|
package/coverage/index.html
CHANGED
|
@@ -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-
|
|
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 +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":[]}
|
|
File without changes
|
|
File without changes
|