@lando/php 0.5.1 → 0.5.4
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/{b05f40b6-a318-4feb-bdf3-929de4f5fdcc.json → 7a9b7642-606d-45e3-a275-61f3768ed52b.json} +0 -0
- package/.nyc_output/{a93a2974-f0ba-49d3-9e61-87c218714d04.json → b8101546-4ea0-4907-a886-344fd146f182.json} +0 -0
- package/.nyc_output/processinfo/7a9b7642-606d-45e3-a275-61f3768ed52b.json +1 -0
- package/.nyc_output/processinfo/b8101546-4ea0-4907-a886-344fd146f182.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -1
- package/CHANGELOG.md +22 -2
- package/README.md +29 -50
- package/coverage/index.html +2 -3
- package/coverage/lib/index.html +2 -3
- package/coverage/lib/utils.js.html +2 -3
- package/coverage/services/php/builder.js.html +3 -4
- package/coverage/services/php/index.html +2 -3
- package/images/7.3-apache/Dockerfile +1 -2
- package/images/7.3-fpm/Dockerfile +1 -2
- package/images/7.4-apache/Dockerfile +1 -1
- package/images/7.4-fpm/Dockerfile +1 -1
- package/images/8.0-apache/Dockerfile +1 -1
- package/images/8.0-fpm/Dockerfile +1 -1
- package/images/8.1-apache/Dockerfile +1 -1
- package/images/8.1-fpm/Dockerfile +1 -1
- package/netlify.toml +11 -4
- package/package.json +6 -7
- package/services/php/builder.js +1 -1
- package/.nyc_output/processinfo/a93a2974-f0ba-49d3-9e61-87c218714d04.json +0 -1
- package/.nyc_output/processinfo/b05f40b6-a318-4feb-bdf3-929de4f5fdcc.json +0 -1
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1766,"argv":["/opt/hostedtoolcache/node/14.19.1/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":1650556423393,"ppid":1765,"coverageFilename":"/home/runner/work/php/php/.nyc_output/7a9b7642-606d-45e3-a275-61f3768ed52b.json","externalId":"","uuid":"7a9b7642-606d-45e3-a275-61f3768ed52b","files":["/home/runner/work/php/php/lib/utils.js","/home/runner/work/php/php/services/php/builder.js"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"parent":null,"pid":1777,"argv":["/opt/hostedtoolcache/node/14.19.1/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":1650556424213,"ppid":1766,"coverageFilename":"/home/runner/work/php/php/.nyc_output/b8101546-4ea0-4907-a886-344fd146f182.json","externalId":"","uuid":"b8101546-4ea0-4907-a886-344fd146f182","files":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"processes":{"
|
|
1
|
+
{"processes":{"7a9b7642-606d-45e3-a275-61f3768ed52b":{"parent":null,"children":[]},"b8101546-4ea0-4907-a886-344fd146f182":{"parent":null,"children":[]}},"files":{"/home/runner/work/php/php/lib/utils.js":["7a9b7642-606d-45e3-a275-61f3768ed52b"],"/home/runner/work/php/php/services/php/builder.js":["7a9b7642-606d-45e3-a275-61f3768ed52b"]},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,33 @@
|
|
|
1
1
|
## IN DEVELOPMENT
|
|
2
2
|
|
|
3
|
-
## v0.5.
|
|
3
|
+
## v0.5.4 - [April 21, 2022](https://github.com/lando/php/releases/tag/v0.5.4)
|
|
4
|
+
|
|
5
|
+
Lando is **free** and **open source** software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by [contributing](https://github.com/sponsors/lando).
|
|
6
|
+
|
|
7
|
+
* Clean up unused dependencies
|
|
8
|
+
|
|
9
|
+
## v0.5.3 - [April 19, 2022](https://github.com/lando/php/releases/tag/v0.5.3)
|
|
10
|
+
|
|
11
|
+
Lando is **free** and **open source** software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by [contributing](https://github.com/sponsors/lando).
|
|
12
|
+
|
|
13
|
+
* Update default composer version (Addresses [CVE-2022-24828](https://blog.packagist.com/cve-2022-24828-composer-command-injection-vulnerability/)) [PR #33](https://github.com/lando/php/pull/33)
|
|
14
|
+
|
|
15
|
+
## v0.5.2 - [March 2, 2022](https://github.com/lando/php/releases/tag/v0.5.2)
|
|
16
|
+
|
|
17
|
+
Lando is **free** and **open source** software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by [contributing](https://github.com/sponsors/lando).
|
|
18
|
+
|
|
19
|
+
* Update php 7.4+ to Composer 2.2.6 [PR #25](https://github.com/lando/php/pull/25)
|
|
20
|
+
|
|
21
|
+
## v0.5.1 - [February 2, 2022](https://github.com/lando/php/releases/tag/v0.5.1)
|
|
4
22
|
|
|
5
23
|
Lando is **free** and **open source** software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by [contributing](https://github.com/sponsors/lando).
|
|
6
24
|
|
|
7
25
|
* Add the no-interaction flag to composer global require commands [#19](https://github.com/lando/php/issues/19)
|
|
8
26
|
|
|
9
|
-
## v0.5.0 - [November 9, 2021](https://github.com/lando/
|
|
27
|
+
## v0.5.0 - [November 9, 2021](https://github.com/lando/php/releases/tag/v0.5.0)
|
|
10
28
|
|
|
11
29
|
Lando is **free** and **open source** software that relies on contributions from developers like you! If you like Lando then help us spend more time making, updating and supporting it by [contributing](https://github.com/sponsors/lando).
|
|
12
30
|
|
|
13
31
|
* Initial Release
|
|
32
|
+
|
|
33
|
+
|
package/README.md
CHANGED
|
@@ -1,65 +1,43 @@
|
|
|
1
|
-
# Lando
|
|
1
|
+
# PHP Lando Plugin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This is the _official_ [Lando](https://lando.dev) plugin for [PHP](https://php.net). When installed it...
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
* Allows users to run various `php` versions
|
|
6
|
+
* Serves applications over `nginx` or `apache`
|
|
7
|
+
* Runs in `cli` mode
|
|
8
|
+
* Comes with easy `composer` support
|
|
6
9
|
|
|
7
|
-
|
|
8
|
-
# With npm
|
|
9
|
-
npm install @lando/php
|
|
10
|
+
Of course, once a user is running their PHP project with Lando they can take advantage of [all the other awesome development features](https://docs.lando.dev) Lando provides.
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
yarn add @lando/php
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Issues, Questions and Support
|
|
16
|
-
|
|
17
|
-
If you have a question or would like some community support we recommend you [join us on Slack](https://launchpass.com/devwithlando). Note that this is the Slack community for [Lando](https://lando.dev) but we are more than happy to help with this module as well!
|
|
18
|
-
|
|
19
|
-
If you'd like to report a bug or submit a feature request then please [use the issue queue](https://github.com/lando/php/issues/new/choose) in this repo.
|
|
20
|
-
|
|
21
|
-
## Changelog
|
|
22
|
-
|
|
23
|
-
We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/php/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/php/releases).
|
|
12
|
+
## Basic Usage
|
|
24
13
|
|
|
14
|
+
Add a `php` service to your Landofile
|
|
25
15
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
git clone https://github.com/lando/php.git && cd php
|
|
33
|
-
yarn install
|
|
16
|
+
```yaml
|
|
17
|
+
services:
|
|
18
|
+
myservice:
|
|
19
|
+
type: php:8.0
|
|
20
|
+
via: nginx
|
|
21
|
+
webroot: www
|
|
34
22
|
```
|
|
35
23
|
|
|
36
|
-
|
|
24
|
+
For more info you should check out the [docs](https://docs.lando.dev/php):
|
|
37
25
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
lando
|
|
26
|
+
* [Getting Started](https://docs.lando.dev/php/)
|
|
27
|
+
* [Configuration](https://docs.lando.dev/php/config.html)
|
|
28
|
+
* [Guides](https://docs.lando.dev/php/accessing-logs.html)
|
|
29
|
+
* [Examples](https://github.com/lando/php/tree/main/examples)
|
|
30
|
+
* [Development](https://docs.lando.dev/php/development.html)
|
|
42
31
|
|
|
43
|
-
|
|
44
|
-
lando node
|
|
45
|
-
lando yarn
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## Testing
|
|
32
|
+
## Issues, Questions and Support
|
|
49
33
|
|
|
50
|
-
|
|
51
|
-
# Lint the code
|
|
52
|
-
yarn lint
|
|
34
|
+
If you have a question or would like some community support we recommend you [join us on Slack](https://launchpass.com/devwithlando).
|
|
53
35
|
|
|
54
|
-
|
|
55
|
-
yarn test
|
|
56
|
-
```
|
|
36
|
+
If you'd like to report a bug or submit a feature request then please [use the issue queue](https://github.com/lando/php/issues/new/choose) in this repo.
|
|
57
37
|
|
|
58
|
-
##
|
|
38
|
+
## Changelog
|
|
59
39
|
|
|
60
|
-
|
|
61
|
-
yarn release
|
|
62
|
-
```
|
|
40
|
+
We try to log all changes big and small in both [THE CHANGELOG](https://github.com/lando/php/blob/main/CHANGELOG.md) and the [release notes](https://github.com/lando/php/releases).
|
|
63
41
|
|
|
64
42
|
## Contributors
|
|
65
43
|
|
|
@@ -69,6 +47,7 @@ yarn release
|
|
|
69
47
|
|
|
70
48
|
Made with [contributors-img](https://contrib.rocks).
|
|
71
49
|
|
|
72
|
-
## Other Resources
|
|
50
|
+
## Other Selected Resources
|
|
73
51
|
|
|
74
|
-
* [
|
|
52
|
+
* [LICENSE](https://github.com/lando/php/blob/main/LICENSE.md)
|
|
53
|
+
* [The best professional advice ever](https://www.youtube.com/watch?v=tkBVDh7my9Q)
|
package/coverage/index.html
CHANGED
|
@@ -115,10 +115,9 @@
|
|
|
115
115
|
</div><!-- /wrapper -->
|
|
116
116
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
117
117
|
Code coverage generated by
|
|
118
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
119
|
-
at
|
|
118
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
119
|
+
at Thu Apr 21 2022 15:53:44 GMT+0000 (Coordinated Universal Time)
|
|
120
120
|
</div>
|
|
121
|
-
</div>
|
|
122
121
|
<script src="prettify.js"></script>
|
|
123
122
|
<script>
|
|
124
123
|
window.onload = function () {
|
package/coverage/lib/index.html
CHANGED
|
@@ -100,10 +100,9 @@
|
|
|
100
100
|
</div><!-- /wrapper -->
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
104
|
-
at
|
|
103
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
+
at Thu Apr 21 2022 15:53:44 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
|
-
</div>
|
|
107
106
|
<script src="../prettify.js"></script>
|
|
108
107
|
<script>
|
|
109
108
|
window.onload = function () {
|
|
@@ -249,10 +249,9 @@ const _ = <span class="cstat-no" title="statement not covered" >require('lodash'
|
|
|
249
249
|
</div><!-- /wrapper -->
|
|
250
250
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
251
251
|
Code coverage generated by
|
|
252
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
253
|
-
at
|
|
252
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
253
|
+
at Thu Apr 21 2022 15:53:44 GMT+0000 (Coordinated Universal Time)
|
|
254
254
|
</div>
|
|
255
|
-
</div>
|
|
256
255
|
<script src="../prettify.js"></script>
|
|
257
256
|
<script>
|
|
258
257
|
window.onload = function () {
|
|
@@ -603,7 +603,7 @@ const parseConfig = <span class="cstat-no" title="statement not covered" ><span
|
|
|
603
603
|
],
|
|
604
604
|
confSrc: __dirname,
|
|
605
605
|
command: ['sh -c \'a2enmod rewrite && apache2-foreground\''],
|
|
606
|
-
composer_version: '2.
|
|
606
|
+
composer_version: '2.2.12',
|
|
607
607
|
image: 'apache',
|
|
608
608
|
defaultFiles: {
|
|
609
609
|
_php: 'php.ini',
|
|
@@ -711,10 +711,9 @@ const parseConfig = <span class="cstat-no" title="statement not covered" ><span
|
|
|
711
711
|
</div><!-- /wrapper -->
|
|
712
712
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
713
713
|
Code coverage generated by
|
|
714
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
715
|
-
at
|
|
714
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
715
|
+
at Thu Apr 21 2022 15:53:44 GMT+0000 (Coordinated Universal Time)
|
|
716
716
|
</div>
|
|
717
|
-
</div>
|
|
718
717
|
<script src="../../prettify.js"></script>
|
|
719
718
|
<script>
|
|
720
719
|
window.onload = function () {
|
|
@@ -100,10 +100,9 @@
|
|
|
100
100
|
</div><!-- /wrapper -->
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
|
-
<a href="https://istanbul.js.org/" target="_blank" rel="noopener">istanbul</a>
|
|
104
|
-
at
|
|
103
|
+
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
+
at Thu Apr 21 2022 15:53:44 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
|
-
</div>
|
|
107
106
|
<script src="../../prettify.js"></script>
|
|
108
107
|
<script>
|
|
109
108
|
window.onload = function () {
|
|
@@ -74,10 +74,9 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
74
74
|
gettext \
|
|
75
75
|
pcntl \
|
|
76
76
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
77
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=
|
|
77
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
78
78
|
&& php -r "unlink('composer-setup.php');" \
|
|
79
79
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
80
|
-
&& su -c "composer global require -n hirak/prestissimo" -s /bin/sh www-data \
|
|
81
80
|
&& apt-get -y clean \
|
|
82
81
|
&& apt-get -y autoclean \
|
|
83
82
|
&& apt-get -y autoremove \
|
|
@@ -74,10 +74,9 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
74
74
|
gettext \
|
|
75
75
|
pcntl \
|
|
76
76
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
77
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=
|
|
77
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
78
78
|
&& php -r "unlink('composer-setup.php');" \
|
|
79
79
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
80
|
-
&& su -c "composer global require -n hirak/prestissimo" -s /bin/sh www-data \
|
|
81
80
|
&& apt-get -y clean \
|
|
82
81
|
&& apt-get -y autoclean \
|
|
83
82
|
&& apt-get -y autoremove \
|
|
@@ -69,7 +69,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
69
69
|
&& docker-php-ext-install soap \
|
|
70
70
|
&& docker-php-ext-install zip \
|
|
71
71
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
72
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.
|
|
72
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
73
73
|
&& php -r "unlink('composer-setup.php');" \
|
|
74
74
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
75
75
|
&& apt-get -y clean \
|
|
@@ -69,7 +69,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
69
69
|
&& docker-php-ext-install soap \
|
|
70
70
|
&& docker-php-ext-install zip \
|
|
71
71
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
72
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.
|
|
72
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
73
73
|
&& php -r "unlink('composer-setup.php');" \
|
|
74
74
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
75
75
|
&& apt-get -y clean \
|
|
@@ -70,7 +70,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
70
70
|
&& docker-php-ext-install soap \
|
|
71
71
|
&& docker-php-ext-install zip \
|
|
72
72
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
74
74
|
&& php -r "unlink('composer-setup.php');" \
|
|
75
75
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
76
|
&& apt-get -y clean \
|
|
@@ -70,7 +70,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
70
70
|
&& docker-php-ext-install soap \
|
|
71
71
|
&& docker-php-ext-install zip \
|
|
72
72
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
74
74
|
&& php -r "unlink('composer-setup.php');" \
|
|
75
75
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
76
|
&& apt-get -y clean \
|
|
@@ -70,7 +70,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
70
70
|
&& docker-php-ext-install soap \
|
|
71
71
|
&& docker-php-ext-install zip \
|
|
72
72
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
74
74
|
&& php -r "unlink('composer-setup.php');" \
|
|
75
75
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
76
|
&& apt-get -y clean \
|
|
@@ -70,7 +70,7 @@ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7 \
|
|
|
70
70
|
&& docker-php-ext-install soap \
|
|
71
71
|
&& docker-php-ext-install zip \
|
|
72
72
|
&& php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
|
|
73
|
-
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.
|
|
73
|
+
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=2.2.12 \
|
|
74
74
|
&& php -r "unlink('composer-setup.php');" \
|
|
75
75
|
&& chsh -s /bin/bash www-data && mkdir -p /var/www/.composer && chown -R www-data:www-data /var/www \
|
|
76
76
|
&& apt-get -y clean \
|
package/netlify.toml
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
[build]
|
|
2
2
|
base = "./"
|
|
3
|
-
publish = "
|
|
3
|
+
publish = "docs/.vuepress/dist"
|
|
4
4
|
command = "yarn docs:build"
|
|
5
|
-
# This sort of lets us build only on tagged commits to prod
|
|
6
|
-
# [context.production]
|
|
7
|
-
# ignore = "if git diff $CACHED_COMMIT_REF $COMMIT_REF ./package.json | grep - | grep version && git diff $CACHED_COMMIT_REF $COMMIT_REF ./package.json | grep + | grep version; then exit 1; else exit 0; fi"
|
|
8
5
|
|
|
9
6
|
# Sets our asset optimization
|
|
10
7
|
[build.processing.css]
|
|
@@ -23,3 +20,13 @@
|
|
|
23
20
|
for = "/images/*"
|
|
24
21
|
[headers.values]
|
|
25
22
|
Cache-Control = "public, max-age=31536000"
|
|
23
|
+
|
|
24
|
+
# We need this so preview environments and the base site look ok on their own
|
|
25
|
+
[[redirects]]
|
|
26
|
+
from = "/"
|
|
27
|
+
to = "/php"
|
|
28
|
+
status = 200
|
|
29
|
+
[[redirects]]
|
|
30
|
+
from = "/php/*"
|
|
31
|
+
to = "/:splat"
|
|
32
|
+
status = 200
|
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.5.
|
|
4
|
+
"version": "0.5.4",
|
|
5
5
|
"author": "John Ouellet @labboy0276",
|
|
6
6
|
"license": "GPL-3.0",
|
|
7
7
|
"repository": "lando/php",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
34
|
-
"docs:dev": "vuepress dev docs",
|
|
35
|
-
"docs:build": "vuepress build docs
|
|
34
|
+
"docs:dev": "vuepress dev docs --clean-cache --clean-temp",
|
|
35
|
+
"docs:build": "vuepress build docs",
|
|
36
36
|
"docs:lint": "eslint -c docs/.eslintrc.json --quiet docs/.vuepress",
|
|
37
37
|
"lint": "eslint --quiet . && yarn docs:lint",
|
|
38
38
|
"release": "bump --prompt --tag --all --push",
|
|
@@ -42,13 +42,12 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"js-yaml": "^3.4.6",
|
|
45
|
-
"lodash": "^4.17.21"
|
|
46
|
-
"tar": "^6.1.11"
|
|
45
|
+
"lodash": "^4.17.21"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
48
|
"@babel/eslint-parser": "^7.16.0",
|
|
50
49
|
"@lando/leia": "^0.6.4",
|
|
51
|
-
"@lando/vuepress-theme-
|
|
50
|
+
"@lando/vuepress-theme-default-plus": "1.0.0-beta.30",
|
|
52
51
|
"chai": "^4.3.4",
|
|
53
52
|
"command-line-test": "^1.0.10",
|
|
54
53
|
"eslint": "^7.32.0",
|
|
@@ -57,6 +56,6 @@
|
|
|
57
56
|
"mocha": "^9.1.2",
|
|
58
57
|
"nyc": "^15.1.0",
|
|
59
58
|
"version-bump-prompt": "^4.2.1",
|
|
60
|
-
"vuepress": "^2.0.0-beta.
|
|
59
|
+
"vuepress": "^2.0.0-beta.35"
|
|
61
60
|
}
|
|
62
61
|
}
|
package/services/php/builder.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1676,"argv":["/opt/hostedtoolcache/node/14.18.3/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":1643807920787,"ppid":1665,"coverageFilename":"/home/runner/work/php/php/.nyc_output/a93a2974-f0ba-49d3-9e61-87c218714d04.json","externalId":"","uuid":"a93a2974-f0ba-49d3-9e61-87c218714d04","files":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"parent":null,"pid":1665,"argv":["/opt/hostedtoolcache/node/14.18.3/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":1643807920051,"ppid":1664,"coverageFilename":"/home/runner/work/php/php/.nyc_output/b05f40b6-a318-4feb-bdf3-929de4f5fdcc.json","externalId":"","uuid":"b05f40b6-a318-4feb-bdf3-929de4f5fdcc","files":["/home/runner/work/php/php/lib/utils.js","/home/runner/work/php/php/services/php/builder.js"]}
|