Skip to content

Commit ea3a537

Browse files
committed
fix #27
1 parent 3a7d974 commit ea3a537

File tree

4 files changed

+3892
-3337
lines changed

4 files changed

+3892
-3337
lines changed

packages/vscode/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@
9191
},
9292
"scripts": {
9393
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
94-
"postinstall": "patch-package",
9594
"esbuild-base": "rimraf out && esbuild ./src/extension.ts --bundle --outdir=out --external:vscode --format=cjs --platform=node",
9695
"build": "npm run -S esbuild-base -- --sourcemap",
9796
"watch": "npm run -S esbuild-base -- --sourcemap --watch",
@@ -113,12 +112,11 @@
113112
"eslint": "^8.9.0",
114113
"glob": "^7.2.0",
115114
"mocha": "^9.2.1",
116-
"patch-package": "^6.4.7",
117115
"typescript": "^4.5.5",
118116
"rimraf": "^3.0.2"
119117
},
120118
"dependencies": {
121119
"pbts": "^4.0.7",
122-
"copy-paste": "1.3.0"
120+
"@brandonxiang/copy-paste": "1.5.4"
123121
}
124122
}

packages/vscode/patches/copy-paste+1.3.0.patch

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/vscode/src/utils/lib.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { window } from "vscode";
2-
import * as copyPaste from "copy-paste";
2+
//@ts-ignore
3+
import * as copyPaste from "@brandonxiang/copy-paste";
34

45

56
export function getClipboardText() {

0 commit comments

Comments
 (0)