@curviate/cli 0.3.0 → 0.4.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/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,17 @@ a new command or flag is a minor; a breaking command/flag/exit-code change is a
|
|
|
8
8
|
|
|
9
9
|
## [Unreleased]
|
|
10
10
|
|
|
11
|
+
## [0.4.0] - 2026-06-28
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `profile me` slim now includes `current_position` (synthesized from `work_experience[0]`
|
|
16
|
+
when `--sections experience` is passed), achieving parity with `profile <id>` slim.
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- `repository.url` in `package.json` normalized to the npm-canonical `git+https://` prefix.
|
|
21
|
+
|
|
11
22
|
## [0.3.0] - 2026-06-28
|
|
12
23
|
|
|
13
24
|
### Added
|
|
@@ -33,6 +33,8 @@ function slimProfileMe(data) {
|
|
|
33
33
|
mailbox_id: org["mailbox_id"] ?? null,
|
|
34
34
|
name: org["name"] ?? null
|
|
35
35
|
}));
|
|
36
|
+
const rawWE = Array.isArray(d["work_experience"]) ? d["work_experience"] : [];
|
|
37
|
+
const currentPosition = synthesizeCurrentPosition(rawWE);
|
|
36
38
|
return {
|
|
37
39
|
provider_id: d["provider_id"] ?? null,
|
|
38
40
|
first_name: d["first_name"] ?? null,
|
|
@@ -42,7 +44,8 @@ function slimProfileMe(data) {
|
|
|
42
44
|
email: d["email"] ?? null,
|
|
43
45
|
occupation: d["occupation"] ?? null,
|
|
44
46
|
is_premium: d["is_premium"] ?? null,
|
|
45
|
-
organizations
|
|
47
|
+
organizations,
|
|
48
|
+
current_position: currentPosition
|
|
46
49
|
};
|
|
47
50
|
}
|
|
48
51
|
function slimProfile(data) {
|
package/dist/cli.js
CHANGED
|
@@ -139,8 +139,8 @@ var main = defineCommand({
|
|
|
139
139
|
// ---------------------------------------------------------------------------
|
|
140
140
|
// Noun groups — lazy-loaded on first invocation.
|
|
141
141
|
// ---------------------------------------------------------------------------
|
|
142
|
-
profile: () => import("./profile-
|
|
143
|
-
company: () => import("./company-
|
|
142
|
+
profile: () => import("./profile-KVTWLH7X.js").then((m) => m.profileCommand),
|
|
143
|
+
company: () => import("./company-FHNHF2WQ.js").then((m) => m.companyCommand),
|
|
144
144
|
connect: () => import("./connect-LRYVZCN6.js").then((m) => m.connectCommand),
|
|
145
145
|
search: () => import("./search-ZPGKDJIT.js").then((m) => m.searchCommand),
|
|
146
146
|
inbox: () => import("./inbox-O4ZETUIU.js").then((m) => m.inboxCommand),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@curviate/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Official command-line interface for the Curviate API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"homepage": "https://docs.curviate.com",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/curviate/cli.git"
|
|
11
|
+
"url": "git+https://github.com/curviate/cli.git"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/curviate/cli/issues"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^22.15.21",
|
|
48
48
|
"eslint": "^9.0.0",
|
|
49
|
-
"typescript-eslint": "^8.0.0",
|
|
50
49
|
"tsup": "^8.3.5",
|
|
51
50
|
"typescript": "^5.7.2",
|
|
51
|
+
"typescript-eslint": "^8.0.0",
|
|
52
52
|
"vitest": "^3.2.2"
|
|
53
53
|
}
|
|
54
54
|
}
|