diff --git a/package-lock.json b/package-lock.json index 173d83b..7339650 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29738,28 +29738,19 @@ "license": "MIT", "dependencies": { "@ldo/solid": "^0.0.1-alpha.28", - "@ldo/solid-react": "^0.0.1-alpha.28", - "uuid": "^11.0.5" + "@ldo/solid-react": "^0.0.1-alpha.28" }, "devDependencies": { "@ldo/rdf-utils": "^0.0.1-alpha.24", "@rdfjs/types": "^1.0.1", "@testing-library/react": "^14.1.2", "@types/jest": "^27.0.3", - "@types/uuid": "^10.0.0", "jest-environment-jsdom": "^27.0.0", "start-server-and-test": "^2.0.3", "ts-jest": "^27.1.2", "ts-node": "^10.9.2" } }, - "packages/solid-type-index/node_modules/@types/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", - "dev": true, - "license": "MIT" - }, "packages/solid-type-index/node_modules/ts-jest": { "version": "27.1.5", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.5.tgz", @@ -29819,19 +29810,6 @@ "node": ">=4.2.0" } }, - "packages/solid-type-index/node_modules/uuid": { - "version": "11.0.5", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.5.tgz", - "integrity": "sha512-508e6IcKLrhxKdBbcA2b4KQZlLVp2+J5UwQ6F7Drckkc5N9ZJwFa4TgWtsww9UG8fGHbm6gbV19TdM5pQ4GaIA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/esm/bin/uuid" - } - }, "packages/solid/node_modules/ts-jest": { "version": "27.1.5", "dev": true, diff --git a/packages/solid-react/package.json b/packages/solid-react/package.json index 9eac49e..2afcd8a 100644 --- a/packages/solid-react/package.json +++ b/packages/solid-react/package.json @@ -11,7 +11,7 @@ "prepublishOnly": "npm run test && npm run build", "build:ldo": "ldo build --input src/shapes --output src/ldo", "lint": "eslint src/** --fix --no-error-on-unmatched-pattern", - "test:integration": "start-server-and-test start-test-server http://localhost:3001 start-integration-test", + "test:integration": "start-server-and-test start-test-server http://localhost:3002 start-integration-test", "start-test-server": "ts-node ./test/test-server/runServer.ts", "start-integration-test": "jest --coverage" }, diff --git a/packages/solid-react/test/Integration.test.tsx b/packages/solid-react/test/Integration.test.tsx index fbeb8cd..38ff66e 100644 --- a/packages/solid-react/test/Integration.test.tsx +++ b/packages/solid-react/test/Integration.test.tsx @@ -475,10 +475,10 @@ describe("Integration Tests", () => { const list = await screen.findByRole("list"); expect(list.children[0].innerHTML).toBe( - "http://localhost:3001/example/test_ldo/sample.ttl#Post1", + "http://localhost:3002/example/test_ldo/sample.ttl#Post1", ); expect(list.children[1].innerHTML).toBe( - "http://localhost:3001/example/test_ldo/sample.ttl#Post2", + "http://localhost:3002/example/test_ldo/sample.ttl#Post2", ); }); }); @@ -494,7 +494,7 @@ describe("Integration Tests", () => { const resource = useResource(SAMPLE_DATA_URI); const publishers = useMatchObject( PostShShapeType, - "http://localhost:3001/example/test_ldo/sample.ttl#Post1", + "http://localhost:3002/example/test_ldo/sample.ttl#Post1", "http://schema.org/publisher", ); if (resource.isLoading()) return

loading

; diff --git a/packages/solid-react/test/setUpServer.ts b/packages/solid-react/test/setUpServer.ts index b3a54ee..04a300c 100644 --- a/packages/solid-react/test/setUpServer.ts +++ b/packages/solid-react/test/setUpServer.ts @@ -1,7 +1,7 @@ import type { ContainerUri, LeafUri } from "@ldo/solid"; import fetch from "cross-fetch"; -export const SERVER_DOMAIN = process.env.SERVER || "http://localhost:3001/"; +export const SERVER_DOMAIN = process.env.SERVER || "http://localhost:3002/"; export const ROOT_ROUTE = process.env.ROOT_CONTAINER || "example/"; export const ROOT_CONTAINER = `${SERVER_DOMAIN}${ROOT_ROUTE}`; export const WEB_ID = `${SERVER_DOMAIN}${ROOT_ROUTE}profile/card#me`; diff --git a/packages/solid-react/test/test-server/solidServer.helper.ts b/packages/solid-react/test/test-server/solidServer.helper.ts index 5dd45d8..a973b91 100644 --- a/packages/solid-react/test/test-server/solidServer.helper.ts +++ b/packages/solid-react/test/test-server/solidServer.helper.ts @@ -26,7 +26,7 @@ export async function createApp(): Promise { ), variableBindings: {}, shorthand: { - port: 3_001, + port: 3_002, loggingLevel: "off", seedConfig: path.join(__dirname, "configs", "solid-css-seed.json"), }, diff --git a/packages/solid-type-index/package.json b/packages/solid-type-index/package.json index e6a7c93..7970b8a 100644 --- a/packages/solid-type-index/package.json +++ b/packages/solid-type-index/package.json @@ -30,7 +30,6 @@ "@rdfjs/types": "^1.0.1", "@testing-library/react": "^14.1.2", "@types/jest": "^27.0.3", - "@types/uuid": "^10.0.0", "jest-environment-jsdom": "^27.0.0", "start-server-and-test": "^2.0.3", "ts-jest": "^27.1.2", @@ -38,8 +37,7 @@ }, "dependencies": { "@ldo/solid": "^0.0.1-alpha.28", - "@ldo/solid-react": "^0.0.1-alpha.28", - "uuid": "^11.0.5" + "@ldo/solid-react": "^0.0.1-alpha.28" }, "files": [ "dist",