jsonldjs 0.1.2 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +2 -2
- package/builder.js +1 -0
- package/config.js +1 -0
- package/esm/builder.js +1 -0
- package/esm/config.js +1 -0
- package/package.json +12 -11
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2025
|
|
3
|
+
Copyright (c) 2025 Interweb, Inc. <developers@interweb.co>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -388,8 +388,8 @@ const result = createJsonLdBuilder()
|
|
|
388
388
|
1. Clone the repository:
|
|
389
389
|
|
|
390
390
|
```bash
|
|
391
|
-
git clone https://github.com/hyperweb-io/
|
|
392
|
-
cd jsonld-tools
|
|
391
|
+
git clone https://github.com/hyperweb-io/dev-utils.git
|
|
392
|
+
cd dev-utils/packages/jsonld-tools
|
|
393
393
|
```
|
|
394
394
|
|
|
395
395
|
2. Install dependencies:
|
package/builder.js
CHANGED
|
@@ -16,6 +16,7 @@ const builder_utils_1 = require("./builder-utils");
|
|
|
16
16
|
* Mutable builder class that extends config builder with automatic method delegation
|
|
17
17
|
*/
|
|
18
18
|
class JsonLdBuilder extends config_1.JsonLdConfigBuilder {
|
|
19
|
+
currentGraph;
|
|
19
20
|
constructor(initialConfig = {}) {
|
|
20
21
|
super(initialConfig);
|
|
21
22
|
}
|
package/config.js
CHANGED
package/esm/builder.js
CHANGED
|
@@ -12,6 +12,7 @@ import { applyPopulateConfig, buildPropertyFilterConfig, filterJsonLdGraph, vali
|
|
|
12
12
|
* Mutable builder class that extends config builder with automatic method delegation
|
|
13
13
|
*/
|
|
14
14
|
export class JsonLdBuilder extends JsonLdConfigBuilder {
|
|
15
|
+
currentGraph;
|
|
15
16
|
constructor(initialConfig = {}) {
|
|
16
17
|
super(initialConfig);
|
|
17
18
|
}
|
package/esm/config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsonldjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "JSON-LD Tooling",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
|
-
"homepage": "https://github.com/hyperweb-io/
|
|
7
|
-
"license": "
|
|
6
|
+
"homepage": "https://github.com/hyperweb-io/dev-utils",
|
|
7
|
+
"license": "MIT",
|
|
8
8
|
"main": "index.js",
|
|
9
9
|
"module": "esm/index.js",
|
|
10
10
|
"types": "index.d.ts",
|
|
@@ -14,21 +14,22 @@
|
|
|
14
14
|
},
|
|
15
15
|
"repository": {
|
|
16
16
|
"type": "git",
|
|
17
|
-
"url": "https://github.com/hyperweb-io/
|
|
17
|
+
"url": "https://github.com/hyperweb-io/dev-utils"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
20
20
|
"jsonld-tools"
|
|
21
21
|
],
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/hyperweb-io/jsonld-tools/issues"
|
|
24
|
-
},
|
|
25
22
|
"scripts": {
|
|
26
|
-
"copy": "
|
|
23
|
+
"copy": "cpy ../../LICENSE README.md package.json dist --flat",
|
|
27
24
|
"clean": "rimraf dist",
|
|
25
|
+
"prepublishOnly": "pnpm run build",
|
|
28
26
|
"build": "pnpm run clean && tsc && tsc -p tsconfig.esm.json && pnpm run copy",
|
|
29
|
-
"build:dev": "pnpm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && pnpm run copy",
|
|
30
27
|
"test": "jest",
|
|
31
28
|
"test:watch": "jest --watch",
|
|
32
29
|
"test:debug": "node --inspect node_modules/.bin/jest --runInBand"
|
|
33
|
-
}
|
|
34
|
-
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/hyperweb-io/dev-utils/issues"
|
|
33
|
+
},
|
|
34
|
+
"gitHead": "361c37cf04737fd8d5917bac54834558e62b2e15"
|
|
35
|
+
}
|