clippy-test 2.0.0 → 2.0.2

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,20 +1,7 @@
1
- import { execSync } from 'child_process';
2
- import { existsSync } from 'fs';
3
- import { join } from 'path';
4
-
5
- try {
6
- const patchPackagePath = join(process.cwd(), 'node_modules', '.bin', 'patch-package');
7
- const patchesDir = join(process.cwd(), 'patches');
8
-
9
- if (existsSync(patchPackagePath) && existsSync(patchesDir)) {
10
- execSync('patch-package', { stdio: 'ignore', timeout: 5000 });
11
- }
12
- } catch (error) {
13
- }
14
-
15
1
  console.log(`
16
- OnCall installed.
17
-
18
- Run:
19
- oncall --help
20
- to get started.`);
2
+ OnCall CLI installed successfully!
3
+
4
+ Run:
5
+ oncall --help
6
+ to get started.
7
+ `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clippy-test",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "oncall": "bin/oncall.js"
@@ -15,11 +15,11 @@
15
15
  "start": "tsx index.tsx",
16
16
  "dev": "tsx index.tsx",
17
17
  "code-hierarchy": "tsx code_hierarchy.ts",
18
- "build": "tsc && npm run copy-js && npm run clean-maps",
18
+ "postinstall": "node dist/postinstall.js",
19
+ "build": "patch-package && tsc && npm run copy-js && npm run clean-maps",
19
20
  "copy-js": "mkdir -p dist/helpers && cp helpers/config-helpers.js dist/helpers/config-helpers.js && cp postinstall.js dist/postinstall.js",
20
21
  "clean-maps": "find dist -name '*.map' -type f -delete 2>/dev/null || true",
21
- "prepublishOnly": "npm run build",
22
- "postinstall": "patch-package"
22
+ "prepublishOnly": "npm run build"
23
23
  },
24
24
  "dependencies": {
25
25
  "@langchain/anthropic": "^1.3.3",