@omerikanec/api-client-demo 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/package.json +2 -6
  2. package/postinstall.js +0 -29
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omerikanec/api-client-demo",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Auto-generated typed API client",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,8 +21,7 @@
21
21
  "dist",
22
22
  "impact-report.json",
23
23
  "impact-report.html",
24
- "CHANGELOG.md",
25
- "postinstall.js"
24
+ "CHANGELOG.md"
26
25
  ],
27
26
  "publishConfig": {
28
27
  "registry": "https://registry.npmjs.org",
@@ -31,9 +30,6 @@
31
30
  "engines": {
32
31
  "node": ">=18"
33
32
  },
34
- "scripts": {
35
- "postinstall": "node postinstall.js 2>/dev/null || true"
36
- },
37
33
  "peerDependencies": {
38
34
  "@tanstack/react-query": ">=4.0.0",
39
35
  "react": ">=17.0.0"
package/postinstall.js DELETED
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env node
2
- const path = require('path');
3
-
4
- try {
5
- const pkgDir = __dirname;
6
- const htmlReport = path.join(pkgDir, 'impact-report.html');
7
- const jsonReport = path.join(pkgDir, 'impact-report.json');
8
- const changelog = path.join(pkgDir, 'CHANGELOG.md');
9
-
10
- const lines = [];
11
- lines.push('');
12
- lines.push(' ⚠ @omerikanec/api-client-demo@new — BREAKING CHANGES');
13
- lines.push('');
14
- lines.push(' 3 frontend artifact(s) affected:');
15
- lines.push(' ✗ hook: useActivity_feed_retrieve');
16
- lines.push(' ✗ endpoint: activity_feed_retrieve');
17
- lines.push(' ✗ type: Activity_feed_retrieveResponse');
18
-
19
- lines.push('');
20
- lines.push(' Full details:');
21
- lines.push(' HTML report : ' + htmlReport);
22
- lines.push(' JSON report : ' + jsonReport);
23
- lines.push(' Changelog : ' + changelog);
24
- lines.push('');
25
- lines.push(' Open the HTML report in your browser for a visual overview.');
26
- lines.push('');
27
-
28
- console.log(lines.join('\n'));
29
- } catch {}