Skip to content

Commit f35f101

Browse files
authored
Use upstream ctrlc-windows dependency (#369)
1 parent 3549337 commit f35f101

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

.vscodeignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.vscode-test/**
33
out/**
44
node_modules/**
5-
!node_modules/@arm-debug/ctrlc-windows
5+
!node_modules/ctrlc-windows
66
src/**
77
.gitignore
88
.gitattributes
@@ -19,4 +19,4 @@ vsc-extension-quickstart.md
1919
**/.vscode-test.*
2020
*.vsix
2121
__mocks__
22-
test-workspace/**
22+
test-workspace/**
File renamed without changes.

package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,10 +337,10 @@
337337
]
338338
},
339339
"dependencies": {
340-
"@arm-debug/ctrlc-windows": "3.0.1",
341340
"@arm-debug/vscode-telemetry": "^3.0.0",
342341
"@vscode/codicons": "^0.0.36",
343342
"@vscode/webview-ui-toolkit": "^1.4.0",
343+
"ctrlc-windows": "2.2.0",
344344
"os-browserify": "^0.3.0",
345345
"primereact": "^10.8.3",
346346
"react": "~18.3.1",

src/node/process.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { ctrlc } from '@arm-debug/ctrlc-windows';
17+
import { ctrlc } from 'ctrlc-windows';
1818
import { logger } from '../logging/logger';
1919
import { exec } from './process';
2020
import { CancellationTokenSource } from 'vscode';

src/node/process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import { ExecException, ProcessEnvOptions, exec as cpExec } from 'child_process';
1818
import { CancellationToken } from 'vscode';
1919
import { logger } from '../logging/logger';
20-
import { ctrlc } from '@arm-debug/ctrlc-windows';
20+
import { ctrlc } from 'ctrlc-windows';
2121

2222
export type ExecResult = {
2323
stdout: string;

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const common = {
2828
externals: {
2929
// modules added here also need to be added in the .vscodeignore file
3030
vscode: 'commonjs vscode', // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
31-
'@arm-debug/ctrlc-windows': 'commonjs @arm-debug/ctrlc-windows',
31+
'ctrlc-windows': 'commonjs ctrlc-windows',
3232
},
3333
resolve: {
3434
extensions: ['.tsx', '.ts', '.js'],

0 commit comments

Comments
 (0)