From: Jérôme Benoit Date: Thu, 10 Aug 2023 20:32:08 +0000 (+0200) Subject: refactor: move javascript examples in their own folder X-Git-Tag: v2.6.23~16 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=7a923e5bc16ae3524c51bedd70c65ce6cc556fdc;p=poolifier.git refactor: move javascript examples in their own folder Signed-off-by: Jérôme Benoit --- 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