@lando/wordpress 0.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 (40) hide show
  1. package/.editorconfig +12 -0
  2. package/.eslintignore +4 -0
  3. package/.eslintrc.json +31 -0
  4. package/.gitattributes +11 -0
  5. package/.lando.yml +14 -0
  6. package/.node-version +1 -0
  7. package/.nyc_output/7168b174-b205-4e38-9c3f-d4dff4228935.json +1 -0
  8. package/.nyc_output/c0de6e36-335c-4e5f-baea-2f504b4ecd67.json +1 -0
  9. package/.nyc_output/processinfo/7168b174-b205-4e38-9c3f-d4dff4228935.json +1 -0
  10. package/.nyc_output/processinfo/c0de6e36-335c-4e5f-baea-2f504b4ecd67.json +1 -0
  11. package/.nyc_output/processinfo/index.json +1 -0
  12. package/.tool-versions +1 -0
  13. package/CHANGELOG.md +7 -0
  14. package/LICENSE.md +674 -0
  15. package/PRIVACY.md +169 -0
  16. package/README.md +74 -0
  17. package/actions-lando-config.yml +12 -0
  18. package/coverage/base.css +224 -0
  19. package/coverage/block-navigation.js +87 -0
  20. package/coverage/favicon.png +0 -0
  21. package/coverage/index.html +131 -0
  22. package/coverage/lib/index.html +116 -0
  23. package/coverage/lib/utils.js.html +151 -0
  24. package/coverage/prettify.css +1 -0
  25. package/coverage/prettify.js +2 -0
  26. package/coverage/recipes/wordpress/builder.js.html +244 -0
  27. package/coverage/recipes/wordpress/index.html +131 -0
  28. package/coverage/recipes/wordpress/init.js.html +109 -0
  29. package/coverage/sort-arrow-sprite.png +0 -0
  30. package/coverage/sorter.js +196 -0
  31. package/index.js +3 -0
  32. package/lib/utils.js +22 -0
  33. package/netlify.toml +25 -0
  34. package/package.json +62 -0
  35. package/plugin.yml +29 -0
  36. package/recipes/wordpress/builder.js +53 -0
  37. package/recipes/wordpress/default.conf.tpl +67 -0
  38. package/recipes/wordpress/init.js +8 -0
  39. package/recipes/wordpress/mysql.conf +110 -0
  40. package/recipes/wordpress/php.ini +49 -0
