oncall-cli 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.
@@ -0,0 +1,13 @@
1
+ import { execSync } from 'child_process';
2
+
3
+ try {
4
+ execSync('patch-package', { stdio: 'ignore' });
5
+ } catch (error) {
6
+ }
7
+
8
+ console.log(`
9
+ OnCall installed.
10
+
11
+ Run:
12
+ oncall --help
13
+ to get started.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oncall-cli",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "oncall": "bin/oncall.js"
@@ -16,9 +16,9 @@
16
16
  "dev": "tsx index.tsx",
17
17
  "code-hierarchy": "tsx code_hierarchy.ts",
18
18
  "build": "tsc && npm run copy-js",
19
- "copy-js": "mkdir -p dist/helpers && cp helpers/config-helpers.js dist/helpers/config-helpers.js",
19
+ "copy-js": "mkdir -p dist/helpers && cp helpers/config-helpers.js dist/helpers/config-helpers.js && cp postinstall.js dist/postinstall.js",
20
20
  "prepublishOnly": "npm run build",
21
- "postinstall": "patch-package"
21
+ "postinstall": "node dist/postinstall.js"
22
22
  },
23
23
  "dependencies": {
24
24
  "@langchain/anthropic": "^1.3.3",