From 0984fa7368fdbb82d7e98c9d0a14e067ebfbbf90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 20 Sep 2024 13:41:36 +0100 Subject: [PATCH 1/4] fix(web): fix wrong reference to HTTPClient --- web/src/client/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/client/storage.js b/web/src/client/storage.js index 6151e92ac..44acc60dd 100644 --- a/web/src/client/storage.js +++ b/web/src/client/storage.js @@ -238,7 +238,7 @@ const dbusBasename = (path) => path.split("/").slice(-1)[0]; */ class ProposalManager { /** - * @param {import("./http").HTTPClien} client + * @param {import("./http").HTTPClient} client */ constructor(client) { this.client = client; From 7dd18735ea346740f8161d6be958514f51535cda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 20 Sep 2024 14:17:36 +0100 Subject: [PATCH 2/4] fix(rust): fix format of profile.schema.json --- rust/agama-lib/share/profile.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/agama-lib/share/profile.schema.json b/rust/agama-lib/share/profile.schema.json index 445b9b485..ef4dd56d4 100644 --- a/rust/agama-lib/share/profile.schema.json +++ b/rust/agama-lib/share/profile.schema.json @@ -201,7 +201,7 @@ "tkip", "ccmp" ] - }, + } }, "pairwiseAlgorithms": { "type": "array", From 37733ab42b9f438ee7893775fd57b9cf05d392bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 20 Sep 2024 14:39:47 +0100 Subject: [PATCH 3/4] fix(web): add @testing-library/dom * It is required after the migration to RTL 16. --- web/package-lock.json | 22 +++++----------------- web/package.json | 1 + 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/web/package-lock.json b/web/package-lock.json index f4ca0b6a9..aef5ecc90 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -35,6 +35,7 @@ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", "@svgr/plugin-jsx": "^8.1.0", "@svgr/webpack": "^8.1.0", + "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.2.0", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.1", @@ -4610,7 +4611,6 @@ "integrity": "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.10.4", "@babel/runtime": "^7.12.5", @@ -4631,7 +4631,6 @@ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "color-convert": "^2.0.1" }, @@ -4648,7 +4647,6 @@ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" @@ -4666,7 +4664,6 @@ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "color-name": "~1.1.4" }, @@ -4679,8 +4676,7 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@testing-library/dom/node_modules/has-flag": { "version": "4.0.0", @@ -4688,7 +4684,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8" } @@ -4699,7 +4694,6 @@ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "has-flag": "^4.0.0" }, @@ -4875,8 +4869,7 @@ "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", "integrity": "sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==", "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/@types/babel__core": { "version": "7.20.5", @@ -8807,8 +8800,7 @@ "resolved": "https://registry.npmjs.org/dom-accessibility-api/-/dom-accessibility-api-0.5.16.tgz", "integrity": "sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==", "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/dom-serializer": { "version": "2.0.0", @@ -14977,7 +14969,6 @@ "integrity": "sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==", "dev": true, "license": "MIT", - "peer": true, "bin": { "lz-string": "bin/bin.js" } @@ -16925,7 +16916,6 @@ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "ansi-regex": "^5.0.1", "ansi-styles": "^5.0.0", @@ -16941,7 +16931,6 @@ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=10" }, @@ -17250,8 +17239,7 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", "dev": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/react-refresh": { "version": "0.14.2", diff --git a/web/package.json b/web/package.json index c556fbb71..179a98883 100644 --- a/web/package.json +++ b/web/package.json @@ -39,6 +39,7 @@ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10", "@svgr/plugin-jsx": "^8.1.0", "@svgr/webpack": "^8.1.0", + "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.2.0", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.1", From 5b6c9de46ec7e3d8e77831bf6b57d9a6a31e31b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 20 Sep 2024 14:51:33 +0100 Subject: [PATCH 4/4] fix(web): disable type checking for ts-loader --- web/webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/webpack.config.js b/web/webpack.config.js index f7df3e4c7..f35810fc0 100644 --- a/web/webpack.config.js +++ b/web/webpack.config.js @@ -173,7 +173,8 @@ module.exports = { getCustomTransformers: () => ({ before: [development && ReactRefreshTypeScript()].filter(Boolean), }), - transpileOnly: development, + // FIXME: temporarily disable the type checking. + transpileOnly: true, }, }, ],