package/.editorconfig ADDED
@@ -0,0 +1,12 @@
1
+ # top-most EditorConfig file
2
+ root = true
3
+
4
+ # Unix-style newlines with a newline ending every file
5
+ [*]
6
+ end_of_line = lf
7
+ insert_final_newline = true
8
+ charset = utf-8
9
+
10
+ [*.js]
11
+ indent_style = space
12
+ indent_size = 2
package/.eslintignore ADDED
@@ -0,0 +1,4 @@
1
+ .temp
2
+ .cache
3
+ dist
4
+ _site
package/.eslintrc.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "env": {
3
+ "node": true,
4
+ "mocha": true
5
+ },
6
+ "parser": "@babel/eslint-parser",
7
+ "parserOptions": {
8
+ "sourceType": "module",
9
+ "ecmaVersion": 8,
10
+ "requireConfigFile": false
11
+ },
12
+ "extends": "google",
13
+ "rules": {
14
+ "arrow-parens": ["error",
15
+ "as-needed"
16
+ ],
17
+ "max-len": ["error", {
18
+ "code": 120,
19
+ "ignoreComments": true
20
+ }],
21
+ "require-jsdoc": ["error", {
22
+ "require": {
23
+ "FunctionDeclaration": true,
24
+ "MethodDefinition": false,
25
+ "ClassDeclaration": false,
26
+ "ArrowFunctionExpression": false,
27
+ "FunctionExpression": false
28
+ }
29
+ }]
30
+ }
31
+ }
package/.gitattributes ADDED
@@ -0,0 +1,11 @@
1
+ # Set the default behavior, in case people don't have core.autocrlf set.
2
+ * text=auto
3
+
4
+ # Declare files that will always have LF line endings on checkout.
5
+ *.js text eol=lf
6
+ *.sh text eol=lf
7
+ *.conf text eol=lf
8
+ *.cnf text eol=lf
9
+ *.ini text eol=lf
10
+ *.php text eol=lf
11
+ *.vcl text eol=lf
package/.lando.yml ADDED
@@ -0,0 +1,14 @@
1
+ name: lando-wordpress-plugin
2
+ services:
3
+ node:
4
+ type: node:14
5
+ build:
6
+ - yarn install
7
+ scanner: false
8
+ ssl: false
9
+ sslExpose: false
10
+ tooling:
11
+ node:
12
+ service: node
13
+ yarn:
14
+ service: node
package/.node-version ADDED
@@ -0,0 +1 @@
1
+ 14.17.6
@@ -0,0 +1 @@
1
+ {"/home/runner/work/wordpress/wordpress/lib/utils.js":{"path":"/home/runner/work/wordpress/wordpress/lib/utils.js","statementMap":{"0":{"start":{"line":4,"column":10},"end":{"line":4,"column":27}},"1":{"start":{"line":10,"column":0},"end":{"line":22,"column":2}},"2":{"start":{"line":12,"column":2},"end":{"line":12,"column":41}},"3":{"start":{"line":12,"column":25},"end":{"line":12,"column":41}},"4":{"start":{"line":14,"column":22},"end":{"line":19,"column":3}},"5":{"start":{"line":21,"column":2},"end":{"line":21,"column":63}},"6":{"start":{"line":21,"column":35},"end":{"line":21,"column":48}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":10,"column":18},"end":{"line":10,"column":19}},"loc":{"start":{"line":10,"column":54},"end":{"line":22,"column":1}},"line":10},"1":{"name":"(anonymous_1)","decl":{"start":{"line":21,"column":28},"end":{"line":21,"column":29}},"loc":{"start":{"line":21,"column":35},"end":{"line":21,"column":48}},"line":21}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":35},"end":{"line":10,"column":49}},"type":"default-arg","locations":[{"start":{"line":10,"column":43},"end":{"line":10,"column":49}}],"line":10},"1":{"loc":{"start":{"line":12,"column":2},"end":{"line":12,"column":41}},"type":"if","locations":[{"start":{"line":12,"column":2},"end":{"line":12,"column":41}},{"start":{"line":12,"column":2},"end":{"line":12,"column":41}}],"line":12}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0},"f":{"0":0,"1":0},"b":{"0":[0],"1":[0,0]},"all":true},"/home/runner/work/wordpress/wordpress/recipes/wordpress/builder.js":{"path":"/home/runner/work/wordpress/wordpress/recipes/wordpress/builder.js","statementMap":{"0":{"start":{"line":4,"column":10},"end":{"line":4,"column":27}},"1":{"start":{"line":5,"column":14},"end":{"line":5,"column":42}},"2":{"start":{"line":8,"column":25},"end":{"line":11,"column":1}},"3":{"start":{"line":9,"column":2},"end":{"line":10,"column":53}},"4":{"start":{"line":9,"column":25},"end":{"line":9,"column":41}},"5":{"start":{"line":10,"column":7},"end":{"line":10,"column":53}},"6":{"start":{"line":14,"column":20},"end":{"line":17,"column":1}},"7":{"start":{"line":15,"column":2},"end":{"line":16,"column":90}},"8":{"start":{"line":15,"column":25},"end":{"line":15,"column":110}},"9":{"start":{"line":16,"column":7},"end":{"line":16,"column":90}},"10":{"start":{"line":22,"column":0},"end":{"line":53,"column":2}},"11":{"start":{"line":39,"column":31},"end":{"line":52,"column":3}},"12":{"start":{"line":41,"column":6},"end":{"line":41,"column":45}},"13":{"start":{"line":43,"column":6},"end":{"line":48,"column":9}},"14":{"start":{"line":50,"column":6},"end":{"line":50,"column":25}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":8,"column":25},"end":{"line":8,"column":26}},"loc":{"start":{"line":8,"column":46},"end":{"line":11,"column":1}},"line":8},"1":{"name":"(anonymous_1)","decl":{"start":{"line":14,"column":20},"end":{"line":14,"column":21}},"loc":{"start":{"line":14,"column":41},"end":{"line":17,"column":1}},"line":14},"2":{"name":"(anonymous_2)","decl":{"start":{"line":39,"column":11},"end":{"line":39,"column":12}},"loc":{"start":{"line":39,"column":31},"end":{"line":52,"column":3}},"line":39},"3":{"name":"(anonymous_3)","decl":{"start":{"line":40,"column":4},"end":{"line":40,"column":5}},"loc":{"start":{"line":40,"column":34},"end":{"line":51,"column":5}},"line":40}},"branchMap":{"0":{"loc":{"start":{"line":8,"column":26},"end":{"line":8,"column":41}},"type":"default-arg","locations":[{"start":{"line":8,"column":36},"end":{"line":8,"column":41}}],"line":8},"1":{"loc":{"start":{"line":9,"column":2},"end":{"line":10,"column":53}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":10,"column":53}},{"start":{"line":9,"column":2},"end":{"line":10,"column":53}}],"line":9},"2":{"loc":{"start":{"line":14,"column":21},"end":{"line":14,"column":36}},"type":"default-arg","locations":[{"start":{"line":14,"column":31},"end":{"line":14,"column":36}}],"line":14},"3":{"loc":{"start":{"line":15,"column":2},"end":{"line":16,"column":90}},"type":"if","locations":[{"start":{"line":15,"column":2},"end":{"line":16,"column":90}},{"start":{"line":15,"column":2},"end":{"line":16,"column":90}}],"line":15},"4":{"loc":{"start":{"line":40,"column":20},"end":{"line":40,"column":32}},"type":"default-arg","locations":[{"start":{"line":40,"column":30},"end":{"line":40,"column":32}}],"line":40}},"s":{"0":0,"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},"f":{"0":0,"1":0,"2":0,"3":0},"b":{"0":[0],"1":[0,0],"2":[0],"3":[0,0],"4":[0]},"all":true},"/home/runner/work/wordpress/wordpress/recipes/wordpress/init.js":{"path":"/home/runner/work/wordpress/wordpress/recipes/wordpress/init.js","statementMap":{"0":{"start":{"line":6,"column":0},"end":{"line":8,"column":2}}},"fnMap":{},"branchMap":{},"s":{"0":0},"f":{},"b":{},"all":true}}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1713,"argv":["/opt/hostedtoolcache/node/14.18.2/x64/bin/node","/home/runner/work/wordpress/wordpress/node_modules/.bin/nyc","--reporter=html","--reporter=text","mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/wordpress/wordpress","time":1641909079581,"ppid":1712,"coverageFilename":"/home/runner/work/wordpress/wordpress/.nyc_output/7168b174-b205-4e38-9c3f-d4dff4228935.json","externalId":"","uuid":"7168b174-b205-4e38-9c3f-d4dff4228935","files":["/home/runner/work/wordpress/wordpress/lib/utils.js","/home/runner/work/wordpress/wordpress/recipes/wordpress/builder.js","/home/runner/work/wordpress/wordpress/recipes/wordpress/init.js"]}
@@ -0,0 +1 @@
1
+ {"parent":null,"pid":1725,"argv":["/opt/hostedtoolcache/node/14.18.2/x64/bin/node","/home/runner/work/wordpress/wordpress/node_modules/.bin/mocha","--timeout","5000","test/**/*.spec.js"],"execArgv":[],"cwd":"/home/runner/work/wordpress/wordpress","time":1641909080002,"ppid":1713,"coverageFilename":"/home/runner/work/wordpress/wordpress/.nyc_output/c0de6e36-335c-4e5f-baea-2f504b4ecd67.json","externalId":"","uuid":"c0de6e36-335c-4e5f-baea-2f504b4ecd67","files":[]}
@@ -0,0 +1 @@
1
+ {"processes":{"7168b174-b205-4e38-9c3f-d4dff4228935":{"parent":null,"children":[]},"c0de6e36-335c-4e5f-baea-2f504b4ecd67":{"parent":null,"children":[]}},"files":{"/home/runner/work/wordpress/wordpress/lib/utils.js":["7168b174-b205-4e38-9c3f-d4dff4228935"],"/home/runner/work/wordpress/wordpress/recipes/wordpress/builder.js":["7168b174-b205-4e38-9c3f-d4dff4228935"],"/home/runner/work/wordpress/wordpress/recipes/wordpress/init.js":["7168b174-b205-4e38-9c3f-d4dff4228935"]},"externalIds":{}}
package/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ nodejs 14.17.6
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ ## IN DEVELOPMENT
2
+
3
+ ## v0.5.0 - [January 11, 2022](https://github.com/lando/wordpress/releases/tag/v0.5.0)
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
+ * Initial Release