upgrade rollup plugins, as older ones caused miscompilation

This commit is contained in:
Florian Dold 2022-01-05 18:40:43 +01:00
parent a5f81b1c87
commit 188ff0b453
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
12 changed files with 711 additions and 413 deletions

View File

@ -19,7 +19,7 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-node-resolve": "^13.1.3",
"ava": "^3.15.0",
"rimraf": "^3.0.2",
"rollup": "^2.63.0",

View File

@ -16,9 +16,9 @@
"pretty": "prettier --write src"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@types/node": "^17.0.8",
"ava": "^3.15.0",
"esm": "^3.2.25",

View File

@ -33,9 +33,9 @@
},
"devDependencies": {
"@types/node": "^17.0.8",
"ava": "^3.15.0",
"ava": "^4.0.0",
"esbuild": "^0.14.10",
"prettier": "^2.2.1",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typescript": "^4.5.4"
},

View File

@ -30,10 +30,10 @@
"src/"
],
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@types/node": "^17.0.8",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",

View File

@ -17,6 +17,7 @@ export default {
plugins: [
nodeResolve({
preferBuiltins: true,
exportConditions: ["node"],
}),
sourcemaps(),

View File

@ -451,6 +451,7 @@ export async function pingProc(
return;
} catch (e: any) {
console.log(`service ${serviceName} not ready:`, e.toString());
//console.log(e);
await delayMs(1000);
}
if (!proc || proc.proc.exitCode !== null) {

View File

@ -37,11 +37,11 @@
"type": "module",
"types": "./lib/index.node.d.ts",
"devDependencies": {
"@ava/typescript": "^1.1.1",
"@ava/typescript": "^3.0.1",
"@gnu-taler/pogen": "workspace:*",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"ava": "^3.15.0",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"ava": "^4.0.0",
"eslint": "^8.6.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-plugin-import": "^2.25.4",

View File

@ -4,7 +4,7 @@ import nodeResolve from "@rollup/plugin-node-resolve";
import json from "@rollup/plugin-json";
import builtins from "builtin-modules";
import pkg from "./package.json";
import sourcemaps from 'rollup-plugin-sourcemaps';
import sourcemaps from "rollup-plugin-sourcemaps";
const nodeEntryPoint = {
input: "lib/index.node.js",
@ -17,6 +17,7 @@ const nodeEntryPoint = {
plugins: [
nodeResolve({
preferBuiltins: true,
exportConditions: ["node"],
}),
sourcemaps(),
@ -30,7 +31,7 @@ const nodeEntryPoint = {
json(),
],
}
};
const browserEntryPoint = {
input: "lib/index.browser.js",
@ -57,10 +58,6 @@ const browserEntryPoint = {
json(),
],
}
export default [
nodeEntryPoint,
browserEntryPoint
]
};
export default [nodeEntryPoint, browserEntryPoint];

View File

@ -27,10 +27,10 @@
"src/"
],
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@types/node": "^17.0.8",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",

View File

@ -15,6 +15,7 @@ export default {
plugins: [
nodeResolve({
preferBuiltins: true,
exportConditions: ["node"],
}),
commonjs({
@ -26,5 +27,4 @@ export default {
json(),
],
}
};

View File

@ -37,11 +37,11 @@
"@linaria/rollup": "3.0.0-beta.4",
"@linaria/webpack-loader": "3.0.0-beta.4",
"@rollup/plugin-alias": "^3.1.2",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-image": "^2.0.6",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-image": "^2.1.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-replace": "^2.3.4",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^3.0.1",
"@rollup/plugin-typescript": "^8.3.0",
"@storybook/addon-a11y": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",

File diff suppressed because it is too large Load Diff