@_linked/org 1.1.2 → 1.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # @\_linked/org
2
2
 
3
+ ## 1.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#19](https://github.com/linked-fw/org/pull/19) [`ed27d6e`](https://github.com/linked-fw/org/commit/ed27d6e31801810b50d60c973602b92950338287) Thanks [@flyon](https://github.com/flyon)! - Sourcemaps now embed their TypeScript source, so consumers no longer see 'points to missing source files' warnings.
8
+
9
+ ## 1.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#16](https://github.com/linked-fw/org/pull/16) [`6289590`](https://github.com/linked-fw/org/commit/6289590b39d9b9370e882e4bca19942bd6639af6) Thanks [@flyon](https://github.com/flyon)! - Require `@_linked/core@^2.22.8` (was `^2.21.0`), and pin it in the lockfile.
14
+
15
+ The declared range was wide enough that the resolved core depended on whatever the
16
+ consumer — or this repo's own CI, via `package-lock.json` — happened to install. Core
17
+ decides how a shape's IRI is minted, so a stale core made this package emit legacy
18
+ `data.lincd.org` IRIs instead of the arch-02 `linked.cm` scheme. Which IRIs a published
19
+ package produces should not be a function of the installer's dependency tree.
20
+
21
+ Minor rather than patch: this raises the minimum core a consumer must resolve, so it
22
+ changes what gets installed rather than only what this package does internally.
23
+
24
+ ### Patch Changes
25
+
26
+ - [#15](https://github.com/linked-fw/org/pull/15) [`1343103`](https://github.com/linked-fw/org/commit/1343103510190d72a587d6316f1087fb0ce5462c) Thanks [@flyon](https://github.com/flyon)! - The ontology no longer registers by importing itself.
27
+
28
+ It carried `import * as _this from './<prefix>.js'` and passed that namespace to
29
+ `linkedOntology()`. Under `tsc` the self-reference survives; under a bundler it does
30
+ not — Rollup treats it as a circular import and elides it, so the binding is
31
+ `undefined` and a consuming app dies at boot with `_this is not defined`.
32
+
33
+ Registration now lives in a `<prefix>.register.ts` sibling, imported from the package
34
+ entry. Nothing changes for consumers: importing this package still registers the
35
+ ontology.
36
+
3
37
  ## 1.1.2
4
38
 
5
39
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"backend.js","sourceRoot":"","sources":["../../src/backend.ts"],"names":[],"mappings":"AAAA,gEAAgE"}
1
+ {"version":3,"file":"backend.js","sourceRoot":"","sources":["../../src/backend.ts"],"names":[],"mappings":"AAAA,gEAAgE","sourcesContent":["//import your providers here (providers only run in the backend)"]}
@@ -1,4 +1,4 @@
1
- import './ontologies/org.js';
1
+ import './ontologies/org.register.js';
2
2
  import './types.js';
3
3
  import './shapes/Membership.js';
4
4
  import './shapes/Role.js';
package/lib/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './ontologies/org.js';
1
+ import './ontologies/org.register.js';
2
2
  import './types.js';
3
3
  //SHAPES FIRST
4
4
  // import './shapes/YourShape';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,YAAY,CAAC;AAEpB,cAAc;AACd,+BAA+B;AAC/B,OAAO,wBAAwB,CAAC;AAChC,OAAO,kBAAkB,CAAC;AAE1B,iBAAiB;AACjB,sCAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AACtC,OAAO,YAAY,CAAC;AAEpB,cAAc;AACd,+BAA+B;AAC/B,OAAO,wBAAwB,CAAC;AAChC,OAAO,kBAAkB,CAAC;AAE1B,iBAAiB;AACjB,sCAAsC","sourcesContent":["import './ontologies/org.register.js';\nimport './types.js';\n\n//SHAPES FIRST\n// import './shapes/YourShape';\nimport './shapes/Membership.js';\nimport './shapes/Role.js';\n\n//THEN COMPONENTS\n// import './components/YourComponent'\n"]}
