build: switch rollup configuration to TS
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 30 Oct 2023 10:07:18 +0000 (11:07 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 30 Oct 2023 10:07:18 +0000 (11:07 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
12 files changed:
examples/typescript/http-server-pool/express-cluster/package.json
examples/typescript/http-server-pool/express-cluster/rollup.config.ts [moved from examples/typescript/http-server-pool/express-cluster/rollup.config.mjs with 93% similarity]
examples/typescript/http-server-pool/express-hybrid/package.json
examples/typescript/http-server-pool/express-hybrid/rollup.config.ts [moved from examples/typescript/http-server-pool/express-hybrid/rollup.config.mjs with 93% similarity]
examples/typescript/http-server-pool/fastify-cluster/package.json
examples/typescript/http-server-pool/fastify-cluster/rollup.config.ts [moved from examples/typescript/http-server-pool/fastify-cluster/rollup.config.mjs with 93% similarity]
examples/typescript/http-server-pool/fastify-hybrid/package.json
examples/typescript/http-server-pool/fastify-hybrid/rollup.config.ts [moved from examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs with 94% similarity]
examples/typescript/websocket-server-pool/ws-cluster/package.json
examples/typescript/websocket-server-pool/ws-cluster/rollup.config.ts [moved from examples/typescript/websocket-server-pool/ws-cluster/rollup.config.mjs with 93% similarity]
examples/typescript/websocket-server-pool/ws-hybrid/package.json
examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.ts [moved from examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.mjs with 93% similarity]

index 5be459260dccce6e5c96aee4956e132011487e05..ef1b0a14e5350cc92535b27ac37efb195377c4d1 100644 (file)
@@ -10,7 +10,7 @@
     "pnpm": "8.10.0"
   },
   "scripts": {
-    "build": "rollup --config",
+    "build": "rollup --config --configPlugin typescript",
     "start": "node dist/main.cjs",
     "start:esm": "node dist/main.js",
     "test": "echo \"Error: no test specified\" && exit 1",
similarity index 93%
rename from examples/typescript/http-server-pool/express-cluster/rollup.config.mjs
rename to examples/typescript/http-server-pool/express-cluster/rollup.config.ts
index 86ad2c86c77ec499dab1b0edfc53a12cb628e5e8..ac0da32629d1749be0c2b6c0be31df7a4f791506 100644 (file)
@@ -1,4 +1,3 @@
-/* eslint-disable n/no-unpublished-import */
 import typescript from '@rollup/plugin-typescript'
 import del from 'rollup-plugin-delete'
 import { defineConfig } from 'rollup'
index 400937b04962cae775e8f3db73bdba007e28cbb9..888f889937c53a584c21ec7c34bdf5adf79bdff2 100644 (file)
@@ -10,7 +10,7 @@
     "pnpm": "8.10.0"
   },
   "scripts": {
-    "build": "rollup --config",
+    "build": "rollup --config --configPlugin typescript",
     "start": "node dist/main.cjs",
     "start:esm": "node dist/main.js",
     "test": "echo \"Error: no test specified\" && exit 1",
similarity index 93%
rename from examples/typescript/http-server-pool/express-hybrid/rollup.config.mjs
rename to examples/typescript/http-server-pool/express-hybrid/rollup.config.ts
index 13f6b37dd6c27cdfee7f1a7be3b347b1caa18ad7..9337c5807d9b2e8d4e7a99889f681c6dc5f93938 100644 (file)
@@ -1,4 +1,3 @@
-/* eslint-disable n/no-unpublished-import */
 import typescript from '@rollup/plugin-typescript'
 import del from 'rollup-plugin-delete'
 import { defineConfig } from 'rollup'
index ff8b8c21fdea10e4eb838828ef1f645493513632..9504c668da013ff56e1a18cc7f94f33a118ed5bb 100644 (file)
@@ -10,7 +10,7 @@
     "pnpm": "8.10.0"
   },
   "scripts": {
-    "build": "rollup --config",
+    "build": "rollup --config --configPlugin typescript",
     "start": "node dist/main.cjs",
     "start:esm": "node dist/main.js",
     "test": "echo \"Error: no test specified\" && exit 1",
similarity index 93%
rename from examples/typescript/http-server-pool/fastify-cluster/rollup.config.mjs
rename to examples/typescript/http-server-pool/fastify-cluster/rollup.config.ts
index 2c07a12fde3a7ae87e9ccda92ab90fd57d25d7a5..ee04284f1674d1c578cffc1233d64489ee346d3f 100644 (file)
@@ -1,4 +1,3 @@
-/* eslint-disable n/no-unpublished-import */
 import typescript from '@rollup/plugin-typescript'
 import del from 'rollup-plugin-delete'
 import { defineConfig } from 'rollup'
index eef7b3d1823512e143a03cf1ca07e1e32562aa0f..ccdd21e525f9c925739fc1b3ba64c919339b0ff0 100644 (file)
@@ -10,7 +10,7 @@
     "pnpm": "8.10.0"
   },
   "scripts": {
-    "build": "rollup --config",
+    "build": "rollup --config --configPlugin typescript",
     "start": "node dist/main.cjs",
     "start:esm": "node dist/main.js",
     "test": "echo \"Error: no test specified\" && exit 1",
similarity index 94%
rename from examples/typescript/http-server-pool/fastify-hybrid/rollup.config.mjs
rename to examples/typescript/http-server-pool/fastify-hybrid/rollup.config.ts
index a8c4e473cb7cc3772685a2f6314a773e9d0eba4b..293d69fc289db45a0b282478ba44de0c3e21216c 100644 (file)
@@ -1,4 +1,3 @@
-/* eslint-disable n/no-unpublished-import */
 import typescript from '@rollup/plugin-typescript'
 import del from 'rollup-plugin-delete'
 import { defineConfig } from 'rollup'
index b14523e41ddf6c4abb90c0dc6c1aeb23e61871e2..6a2ff849c80fde7bff7305ed7410fdff3c63d18d 100644 (file)
@@ -10,7 +10,7 @@
     "pnpm": "8.10.0"
   },
   "scripts": {
-    "build": "rollup --config",
+    "build": "rollup --config --configPlugin typescript",
     "start": "node dist/main.cjs",
     "start:esm": "node dist/main.js",
     "test": "echo \"Error: no test specified\" && exit 1",
similarity index 93%
rename from examples/typescript/websocket-server-pool/ws-cluster/rollup.config.mjs
rename to examples/typescript/websocket-server-pool/ws-cluster/rollup.config.ts
index 2633843c443309e1e12cff7a8151b7e5c6b47f9a..ff47feedeb349e94de8242b2997277a3a7f7a26f 100644 (file)
@@ -1,4 +1,3 @@
-/* eslint-disable n/no-unpublished-import */
 import typescript from '@rollup/plugin-typescript'
 import del from 'rollup-plugin-delete'
 import { defineConfig } from 'rollup'
index 33267992d3c038e6e6f18e3617d1e8e1949155cd..e7419cb39c49c61d05c351851f8fa718a3a0556b 100644 (file)
@@ -10,7 +10,7 @@
     "pnpm": "8.10.0"
   },
   "scripts": {
-    "build": "rollup --config",
+    "build": "rollup --config --configPlugin typescript",
     "start": "node dist/main.cjs",
     "start:esm": "node dist/main.js",
     "test": "echo \"Error: no test specified\" && exit 1",
similarity index 93%
rename from examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.mjs
rename to examples/typescript/websocket-server-pool/ws-hybrid/rollup.config.ts
index 3aa319270489473c6ad34b4b4074dda55ef60601..6d2fc34da8437e298f208bc999592ab04acd7f0a 100644 (file)
@@ -1,4 +1,3 @@
-/* eslint-disable n/no-unpublished-import */
 import typescript from '@rollup/plugin-typescript'
 import del from 'rollup-plugin-delete'
 import { defineConfig } from 'rollup'