@omerikanec/api-client-demo 5.0.1 → 6.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.
- package/CHANGELOG.md +34 -0
- package/package.json +6 -2
- package/postinstall.cjs +31 -0
package/CHANGELOG.md
CHANGED
|
@@ -87,6 +87,40 @@
|
|
|
87
87
|
|
|
88
88
|
## Unreleased (2026-06-21)
|
|
89
89
|
|
|
90
|
+
### Features & Changes
|
|
91
|
+
|
|
92
|
+
- Path added: /api/activity-feed/
|
|
93
|
+
|
|
94
|
+
### 🖥 Frontend Impact
|
|
95
|
+
|
|
96
|
+
**3** artifacts affected: 1 types, 1 endpoints, 1 hooks
|
|
97
|
+
|
|
98
|
+
**Added:**
|
|
99
|
+
- `useActivity_feed_retrieve` (hook)
|
|
100
|
+
- `activity_feed_retrieve` (endpoint)
|
|
101
|
+
- `Activity_feed_retrieveResponse` (type)
|
|
102
|
+
|
|
103
|
+
> Suggested version bump: **minor**
|
|
104
|
+
|
|
105
|
+
## Unreleased (2026-06-21)
|
|
106
|
+
|
|
107
|
+
### ⚠ Breaking Changes
|
|
108
|
+
|
|
109
|
+
- Path removed: /api/activity-feed/
|
|
110
|
+
|
|
111
|
+
### 🖥 Frontend Impact
|
|
112
|
+
|
|
113
|
+
**3** artifacts affected: 1 types, 1 endpoints, 1 hooks
|
|
114
|
+
|
|
115
|
+
**Breaking:**
|
|
116
|
+
- `useActivity_feed_retrieve` (hook)
|
|
117
|
+
- `activity_feed_retrieve` (endpoint)
|
|
118
|
+
- `Activity_feed_retrieveResponse` (type)
|
|
119
|
+
|
|
120
|
+
> Suggested version bump: **major**
|
|
121
|
+
|
|
122
|
+
## Unreleased (2026-06-21)
|
|
123
|
+
|
|
90
124
|
### ⚠ Breaking Changes
|
|
91
125
|
|
|
92
126
|
- GET /api/activity-feed/: response '201' removed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omerikanec/api-client-demo",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Auto-generated typed API client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"dist",
|
|
22
22
|
"impact-report.json",
|
|
23
23
|
"impact-report.html",
|
|
24
|
-
"CHANGELOG.md"
|
|
24
|
+
"CHANGELOG.md",
|
|
25
|
+
"postinstall.cjs"
|
|
25
26
|
],
|
|
26
27
|
"publishConfig": {
|
|
27
28
|
"registry": "https://registry.npmjs.org",
|
|
@@ -30,6 +31,9 @@
|
|
|
30
31
|
"engines": {
|
|
31
32
|
"node": ">=18"
|
|
32
33
|
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"postinstall": "node postinstall.cjs"
|
|
36
|
+
},
|
|
33
37
|
"peerDependencies": {
|
|
34
38
|
"@tanstack/react-query": ">=4.0.0",
|
|
35
39
|
"react": ">=17.0.0"
|
package/postinstall.cjs
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
try {
|
|
3
|
+
const path = require('node:path');
|
|
4
|
+
const pkgDir = __dirname;
|
|
5
|
+
const htmlReport = path.join(pkgDir, 'impact-report.html');
|
|
6
|
+
const jsonReport = path.join(pkgDir, 'impact-report.json');
|
|
7
|
+
const changelog = path.join(pkgDir, 'CHANGELOG.md');
|
|
8
|
+
|
|
9
|
+
const lines = [];
|
|
10
|
+
lines.push('');
|
|
11
|
+
lines.push(' ⚠ @omerikanec/api-client-demo@new — BREAKING CHANGES');
|
|
12
|
+
lines.push('');
|
|
13
|
+
lines.push(' 3 frontend artifact(s) affected:');
|
|
14
|
+
lines.push(' ✗ hook: useActivity_feed_retrieve');
|
|
15
|
+
lines.push(' ✗ endpoint: activity_feed_retrieve');
|
|
16
|
+
lines.push(' ✗ type: Activity_feed_retrieveResponse');
|
|
17
|
+
|
|
18
|
+
lines.push('');
|
|
19
|
+
lines.push(' Full details:');
|
|
20
|
+
lines.push(' HTML report : ' + htmlReport);
|
|
21
|
+
lines.push(' JSON report : ' + jsonReport);
|
|
22
|
+
lines.push(' Changelog : ' + changelog);
|
|
23
|
+
lines.push('');
|
|
24
|
+
lines.push(' Open the HTML report in your browser for a visual overview.');
|
|
25
|
+
lines.push('');
|
|
26
|
+
|
|
27
|
+
console.log(lines.join('\n'));
|
|
28
|
+
} catch {
|
|
29
|
+
// Best-effort warning only. Never block npm install.
|
|
30
|
+
}
|
|
31
|
+
process.exitCode = 0;
|