@nebutra/contracts 0.1.1 → 2.0.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.
@@ -1,37 +1,47 @@
1
1
 
2
- > @nebutra/contracts@0.1.1 build /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/commerce/contracts
2
+ > @nebutra/contracts@2.0.0 build /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/commerce/contracts
3
3
  > tsup
4
4
 
5
- CLI Building entry: src/billing.ts, src/events.ts, src/identity.ts, src/index.ts, src/notifications.ts
5
+ CLI Building entry: src/admin.ts, src/billing.ts, src/events.ts, src/identity.ts, src/index.ts, src/notifications.ts, src/sleptons.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.5.1
8
8
  CLI Using tsup config: /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/commerce/contracts/tsup.config.ts
9
9
  CLI Target: es2022
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
+ ESM dist/admin.js 1.04 KB
12
13
  ESM dist/billing.js 332.00 B
13
14
  ESM dist/events.js 173.00 B
14
15
  ESM dist/identity.js 563.00 B
15
- ESM dist/index.js 2.01 KB
16
+ ESM dist/index.js 4.36 KB
17
+ ESM dist/chunk-ERZTZ3PW.js 8.13 KB
16
18
  ESM dist/chunk-NFJTVIKD.js 1.32 KB
17
19
  ESM dist/chunk-2NXI4PJM.js 565.00 B
18
20
  ESM dist/chunk-5JNQ2KAT.js 2.07 KB
19
21
  ESM dist/notifications.js 1.11 KB
20
22
  ESM dist/chunk-F4BR76CX.js 2.91 KB
23
+ ESM dist/sleptons.js 1.40 KB
24
+ ESM dist/chunk-PU65L2HQ.js 6.74 KB
25
+ ESM dist/admin.js.map 71.00 B
21
26
  ESM dist/billing.js.map 71.00 B
22
27
  ESM dist/events.js.map 71.00 B
23
28
  ESM dist/identity.js.map 71.00 B
24
29
  ESM dist/index.js.map 71.00 B
30
+ ESM dist/chunk-ERZTZ3PW.js.map 16.58 KB
25
31
  ESM dist/chunk-NFJTVIKD.js.map 2.78 KB
26
32
  ESM dist/chunk-2NXI4PJM.js.map 1.16 KB
27
33
  ESM dist/chunk-5JNQ2KAT.js.map 4.47 KB
28
34
  ESM dist/notifications.js.map 71.00 B
29
35
  ESM dist/chunk-F4BR76CX.js.map 6.05 KB
30
- ESM ⚡️ Build success in 66ms
36
+ ESM dist/sleptons.js.map 71.00 B
37
+ ESM dist/chunk-PU65L2HQ.js.map 14.02 KB
38
+ ESM ⚡️ Build success in 94ms
31
39
  DTS Build start
32
- DTS ⚡️ Build success in 25419ms
33
- DTS dist/index.d.ts 1.69 KB
40
+ DTS ⚡️ Build success in 22232ms
41
+ DTS dist/index.d.ts 3.15 KB
42
+ DTS dist/admin.d.ts 14.76 KB
34
43
  DTS dist/billing.d.ts 2.11 KB
35
44
  DTS dist/events.d.ts 1020.00 B
36
45
  DTS dist/identity.d.ts 4.03 KB
37
46
  DTS dist/notifications.d.ts 6.09 KB
47
+ DTS dist/sleptons.d.ts 21.11 KB
@@ -0,0 +1,15 @@
1
+
2
+ > @nebutra/contracts@2.0.0 test /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/commerce/contracts
3
+ > vitest run
4
+
5
+
6
+  RUN  v4.1.4 /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/commerce/contracts
7
+
8
+ ✓ src/__tests__/admin.test.ts (5 tests) 91ms
9
+ ✓ src/sleptons.test.ts (6 tests) 50ms
10
+
11
+  Test Files  2 passed (2)
12
+  Tests  11 passed (11)
13
+  Start at  02:31:07
14
+  Duration  1.49s (transform 388ms, setup 0ms, import 1.34s, tests 141ms, environment 0ms)
15
+
@@ -1,4 +1,4 @@
1
1
 
2
- > @nebutra/contracts@0.1.1 typecheck /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/commerce/contracts
2
+ > @nebutra/contracts@2.0.0 typecheck /home/runner/work/Nebutra-Sailor/Nebutra-Sailor/packages/commerce/contracts
3
3
  > tsc --noEmit
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @nebutra/contracts
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#541](https://github.com/Nebutra/Nebutra-Sailor/pull/541) [`a29746f`](https://github.com/Nebutra/Nebutra-Sailor/commit/a29746fdd9eabdfb9c1692a2dc43fc7d5810779c) Thanks [@TsekaLuk](https://github.com/TsekaLuk)! - Sleptons résumé R0: schema, storage, and owner read/write.
8
+ - `@nebutra/contracts/sleptons` — `ResumeContentV1Schema` (the structured "track record" attached to a member profile), `ResumeWriteSchema`, `ResumeDerivedSchema`. Additive subpath export; nothing else in the package changes.
9
+ - `@nebutra/db` — `SleptonsResume` model + `ResumeLang` enum (migration `20260907000000_sleptons_resume`), 1:1 on `sleptons_member_profiles`, cascade delete. Not tenant-scoped, same as the other Sleptons tables.
10
+ - `@nebutra/sleptons` — `GET/PUT /api/resume` for the signed-in member: validate → derive (`headline`, `skills_flat`, `highlights`, `years_active`, `completeness`) → upsert. Plus a one-time importer for legacy CVise JSON exports.
11
+
12
+ Spec: `docs/superpowers/specs/2026-09-07-sleptons-resume-system-design.md`.
13
+
14
+ ## 0.1.2
15
+
16
+ ### Patch Changes
17
+
18
+ - Ship the MIT LICENSE file these packages have always declared but never included.
19
+
20
+ Every one of these declares `"license": "MIT"` in its manifest, and npm shows
21
+ that on the registry page — but the tarball carried no licence text at all.
22
+ MIT's own terms require the notice to accompany "all copies or substantial
23
+ portions of the Software", so a consumer vendoring one of these packages had
24
+ nothing to comply with.
25
+
26
+ No code changes. This is the licence text only, published so the tarballs
27
+ match what the manifests have been claiming.
28
+
29
+ `tests/architecture/release-surface.test.ts` now asserts the LICENSE _file_
30
+ exists and is MIT, not just the manifest _field_ — the field-only check is how
31
+ this went unnoticed, and is also how `create-sailor` shipped the full AGPL-3.0
32
+ text under an MIT declaration for its entire published history.
33
+
3
34
  ## 0.1.1
4
35
 
5
36
  ### Patch Changes