Skip to content

Commit 0062a25

Browse files
committed
fixup! chore: clear CI warnings
The rollup configs contain no TypeScript, so they do not need to be compiled: `.mjs` drops `--configPlugin`, the import attributes key it forced, and the `NODE_NO_WARNINGS` mask that hid the typeless-package warning for the shared options file.
1 parent 3b6a133 commit 0062a25

12 files changed

Lines changed: 11 additions & 11 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"ignorePatterns": [
1010
"**/dist/**",
1111
"**/node_modules/**",
12-
"**/rollup.config.ts",
12+
"**/rollup.config.mjs",
1313
"**/jest.config.js",
1414
"packages/core/src/native_core/instruments/hooks/**"
1515
],

packages/benchmark.js-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dist"
1616
],
1717
"scripts": {
18-
"build": "NODE_NO_WARNINGS=1 rollup -c rollup.config.ts --configPlugin 'typescript={sourceMap: false, outputToFilesystem: false}' --configImportAttributesKey with",
18+
"build": "rollup -c",
1919
"test": "jest --passWithNoTests --silent",
2020
"test/integ": "jest --passWithNoTests --silent -c jest.config.integ.js",
2121
"lint": "eslint .",

packages/benchmark.js-plugin/rollup.config.ts renamed to packages/benchmark.js-plugin/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from "rollup";
2-
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
2+
import { declarationsPlugin, jsPlugins } from "../../rollup.options.mjs";
33
import pkg from "./package.json" with { type: "json" };
44

55
const entrypoint = "src/index.ts";

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"types": "dist/index.d.ts",
1717
"gypfile": true,
1818
"scripts": {
19-
"build": "NODE_NO_WARNINGS=1 rollup -c rollup.config.ts --configPlugin 'typescript={sourceMap: false, outputToFilesystem: false}' --configImportAttributesKey with",
19+
"build": "rollup -c",
2020
"build-native-addon": "prebuildify --napi --strip",
2121
"build-tracer-client": "openapi --client axios --input ./tracer.spec.json --name MongoTracer --output ./src/generated/openapi",
2222
"test": "jest --passWithNoTests --silent",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from "rollup";
2-
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
2+
import { declarationsPlugin, jsPlugins } from "../../rollup.options.mjs";
33
import pkg from "./package.json" with { type: "json" };
44

55
const entrypoint = "src/index.ts";

packages/playwright-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dist"
2323
],
2424
"scripts": {
25-
"build": "NODE_NO_WARNINGS=1 rollup -c rollup.config.ts --configPlugin 'typescript={sourceMap: false, outputToFilesystem: false}' --configImportAttributesKey with",
25+
"build": "rollup -c",
2626
"test": "echo 'no tests'",
2727
"test/integ": "echo 'no integ tests'",
2828
"lint": "eslint .",

packages/playwright-plugin/rollup.config.ts renamed to packages/playwright-plugin/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from "rollup";
2-
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
2+
import { declarationsPlugin, jsPlugins } from "../../rollup.options.mjs";
33
import pkg from "./package.json" with { type: "json" };
44

55
const entrypoint = "src/index.ts";

packages/tinybench-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dist"
2222
],
2323
"scripts": {
24-
"build": "NODE_NO_WARNINGS=1 rollup -c rollup.config.ts --configPlugin 'typescript={sourceMap: false, outputToFilesystem: false}' --configImportAttributesKey with",
24+
"build": "rollup -c",
2525
"test": "vitest --run",
2626
"test/integ": "echo 'no integ tests'",
2727
"lint": "eslint .",

packages/tinybench-plugin/rollup.config.ts renamed to packages/tinybench-plugin/rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defineConfig } from "rollup";
2-
import { declarationsPlugin, jsPlugins } from "../../rollup.options";
2+
import { declarationsPlugin, jsPlugins } from "../../rollup.options.mjs";
33
import pkg from "./package.json" with { type: "json" };
44

55
const entrypoint = "src/index.ts";

packages/vitest-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"homepage": "https://codspeed.io",
2626
"license": "Apache-2.0",
2727
"scripts": {
28-
"build": "NODE_NO_WARNINGS=1 rollup -c rollup.config.ts --configPlugin 'typescript={sourceMap: false, outputToFilesystem: false}' --configImportAttributesKey with",
28+
"build": "rollup -c",
2929
"test": "vitest --run",
3030
"test/integ": "echo 'no integ tests'",
3131
"lint": "eslint .",

0 commit comments

Comments
 (0)