@lando/php 0.6.0 → 0.7.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.
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1878,"argv":["/opt/hostedtoolcache/node/16.18.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":1670970952407,"ppid":1867,"coverageFilename":"/home/runner/work/php/php/.nyc_output/02469e40-9629-4079-80de-0aafe18a5fb9.json","externalId":"","uuid":"02469e40-9629-4079-80de-0aafe18a5fb9","files":[]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1867,"argv":["/opt/hostedtoolcache/node/16.18.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":1670970951750,"ppid":1866,"coverageFilename":"/home/runner/work/php/php/.nyc_output/23a5cb7d-c624-4afd-a1e7-d46a2cf0d90c.json","externalId":"","uuid":"23a5cb7d-c624-4afd-a1e7-d46a2cf0d90c","files":["/home/runner/work/php/php/lib/utils.js","/home/runner/work/php/php/services/php/builder.js"]}
@@ -1 +1 @@
1
- {"processes":{"6db1e3c9-942a-44f0-9535-ac9a63530768":{"parent":null,"children":[]},"7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77":{"parent":null,"children":[]}},"files":{"/home/runner/work/php/php/lib/utils.js":["7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77"],"/home/runner/work/php/php/services/php/builder.js":["7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77"]},"externalIds":{}}
1
+ {"processes":{"02469e40-9629-4079-80de-0aafe18a5fb9":{"parent":null,"children":[]},"23a5cb7d-c624-4afd-a1e7-d46a2cf0d90c":{"parent":null,"children":[]}},"files":{"/home/runner/work/php/php/lib/utils.js":["23a5cb7d-c624-4afd-a1e7-d46a2cf0d90c"],"/home/runner/work/php/php/services/php/builder.js":["23a5cb7d-c624-4afd-a1e7-d46a2cf0d90c"]},"externalIds":{}}
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.7.0 - [December 12, 2022](https://github.com/lando/php/releases/tag/v0.7.0)
2
+ * Added bundle-dependencies to release process.
3
+ * Fixed bug in plugin dogfooding test.
4
+
1
5
  ## v0.6.0 - [September 7, 2022](https://github.com/lando/php/releases/tag/v0.6.0)
2
6
 
3
7
  * HYPERDRIVED
Binary file
@@ -116,7 +116,7 @@
116
116
  <div class='footer quiet pad2 space-top1 center small'>
117
117
  Code coverage generated by
118
118
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
119
- at Thu Sep 08 2022 18:16:06 GMT+0000 (Coordinated Universal Time)
119
+ at 2022-12-13T22:35:52.650Z
120
120
  </div>
121
121
  <script src="prettify.js"></script>
122
122
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at Thu Sep 08 2022 18:16:06 GMT+0000 (Coordinated Universal Time)
104
+ at 2022-12-13T22:35:52.650Z
105
105
  </div>
106
106
  <script src="../prettify.js"></script>
107
107
  <script>
@@ -250,7 +250,7 @@ const _ = <span class="cstat-no" title="statement not covered" >require('lodash'
250
250
  <div class='footer quiet pad2 space-top1 center small'>
251
251
  Code coverage generated by
252
252
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
253
- at Thu Sep 08 2022 18:16:06 GMT+0000 (Coordinated Universal Time)
253
+ at 2022-12-13T22:35:52.650Z
254
254
  </div>
255
255
  <script src="../prettify.js"></script>
256
256
  <script>
@@ -712,7 +712,7 @@ const parseConfig = <span class="cstat-no" title="statement not covered" ><span
712
712
  <div class='footer quiet pad2 space-top1 center small'>
713
713
  Code coverage generated by
714
714
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
715
- at Thu Sep 08 2022 18:16:06 GMT+0000 (Coordinated Universal Time)
715
+ at 2022-12-13T22:35:52.650Z
716
716
  </div>
717
717
  <script src="../../prettify.js"></script>
718
718
  <script>
@@ -101,7 +101,7 @@
101
101
  <div class='footer quiet pad2 space-top1 center small'>
102
102
  Code coverage generated by
103
103
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
104
- at Thu Sep 08 2022 18:16:06 GMT+0000 (Coordinated Universal Time)
104
+ at 2022-12-13T22:35:52.650Z
105
105
  </div>
106
106
  <script src="../../prettify.js"></script>
107
107
  <script>
Binary file
@@ -252,6 +252,7 @@ const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
252
252
  // ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
253
253
  // ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
254
254
  // ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
255
+ // ~0.0.1 --> >=0.0.1 <0.1.0-0
255
256
  const replaceTildes = (comp, options) =>
256
257
  comp.trim().split(/\s+/).map((c) => {
257
258
  return replaceTilde(c, options)
@@ -291,6 +292,8 @@ const replaceTilde = (comp, options) => {
291
292
  // ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
292
293
  // ^1.2.3 --> >=1.2.3 <2.0.0-0
293
294
  // ^1.2.0 --> >=1.2.0 <2.0.0-0
295
+ // ^0.0.1 --> >=0.0.1 <0.0.2-0
296
+ // ^0.1.0 --> >=0.1.0 <0.2.0-0
294
297
  const replaceCarets = (comp, options) =>
295
298
  comp.trim().split(/\s+/).map((c) => {
296
299
  return replaceCaret(c, options)
@@ -1,48 +1,88 @@
1
1
  // just pre-load all the stuff that index.js lazily exports
2
2
  const internalRe = require('./internal/re')
3
+ const constants = require('./internal/constants')
4
+ const SemVer = require('./classes/semver')
5
+ const identifiers = require('./internal/identifiers')
6
+ const parse = require('./functions/parse')
7
+ const valid = require('./functions/valid')
8
+ const clean = require('./functions/clean')
9
+ const inc = require('./functions/inc')
10
+ const diff = require('./functions/diff')
11
+ const major = require('./functions/major')
12
+ const minor = require('./functions/minor')
13
+ const patch = require('./functions/patch')
14
+ const prerelease = require('./functions/prerelease')
15
+ const compare = require('./functions/compare')
16
+ const rcompare = require('./functions/rcompare')
17
+ const compareLoose = require('./functions/compare-loose')
18
+ const compareBuild = require('./functions/compare-build')
19
+ const sort = require('./functions/sort')
20
+ const rsort = require('./functions/rsort')
21
+ const gt = require('./functions/gt')
22
+ const lt = require('./functions/lt')
23
+ const eq = require('./functions/eq')
24
+ const neq = require('./functions/neq')
25
+ const gte = require('./functions/gte')
26
+ const lte = require('./functions/lte')
27
+ const cmp = require('./functions/cmp')
28
+ const coerce = require('./functions/coerce')
29
+ const Comparator = require('./classes/comparator')
30
+ const Range = require('./classes/range')
31
+ const satisfies = require('./functions/satisfies')
32
+ const toComparators = require('./ranges/to-comparators')
33
+ const maxSatisfying = require('./ranges/max-satisfying')
34
+ const minSatisfying = require('./ranges/min-satisfying')
35
+ const minVersion = require('./ranges/min-version')
36
+ const validRange = require('./ranges/valid')
37
+ const outside = require('./ranges/outside')
38
+ const gtr = require('./ranges/gtr')
39
+ const ltr = require('./ranges/ltr')
40
+ const intersects = require('./ranges/intersects')
41
+ const simplifyRange = require('./ranges/simplify')
42
+ const subset = require('./ranges/subset')
3
43
  module.exports = {
44
+ parse,
45
+ valid,
46
+ clean,
47
+ inc,
48
+ diff,
49
+ major,
50
+ minor,
51
+ patch,
52
+ prerelease,
53
+ compare,
54
+ rcompare,
55
+ compareLoose,
56
+ compareBuild,
57
+ sort,
58
+ rsort,
59
+ gt,
60
+ lt,
61
+ eq,
62
+ neq,
63
+ gte,
64
+ lte,
65
+ cmp,
66
+ coerce,
67
+ Comparator,
68
+ Range,
69
+ satisfies,
70
+ toComparators,
71
+ maxSatisfying,
72
+ minSatisfying,
73
+ minVersion,
74
+ validRange,
75
+ outside,
76
+ gtr,
77
+ ltr,
78
+ intersects,
79
+ simplifyRange,
80
+ subset,
81
+ SemVer,
4
82
  re: internalRe.re,
5
83
  src: internalRe.src,
6
84
  tokens: internalRe.t,
7
- SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,
8
- SemVer: require('./classes/semver'),
9
- compareIdentifiers: require('./internal/identifiers').compareIdentifiers,
10
- rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,
11
- parse: require('./functions/parse'),
12
- valid: require('./functions/valid'),
13
- clean: require('./functions/clean'),
14
- inc: require('./functions/inc'),
15
- diff: require('./functions/diff'),
16
- major: require('./functions/major'),
17
- minor: require('./functions/minor'),
18
- patch: require('./functions/patch'),
19
- prerelease: require('./functions/prerelease'),
20
- compare: require('./functions/compare'),
21
- rcompare: require('./functions/rcompare'),
22
- compareLoose: require('./functions/compare-loose'),
23
- compareBuild: require('./functions/compare-build'),
24
- sort: require('./functions/sort'),
25
- rsort: require('./functions/rsort'),
26
- gt: require('./functions/gt'),
27
- lt: require('./functions/lt'),
28
- eq: require('./functions/eq'),
29
- neq: require('./functions/neq'),
30
- gte: require('./functions/gte'),
31
- lte: require('./functions/lte'),
32
- cmp: require('./functions/cmp'),
33
- coerce: require('./functions/coerce'),
34
- Comparator: require('./classes/comparator'),
35
- Range: require('./classes/range'),
36
- satisfies: require('./functions/satisfies'),
37
- toComparators: require('./ranges/to-comparators'),
38
- maxSatisfying: require('./ranges/max-satisfying'),
39
- minSatisfying: require('./ranges/min-satisfying'),
40
- minVersion: require('./ranges/min-version'),
41
- validRange: require('./ranges/valid'),
42
- outside: require('./ranges/outside'),
43
- gtr: require('./ranges/gtr'),
44
- ltr: require('./ranges/ltr'),
45
- intersects: require('./ranges/intersects'),
46
- simplifyRange: require('./ranges/simplify'),
47
- subset: require('./ranges/subset'),
85
+ SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
86
+ compareIdentifiers: identifiers.compareIdentifiers,
87
+ rcompareIdentifiers: identifiers.rcompareIdentifiers,
48
88
  }
@@ -1,24 +1,20 @@
1
1
  {
2
2
  "name": "semver",
3
- "version": "7.3.7",
3
+ "version": "7.3.8",
4
4
  "description": "The semantic version parser used by npm.",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "tap",
8
8
  "snap": "tap",
9
- "preversion": "npm test",
10
- "postversion": "npm publish",
11
- "postpublish": "git push origin --follow-tags",
12
9
  "lint": "eslint \"**/*.js\"",
13
10
  "postlint": "template-oss-check",
14
11
  "lintfix": "npm run lint -- --fix",
15
- "prepublishOnly": "git push origin --follow-tags",
16
12
  "posttest": "npm run lint",
17
13
  "template-oss-apply": "template-oss-apply --force"
18
14
  },
19
15
  "devDependencies": {
20
16
  "@npmcli/eslint-config": "^3.0.1",
21
- "@npmcli/template-oss": "3.3.2",
17
+ "@npmcli/template-oss": "4.4.4",
22
18
  "tap": "^16.0.0"
23
19
  },
24
20
  "license": "ISC",
@@ -31,6 +27,7 @@
31
27
  },
32
28
  "files": [
33
29
  "bin/",
30
+ "lib/",
34
31
  "classes/",
35
32
  "functions/",
36
33
  "internal/",
@@ -41,7 +38,11 @@
41
38
  ],
42
39
  "tap": {
43
40
  "check-coverage": true,
44
- "coverage-map": "map.js"
41
+ "coverage-map": "map.js",
42
+ "nyc-arg": [
43
+ "--exclude",
44
+ "tap-snapshots/**"
45
+ ]
45
46
  },
46
47
  "engines": {
47
48
  "node": ">=10"
@@ -52,17 +53,18 @@
52
53
  "author": "GitHub Inc.",
53
54
  "templateOSS": {
54
55
  "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
55
- "version": "3.3.2",
56
+ "version": "4.4.4",
56
57
  "engines": ">=10",
58
+ "content": "./scripts",
57
59
  "ciVersions": [
58
60
  "10.0.0",
59
61
  "10.x",
60
62
  "12.x",
61
63
  "14.x",
62
- "16.x"
64
+ "16.x",
65
+ "18.x"
63
66
  ],
64
67
  "distPaths": [
65
- "bin/",
66
68
  "classes/",
67
69
  "functions/",
68
70
  "internal/",
@@ -70,6 +72,15 @@
70
72
  "index.js",
71
73
  "preload.js",
72
74
  "range.bnf"
75
+ ],
76
+ "allowPaths": [
77
+ "/classes/",
78
+ "/functions/",
79
+ "/internal/",
80
+ "/ranges/",
81
+ "/index.js",
82
+ "/preload.js",
83
+ "/range.bnf"
73
84
  ]
74
85
  }
75
86
  }
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.6.0",
4
+ "version": "0.7.0",
5
5
  "author": "Mike Pirog @pirog",
6
6
  "license": "GPL-3.0",
7
7
  "repository": "lando/php",
@@ -16,7 +16,10 @@
16
16
  "engines": {
17
17
  "node": ">=16.0.0"
18
18
  },
19
- "bundledDependencies": true,
19
+ "bundledDependencies": [
20
+ "lodash",
21
+ "semver"
22
+ ],
20
23
  "lando": {},
21
24
  "main": "index.js",
22
25
  "nyc": {
@@ -38,7 +41,7 @@
38
41
  "docs:build": "vuepress build docs",
39
42
  "docs:lint": "eslint -c docs/.eslintrc.json --quiet docs/.vuepress",
40
43
  "lint": "eslint --quiet . && yarn docs:lint",
41
- "release": "bump --prompt --tag --all --push",
44
+ "release": "bundle-dependencies update && bump --prompt --tag --all --push",
42
45
  "test:unit": "nyc --reporter=html --reporter=text mocha --timeout 5000 test/**/*.spec.js",
43
46
  "test:leia": "yarn leia \"examples/**/README.md\" -c 'Destroy tests' --stdin",
44
47
  "test": "yarn lint && yarn test:unit"
@@ -50,7 +53,8 @@
50
53
  "devDependencies": {
51
54
  "@babel/eslint-parser": "^7.16.0",
52
55
  "@lando/leia": "^0.6.4",
53
- "@lando/vuepress-theme-default-plus": "1.0.0-beta.34",
56
+ "@lando/vuepress-theme-default-plus": "1.0.0-beta.44",
57
+ "bundle-dependencies": "^1.0.2",
54
58
  "chai": "^4.3.4",
55
59
  "command-line-test": "^1.0.10",
56
60
  "eslint": "^7.32.0",
@@ -59,6 +63,6 @@
59
63
  "mocha": "^9.1.2",
60
64
  "nyc": "^15.1.0",
61
65
  "version-bump-prompt": "^4.2.1",
62
- "vuepress": "^2.0.0-beta.43"
66
+ "vuepress": "2.0.0-beta.53"
63
67
  }
64
68
  }
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1761,"argv":["/opt/hostedtoolcache/node/16.17.0/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":1662660966373,"ppid":1749,"coverageFilename":"/home/runner/work/php/php/.nyc_output/6db1e3c9-942a-44f0-9535-ac9a63530768.json","externalId":"","uuid":"6db1e3c9-942a-44f0-9535-ac9a63530768","files":[]}
@@ -1 +0,0 @@
1
- {"parent":null,"pid":1749,"argv":["/opt/hostedtoolcache/node/16.17.0/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":1662660965513,"ppid":1748,"coverageFilename":"/home/runner/work/php/php/.nyc_output/7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77.json","externalId":"","uuid":"7df9a7b5-3abd-4c93-8d03-0a6dd36ecc77","files":["/home/runner/work/php/php/lib/utils.js","/home/runner/work/php/php/services/php/builder.js"]}