refactor: cleanups
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 16 Aug 2023 19:01:04 +0000 (21:01 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 16 Aug 2023 19:01:04 +0000 (21:01 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml
.github/workflows/generate-documentation.yml
.github/workflows/npmpublish.yml
README.md
examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
examples/typescript/websocket-server-pool/ws-hybrid/src/websocket-server-worker.ts
examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts

index 01419e2606af17a74e1b208715263cd90870da83..e23bcf558e4496e14275035d07d088b3a5c90222 100644 (file)
@@ -33,7 +33,7 @@ jobs:
         with:
           version: 8
 
-      - name: Setup node ${{ matrix.node }}
+      - name: Setup Node.js ${{ matrix.node }}
         uses: actions/setup-node@v3
         with:
           node-version: ${{ matrix.node }}
index 52dbdbde152c316e8b1563d688d4abca957821d8..eb0d1779a89f248b08f629f09629cd70d0afca55 100644 (file)
@@ -16,7 +16,7 @@ jobs:
         with:
           version: 8
 
-      - name: Setup node
+      - name: Setup Node.js
         uses: actions/setup-node@v3
         with:
           node-version: '18.x'
index 17eb40ed01ee38e287add3601b85240df92cca15..1b6824797ed8522c35ae787b3ea4902a49422dc8 100644 (file)
@@ -17,7 +17,7 @@ jobs:
         with:
           version: 8
 
-      - name: Setup Node
+      - name: Setup Node.js
         uses: actions/setup-node@v3
         with:
           node-version: '18.x'
@@ -50,7 +50,7 @@ jobs:
         with:
           version: 8
 
-      - name: Setup Node
+      - name: Setup Node.js
         uses: actions/setup-node@v3
         with:
           node-version: '18.x'
@@ -76,8 +76,8 @@ jobs:
         env:
           NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
 
-      - name: Publish Beta Release
-        if: ${{ contains(steps.package-version.outputs.version, '-beta') == true }}
-        run: pnpm publish --no-git-checks --tag beta
-        env:
-          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+      - name: Publish Beta Release
+        if: ${{ contains(steps.package-version.outputs.version, '-beta') == true }}
+        run: pnpm publish --no-git-checks --tag beta
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
index 80a082ac1d5207ab79768e23c37cee35a73eb7b9..0faebec4220e2a7e9208b6cd6fe8e1fa8d97401e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ Please consult our [general guidelines](#general-guidelines).
 - [Overview](#overview)
 - [Installation](#installation)
 - [Usage](#usage)
-- [Node versions](#node-versions)
+- [Node.js versions](#nodejs-versions)
 - [API](#api)
 - [General guidelines](#general-guidelines)
 - [Worker choice strategies](#worker-choice-strategies)
@@ -161,9 +161,9 @@ You can do the same with the classes _ClusterWorker_, _FixedClusterPool_ and _Dy
 
 Remember that workers can only send and receive structured-cloneable data.
 
-## Node versions
+## Node.js versions
 
-Node versions >= 16.14.x are supported.
+Node.js versions >= 16.14.x are supported.
 
 ## [API](./docs/api.md)
 
index 901c207244be4a9783521d808da25b4f59f594bd..c6174a991d23c7ff18066f64486a1b2550de0fab 100644 (file)
@@ -15,7 +15,7 @@ import {
 } from './types.js'
 
 const emptyFunction = (): void => {
-  /** Intentional */
+  /* Intentional */
 }
 
 class ExpressWorker extends ClusterWorker<
index 437fae1b45600c5cb0bc700d690569c820b44b5e..2a2c450203eac30ac37dbec05db35ffd469ddc0e 100644 (file)
@@ -15,7 +15,7 @@ import {
 } from './types.js'
 
 const emptyFunction = (): void => {
-  /** Intentional */
+  /* Intentional */
 }
 
 class WebSocketServerWorker extends ClusterWorker<
index 9edb16b03a399768725b2b904f8186183136574e..0c1acba1b43bc1683261788b001c78c931c08c0c 100644 (file)
@@ -10,7 +10,7 @@ const wss = new WebSocketServer({ port }, () => {
 })
 
 const emptyFunction = (): void => {
-  /** Intentional */
+  /* Intentional */
 }
 
 wss.on('connection', (ws) => {