diff --git a/lerna.json b/lerna.json index aea92b0..73a414d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,4 +1,4 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.0.1-alpha.28" + "version": "0.0.1-alpha.29" } diff --git a/package-lock.json b/package-lock.json index 173d83b..0e4d817 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28778,11 +28778,11 @@ }, "packages/cli": { "name": "@ldo/cli", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { - "@ldo/ldo": "^0.0.1-alpha.28", - "@ldo/schema-converter-shex": "^0.0.1-alpha.24", + "@ldo/ldo": "^0.0.1-alpha.29", + "@ldo/schema-converter-shex": "^0.0.1-alpha.29", "@shexjs/parser": "^1.0.0-alpha.24", "child-process-promise": "^2.2.1", "commander": "^9.3.0", @@ -29044,10 +29044,10 @@ }, "packages/demo-react": { "name": "@ldo/demo-react", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "dependencies": { "@inrupt/solid-client-authn-browser": "^2.0.0", - "@ldo/solid-react": "^0.0.1-alpha.28", + "@ldo/solid-react": "^0.0.1-alpha.29", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.15.0", @@ -29056,7 +29056,7 @@ }, "devDependencies": { "@craco/craco": "^7.1.0", - "@ldo/cli": "^0.0.1-alpha.28", + "@ldo/cli": "^0.0.1-alpha.29", "@types/jsonld": "^1.5.9", "@types/react": "^18.2.21", "@types/shexj": "^2.1.4", @@ -29235,7 +29235,7 @@ }, "packages/jsonld-dataset-proxy": { "name": "@ldo/jsonld-dataset-proxy", - "version": "0.0.1-alpha.24", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { "@ldo/rdf-utils": "^0.0.1-alpha.24", @@ -29315,11 +29315,11 @@ }, "packages/ldo": { "name": "@ldo/ldo", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { "@ldo/dataset": "^0.0.1-alpha.24", - "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.29", "@ldo/subscribable-dataset": "^0.0.1-alpha.24", "@rdfjs/data-model": "^1.2.0", "buffer": "^6.0.3", @@ -29504,15 +29504,15 @@ }, "packages/schema-converter-shex": { "name": "@ldo/schema-converter-shex", - "version": "0.0.1-alpha.24", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { - "@ldo/traverser-shexj": "^0.0.1-alpha.24", + "@ldo/traverser-shexj": "^0.0.1-alpha.29", "dts-dom": "~3.6.0", "jsonld2graphobject": "^0.0.5" }, "devDependencies": { - "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.29", "@shexjs/parser": "^1.0.0-alpha.24", "@types/jest": "^27.0.3", "@types/jsonld": "^1.5.6", @@ -29623,11 +29623,11 @@ }, "packages/solid": { "name": "@ldo/solid", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { "@ldo/dataset": "^0.0.1-alpha.24", - "@ldo/ldo": "^0.0.1-alpha.28", + "@ldo/ldo": "^0.0.1-alpha.29", "@ldo/rdf-utils": "^0.0.1-alpha.24", "@solid-notifications/subscription": "^0.1.2", "cross-fetch": "^3.1.6", @@ -29636,7 +29636,7 @@ }, "devDependencies": { "@inrupt/solid-client-authn-core": "^2.2.6", - "@ldo/cli": "^0.0.1-alpha.28", + "@ldo/cli": "^0.0.1-alpha.29", "@rdfjs/data-model": "^1.2.0", "@rdfjs/types": "^1.0.1", "@solid-notifications/types": "^0.1.2", @@ -29654,14 +29654,14 @@ }, "packages/solid-react": { "name": "@ldo/solid-react", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { "@inrupt/solid-client-authn-browser": "^2.0.0", "@ldo/dataset": "^0.0.1-alpha.24", - "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", - "@ldo/ldo": "^0.0.1-alpha.28", - "@ldo/solid": "^0.0.1-alpha.28", + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.29", + "@ldo/ldo": "^0.0.1-alpha.29", + "@ldo/solid": "^0.0.1-alpha.29", "@ldo/subscribable-dataset": "^0.0.1-alpha.24", "@rdfjs/data-model": "^1.2.0", "cross-fetch": "^3.1.6" @@ -29734,32 +29734,23 @@ }, "packages/solid-type-index": { "name": "@ldo/solid-type-index", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { - "@ldo/solid": "^0.0.1-alpha.28", - "@ldo/solid-react": "^0.0.1-alpha.28", - "uuid": "^11.0.5" + "@ldo/solid": "^0.0.1-alpha.29", + "@ldo/solid-react": "^0.0.1-alpha.29" }, "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, @@ -29994,10 +29972,10 @@ }, "packages/traverser-shexj": { "name": "@ldo/traverser-shexj", - "version": "0.0.1-alpha.24", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { - "@ldo/type-traverser": "^0.0.1-alpha.24" + "@ldo/type-traverser": "^0.0.1-alpha.29" }, "devDependencies": { "@types/jest": "^27.0.3", @@ -30062,7 +30040,7 @@ }, "packages/type-traverser": { "name": "@ldo/type-traverser", - "version": "0.0.1-alpha.24", + "version": "0.0.1-alpha.29", "license": "MIT", "dependencies": { "uuid": "^8.3.2" diff --git a/packages/cli/package.json b/packages/cli/package.json index a8b5899..b026069 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@ldo/cli", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "description": "A Command Line Interface for Linked Data Objects", "main": "./dist/index.js", "bin": { @@ -43,8 +43,8 @@ "ts-jest": "^27.0.7" }, "dependencies": { - "@ldo/ldo": "^0.0.1-alpha.28", - "@ldo/schema-converter-shex": "^0.0.1-alpha.24", + "@ldo/ldo": "^0.0.1-alpha.29", + "@ldo/schema-converter-shex": "^0.0.1-alpha.29", "@shexjs/parser": "^1.0.0-alpha.24", "child-process-promise": "^2.2.1", "commander": "^9.3.0", diff --git a/packages/demo-react/package.json b/packages/demo-react/package.json index f2dfee2..b730700 100644 --- a/packages/demo-react/package.json +++ b/packages/demo-react/package.json @@ -1,9 +1,9 @@ { "name": "@ldo/demo-react", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "dependencies": { "@inrupt/solid-client-authn-browser": "^2.0.0", - "@ldo/solid-react": "^0.0.1-alpha.28", + "@ldo/solid-react": "^0.0.1-alpha.29", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "^6.15.0", @@ -37,7 +37,7 @@ }, "devDependencies": { "@craco/craco": "^7.1.0", - "@ldo/cli": "^0.0.1-alpha.28", + "@ldo/cli": "^0.0.1-alpha.29", "@types/jsonld": "^1.5.9", "@types/react": "^18.2.21", "@types/shexj": "^2.1.4", diff --git a/packages/jsonld-dataset-proxy/package.json b/packages/jsonld-dataset-proxy/package.json index c7e3129..65e4029 100644 --- a/packages/jsonld-dataset-proxy/package.json +++ b/packages/jsonld-dataset-proxy/package.json @@ -1,6 +1,6 @@ { "name": "@ldo/jsonld-dataset-proxy", - "version": "0.0.1-alpha.24", + "version": "0.0.1-alpha.29", "description": "", "main": "dist/index.js", "scripts": { diff --git a/packages/ldo/package.json b/packages/ldo/package.json index a2801b7..f54b9ac 100644 --- a/packages/ldo/package.json +++ b/packages/ldo/package.json @@ -1,6 +1,6 @@ { "name": "@ldo/ldo", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "description": "", "main": "dist/index.js", "scripts": { @@ -39,7 +39,7 @@ }, "dependencies": { "@ldo/dataset": "^0.0.1-alpha.24", - "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.29", "@ldo/subscribable-dataset": "^0.0.1-alpha.24", "@rdfjs/data-model": "^1.2.0", "buffer": "^6.0.3", diff --git a/packages/schema-converter-shex/package.json b/packages/schema-converter-shex/package.json index ea00f3e..2a9d3b5 100644 --- a/packages/schema-converter-shex/package.json +++ b/packages/schema-converter-shex/package.json @@ -1,6 +1,6 @@ { "name": "@ldo/schema-converter-shex", - "version": "0.0.1-alpha.24", + "version": "0.0.1-alpha.29", "description": "", "main": "dist/index.js", "scripts": { @@ -20,7 +20,7 @@ }, "homepage": "https://github.com/o-development/ldobjects/tree/main/packages/schema-converter-shex#readme", "devDependencies": { - "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.29", "@shexjs/parser": "^1.0.0-alpha.24", "@types/jest": "^27.0.3", "@types/jsonld": "^1.5.6", @@ -34,7 +34,7 @@ "dist" ], "dependencies": { - "@ldo/traverser-shexj": "^0.0.1-alpha.24", + "@ldo/traverser-shexj": "^0.0.1-alpha.29", "dts-dom": "~3.6.0", "jsonld2graphobject": "^0.0.5" }, diff --git a/packages/solid-react/package.json b/packages/solid-react/package.json index 9eac49e..0b0c55e 100644 --- a/packages/solid-react/package.json +++ b/packages/solid-react/package.json @@ -1,6 +1,6 @@ { "name": "@ldo/solid-react", - "version": "0.0.1-alpha.28", + "version": "0.0.1-alpha.29", "description": "A React library for LDO and Solid", "main": "dist/index.js", "scripts": { @@ -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" }, @@ -38,9 +38,9 @@ "dependencies": { "@inrupt/solid-client-authn-browser": "^2.0.0", "@ldo/dataset": "^0.0.1-alpha.24", - "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.24", - "@ldo/ldo": "^0.0.1-alpha.28", - "@ldo/solid": "^0.0.1-alpha.28", + "@ldo/jsonld-dataset-proxy": "^0.0.1-alpha.29", + "@ldo/ldo": "^0.0.1-alpha.29", + "@ldo/solid": "^0.0.1-alpha.29", "@ldo/subscribable-dataset": "^0.0.1-alpha.24", "@rdfjs/data-model": "^1.2.0", "cross-fetch": "^3.1.6" 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