Merge pull request #78 from o-development/fix/solid-react-dependencies

Fix/solid react dependencies
main
jaxoncreed 4 months ago committed by GitHub
commit 61816a0abc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      lerna.json
  2. 109
      package-lock.json
  3. 6
      packages/cli/package.json
  4. 68
      packages/connected-nextgraph/README.md
  5. 13
      packages/connected-nextgraph/package.json
  6. 10
      packages/connected-nextgraph/src/NextGraphConnectedPlugin.ts
  7. 2
      packages/connected-nextgraph/src/index.ts
  8. 4
      packages/connected-nextgraph/src/notifications/NextGraphNotificationSubscription.ts
  9. 14
      packages/connected-nextgraph/src/resources/NextGraphResource.ts
  10. 1
      packages/connected-nextgraph/test/integration.test.ts
  11. 10
      packages/connected-solid/package.json
  12. 8
      packages/connected/package.json
  13. 4
      packages/dataset/package.json
  14. 6
      packages/jsonld-dataset-proxy/package.json
  15. 10
      packages/ldo/package.json
  16. 2
      packages/rdf-utils/package.json
  17. 12
      packages/react/package.json
  18. 6
      packages/schema-converter-shex/package.json
  19. 11
      packages/solid-react/package.json
  20. 8
      packages/solid-type-index/package.json
  21. 6
      packages/subscribable-dataset/package.json
  22. 4
      packages/traverser-shexj/package.json
  23. 2
      packages/type-traverser/package.json

@ -1,4 +1,4 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "1.0.0-alpha.2"
"version": "1.0.0-alpha.8"
}

109
package-lock.json generated

