From 7a923e5bc16ae3524c51bedd70c65ce6cc556fdc Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 10 Aug 2023 22:32:08 +0200 Subject: [PATCH] refactor: move javascript examples in their own folder MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .eslintrc.js | 2 +- README.md | 2 +- examples/{ => javascript}/dynamicExample.js | 0 examples/{ => javascript}/fixedExample.js | 0 examples/{ => javascript}/multiFunctionExample.js | 0 examples/{ => javascript}/multiFunctionWorker.js | 0 examples/{ => javascript}/yourWorker.js | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename examples/{ => javascript}/dynamicExample.js (100%) rename examples/{ => javascript}/fixedExample.js (100%) rename examples/{ => javascript}/multiFunctionExample.js (100%) rename examples/{ => javascript}/multiFunctionWorker.js (100%) rename examples/{ => javascript}/yourWorker.js (100%) diff --git a/.eslintrc.js b/.eslintrc.js index c5784c0f..72a5f46f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -161,7 +161,7 @@ module.exports = defineConfig({ } }, { - files: ['examples/**/*.js'], + files: ['examples/javascript/**/*.js'], rules: { 'n/no-missing-require': 'off', 'jsdoc/require-jsdoc': 'off' diff --git a/README.md b/README.md index 77de1272..318d8611 100644 --- 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/) diff --git a/examples/dynamicExample.js b/examples/javascript/dynamicExample.js similarity index 100% rename from examples/dynamicExample.js rename to examples/javascript/dynamicExample.js diff --git a/examples/fixedExample.js b/examples/javascript/fixedExample.js similarity index 100% rename from examples/fixedExample.js rename to examples/javascript/fixedExample.js diff --git a/examples/multiFunctionExample.js b/examples/javascript/multiFunctionExample.js similarity index 100% rename from examples/multiFunctionExample.js rename to examples/javascript/multiFunctionExample.js diff --git a/examples/multiFunctionWorker.js b/examples/javascript/multiFunctionWorker.js similarity index 100% rename from examples/multiFunctionWorker.js rename to examples/javascript/multiFunctionWorker.js diff --git a/examples/yourWorker.js b/examples/javascript/yourWorker.js similarity index 100% rename from examples/yourWorker.js rename to examples/javascript/yourWorker.js -- 2.34.1