Skip to content

Commit 615c3ba

Browse files
Merge pull request #144 from solid-contrib/tasks-0data
Tasks 0data
2 parents fbefe58 + 4ed10a3 commit 615c3ba

18 files changed

+126
-248
lines changed

tasks/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ To use this Solid Data Module you need an authenticated fetch function. In Node.
44

55
Data schemas supported:
66
* Solid OS Issue Pane
7+
* [Solid Hello World](https://hello.0data.app/solid/)
78

89
### Usage
910
Set up a typescript project, install [solid-data-module-tasks](https://www.npmjs.com/package/solid-data-module-tasks) from NPM, and create a `.env` file like this:
@@ -13,9 +14,12 @@ [email protected]
1314
SOLID_PASSWORD=...
1415
```
1516

16-
Make sure there is a Solid OS issue tracker at `trackerUrl`. You can create this through the Solid OS web interface of solidcommunity.net.
17+
Edit line 9 of `node_modules/solid-data-module-tasks/build/src/example.js` to point to a folder
18+
where you can create a Solid OS issue tracker (through the Solid OS web interface of solidcommunity.net for instance) and a 0data issue tracker through [Solid Hello World](https://hello.0data.app/solid/).
1719

18-
Then save, build and run the following TypeScript file:
20+
If you now run `node node_modules/solid-data-module-tasks/build/src/example.js` you will see a list of issues that is combined from your 0data issue tracker and your Solid OS issue tracker at that same URL.
21+
22+
You can also save, build and run the following TypeScript file:
1923
```ts
2024
import 'dotenv/config';
2125
import { v7 } from 'css-authn';

tasks/vanilla/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.env
2+
node_modules
3+
build

tasks/vanilla/build/src/fetcher.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

tasks/vanilla/build/src/fetcher.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

tasks/vanilla/build/src/fetcher.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

tasks/vanilla/build/src/jsonld.d.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

tasks/vanilla/build/src/jsonld.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

tasks/vanilla/build/src/jsonld.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

tasks/vanilla/build/src/main.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

tasks/vanilla/build/src/main.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)