nginxwebnodeplugin 1.0.364 → 1.0.366
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/index.js +1 -1
- package/package.json +10 -10
- package/readme.md +28 -1
package/index.js
CHANGED
|
@@ -46,7 +46,7 @@ var log=new __WEBPACK_EXTERNAL_MODULE_clientnode_Logger__({name:"web-node.nginx"
|
|
|
46
46
|
*/reject(error);/*
|
|
47
47
|
eslint-enable
|
|
48
48
|
@typescript-eslint/prefer-promise-reject-errors
|
|
49
|
-
*/}else resolve(standardOutput)})})};promise=new Promise(function(resolve,reject){var _iterator=_createForOfIteratorHelper(__WEBPACK_EXTERNAL_MODULE_clientnode_CLOSE_EVENT_NAMES__),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var closeEventName=_step.value;nginx.on(closeEventName,__WEBPACK_EXTERNAL_MODULE_clientnode_getProcessCloseHandler__(resolve,configuration.proxy.optional?resolve:reject,{reason:nginx,process:nginx}))}}catch(err){_iterator.e(err)}finally{_iterator.f()}});_context.p=2;_context.n=3;return checkReachability(configuration);case 3:_context.n=6;break;case 4:_context.p=4;_t=_context.v;if(!configuration.proxy.optional){_context.n=5;break}log.warn("Nginx couldn't be started (or at least","\"".concat(configuration.proxy.url,"\" could not be reached) but was"),"marked as optional.");services.nginx=null;promise=null;_context.n=6;break;case 5:throw new Error("Could not acknowledge that nginx is running because "+"\"".concat(configuration.proxy.url,"\" is not reachable: ")+__WEBPACK_EXTERNAL_MODULE_clientnode_represent__(_t),{cause:_t});case 6:return _context.a(2,{nginx:promise})}},_callee,null,[[2,4]])}));function loadService(_x){return _loadService.apply(this,arguments)}return loadService}();/**
|
|
49
|
+
*/}else resolve(standardOutput)})})};promise=new Promise(function(resolve,reject){var _iterator=_createForOfIteratorHelper(__WEBPACK_EXTERNAL_MODULE_clientnode_CLOSE_EVENT_NAMES__),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var closeEventName=_step.value;nginx.on(closeEventName,__WEBPACK_EXTERNAL_MODULE_clientnode_getProcessCloseHandler__(resolve,configuration.proxy.optional?resolve:reject,{reason:nginx,process:nginx}))}}catch(err){_iterator.e(err)}finally{_iterator.f()}});_context.p=2;_context.n=3;return checkReachability(configuration);case 3:_context.n=6;break;case 4:_context.p=4;_t=_context.v;if(!configuration.proxy.optional){_context.n=5;break}void log.warn("Nginx couldn't be started (or at least","\"".concat(configuration.proxy.url,"\" could not be reached) but was"),"marked as optional.");services.nginx=null;promise=null;_context.n=6;break;case 5:throw new Error("Could not acknowledge that nginx is running because "+"\"".concat(configuration.proxy.url,"\" is not reachable: ")+__WEBPACK_EXTERNAL_MODULE_clientnode_represent__(_t),{cause:_t});case 6:return _context.a(2,{nginx:promise})}},_callee,null,[[2,4]])}));function loadService(_x){return _loadService.apply(this,arguments)}return loadService}();/**
|
|
50
50
|
* Application will be closed soon.
|
|
51
51
|
* @param state - Application state.
|
|
52
52
|
* @param state.configuration - Applications configuration.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nginxwebnodeplugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.366",
|
|
4
4
|
"description": "A nginx proxy server configuration template for webNode.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "weboptimizer build:types && weboptimizer build",
|
|
38
|
-
"check": "yarn check:types
|
|
38
|
+
"check": "yarn check:types && yarn lint",
|
|
39
39
|
"check:types": "weboptimizer check:types",
|
|
40
40
|
"clear": "weboptimizer clear",
|
|
41
41
|
"document": "weboptimizer document",
|
|
@@ -50,25 +50,25 @@
|
|
|
50
50
|
"watch": "weboptimizer build --watch"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@babel/eslint-parser": "^8.0.
|
|
53
|
+
"@babel/eslint-parser": "^8.0.5",
|
|
54
54
|
"@eslint/js": "^10.0.1",
|
|
55
55
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
56
|
-
"@types/node": "^26.
|
|
56
|
+
"@types/node": "^26.6.0",
|
|
57
57
|
"@types/webpack-env": "^1.18.8",
|
|
58
58
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
59
59
|
"@typescript-eslint/parser": "^8.70.0",
|
|
60
|
-
"application-server-web-node-plugin": "^1.0.
|
|
61
|
-
"clientnode": "^4.0.
|
|
60
|
+
"application-server-web-node-plugin": "^1.0.413",
|
|
61
|
+
"clientnode": "^4.0.1521",
|
|
62
62
|
"eslint": "^10.10.0",
|
|
63
63
|
"eslint-config-google": "^0.14.0",
|
|
64
|
-
"eslint-plugin-jsdoc": "^64.
|
|
64
|
+
"eslint-plugin-jsdoc": "^64.5.0",
|
|
65
65
|
"jest": "^30.5.1",
|
|
66
66
|
"jsdoc": "^4.0.5",
|
|
67
67
|
"node-fetch": "^3.3.2",
|
|
68
68
|
"typescript-eslint": "^8.70.0",
|
|
69
|
-
"web-documentation": "^1.0.
|
|
70
|
-
"web-node": "^1.0.
|
|
71
|
-
"weboptimizer": "^4.0.
|
|
69
|
+
"web-documentation": "^1.0.60",
|
|
70
|
+
"web-node": "^1.0.627",
|
|
71
|
+
"weboptimizer": "^4.0.85"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"application-server-web-node-plugin": "*",
|
package/readme.md
CHANGED
|
@@ -10,7 +10,8 @@ This library written by Torben Sickert stands under a creative commons naming
|
|
|
10
10
|
3.0 unported license. See https://creativecommons.org/licenses/by/3.0/deed.de
|
|
11
11
|
endregion -->
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<!--|deDE:Projektstatus-->
|
|
14
|
+
Project Status
|
|
14
15
|
--------------
|
|
15
16
|
|
|
16
17
|
[](https://www.npmjs.com/package/nginx-web-node-plugin)
|
|
@@ -28,7 +29,33 @@ Project status
|
|
|
28
29
|
[](https://github.com/thaibault/nginx-web-node-plugin/actions/workflows/deploy-web-documentation.yaml)
|
|
29
30
|
[](https://torben.website/nginx-web-node-plugin)
|
|
30
31
|
|
|
32
|
+
<!--|deDE:Verwendung-->
|
|
31
33
|
Use case
|
|
32
34
|
--------
|
|
33
35
|
|
|
34
36
|
Nginx server as WebNode plugin.
|
|
37
|
+
|
|
38
|
+
<div class="wd-table-of-contents">
|
|
39
|
+
<h2 id="content">Content<!--deDE:Inhalt--><!--frFR:Contenu--></h2>
|
|
40
|
+
<!--wd-table-of-contents-->
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
Installation
|
|
44
|
+
------------
|
|
45
|
+
|
|
46
|
+
You can install via package manager, simply download the compiled version as
|
|
47
|
+
zip file here and inject or request via CDN in HTML:
|
|
48
|
+
<!--deDE:
|
|
49
|
+
Sie können das Paket über den Paketmanager installieren oder einfach die
|
|
50
|
+
kompilierte Version als ZIP-Datei hier herunterladen und in HTML einbinden
|
|
51
|
+
oder über ein CDN abrufen:
|
|
52
|
+
-->
|
|
53
|
+
<!--frFR:
|
|
54
|
+
Vous pouvez installer le paquet via le gestionnaire de paquets ou
|
|
55
|
+
simplement télécharger ici la version compilée sous forme de fichier ZIP,
|
|
56
|
+
puis l'intégrer dans une page HTML ou la récupérer via un CDN:
|
|
57
|
+
-->
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npm install nginx-web-node-plugin
|
|
61
|
+
```
|