@_linked/core 1.0.0-next.20260225020512 → 1.0.0-next.20260226091604
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/README.md +14 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -17,6 +17,20 @@ Linked core gives you a type-safe, schema-parameterized query language and SHACL
|
|
|
17
17
|
npm install @_linked/core
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
## Repository setup (contributors)
|
|
21
|
+
|
|
22
|
+
After cloning this repository, run:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm install
|
|
26
|
+
npm run setup
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
`npm run setup` syncs `docs/agents` into local folders for agent tooling:
|
|
30
|
+
|
|
31
|
+
- `.claude/agents`
|
|
32
|
+
- `.agents/agents`
|
|
33
|
+
|
|
20
34
|
```typescript
|
|
21
35
|
import {Shape, LinkedStorage} from '@_linked/core';
|
|
22
36
|
import {linkedPackage} from '@_linked/core/utils/Package';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_linked/core",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.20260226091604",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Linked.js core query and SHACL shape DSL (copy-then-prune baseline)",
|
|
6
6
|
"repository": {
|
|
@@ -42,6 +42,8 @@
|
|
|
42
42
|
"build": "npx rimraf ./lib && npx tsc -p tsconfig-cjs.json && npx tsc -p tsconfig-esm.json && node ./scripts/dual-package.js",
|
|
43
43
|
"compile": "echo '💫 Compiling CJS' && npx tsc -p tsconfig-cjs.json && echo '💫 Compiling ESM' && npx tsc -p tsconfig-esm.json",
|
|
44
44
|
"dual-package": "node ./scripts/dual-package.js",
|
|
45
|
+
"sync:agents": "node ./scripts/sync-agents.mjs",
|
|
46
|
+
"setup": "npm run sync:agents",
|
|
45
47
|
"test": "npx jest --config jest.config.js"
|
|
46
48
|
},
|
|
47
49
|
"devDependencies": {
|