From c8ead4f65584a72ffcd5fbaab0b271afd7db0928 Mon Sep 17 00:00:00 2001 From: Oliver Studer Date: Sat, 27 Jan 2024 12:20:11 +0100 Subject: [PATCH] update rollup-node-resolve --- package.json | 4 +- rollup.config.js | 4 +- yarn.lock | 145 ++++++++++++++++++++++------------------------- 3 files changed, 72 insertions(+), 81 deletions(-) diff --git a/package.json b/package.json index e68e7b1..00f0da1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "qwik-speak-deepl", + "name": "@tegonal/qwik-speak-deepl", "description": "Qwik Speak Deepl Translator", "author": "Oliver Studer ", "license": "MIT", @@ -31,6 +31,7 @@ ], "devDependencies": { "@rollup/plugin-json": "^6.1.0", + "@rollup/plugin-node-resolve": "^15.2.3", "@types/lodash-es": "^4.17.12", "@types/node": "^20.11.7", "@types/yargs": "^17.0.32", @@ -46,7 +47,6 @@ "prettier": "^3.2.4", "rollup": "^4.9.6", "rollup-plugin-commonjs": "^10.1.0", - "@rollup/plugin-node-resolve": "^6.0.0", "rollup-plugin-terser": "^7.0.2", "rollup-plugin-typescript2": "^0.36.0", "ts-command-line-args": "^2.5.1", diff --git a/rollup.config.js b/rollup.config.js index 5c350b6..cd7dcaa 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -1,5 +1,5 @@ import commonjs from 'rollup-plugin-commonjs'; -import resolve from 'rollup-plugin-node-resolve'; +import nodeResolve from '@rollup/plugin-node-resolve'; import { terser } from 'rollup-plugin-terser'; import typescript from 'rollup-plugin-typescript2'; import json from "@rollup/plugin-json"; @@ -13,7 +13,7 @@ export default { plugins: [ json(), typescript(), - resolve({preferBuiltins: true}), + nodeResolve({preferBuiltins: true, browser: false}), commonjs(), terser(), ], diff --git a/yarn.lock b/yarn.lock index ab8efe2..bd12c50 100644 --- a/yarn.lock +++ b/yarn.lock @@ -250,31 +250,22 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-node-resolve@npm:^6.0.0": - version: 6.1.0 - resolution: "@rollup/plugin-node-resolve@npm:6.1.0" - dependencies: - "@rollup/pluginutils": "npm:^3.0.0" - "@types/resolve": "npm:0.0.8" - builtin-modules: "npm:^3.1.0" +"@rollup/plugin-node-resolve@npm:^15.2.3": + version: 15.2.3 + resolution: "@rollup/plugin-node-resolve@npm:15.2.3" + dependencies: + "@rollup/pluginutils": "npm:^5.0.1" + "@types/resolve": "npm:1.20.2" + deepmerge: "npm:^4.2.2" + is-builtin-module: "npm:^3.2.1" is-module: "npm:^1.0.0" - resolve: "npm:^1.11.1" + resolve: "npm:^1.22.1" peerDependencies: - rollup: ^1.20.0 - checksum: 6a8e3493f2193b738d53482167e857c060804a4581a891b3bea65b276e6273d60c4248f4264a0f4ed07a044188cff32172bee167744ec6b44000335e30c0c75b - languageName: node - linkType: hard - -"@rollup/pluginutils@npm:^3.0.0": - version: 3.1.0 - resolution: "@rollup/pluginutils@npm:3.1.0" - dependencies: - "@types/estree": "npm:0.0.39" - estree-walker: "npm:^1.0.1" - picomatch: "npm:^2.2.2" - peerDependencies: - rollup: ^1.20.0||^2.0.0 - checksum: 7151753160d15ba2b259461a6c25b3932150994ea52dba8fd3144f634c7647c2e56733d986e2c15de67c4d96a9ee7d6278efa6d2e626a7169898fd64adc0f90c + rollup: ^2.78.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + checksum: 598c15615086f26e28c4b3dbf966682af7fb0e5bc277cc4e57f559668a3be675a63ab261eb34729ce9569c3a51342c48863e50b5efe02e0fc1571828f0113f9d languageName: node linkType: hard @@ -288,7 +279,7 @@ __metadata: languageName: node linkType: hard -"@rollup/pluginutils@npm:^5.1.0": +"@rollup/pluginutils@npm:^5.0.1, @rollup/pluginutils@npm:^5.1.0": version: 5.1.0 resolution: "@rollup/pluginutils@npm:5.1.0" dependencies: @@ -402,6 +393,36 @@ __metadata: languageName: node linkType: hard +"@tegonal/qwik-speak-deepl@workspace:.": + version: 0.0.0-use.local + resolution: "@tegonal/qwik-speak-deepl@workspace:." + dependencies: + "@rollup/plugin-json": "npm:^6.1.0" + "@rollup/plugin-node-resolve": "npm:^15.2.3" + "@types/lodash-es": "npm:^4.17.12" + "@types/node": "npm:^20.11.7" + "@types/yargs": "npm:^17.0.32" + "@typescript-eslint/eslint-plugin": "npm:6.19.1" + "@typescript-eslint/parser": "npm:6.19.1" + commander: "npm:^11.1.0" + deepl-node: "npm:^1.11.1" + eslint: "npm:^8.56.0" + eslint-config-prettier: "npm:^9.1.0" + eslint-plugin-prettier: "npm:^5.1.3" + locale-matcher: "npm:^2.0.0" + lodash-es: "npm:^4.17.21" + prettier: "npm:^3.2.4" + rollup: "npm:^4.9.6" + rollup-plugin-commonjs: "npm:^10.1.0" + rollup-plugin-terser: "npm:^7.0.2" + rollup-plugin-typescript2: "npm:^0.36.0" + ts-command-line-args: "npm:^2.5.1" + typescript: "npm:^5.3.3" + bin: + qwik-speak-deepl: ./dist/bin/qwik-speak-deepl.js + languageName: unknown + linkType: soft + "@types/estree@npm:*, @types/estree@npm:1.0.5, @types/estree@npm:^1.0.0": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" @@ -409,13 +430,6 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:0.0.39": - version: 0.0.39 - resolution: "@types/estree@npm:0.0.39" - checksum: f0af6c95ac1988c4827964bd9d3b51d24da442e2188943f6dfcb1e1559103d5d024d564b2e9d3f84c53714a02a0a7435c7441138eb63d9af5de4dfc66cdc0d92 - languageName: node - linkType: hard - "@types/json-schema@npm:^7.0.12": version: 7.0.15 resolution: "@types/json-schema@npm:7.0.15" @@ -448,12 +462,10 @@ __metadata: languageName: node linkType: hard -"@types/resolve@npm:0.0.8": - version: 0.0.8 - resolution: "@types/resolve@npm:0.0.8" - dependencies: - "@types/node": "npm:*" - checksum: ead6902f01e7240918e6f6dabf0e2bc37035492b1da16f605bbd1e153c17d0639df77981b2ec042480361be76c9e967543287d9b312cd668ed9123524994c344 +"@types/resolve@npm:1.20.2": + version: 1.20.2 + resolution: "@types/resolve@npm:1.20.2" + checksum: c5b7e1770feb5ccfb6802f6ad82a7b0d50874c99331e0c9b259e415e55a38d7a86ad0901c57665d93f75938be2a6a0bc9aa06c9749192cadb2e4512800bbc6e6 languageName: node linkType: hard @@ -793,7 +805,7 @@ __metadata: languageName: node linkType: hard -"builtin-modules@npm:^3.1.0": +"builtin-modules@npm:^3.3.0": version: 3.3.0 resolution: "builtin-modules@npm:3.3.0" checksum: 2cb3448b4f7306dc853632a4fcddc95e8d4e4b9868c139400027b71938fc6806d4ff44007deffb362ac85724bd40c2c6452fb6a0aa4531650eeddb98d8e5ee8a @@ -1004,6 +1016,13 @@ __metadata: languageName: node linkType: hard +"deepmerge@npm:^4.2.2": + version: 4.3.1 + resolution: "deepmerge@npm:4.3.1" + checksum: e53481aaf1aa2c4082b5342be6b6d8ad9dfe387bc92ce197a66dea08bd4265904a087e75e464f14d1347cf2ac8afe1e4c16b266e0561cc5df29382d3c5f80044 + languageName: node + linkType: hard + "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -1226,13 +1245,6 @@ __metadata: languageName: node linkType: hard -"estree-walker@npm:^1.0.1": - version: 1.0.1 - resolution: "estree-walker@npm:1.0.1" - checksum: fa9e5f8c1bbe8d01e314c0f03067b64a4f22d4c58410fc5237060d0c15b81e58c23921c41acc60abbdab490f1fdfcbd6408ede2d03ca704454272e0244d61a55 - languageName: node - linkType: hard - "estree-walker@npm:^2.0.1, estree-walker@npm:^2.0.2": version: 2.0.2 resolution: "estree-walker@npm:2.0.2" @@ -1682,6 +1694,15 @@ __metadata: languageName: node linkType: hard +"is-builtin-module@npm:^3.2.1": + version: 3.2.1 + resolution: "is-builtin-module@npm:3.2.1" + dependencies: + builtin-modules: "npm:^3.3.0" + checksum: 5a66937a03f3b18803381518f0ef679752ac18cdb7dd53b5e23ee8df8d440558737bd8dcc04d2aae555909d2ecb4a81b5c0d334d119402584b61e6a003e31af1 + languageName: node + linkType: hard + "is-core-module@npm:^2.13.0": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" @@ -2379,36 +2400,6 @@ __metadata: languageName: node linkType: hard -"qwik-speak-deepl@workspace:.": - version: 0.0.0-use.local - resolution: "qwik-speak-deepl@workspace:." - dependencies: - "@rollup/plugin-json": "npm:^6.1.0" - "@rollup/plugin-node-resolve": "npm:^6.0.0" - "@types/lodash-es": "npm:^4.17.12" - "@types/node": "npm:^20.11.7" - "@types/yargs": "npm:^17.0.32" - "@typescript-eslint/eslint-plugin": "npm:6.19.1" - "@typescript-eslint/parser": "npm:6.19.1" - commander: "npm:^11.1.0" - deepl-node: "npm:^1.11.1" - eslint: "npm:^8.56.0" - eslint-config-prettier: "npm:^9.1.0" - eslint-plugin-prettier: "npm:^5.1.3" - locale-matcher: "npm:^2.0.0" - lodash-es: "npm:^4.17.21" - prettier: "npm:^3.2.4" - rollup: "npm:^4.9.6" - rollup-plugin-commonjs: "npm:^10.1.0" - rollup-plugin-terser: "npm:^7.0.2" - rollup-plugin-typescript2: "npm:^0.36.0" - ts-command-line-args: "npm:^2.5.1" - typescript: "npm:^5.3.3" - bin: - qwik-speak-deepl: ./dist/bin/qwik-speak-deepl.js - languageName: unknown - linkType: soft - "randombytes@npm:^2.1.0": version: 2.1.0 resolution: "randombytes@npm:2.1.0" @@ -2432,7 +2423,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.11.0, resolve@npm:^1.11.1": +"resolve@npm:^1.11.0, resolve@npm:^1.22.1": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -2445,7 +2436,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.11.0#optional!builtin, resolve@patch:resolve@npm%3A^1.11.1#optional!builtin": +"resolve@patch:resolve@npm%3A^1.11.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: