Skip to content

Commit 0017c1a

Browse files
authored
chore(deps): remove @vscode/ripgrep (#13226)
1 parent 2baf9bd commit 0017c1a

File tree

10 files changed

+2
-68
lines changed

10 files changed

+2
-68
lines changed

.github/workflows/developing.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ jobs:
2121
node-version-file: ".nvmrc"
2222
cache: yarn
2323

24-
- name: Cache @vscode/ripgrep bin
25-
uses: actions/cache@v4
26-
with:
27-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
28-
path: node_modules/@vscode/ripgrep/bin/
29-
3024
- name: Install all yarn packages
3125
run: yarn --frozen-lockfile
3226
env:

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ jobs:
3030
node-version-file: ".nvmrc"
3131
registry-url: "https://registry.npmjs.org"
3232

33-
- name: Cache @vscode/ripgrep bin
34-
uses: actions/cache@v4
35-
if: steps.release.outputs.release_created
36-
with:
37-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
38-
path: node_modules/@vscode/ripgrep/bin/
39-
4033
- name: Install
4134
if: steps.release.outputs.release_created
4235
run: yarn --frozen-lockfile

.github/workflows/npm-published-simulation.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ jobs:
2626
node-version-file: ".nvmrc"
2727
cache: "yarn"
2828

29-
- name: Cache @vscode/ripgrep bin
30-
uses: actions/cache@v4
31-
with:
32-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
33-
path: node_modules/@vscode/ripgrep/bin/
34-
3529
- name: Install all yarn packages
3630
run: yarn --frozen-lockfile
3731
env:

.github/workflows/performance.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ jobs:
3030
node-version-file: ".nvmrc"
3131
cache: yarn
3232

33-
- name: Cache @vscode/ripgrep bin
34-
uses: actions/cache@v4
35-
with:
36-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
37-
path: node_modules/@vscode/ripgrep/bin/
38-
3933
- name: Install all yarn packages
4034
run: yarn --frozen-lockfile
4135
env:

.github/workflows/pr-bundlesize-compare.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ jobs:
2222
node-version-file: ".nvmrc"
2323
cache: yarn
2424

25-
- name: Cache @vscode/ripgrep bin
26-
uses: actions/cache@v4
27-
with:
28-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
29-
path: node_modules/@vscode/ripgrep/bin/
30-
3125
- name: Install all yarn packages
3226
run: yarn --frozen-lockfile
3327
env:
@@ -63,12 +57,6 @@ jobs:
6357
node-version-file: ".nvmrc"
6458
cache: yarn
6559

66-
- name: Cache @vscode/ripgrep bin
67-
uses: actions/cache@v4
68-
with:
69-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
70-
path: node_modules/@vscode/ripgrep/bin/
71-
7260
- name: Install all yarn packages
7361
run: yarn --frozen-lockfile
7462
env:

.github/workflows/pr-kumascript.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ jobs:
3131
node-version-file: ".nvmrc"
3232
cache: yarn
3333

34-
- name: Cache @vscode/ripgrep bin
35-
uses: actions/cache@v4
36-
with:
37-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
38-
path: node_modules/@vscode/ripgrep/bin/
39-
4034
- name: Install all yarn packages
4135
run: yarn --frozen-lockfile
4236
env:

.github/workflows/testing.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ jobs:
2626
client/pwa/yarn.lock
2727
libs/**/*.js
2828
29-
- name: Cache @vscode/ripgrep bin
30-
uses: actions/cache@v4
31-
with:
32-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
33-
path: node_modules/@vscode/ripgrep/bin/
34-
3529
- name: Install all yarn packages (ROOT)
3630
run: yarn --frozen-lockfile
3731
env:
@@ -66,12 +60,6 @@ jobs:
6660
node-version-file: ".nvmrc"
6761
cache: yarn
6862

69-
- name: Cache @vscode/ripgrep bin
70-
uses: actions/cache@v4
71-
with:
72-
key: vscode-ripgrep-bin-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('yarn.lock') }}
73-
path: node_modules/@vscode/ripgrep/bin/
74-
7563
- name: Install all yarn packages
7664
run: yarn --frozen-lockfile
7765
env:

build/utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import imageminPngquant from "imagemin-pngquant";
1212
import imageminMozjpeg from "imagemin-mozjpeg";
1313
import imageminGifsicle from "imagemin-gifsicle";
1414
import imageminSvgo from "imagemin-svgo";
15-
import { rgPath } from "@vscode/ripgrep";
1615
import sanitizeFilename from "sanitize-filename";
1716

1817
import {
@@ -319,7 +318,7 @@ export function findPostFileBySlug(slug: string): string | null {
319318
return null;
320319
}
321320
try {
322-
const { stdout, stderr, status } = spawnSync(rgPath, [
321+
const { stdout, stderr, status } = spawnSync("rg", [
323322
"-il",
324323
`slug: ${slug}`,
325324
BLOG_ROOT,

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@
9393
"@sentry/node": "^8.55.0",
9494
"@stripe/stripe-js": "^7.4.0",
9595
"@use-it/interval": "^1.0.0",
96-
"@vscode/ripgrep": "^1.15.13",
9796
"@webref/css": "^6.17.5",
9897
"accept-language-parser": "^1.5.0",
9998
"async": "^3.2.6",

yarn.lock

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4229,15 +4229,6 @@
42294229
resolved "https://registry.yarnpkg.com/@use-it/interval/-/interval-1.0.0.tgz#c42c68f22ca29a0dc929041746373d94496d2b3a"
42304230
integrity sha512-WQFcnSt/xM/mS8ZtJ0ut5lhPrl+V0HDPPcI/J0eUClsfiD+/r8A7IeW/pVcfpSVGWRmN3+WnjNteWuKyWs2WZg==
42314231

4232-
"@vscode/ripgrep@^1.15.13":
4233-
version "1.15.13"
4234-
resolved "https://registry.yarnpkg.com/@vscode/ripgrep/-/ripgrep-1.15.13.tgz#e8f7c8782b2fafa32069826cb970f86b0f31b92e"
4235-
integrity sha512-c62On5sLEIMv9yfetIZ8c0Mg0s6lvq54G0YLW2zY/XiPsJPyBBgrP54MR1s0hK3gsPy423cY+e2BDU6mOB2Yaw==
4236-
dependencies:
4237-
https-proxy-agent "^7.0.2"
4238-
proxy-from-env "^1.1.0"
4239-
yauzl "^2.9.2"
4240-
42414232
"@vscode/web-custom-data@^0.4.2":
42424233
version "0.4.12"
42434234
resolved "https://registry.yarnpkg.com/@vscode/web-custom-data/-/web-custom-data-0.4.12.tgz#11026146d58d82f6dcf543e1e155a288c2b5c9e9"
@@ -16857,7 +16848,7 @@ yargs@^17.3.1, yargs@^17.7.2:
1685716848
y18n "^5.0.5"
1685816849
yargs-parser "^21.1.1"
1685916850

16860-
yauzl@^2.10.0, yauzl@^2.4.2, yauzl@^2.9.2:
16851+
yauzl@^2.10.0, yauzl@^2.4.2:
1686116852
version "2.10.0"
1686216853
resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"
1686316854
integrity sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==

0 commit comments

Comments
 (0)