@ -18785,6 +18785,7 @@
"version": "0.1.1-alpha.7",
"resolved": "https://registry.npmjs.org/nextgraph/-/nextgraph-0.1.1-alpha.7.tgz",
"integrity": "sha512-Dd0Fl18roKVxAHm0Z39k5Ylsgbqkev0JFOveUYnp5fLYwmECm2gUhO/Nb1P8m79V7D/jW6rHEU5edQA5sx0zFg==",
"dev": true,
"license": "MIT/Apache-2.0"
},
"node_modules/node-addon-api": {
@ -26244,11 +26245,11 @@
},
"packages/cli": {
"name": "@ldo/cli",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/schema-converter-shex": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/schema-converter-shex": "^1.0.0-alpha.3",
"@shexjs/parser": "^1.0.0-alpha.24",
"child-process-promise": "^2.2.1",
"commander": "^9.3.0",
@ -26430,12 +26431,12 @@
},
"packages/connected": {
"name": "@ldo/connected",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2"
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3"
},
"devDependencies": {
"@rdfjs/data-model": "^1.2.0",
@ -26450,21 +26451,21 @@
},
"packages/connected-nextgraph": {
"name": "@ldo/connected-nextgraph",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.8",
"license": "MIT",
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/connected": "^1.0.0-alpha.3",
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@solid-notifications/subscription": "^0.1.2",
"cross-fetch": "^3.1.6",
"http-link-header": "^1.1.1",
"nextgraph": "^0.1.1-alpha.7",
"ws": "^8.18.0"
},
"devDependencies": {
"@inrupt/solid-client-authn-core": "^2.2.6",
"@ldo/cli": "^1.0.0-alpha.2",
"@ldo/cli": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"@rdfjs/types": "^1.0.1",
"@solid-notifications/types": "^0.1.2",
@ -26472,6 +26473,7 @@
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"jest-rdf": "^1.8.0",
"nextgraph": "^0.1.1-alpha.7",
"start-server-and-test": "^2.0.11",
"ts-node": "^10.9.1",
"typed-emitter": "^2.1.0",
@ -26481,12 +26483,12 @@
},
"packages/connected-solid": {
"name": "@ldo/connected-solid",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@solid-notifications/subscription": "^0.1.2",
"cross-fetch": "^3.1.6",
"http-link-header": "^1.1.1",
@ -26494,7 +26496,7 @@
},
"devDependencies": {
"@inrupt/solid-client-authn-core": "^2.2.6",
"@ldo/cli": "^1.0.0-alpha.2",
"@ldo/cli": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"@rdfjs/types": "^1.0.1",
"@solid-notifications/types": "^0.1.2",
@ -26509,10 +26511,10 @@
},
"packages/dataset": {
"name": "@ldo/dataset",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/dataset": "^1.1.0",
"buffer": "^6.0.3",
"readable-stream": "^4.2.0"
@ -26578,11 +26580,11 @@
},
"packages/jsonld-dataset-proxy": {
"name": "@ldo/jsonld-dataset-proxy",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/subscribable-dataset": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@ldo/subscribable-dataset": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"@rdfjs/dataset": "^1.1.0",
"jsonld2graphobject": "^0.0.4"
@ -26605,18 +26607,18 @@
},
"packages/ldo": {
"name": "@ldo/ldo",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.2",
"@ldo/subscribable-dataset": "^1.0.0-alpha.2",
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.3",
"@ldo/subscribable-dataset": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"buffer": "^6.0.3",
"readable-stream": "^4.3.0"
},
"devDependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/types": "^1.0.1",
"@types/jsonld": "^1.5.6",
"@types/n3": "^1.10.4",
@ -26650,7 +26652,7 @@
},
"packages/rdf-utils": {
"name": "@ldo/rdf-utils",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@rdfjs/data-model": "^1.2.0",
@ -26664,14 +26666,14 @@
},
"packages/react": {
"name": "@ldo/react",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/connected": "^1.0.0-alpha.2",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/subscribable-dataset": "^1.0.0-alpha.2",
"@ldo/connected": "^1.0.0-alpha.3",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@ldo/subscribable-dataset": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"cross-fetch": "^3.1.6"
},
@ -26684,15 +26686,15 @@
},
"packages/schema-converter-shex": {
"name": "@ldo/schema-converter-shex",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/traverser-shexj": "^1.0.0-alpha.2",
"@ldo/traverser-shexj": "^1.0.0-alpha.3",
"dts-dom": "~3.6.0",
"jsonld2graphobject": "^0.0.5"
},
"devDependencies": {
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.2",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.3",
"@shexjs/parser": "^1.0.0-alpha.24",
"@types/jsonld": "^1.5.6",
"@types/shexj": "^2.1.3",
@ -26743,12 +26745,13 @@
},
"packages/solid-react": {
"name": "@ldo/solid-react",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.5",
"license": "MIT",
"dependencies": {
"@inrupt/solid-client-authn-browser": "^2.0.0",
"@ldo/connected": "^1.0.0-alpha.2",
"@ldo/connected-solid": "^1.0.0-alpha.2",
"@inrupt/solid-client-authn-browser": "2.3.0",
"@ldo/connected": "^1.0.0-alpha.3",
"@ldo/connected-solid": "^1.0.0-alpha.3",
"@ldo/react": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"cross-fetch": "^3.1.6"
},
@ -26756,7 +26759,7 @@
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@inrupt/jest-jsdom-polyfills": "^3.2.6",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/types": "^1.0.1",
"@testing-library/react": "^14.1.2",
"babel-jest": "^29.7.0",
@ -26769,14 +26772,14 @@
},
"packages/solid-type-index": {
"name": "@ldo/solid-type-index",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.5",
"license": "MIT",
"dependencies": {
"@ldo/connected-solid": "^1.0.0-alpha.2",
"@ldo/solid-react": "^1.0.0-alpha.2"
"@ldo/connected-solid": "^1.0.0-alpha.3",
"@ldo/solid-react": "^1.0.0-alpha.5"
},
"devDependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/types": "^1.0.1",
"@testing-library/react": "^14.1.2",
"jest-environment-jsdom": "^29.7.0",
@ -26786,11 +26789,11 @@
},
"packages/subscribable-dataset": {
"name": "@ldo/subscribable-dataset",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2"
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3"
},
"devDependencies": {
"@rdfjs/data-model": "^1.2.0",
@ -26837,15 +26840,15 @@
},
"packages/traverser-shexj": {
"name": "@ldo/traverser-shexj",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"@ldo/type-traverser": "^1.0.0-alpha.2"
"@ldo/type-traverser": "^1.0.0-alpha.3"
}
},
"packages/type-traverser": {
"name": "@ldo/type-traverser",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"license": "MIT",
"dependencies": {
"uuid": "^8.3.2"

@ -1,6 +1,6 @@
{
"name": "@ldo/cli",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "A Command Line Interface for Linked Data Objects",
"main": "./dist/index.js",
"bin": {
@ -40,8 +40,8 @@
"rimraf": "^3.0.2"
},
"dependencies": {
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/schema-converter-shex": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/schema-converter-shex": "^1.0.0-alpha.3",
"@shexjs/parser": "^1.0.0-alpha.24",
"child-process-promise": "^2.2.1",
"commander": "^9.3.0",

@ -7,7 +7,16 @@ The `@ldo/connected-nextgraph` library allows you to integrate [NextGraph](https
First, install the required libraries:
```bash
npm install nextgraph @ldo/connected-nextgraph
npm install @ldo/connected-nextgraph
```
Also install a version of next-graph you wish to use
```bash
# For applications on NodeJS
npm install nextgraph
# For applications running in the web browser
npm install nextgraphweb
```
## Usage:
@ -26,7 +35,7 @@ const ldoDataset = createNextGraphLdoDataset();
Before you can create or access resources, you need an active session:
```ts
import ng from "nextgraph";
import ng from "nextgraph" // or `import ng from "nextgraphweb"` for the browser
// Open your nextgraph wallet
const openedWallet = await ng.wallet_open_with_mnemonic_words(
@ -45,9 +54,9 @@ const session = await ng.session_in_memory_start(
---
### 3. Link Your Dataset to the NextGraph Session
```ts
ldoDataset.setContext("nextgraph", {
ng,
sessionId: session.session_id
});
```
@ -114,6 +123,59 @@ await resource.update({
});
```
## Using NextGraph with React
You can also use the `@ldo/react` library with `@ldo/connected-nextgraph`.
### 1. Create the react methods
First, we initialize some methods to use with the `@ldo/connected-nextgraph` and
`@ldo/react` libraries.
```typescript
// ./reactMethods.ts
import { nextGraphConnectedPlugin } from "@ldo/connected-nextgraph";
import { createLdoReactMethods } from "@ldo/react";
import ng from "nextgraphweb";
export const {
dataset,
useLdo,
useMatchObject,
useMatchSubject,
useResource,
useSubject,
useSubscribeToResource,
} = createLdoReactMethods([nextGraphConnectedPlugin]);
// Set NG on the data. When the sessionId is retrieved, `setContext` can be
// called at any time to set that as well.
dataset.setContext("nextgraph", {
ng,
sessionId: "SOME_ID"
});
```
### 2. Use the methods in your React components
From there, you can import these created methods in your React component and use
them as you would use any of the methods in the [@ldo/react-solid](https://ldo.js.org/latest/guides/solid_react/)
library.
```typescript
import { FunctionComponent } from "react";
import { PostShShapeType } from "./.ldo/post.shapeTypes";
import { useResource, useSubject } from "./reactMethods";
export const UseSubjectTest: FunctionComponent = () => {
useResource("did:ng:SOME_URI");
const post = useSubject(PostShShapeType, `SomeOtherUri`);
return <p role="article">{post.articleBody}</p>;
};
```
## Sponsorship
This project was made possible by a grant from NGI Zero Entrust via nlnet. Learn more on the [NLnet project page](https://nlnet.nl/project/SolidUsableApps/).

@ -1,6 +1,6 @@
{
"name": "@ldo/connected-nextgraph",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.8",
"description": "A plugin for @ldo/connected to work with the Solid ecosystem.",
"main": "dist/index.js",
"scripts": {
@ -26,7 +26,7 @@
"homepage": "https://github.com/o-development/ldobjects/tree/main/packages/solid#readme",
"devDependencies": {
"@inrupt/solid-client-authn-core": "^2.2.6",
"@ldo/cli": "^1.0.0-alpha.2",
"@ldo/cli": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"@rdfjs/types": "^1.0.1",
"@solid-notifications/types": "^0.1.2",
@ -34,6 +34,7 @@
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"jest-rdf": "^1.8.0",
"nextgraph": "^0.1.1-alpha.7",
"start-server-and-test": "^2.0.11",
"ts-node": "^10.9.1",
"typed-emitter": "^2.1.0",
@ -41,13 +42,13 @@
"typedoc-plugin-markdown": "^3.17.1"
},
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/connected": "^1.0.0-alpha.3",
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@solid-notifications/subscription": "^0.1.2",
"cross-fetch": "^3.1.6",
"http-link-header": "^1.1.1",
"nextgraph": "^0.1.1-alpha.7",
"ws": "^8.18.0"
},
"files": [

@ -1,10 +1,12 @@
import type { ConnectedContext, ConnectedPlugin } from "@ldo/connected";
import type { NextGraphUri } from "./types";
import { NextGraphResource } from "./resources/NextGraphResource";
import ng from "nextgraph";
import { isNextGraphUri } from "./util/isNextGraphUri";
export interface NextGraphConnectedContext {
// NG does not have a type definition
// eslint-disable-next-line @typescript-eslint/no-explicit-any
ng?: any;
sessionId?: string;
protectedStoreId?: string;
privateStoreId?: string;
@ -14,6 +16,7 @@ export interface NextGraphConnectedContext {
export interface NextGraphCreateResourceOptions {
storeType?: "public" | "protected" | "private" | "group" | "dialog";
storeRepo?: string;
primaryClass?: string;
}
export interface NextGraphConnectedPlugin
@ -56,11 +59,12 @@ export const nextGraphConnectedPlugin: NextGraphConnectedPlugin = {
: storeType === "private"
? context.nextgraph.privateStoreId
: undefined);
const primaryClass = options?.primaryClass ?? "data:graph";
const nuri: NextGraphUri = await ng.doc_create(
const nuri: NextGraphUri = await context.nextgraph.ng.doc_create(
context.nextgraph.sessionId,
"Graph",
"data:graph",
primaryClass,
"store",
storeType,
storeRepo,

@ -6,3 +6,5 @@ export * from "./resources/NextGraphResource";
export * from "./util/isNextGraphUri";
export * from "./results/NextGraphReadSuccess";
export * from "./createNextGraphLdoDataset";

@ -1,7 +1,6 @@
import { NotificationSubscription } from "@ldo/connected";
import type { NextGraphConnectedPlugin } from "../NextGraphConnectedPlugin";
import type { NextGraphNotificationMessage } from "./NextGraphNotificationMessage";
import ng from "nextgraph";
export class NextGraphNotificationSubscription extends NotificationSubscription<
NextGraphConnectedPlugin,
@ -10,8 +9,7 @@ export class NextGraphNotificationSubscription extends NotificationSubscription<
private unsub: (() => void) | undefined;
protected async open(): Promise<void> {
console.log("THIS WAS OPENED AND IT SHOULDNT BE");
this.unsub = await ng.doc_subscribe(
this.unsub = await this.context.nextgraph.ng.doc_subscribe(
this.resource.uri,
this.context.nextgraph.sessionId,
this.onNotification.bind(this),

@ -13,7 +13,6 @@ import {
import type { NextGraphUri } from "../types";
import EventEmitter from "events";
import type { NextGraphConnectedPlugin } from "../NextGraphConnectedPlugin";
import ng from "nextgraph";
import { changesToSparqlUpdate, type DatasetChanges } from "@ldo/rdf-utils";
import type { NextGraphNotificationMessage } from "../notifications/NextGraphNotificationMessage";
import type { Dataset, Quad } from "@rdfjs/types";
@ -127,7 +126,7 @@ export class NextGraphResource
await new Promise<void>(async (resolve, reject) => {
let unsub: () => void;
try {
unsub = await ng.doc_subscribe(
unsub = await this.context.nextgraph.ng.doc_subscribe(
this.uri,
this.context.nextgraph.sessionId,
async (response: NextGraphNotificationMessage) => {
@ -188,7 +187,7 @@ export class NextGraphResource
try {
// Perform Update with remote
await ng.sparql_update(
await this.context.nextgraph.ng.sparql_update(
this.context.nextgraph.sessionId,
await changesToSparqlUpdate(datasetChanges),
this.uri,
@ -216,7 +215,14 @@ export class NextGraphResource
)
).reduce((agg, ldoDataset) => {
ldoDataset.forEach((quad) => {
agg.add(quad);
agg.add(
createQuad(
quad.subject,
quad.predicate,
quad.object,
namedNode(this.uri),
),
);
});
return agg;
}, createDataset());

@ -52,6 +52,7 @@ describe("NextGraph Plugin", () => {
// Get SessionId for that wallet
nextgraphLdoDataset = createNextGraphLdoDataset();
nextgraphLdoDataset.setContext("nextgraph", {
ng,
sessionId,
protectedStoreId,
publicStoreId,

@ -1,6 +1,6 @@
{
"name": "@ldo/connected-solid",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "A plugin for @ldo/connected to work with the Solid ecosystem.",
"main": "dist/index.js",
"scripts": {
@ -25,7 +25,7 @@
"homepage": "https://github.com/o-development/ldobjects/tree/main/packages/solid#readme",
"devDependencies": {
"@inrupt/solid-client-authn-core": "^2.2.6",
"@ldo/cli": "^1.0.0-alpha.2",
"@ldo/cli": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"@rdfjs/types": "^1.0.1",
"@solid-notifications/types": "^0.1.2",
@ -38,9 +38,9 @@
"typedoc-plugin-markdown": "^3.17.1"
},
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@solid-notifications/subscription": "^0.1.2",
"cross-fetch": "^3.1.6",
"http-link-header": "^1.1.1",

@ -1,6 +1,6 @@
{
"name": "@ldo/connected",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "A library for connecting LDO to resources outside the LDO environment",
"main": "dist/index.js",
"scripts": {
@ -33,9 +33,9 @@
"typedoc-plugin-markdown": "^3.17.1"
},
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2"
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3"
},
"files": [
"dist",

@ -1,6 +1,6 @@
{
"name": "@ldo/dataset",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "An RDFJS dataset implementation",
"main": "dist/index.js",
"scripts": {
@ -31,7 +31,7 @@
"ts-node": "^9.1.1"
},
"dependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/dataset": "^1.1.0",
"buffer": "^6.0.3",
"readable-stream": "^4.2.0"

@ -1,6 +1,6 @@
{
"name": "@ldo/jsonld-dataset-proxy",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "",
"main": "dist/index.js",
"scripts": {
@ -37,8 +37,8 @@
"src"
],
"dependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/subscribable-dataset": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@ldo/subscribable-dataset": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"@rdfjs/dataset": "^1.1.0",
"jsonld2graphobject": "^0.0.4"

@ -1,6 +1,6 @@
{
"name": "@ldo/ldo",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "",
"main": "dist/index.js",
"scripts": {
@ -23,7 +23,7 @@
},
"homepage": "https://github.com/o-development/ldobjects/tree/main/packages/ldo#readme",
"devDependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/types": "^1.0.1",
"@types/jsonld": "^1.5.6",
"@types/n3": "^1.10.4",
@ -34,9 +34,9 @@
"typedoc-plugin-markdown": "^3.17.1"
},
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.2",
"@ldo/subscribable-dataset": "^1.0.0-alpha.2",
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.3",
"@ldo/subscribable-dataset": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"buffer": "^6.0.3",
"readable-stream": "^4.3.0"

@ -1,6 +1,6 @@
{
"name": "@ldo/rdf-utils",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "Some RDF Utilities to support LDO librariers",
"main": "dist/index.js",
"scripts": {

@ -1,6 +1,6 @@
{
"name": "@ldo/react",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "A React library for LDO.",
"main": "dist/index.js",
"scripts": {
@ -29,11 +29,11 @@
"ts-node": "^10.9.2"
},
"dependencies": {
"@ldo/connected": "^1.0.0-alpha.2",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.2",
"@ldo/ldo": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/subscribable-dataset": "^1.0.0-alpha.2",
"@ldo/connected": "^1.0.0-alpha.3",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.3",
"@ldo/ldo": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@ldo/subscribable-dataset": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"cross-fetch": "^3.1.6"
},

@ -1,6 +1,6 @@
{
"name": "@ldo/schema-converter-shex",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"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": "^1.0.0-alpha.2",
"@ldo/jsonld-dataset-proxy": "^1.0.0-alpha.3",
"@shexjs/parser": "^1.0.0-alpha.24",
"@types/jsonld": "^1.5.6",
"@types/shexj": "^2.1.3",
@ -31,7 +31,7 @@
"dist"
],
"dependencies": {
"@ldo/traverser-shexj": "^1.0.0-alpha.2",
"@ldo/traverser-shexj": "^1.0.0-alpha.3",
"dts-dom": "~3.6.0",
"jsonld2graphobject": "^0.0.5"
},

@ -1,6 +1,6 @@
{
"name": "@ldo/solid-react",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.5",
"description": "A React library for LDO and Solid",
"main": "dist/index.js",
"scripts": {
@ -29,7 +29,7 @@
"@babel/core": "^7.26.10",
"@babel/preset-env": "^7.26.9",
"@inrupt/jest-jsdom-polyfills": "^3.2.6",
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/types": "^1.0.1",
"@testing-library/react": "^14.1.2",
"babel-jest": "^29.7.0",
@ -40,9 +40,10 @@
"whatwg-fetch": "^3.6.20"
},
"dependencies": {
"@inrupt/solid-client-authn-browser": "^2.0.0",
"@ldo/connected": "^1.0.0-alpha.2",
"@ldo/connected-solid": "^1.0.0-alpha.2",
"@inrupt/solid-client-authn-browser": "2.3.0",
"@ldo/connected": "^1.0.0-alpha.3",
"@ldo/connected-solid": "^1.0.0-alpha.3",
"@ldo/react": "^1.0.0-alpha.3",
"@rdfjs/data-model": "^1.2.0",
"cross-fetch": "^3.1.6"
},

@ -1,6 +1,6 @@
{
"name": "@ldo/solid-type-index",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.5",
"description": "Solid Type Index support for LDO",
"main": "dist/index.js",
"scripts": {
@ -26,7 +26,7 @@
},
"homepage": "https://github.com/o-development/ldobjects/tree/main/packages/solid-react#readme",
"devDependencies": {
"@ldo/rdf-utils": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.3",
"@rdfjs/types": "^1.0.1",
"@testing-library/react": "^14.1.2",
"jest-environment-jsdom": "^29.7.0",
@ -34,8 +34,8 @@
"ts-node": "^10.9.2"
},
"dependencies": {
"@ldo/connected-solid": "^1.0.0-alpha.2",
"@ldo/solid-react": "^1.0.0-alpha.2"
"@ldo/connected-solid": "^1.0.0-alpha.3",
"@ldo/solid-react": "^1.0.0-alpha.5"
},
"files": [
"dist",

@ -1,6 +1,6 @@
{
"name": "@ldo/subscribable-dataset",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "An RDFJS dataset implementation that can be subscribed to for updates",
"main": "dist/index.js",
"scripts": {
@ -30,8 +30,8 @@
"ts-node": "^9.1.1"
},
"dependencies": {
"@ldo/dataset": "^1.0.0-alpha.2",
"@ldo/rdf-utils": "^1.0.0-alpha.2"
"@ldo/dataset": "^1.0.0-alpha.3",
"@ldo/rdf-utils": "^1.0.0-alpha.3"
},
"files": [
"dist",

@ -1,6 +1,6 @@
{
"name": "@ldo/traverser-shexj",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "A type-traverser for ShexJ",
"main": "dist/index.js",
"scripts": {
@ -24,7 +24,7 @@
"src"
],
"dependencies": {
"@ldo/type-traverser": "^1.0.0-alpha.2"
"@ldo/type-traverser": "^1.0.0-alpha.3"
},
"publishConfig": {
"access": "public"

@ -1,6 +1,6 @@
{
"name": "@ldo/type-traverser",
"version": "1.0.0-alpha.2",
"version": "1.0.0-alpha.3",
"description": "An organized way to traverse over objects using typescript",
"main": "dist/index.js",
"scripts": {

Loading…
Cancel
Save