@@ -1,7 +1,4 @@
1
1
  import { createNameSpace } from '@_linked/core/utils/NameSpace';
2
- import { linkedOntology } from '../package.js';
3
- //import all the exports of this file as one variable called _this (we need this at the end)
4
- import * as _this from './org.js';
5
2
  /**
6
3
  * Load the data of this ontology into memory, thus adding the properties of the entities of this ontology to the local graph.
7
4
  */
@@ -35,6 +32,4 @@ export const org = {
35
32
  member,
36
33
  role
37
34
  };
38
- //Registers this ontology to LINCD.JS, so that data loading can be automated amongst other things
39
- linkedOntology(_this, ns, 'org', loadData, '../data/lincd-org.json');
40
35
  //# sourceMappingURL=org.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"org.js","sourceRoot":"","sources":["../../../src/ontologies/org.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAC7C,4FAA4F;AAC5F,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAElC;;GAEG;AACH,MAAM,CAAC,IAAI,QAAQ,GAAG,KAAK,IAAI,EAAE;IAC/B,YAAY;IACZ,OAAO,MAAM,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AACnG,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,IAAI,EAAE,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AAE7D;;GAEG;AACH,MAAM,CAAC,IAAI,KAAK,GAAuB,EAAE,CAAC,EAAE,CAAC,CAAC;AAE9C,kGAAkG;AAClG,MAAM,CAAC,IAAI,UAAU,GAAuB,EAAE,CAAC,YAAY,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,IAAI,GAAuB,EAAE,CAAC,MAAM,CAAC,CAAC;AACjD,MAAM,CAAC,IAAI,aAAa,GAAuB,EAAE,CAAC,eAAe,CAAC,CAAC;AACnE,MAAM,CAAC,IAAI,YAAY,GAAuB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E,CAAC,eAAe,CAAC,CAAC;AACnE,MAAM,CAAC,IAAI,YAAY,GAAuB,EAAE,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,CAAC,IAAI,YAAY,GAAuB,EAAE,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,CAAC,IAAI,MAAM,GAAuB,EAAE,CAAC,QAAQ,CAAC,CAAC;AACrD,MAAM,CAAC,IAAI,IAAI,GAAuB,EAAE,CAAC,MAAM,CAAC,CAAC;AAEjD,mFAAmF;AACnF,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,UAAU;IACV,IAAI;IACJ,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,MAAM;IACN,IAAI;CACL,CAAC","sourcesContent":["import type {NodeReferenceValue} from '@_linked/core/utils/NodeReference';\nimport {createNameSpace} from '@_linked/core/utils/NameSpace';\n\n/**\n * Load the data of this ontology into memory, thus adding the properties of the entities of this ontology to the local graph.\n */\nexport var loadData = async () => {\n //@ts-ignore\n return import('../data/lincd-org.json', { with: { type: 'json' } }).then((data) => data.default);\n};\n\n/**\n * The namespace of this ontology, which can be used to create NamedNodes with URI's not listed in this file\n */\nexport var ns = createNameSpace('http://www.w3.org/ns/org#');\n\n/**\n * The NamedNode of the ontology itself\n */\nexport var _self: NodeReferenceValue = ns('');\n\n//A list of all the entities (Classes & Properties) of this ontology, each exported as a NamedNode\nexport var Membership: NodeReferenceValue = ns('Membership');\nexport var Role: NodeReferenceValue = ns('Role');\nexport var hasMembership: NodeReferenceValue = ns('hasMembership');\nexport var Organization: NodeReferenceValue = ns('Organization');\nexport var organization: NodeReferenceValue = ns('organization');\nexport var member: NodeReferenceValue = ns('member');\nexport var role: NodeReferenceValue = ns('role');\n\n//An extra grouping object so all the entities can be accessed from the prefix/name\nexport const org = {\n Membership,\n Role,\n hasMembership,\n Organization,\n organization,\n member,\n role\n};\n\n"]}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Registers this ontology.
