@_linked/org 1.1.1 → 1.1.2

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,19 @@
1
1
  # @\_linked/org
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#13](https://github.com/linked-fw/org/pull/13) [`3aac60a`](https://github.com/linked-fw/org/commit/3aac60ac4479c374a3a0d6d090b7222fdca52a22) Thanks [@flyon](https://github.com/flyon)! - Compile the whole `src` folder, and let a bare import resolve under Node10.
8
+
9
+ The build only emitted what an entry transitively reached, so any module
10
+ nothing imported was never built — and never type-checked, so it rotted
11
+ quietly. `include` now covers `src/**/*` with tests excluded explicitly.
12
+
13
+ `typesVersions` maps every specifier through `lib/esm/*`, so a `types` value
14
+ that already carried that prefix had it applied twice and no consumer on
15
+ classic Node10 resolution could `import` the package by its bare name.
16
+
3
17
  ## 1.1.1
4
18
 
5
19
  ### Patch Changes
@@ -7,7 +7,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- var _a, _b;
11
10
  import { Organization } from '@_linked/schema/shapes/Organization';
12
11
  import { Person } from '@_linked/schema/shapes/Person';
13
12
  import { Thing } from '@_linked/schema/shapes/Thing';
@@ -34,7 +33,7 @@ __decorate([
34
33
  shape: Person,
35
34
  maxCount: 1,
36
35
  }),
37
- __metadata("design:type", typeof (_a = typeof Person !== "undefined" && Person) === "function" ? _a : Object),
36
+ __metadata("design:type", Person),
38
37
  __metadata("design:paramtypes", [])
39
38
  ], Membership.prototype, "member", null);
40
39
  __decorate([
@@ -52,7 +51,7 @@ __decorate([
52
51
  shape: Organization,
53
52
  maxCount: 1,
54
53
  }),
55
- __metadata("design:type", typeof (_b = typeof Organization !== "undefined" && Organization) === "function" ? _b : Object),
54
+ __metadata("design:type", Organization),
56
55
  __metadata("design:paramtypes", [])
57
56
  ], Membership.prototype, "organization", null);
58
57
  Membership = __decorate([
@@ -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,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;kDACY,MAAM,oBAAN,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,Y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AAK,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"}
package/package.json CHANGED
@@ -10,17 +10,17 @@
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/linked-fw/org.git"
12
12
  },
13
- "version": "1.1.1",
13
+ "version": "1.1.2",
14
14
  "packageManager": "npm@11.19.1",
15
15
  "linkedPackage": true,
16
16
  "type": "module",
17
17
  "main": "lib/esm/index.js",
18
- "types": "./lib/esm/index.d.ts",
18
+ "types": "index.d.ts",
19
19
  "license": "ISC",
20
20
  "scripts": {
21
21
  "start": "npm exec linked dev",
22
22
  "build": "rimraf ./lib && npm run build-esm && npm run copy-to-lib",
23
- "build-esm": "echo \"compiling ESM\" && rimraf ./lib/esm && (tsc -p tsconfig-esm.json || echo 'tsc returned non-zero; .js still emitted via noEmitOnError default')",
23
+ "build-esm": "echo \"compiling ESM\" && rimraf ./lib/esm && tsc -p tsconfig-esm.json",
24
24
  "copy-to-lib": "echo 'copying JSON assets to lib folder' && copyfiles -u 1 'src/**/*.json' lib/esm"
25
25
  },
26
26
  "keywords": [
@@ -53,11 +53,11 @@
53
53
  }
54
54
  },
55
55
  "dependencies": {
56
- "@_linked/core": "^2.0.1",
57
- "@_linked/schema": "^1.0"
56
+ "@_linked/core": "^2.21.0",
57
+ "@_linked/schema": "^1.1.3"
58
58
  },
59
59
  "devDependencies": {
60
- "@_linked/cli": "^1.2",
60
+ "@_linked/cli": "^1.19.0",
61
61
  "@changesets/changelog-github": "^0.5.2",
62
62
  "@changesets/cli": "^2.29.8",
63
63
  "@types/node": "^22.13.14",