Skip to content

Commit cdccf3b

Browse files
committed
Setting up rimraf lib
1 parent f7699c8 commit cdccf3b

2 files changed

Lines changed: 71 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
"private": false,
88
"scripts": {
99
"build": "tsc",
10+
"clean": "rimraf lib",
1011
"test": "npm run mocha test/ test2/",
11-
"prepare": "npm run build && npm run test",
12+
"prepare": "npm run clean && npm run build && npm run test",
1213
"mocha": "set NODE_ENV=test && mocha",
1314
"dr": "npm publish --dry-run"
1415
},
@@ -19,6 +20,7 @@
1920
"@types/node": "^22.10.3",
2021
"commander": "^13.0.0",
2122
"mocha": "^11.0.1",
23+
"rimraf": "^6.0.1",
2224
"temp": "^0.9.4",
2325
"typedoc": "^0.27.6",
2426
"typedoc-plugin-rename-defaults": "^0.7.2",

yarn.lock

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111
"@shikijs/types" "^1.24.2"
1212
"@shikijs/vscode-textmate" "^9.3.1"
1313

14+
"@isaacs/balanced-match@^4.0.1":
15+
version "4.0.1"
16+
resolved "https://registry.yarnpkg.com/@isaacs/balanced-match/-/balanced-match-4.0.1.tgz#3081dadbc3460661b751e7591d7faea5df39dd29"
17+
integrity sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==
18+
19+
"@isaacs/brace-expansion@^5.0.0":
20+
version "5.0.0"
21+
resolved "https://registry.yarnpkg.com/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz#4b3dabab7d8e75a429414a96bd67bf4c1d13e0f3"
22+
integrity sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==
23+
dependencies:
24+
"@isaacs/balanced-match" "^4.0.1"
25+
1426
"@isaacs/cliui@^8.0.2":
1527
version "8.0.2"
1628
resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550"
@@ -214,7 +226,7 @@ concat-map@0.0.1:
214226
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
215227
integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==
216228

217-
cross-spawn@^7.0.0:
229+
cross-spawn@^7.0.0, cross-spawn@^7.0.6:
218230
version "7.0.6"
219231
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
220232
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
@@ -298,6 +310,14 @@ foreground-child@^3.1.0:
298310
cross-spawn "^7.0.0"
299311
signal-exit "^4.0.1"
300312

313+
foreground-child@^3.3.1:
314+
version "3.3.1"
315+
resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.1.tgz#32e8e9ed1b68a3497befb9ac2b6adf92a638576f"
316+
integrity sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==
317+
dependencies:
318+
cross-spawn "^7.0.6"
319+
signal-exit "^4.0.1"
320+
301321
fs.realpath@^1.0.0:
302322
version "1.0.0"
303323
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
@@ -332,6 +352,18 @@ glob@^10.4.5:
332352
package-json-from-dist "^1.0.0"
333353
path-scurry "^1.11.1"
334354

355+
glob@^11.0.0:
356+
version "11.0.3"
357+
resolved "https://registry.yarnpkg.com/glob/-/glob-11.0.3.tgz#9d8087e6d72ddb3c4707b1d2778f80ea3eaefcd6"
358+
integrity sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==
359+
dependencies:
360+
foreground-child "^3.3.1"
361+
jackspeak "^4.1.1"
362+
minimatch "^10.0.3"
363+
minipass "^7.1.2"
364+
package-json-from-dist "^1.0.0"
365+
path-scurry "^2.0.0"
366+
335367
glob@^7.1.3:
336368
version "7.2.3"
337369
resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
@@ -427,6 +459,13 @@ jackspeak@^3.1.2:
427459
optionalDependencies:
428460
"@pkgjs/parseargs" "^0.11.0"
429461

462+
jackspeak@^4.1.1:
463+
version "4.1.1"
464+
resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-4.1.1.tgz#96876030f450502047fc7e8c7fcf8ce8124e43ae"
465+
integrity sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==
466+
dependencies:
467+
"@isaacs/cliui" "^8.0.2"
468+
430469
js-yaml@^4.1.0:
431470
version "4.1.0"
432471
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602"
@@ -461,6 +500,11 @@ lru-cache@^10.2.0:
461500
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.4.3.tgz#410fc8a17b70e598013df257c2446b7f3383f119"
462501
integrity sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==
463502

503+
lru-cache@^11.0.0:
504+
version "11.1.0"
505+
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-11.1.0.tgz#afafb060607108132dbc1cf8ae661afb69486117"
506+
integrity sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==
507+
464508
lunr@^2.3.9:
465509
version "2.3.9"
466510
resolved "https://registry.yarnpkg.com/lunr/-/lunr-2.3.9.tgz#18b123142832337dd6e964df1a5a7707b25d35e1"
@@ -483,6 +527,13 @@ mdurl@^2.0.0:
483527
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0"
484528
integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==
485529

530+
minimatch@^10.0.3:
531+
version "10.0.3"
532+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-10.0.3.tgz#cf7a0314a16c4d9ab73a7730a0e8e3c3502d47aa"
533+
integrity sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==
534+
dependencies:
535+
"@isaacs/brace-expansion" "^5.0.0"
536+
486537
minimatch@^3.1.1:
487538
version "3.1.2"
488539
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
@@ -606,6 +657,14 @@ path-scurry@^1.11.1:
606657
lru-cache "^10.2.0"
607658
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"
608659

660+
path-scurry@^2.0.0:
661+
version "2.0.0"
662+
resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-2.0.0.tgz#9f052289f23ad8bf9397a2a0425e7b8615c58580"
663+
integrity sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==
664+
dependencies:
665+
lru-cache "^11.0.0"
666+
minipass "^7.1.2"
667+
609668
picomatch@^2.0.4, picomatch@^2.2.1:
610669
version "2.3.1"
611670
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
@@ -635,6 +694,14 @@ require-directory@^2.1.1:
635694
resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
636695
integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==
637696

697+
rimraf@^6.0.1:
698+
version "6.0.1"
699+
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-6.0.1.tgz#ffb8ad8844dd60332ab15f52bc104bc3ed71ea4e"
700+
integrity sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==
701+
dependencies:
702+
glob "^11.0.0"
703+
package-json-from-dist "^1.0.0"
704+
638705
rimraf@~2.6.2:
639706
version "2.6.3"
640707
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"

0 commit comments

Comments
 (0)