Fix package versions

main
Jackson Morgan 8 months ago
parent ce8aefe98b
commit f25af8314f
  1. 24
      package-lock.json
  2. 2
      packages/solid-react/package.json
  3. 6
      packages/solid-react/test/Integration.test.tsx
  4. 2
      packages/solid-react/test/setUpServer.ts
  5. 2
      packages/solid-react/test/test-server/solidServer.helper.ts
  6. 4
      packages/solid-type-index/package.json

24
package-lock.json generated

@ -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,

@ -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"
},

@ -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 <p>loading</p>;

@ -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`;

@ -26,7 +26,7 @@ export async function createApp(): Promise<App> {
),
variableBindings: {},
shorthand: {
port: 3_001,
port: 3_002,
loggingLevel: "off",
seedConfig: path.join(__dirname, "configs", "solid-css-seed.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",

Loading…
Cancel
Save