3
+ *
4
+ * Kept out of `org.ts` because registration needs that module's whole export
5
+ * namespace, and a module cannot import itself once a bundler is involved: Rollup
6
+ * treats a static self-reference as a circular import and elides it, so the binding is
7
+ * undefined at runtime and the consuming app dies at boot with `_this is not
8
+ * defined`. `tsc` preserves it, which is why the pattern survived for as long as
9
+ * packages were built with `tsc` alone.
10
+ *
11
+ * From a sibling module the same import is ordinary and survives.
12
+ */
13
+ import * as terms from './org.js';
14
+ import { loadData, ns } from './org.js';
15
+ import { linkedOntology } from '../package.js';
16
+ linkedOntology(terms, ns, 'org', loadData, '../data/lincd-org.json');
17
+ //# sourceMappingURL=org.register.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"org.register.js","sourceRoot":"","sources":["../../../src/ontologies/org.register.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAE,EAAE,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,cAAc,EAAC,MAAM,eAAe,CAAC;AAE7C,cAAc,CAAC,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,wBAAwB,CAAC,CAAC","sourcesContent":["/**\n * Registers this ontology.\n *\n * Kept out of `org.ts` because registration needs that module's whole export\n * namespace, and a module cannot import itself once a bundler is involved: Rollup\n * treats a static self-reference as a circular import and elides it, so the binding is\n * undefined at runtime and the consuming app dies at boot with `_this is not\n * defined`. `tsc` preserves it, which is why the pattern survived for as long as\n * packages were built with `tsc` alone.\n *\n * From a sibling module the same import is ordinary and survives.\n */\nimport * as terms from './org.js';\nimport {loadData, ns} from './org.js';\nimport {linkedOntology} from '../package.js';\n\nlinkedOntology(terms, ns, 'org', loadData, '../data/lincd-org.json');\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAC;AAE1D,MAAM,CAAC,MAAM,EACX,WAAW,EACX,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,WAAW,EACX,eAAe,EAEhB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"package.js","sourceRoot":"","sources":["../../src/package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAC;AAE1D,MAAM,CAAC,MAAM,EACX,WAAW,EACX,UAAU,EACV,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,WAAW,EACX,eAAe,EAEhB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC","sourcesContent":["import {linkedPackage} from '@_linked/core/utils/Package';\n\nexport const {\n linkedShape,\n linkedUtil,\n linkedOntology,\n registerPackageExport,\n packageExports,\n packageName,\n getPackageShape\n\n} = linkedPackage('@_linked/org');\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Membership.js","sourceRoot":"","sources":["../../../src/shapes/Membership.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAErD,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAG1B,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,KAAK;IAGnC,IAKI,MAAM;QACR,OAAO,SAAgB,CAAC;IAC1B,CAAC;IAED,IAKI,IAAI;QACN,OAAO,SAAgB,CAAC;IAC1B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3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAG1B,IAAM,UAAU,GAAhB,MAAM,UAAW,SAAQ,KAAK;IAGnC,IAKI,MAAM;QACR,OAAO,SAAgB,CAAC;IAC1B,CAAC;IAED,IAKI,IAAI;QACN,OAAO,SAAgB,CAAC;IAC1B,CAAC;IAED,IAKI,YAAY;QACd,OAAO,SAAgB,CAAC;IAC1B,CAAC;;AA3BM,sBAAW,GAAG,GAAG,CAAC,UAAU,AAAjB,CAAkB;AAEpC;IAAC,cAAc,CAAC;QACd,IAAI,EAAE,GAAG,CAAC,MAAM;QAChB,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,CAAC;KACZ,CAAC;8BACY,MAAM;;wCAEnB;AAED;IAAC,cAAc,CAAC;QACd,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,CAAC;KACZ,CAAC;8BACU,IAAI;;sCAEf;AAED;IAAC,cAAc,CAAC;QACd,IAAI,EAAE,GAAG,CAAC,YAAY;QACtB,KAAK,EAAE,YAAY;QACnB,QAAQ,EAAE,CAAC;KACZ,CAAC;8BACkB,YAAY;;8CAE/B;AA5BU,UAAU;IADtB,WAAW;GACC,UAAU,CA6BtB;;AAED,uCAAuC;AACvC,mBAAmB,CACjB;IACE,IAAI,EAAE,GAAG,CAAC,aAAa;IACvB,KAAK,EAAE,UAAU;CAClB,EACD,aAAa,EACb,KAAK,CAAC,GAAG,EACT,MAAM,CACP,CAAC;AAOF,sFAAsF;AACtF,iFAAiF;AACjF,0FAA0F;AAC1F,iFAAiF;AACjF,4FAA4F;AAC5F,2CAA2C","sourcesContent":["import { Organization } from '@_linked/schema/shapes/Organization';\nimport { Person } from '@_linked/schema/shapes/Person';\nimport { Thing } from '@_linked/schema/shapes/Thing';\nimport { ShapeSet } from '@_linked/core/collections/ShapeSet';\nimport { shacl } from '@_linked/core/ontologies/shacl';\nimport { createPropertyShape, objectProperty } from '@_linked/core/shapes/SHACL';\nimport { org } from '../ontologies/org.js';\nimport { linkedShape } from '../package.js';\nimport { Role } from './Role.js';\n\n@linkedShape\nexport class Membership extends Thing {\n static targetClass = org.Membership;\n\n @objectProperty({\n path: org.member,\n shape: Person,\n maxCount: 1,\n })\n get member(): Person {\n return undefined as any;\n }\n\n @objectProperty({\n path: org.role,\n shape: Role,\n maxCount: 1,\n })\n get role(): Role {\n return undefined as any;\n }\n\n @objectProperty({\n path: org.organization,\n shape: Organization,\n maxCount: 1,\n })\n get organization(): Organization {\n return undefined as any;\n }\n}\n\n//Support person.memberships in queries\ncreatePropertyShape(\n {\n path: org.hasMembership,\n shape: Membership,\n },\n 'memberships',\n shacl.IRI,\n Person\n);\ndeclare module '@_linked/schema/shapes/Person' {\n interface Person {\n readonly memberships: ShapeSet<Membership>;\n }\n}\n\n// A person → organization sequence path (org:hasMembership / org:organization) is now\n// resolvable by core (plan-012), but Workspace-by-member queries use the inverse\n// `Workspace.memberships` ({inv: org.organization}) instead, so no `Person.organizations`\n// property is needed here. Add one if a forward person→orgs traversal is wanted:\n// createPropertyShape({path: [org.hasMembership, org.organization], shape: Organization},\n// 'organizations', shacl.IRI, Person);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../src/shapes/Role.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAG9C,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,KAAK;;AACtB,gBAAW,GAAG,GAAG,CAAC,IAAI,AAAX,CAAY;AADnB,IAAI;IADhB,WAAW;GACC,IAAI,CAEhB"}
1
+ {"version":3,"file":"Role.js","sourceRoot":"","sources":["../../../src/shapes/Role.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAG9C,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,KAAK;;AACtB,gBAAW,GAAG,GAAG,CAAC,IAAI,AAAX,CAAY;AADnB,IAAI;IADhB,WAAW;GACC,IAAI,CAEhB","sourcesContent":["import {linkedShape} from '../package.js';\nimport { org } from '../ontologies/org.js';\nimport { Thing } from '@_linked/schema/shapes/Thing';\n\n@linkedShape\nexport class Role extends Thing {\n static targetClass = org.Role;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"","sourcesContent":["declare module '*.module.css' {\n const classes: {[key: string]: string};\n export default classes;\n}\n\ndeclare module '*.module.scss' {\n const classes: {[key: string]: string};\n export default classes;\n}\n"]}
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/linked-fw/org.git"
12
12
  },
13
- "version": "1.1.2",
13
+ "version": "1.2.1",
14
14
  "packageManager": "npm@11.19.1",
15
15
  "linkedPackage": true,
16
16
  "type": "module",
@@ -53,7 +53,7 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@_linked/core": "^2.21.0",
56
+ "@_linked/core": "^2.22.8",
57
57
  "@_linked/schema": "^1.1.3"
58
58
  },
59
59
  "devDependencies": {