diff --git a/packages/taler-config-lib/package.json b/packages/taler-config-lib/package.json index 982c2f6a4..34857e73f 100644 --- a/packages/taler-config-lib/package.json +++ b/packages/taler-config-lib/package.json @@ -21,7 +21,6 @@ "scripts": { "prepare": "tsc", "compile": "tsc", - "test": "tsc && ava", "clean": "rimraf dist lib tsconfig.tsbuildinfo", "pretty": "prettier --write src" }, diff --git a/packages/taler-wallet-webextension/package.json b/packages/taler-wallet-webextension/package.json index 971139fd9..7c5f9fef9 100644 --- a/packages/taler-wallet-webextension/package.json +++ b/packages/taler-wallet-webextension/package.json @@ -14,7 +14,6 @@ "compile": "tsc && ./build-fast-with-linaria.mjs", "dev": "./dev.mjs", "compile:test": "rollup -c rollup.config.test.js -m", - "prepare": "rollup -c -m", "pretty": "prettier --write src", "i18n:extract": "pogen extract", "i18n:merge": "pogen merge", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc48db43f..fe465de12 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -354,6 +354,10 @@ importers: '@linaria/core': 3.0.0-beta.4 '@linaria/react': 3.0.0-beta.4 '@linaria/webpack-loader': 3.0.0-beta.4 + '@rollup/plugin-commonjs': ^21.0.1 + '@rollup/plugin-json': ^4.1.0 + '@rollup/plugin-node-resolve': ^13.1.3 + '@rollup/plugin-replace': ^3.0.1 '@testing-library/preact': ^2.0.1 '@testing-library/preact-hooks': ^1.1.0 '@types/chai': ^4.3.0 @@ -376,6 +380,9 @@ importers: preact-router: 3.2.1 qrcode-generator: ^1.4.4 rimraf: ^3.0.2 + rollup: ^2.67.2 + rollup-plugin-sourcemaps: ^0.6.3 + rollup-plugin-terser: ^7.0.2 tslib: ^2.3.1 typescript: ^4.5.5 ws: 7.4.5 @@ -399,6 +406,10 @@ importers: '@linaria/core': 3.0.0-beta.4 '@linaria/react': 3.0.0-beta.4 '@linaria/webpack-loader': 3.0.0-beta.4_@babel+core@7.13.16 + '@rollup/plugin-commonjs': 21.0.1_rollup@2.67.2 + '@rollup/plugin-json': 4.1.0_rollup@2.67.2 + '@rollup/plugin-node-resolve': 13.1.3_rollup@2.67.2 + '@rollup/plugin-replace': 3.0.1_rollup@2.67.2 '@testing-library/preact': 2.0.1_preact@10.6.5 '@testing-library/preact-hooks': 1.1.0_vfcmu6iy7nffpurikpgxo6gwxi '@types/chai': 4.3.0 @@ -416,6 +427,9 @@ importers: preact-cli: 3.3.5_mvcuzfcaha7xgb2vtvvy6e3v4a preact-render-to-string: 5.1.19_preact@10.6.5 rimraf: 3.0.2 + rollup: 2.67.2 + rollup-plugin-sourcemaps: 0.6.3_vvcaq4nmsjqkxtxa2zxio5jusq + rollup-plugin-terser: 7.0.2_rollup@2.67.2 typescript: 4.5.5 packages: @@ -447,20 +461,6 @@ packages: execa: 5.1.1 dev: true - /@babel/code-frame/7.14.5: - resolution: {integrity: sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.14.5 - dev: true - - /@babel/code-frame/7.16.0: - resolution: {integrity: sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.16.0 - dev: true - /@babel/code-frame/7.16.7: resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==} engines: {node: '>=6.9.0'} @@ -975,11 +975,6 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/helper-validator-identifier/7.15.7: - resolution: {integrity: sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==} - engines: {node: '>=6.9.0'} - dev: true - /@babel/helper-validator-identifier/7.16.7: resolution: {integrity: sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==} engines: {node: '>=6.9.0'} @@ -1029,24 +1024,6 @@ packages: - supports-color dev: true - /@babel/highlight/7.14.5: - resolution: {integrity: sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.14.9 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - - /@babel/highlight/7.16.0: - resolution: {integrity: sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.15.7 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - /@babel/highlight/7.16.10: resolution: {integrity: sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==} engines: {node: '>=6.9.0'} @@ -3008,7 +2985,7 @@ packages: resolution: {integrity: sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g==} engines: {node: '>=6.9.0'} dependencies: - '@babel/code-frame': 7.14.5 + '@babel/code-frame': 7.16.7 '@babel/parser': 7.15.3 '@babel/types': 7.15.0 dev: true @@ -5675,7 +5652,7 @@ packages: resolution: {integrity: sha512-3UqjCpey6HiTZT92vODYLPxTBWlM8ZOOjr3LX5F37/VRipW2M1kX6I/Cm4VXzteZqfGfagg8yXywpcOgQBlNsQ==} engines: {node: '>=10'} dependencies: - '@babel/code-frame': 7.16.0 + '@babel/code-frame': 7.16.7 '@babel/runtime': 7.16.3 '@types/aria-query': 4.2.2 aria-query: 4.2.2 @@ -16602,6 +16579,22 @@ packages: source-map-resolve: 0.6.0 dev: true + /rollup-plugin-sourcemaps/0.6.3_vvcaq4nmsjqkxtxa2zxio5jusq: + resolution: {integrity: sha512-paFu+nT1xvuO1tPFYXGe+XnQvg4Hjqv/eIhG8i5EspfYYPBKL57X7iVbfv55aNVASg3dzWvES9dmWsL2KhfByw==} + engines: {node: '>=10.0.0'} + peerDependencies: + '@types/node': '>=10.0.0' + rollup: '>=0.31.2' + peerDependenciesMeta: + '@types/node': + optional: true + dependencies: + '@rollup/pluginutils': 3.1.0_rollup@2.67.2 + '@types/node': 17.0.8 + rollup: 2.67.2 + source-map-resolve: 0.6.0 + dev: true + /rollup-plugin-terser/7.0.2_rollup@2.67.2: resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==} peerDependencies: