refactor: move javascript examples in their own folder
authorJérôme Benoit <jerome.benoit@sap.com>
Thu, 10 Aug 2023 20:32:08 +0000 (22:32 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Thu, 10 Aug 2023 20:33:09 +0000 (22:33 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintrc.js
README.md
examples/javascript/dynamicExample.js [moved from examples/dynamicExample.js with 100% similarity]
examples/javascript/fixedExample.js [moved from examples/fixedExample.js with 100% similarity]
examples/javascript/multiFunctionExample.js [moved from examples/multiFunctionExample.js with 100% similarity]
examples/javascript/multiFunctionWorker.js [moved from examples/multiFunctionWorker.js with 100% similarity]
examples/javascript/yourWorker.js [moved from examples/yourWorker.js with 100% similarity]

index c5784c0f286cac8f39b921950a6ae437e2a88e8e..72a5f46faeb93e62aaee7a0c1e014c5027f3a655 100644 (file)
@@ -161,7 +161,7 @@ module.exports = defineConfig({
       }
     },
     {
-      files: ['examples/**/*.js'],
+      files: ['examples/javascript/**/*.js'],
       rules: {
         'n/no-missing-require': 'off',
         'jsdoc/require-jsdoc': 'off'
index 77de1272a31d7c82777a6a334d9d8c71911cd0c5..318d861108789ca96713fc3b1d53563e8f4fa953 100644 (file)
--- a/README.md
+++ b/README.md
@@ -143,7 +143,7 @@ You can do the same with the classes _ClusterWorker_, _FixedClusterPool_ and _Dy
 
 **See [examples](./examples/) folder for more details**:
 
-- [Javascript](./examples/)
+- [Javascript](./examples/javascript/)
 - [Typescript](./examples/typescript/)
   - [HTTP client pool](./examples/typescript/http-client/)