diff --git a/e2e/browser/solid-client-authn-browser/test-app/package.json b/e2e/browser/solid-client-authn-browser/test-app/package.json index 6ef3f8611..be9871660 100644 --- a/e2e/browser/solid-client-authn-browser/test-app/package.json +++ b/e2e/browser/solid-client-authn-browser/test-app/package.json @@ -19,9 +19,9 @@ "devDependencies": { "@inrupt/eslint-config-lib": "^3.2.4", "@playwright/test": "^1.49.1", - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@types/react": "^19.0.1", - "@types/react-dom": "^19.0.2", + "@types/react-dom": "^19.0.3", "esbuild": "^0.24.2", "eslint": "^8.57.1", "eslint-config-next": "^15.1.4" diff --git a/package-lock.json b/package-lock.json index e6436248a..92997e527 100644 --- a/package-lock.json +++ b/package-lock.json @@ -68,41 +68,20 @@ "devDependencies": { "@inrupt/eslint-config-lib": "^3.2.4", "@playwright/test": "^1.49.1", - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@types/react": "^19.0.1", - "@types/react-dom": "^19.0.2", + "@types/react-dom": "^19.0.3", "esbuild": "^0.24.2", "eslint": "^8.57.1", "eslint-config-next": "^15.1.4" } }, - "e2e/browser/solid-client-authn-browser/test-app/node_modules/@types/react-dom": { - "version": "19.0.2", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.2.tgz", - "integrity": "sha512-c1s+7TKFaDRRxr1TxccIX2u7sfCnc3RxkVyBIUA2lCpyqCF+QoAwQ/CBg7bsMdVwP120HEH143VQezKtef5nCg==", - "dev": true, - "license": "MIT", - "peerDependencies": { - "@types/react": "^19.0.0" - } - }, - "e2e/browser/solid-ui-react/test-app": { - "name": "test-solid-ui", - "version": "2.2.7", - "extraneous": true, - "dependencies": { - "@inrupt/internal-playwright-testids": "^3.0.2", - "@inrupt/solid-client-authn-browser": "^2.2.7", - "@inrupt/solid-ui-react": "^3.0.0", - "next": "^14.2.15", - "react": "18.3.1", - "react-dom": "18.3.1" - }, - "devDependencies": { - "@types/node": "22.9.0", - "@types/react": "18.3.12", - "@types/react-dom": "18.3.1", - "typescript": "5.5.4" + "e2e/browser/solid-client-authn-browser/test-app/node_modules/react": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", + "engines": { + "node": ">=0.10.0" } }, "node_modules/@aashutoshrathi/word-wrap": { @@ -6480,10 +6459,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.10.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz", - "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==", - "license": "MIT", + "version": "22.10.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.5.tgz", + "integrity": "sha512-F8Q+SeGimwOo86fiovQh8qiXfFEh2/ocYv7tU5pJ3EXMSSxk1Joj5wefpFK2fHTf/N6HKGSxIDBT9f3gCxXPkQ==", "dependencies": { "undici-types": "~6.20.0" } @@ -6526,6 +6504,15 @@ "csstype": "^3.0.2" } }, + "node_modules/@types/react-dom": { + "version": "19.0.3", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.0.3.tgz", + "integrity": "sha512-0Knk+HJiMP/qOZgMyNFamlIjw9OFCsyC2ZbigmEEyXXixgre6IQpm/4V+r3qH4GC1JPvRJKInw+on2rV6YZLeA==", + "dev": true, + "peerDependencies": { + "@types/react": "^19.0.0" + } + }, "node_modules/@types/readable-stream": { "version": "4.0.16", "resolved": "https://registry.npmjs.org/@types/readable-stream/-/readable-stream-4.0.16.tgz", @@ -15268,7 +15255,6 @@ }, "node_modules/js-tokens": { "version": "4.0.0", - "dev": true, "license": "MIT" }, "node_modules/js-yaml": { @@ -16346,7 +16332,6 @@ }, "node_modules/loose-envify": { "version": "1.4.0", - "dev": true, "license": "MIT", "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" @@ -19267,9 +19252,13 @@ } }, "node_modules/react": { - "version": "19.0.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", - "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", + "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "peer": true, + "dependencies": { + "loose-envify": "^1.1.0" + }, "engines": { "node": ">=0.10.0" } @@ -23369,7 +23358,7 @@ "uuid": "^11.0.5" }, "devDependencies": { - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@types/uuid": "^10.0.0" } }, @@ -23415,6 +23404,14 @@ "url": "https://github.com/sponsors/panva" } }, + "packages/browser/node_modules/react": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", + "engines": { + "node": ">=0.10.0" + } + }, "packages/core": { "name": "@inrupt/solid-client-authn-core", "version": "2.3.0", @@ -23449,7 +23446,7 @@ "uuid": "^11.0.5" }, "devDependencies": { - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@types/uuid": "^10.0.0" }, "engines": { diff --git a/packages/browser/package.json b/packages/browser/package.json index 105d49232..d0d0c7a0f 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -26,7 +26,7 @@ "build-docs-preview-site": "npm run build-api-docs; cd docs/api; make html" }, "devDependencies": { - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@types/uuid": "^10.0.0" }, "dependencies": { diff --git a/packages/node/package.json b/packages/node/package.json index 9549d9696..c3a2d433f 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -24,7 +24,7 @@ "build-docs-preview-site": "npm run build-api-docs; cd docs/api; make html" }, "devDependencies": { - "@types/node": "^22.10.1", + "@types/node": "^22.10.5", "@types/uuid": "^10.0.0" }, "dependencies": { diff --git a/playwright.solid-ui.config.ts b/playwright.solid-ui.config.ts deleted file mode 100644 index c3d0e6777..000000000 --- a/playwright.solid-ui.config.ts +++ /dev/null @@ -1,40 +0,0 @@ -// -// Copyright Inrupt Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal in -// the Software without restriction, including without limitation the rights to use, -// copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the -// Software, and to permit persons to whom the Software is furnished to do so, -// subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -// INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -// PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -import type { PlaywrightTestConfig } from "@playwright/test"; - -import { baseConfig } from "./playwright.shared.config"; -// The extension is necessary for JSON imports. -// eslint-disable-next-line import/extensions -import CONSTANTS from "./playwright.solid-ui.constants.json"; - -const config: PlaywrightTestConfig = { - ...baseConfig, - testMatch: "solidui.playwright.ts", - webServer: { - command: `cd ./e2e/browser/solid-ui-react/test-app/ && npm run build && npm run start -- -p ${CONSTANTS.UI_REACT_TEST_PORT}`, - port: CONSTANTS.UI_REACT_TEST_PORT, - timeout: 120 * 1000, - reuseExistingServer: !process.env.CI, - }, -}; - -export default config; diff --git a/playwright.solid-ui.constants.json b/playwright.solid-ui.constants.json deleted file mode 100644 index 3a5396da8..000000000 --- a/playwright.solid-ui.constants.json +++ /dev/null @@ -1 +0,0 @@ -{ "UI_REACT_TEST_PORT": 3001 }