Skip to content

Commit

Permalink
revert ts-patch to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx committed Apr 27, 2024
1 parent b6c649b commit e02cc1b
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 17 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"prettier": "^3.2.5",
"ts-patch": "^3.1.2",
"ts-patch": "^2.1.0",
"typescript": "^5.1.6"
},
"resolutions": {
Expand All @@ -48,4 +48,4 @@
"rxjs": "^7.1.0"
},
"packageManager": "[email protected]"
}
}
1 change: 0 additions & 1 deletion packages/@contentlayer/core/src/_ArtifactsDir.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export const mkdir: T.Effect<OT.HasTracer & HasCwd & fs.HasFs, fs.MkdirError, Ab
function* ($) {
const cwd = yield* $(getCwd)
const dirPath = getDirPath({ cwd })

yield* $(fs.mkdirp(dirPath))

return dirPath
Expand Down
81 changes: 67 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3886,7 +3886,7 @@ __metadata:
eslint-plugin-react-hooks: ^4.6.0
eslint-plugin-simple-import-sort: ^12.1.0
prettier: ^3.2.5
ts-patch: ^3.1.2
ts-patch: ^2.1.0
typescript: ^5.1.6
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -5360,7 +5360,7 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^7.1.3":
"glob@npm:^7.0.0, glob@npm:^7.1.3":
version: 7.2.3
resolution: "glob@npm:7.2.3"
dependencies:
Expand All @@ -5374,6 +5374,19 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^8.0.3":
version: 8.1.0
resolution: "glob@npm:8.1.0"
dependencies:
fs.realpath: ^1.0.0
inflight: ^1.0.4
inherits: 2
minimatch: ^5.0.1
once: ^1.3.0
checksum: 92fbea3221a7d12075f26f0227abac435de868dd0736a17170663783296d0dd8d3d532a5672b4488a439bf5d7fb85cdd07c11185d6cd39184f0385cbdfb86a47
languageName: node
linkType: hard

"global-prefix@npm:^3.0.0":
version: 3.0.0
resolution: "global-prefix@npm:3.0.0"
Expand Down Expand Up @@ -5912,6 +5925,13 @@ __metadata:
languageName: node
linkType: hard

"interpret@npm:^1.0.0":
version: 1.4.0
resolution: "interpret@npm:1.4.0"
checksum: 2e5f51268b5941e4a17e4ef0575bc91ed0ab5f8515e3cf77486f7c14d13f3010df9c0959f37063dcc96e78d12dc6b0bb1b9e111cdfe69771f4656d2993d36155
languageName: node
linkType: hard

"ip-address@npm:^9.0.5":
version: 9.0.5
resolution: "ip-address@npm:9.0.5"
Expand Down Expand Up @@ -7574,6 +7594,15 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^5.0.1":
version: 5.1.6
resolution: "minimatch@npm:5.1.6"
dependencies:
brace-expansion: ^2.0.1
checksum: 7564208ef81d7065a370f788d337cd80a689e981042cb9a1d0e6580b6c6a8c9279eba80010516e258835a988363f99f54a6f711a315089b8b42694f5da9d0d77
languageName: node
linkType: hard

"minimatch@npm:^9.0.1, minimatch@npm:^9.0.4":
version: 9.0.4
resolution: "minimatch@npm:9.0.4"
Expand All @@ -7594,7 +7623,7 @@ __metadata:
languageName: node
linkType: hard

"minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.6, minimist@npm:^1.2.8":
"minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.6":
version: 1.2.8
resolution: "minimist@npm:1.2.8"
checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0
Expand Down Expand Up @@ -8958,6 +8987,15 @@ __metadata:
languageName: node
linkType: hard

"rechoir@npm:^0.6.2":
version: 0.6.2
resolution: "rechoir@npm:0.6.2"
dependencies:
resolve: ^1.1.6
checksum: fe76bf9c21875ac16e235defedd7cbd34f333c02a92546142b7911a0f7c7059d2e16f441fe6fb9ae203f459c05a31b2bcf26202896d89e390eda7514d5d2702b
languageName: node
linkType: hard

"redent@npm:^3.0.0":
version: 3.0.0
resolution: "redent@npm:3.0.0"
Expand Down Expand Up @@ -9139,7 +9177,7 @@ __metadata:
languageName: node
linkType: hard

"resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.19.0, resolve@npm:^1.22.2, resolve@npm:^1.22.4":
"resolve@npm:^1.1.6, resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.19.0, resolve@npm:^1.22.1, resolve@npm:^1.22.2, resolve@npm:^1.22.4":
version: 1.22.8
resolution: "resolve@npm:1.22.8"
dependencies:
Expand All @@ -9152,7 +9190,7 @@ __metadata:
languageName: node
linkType: hard

"resolve@patch:resolve@^1.1.7#~builtin<compat/resolve>, resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.4#~builtin<compat/resolve>":
"resolve@patch:resolve@^1.1.6#~builtin<compat/resolve>, resolve@patch:resolve@^1.1.7#~builtin<compat/resolve>, resolve@patch:resolve@^1.10.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.19.0#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.1#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.2#~builtin<compat/resolve>, resolve@patch:resolve@^1.22.4#~builtin<compat/resolve>":
version: 1.22.8
resolution: "resolve@patch:resolve@npm%3A1.22.8#~builtin<compat/resolve>::version=1.22.8&hash=07638b"
dependencies:
Expand Down Expand Up @@ -9551,6 +9589,19 @@ __metadata:
languageName: node
linkType: hard

"shelljs@npm:^0.8.5":
version: 0.8.5
resolution: "shelljs@npm:0.8.5"
dependencies:
glob: ^7.0.0
interpret: ^1.0.0
rechoir: ^0.6.2
bin:
shjs: bin/shjs
checksum: 7babc46f732a98f4c054ec1f048b55b9149b98aa2da32f6cf9844c434b43c6251efebd6eec120937bd0999e13811ebd45efe17410edb3ca938f82f9381302748
languageName: node
linkType: hard

"side-channel@npm:^1.0.4, side-channel@npm:^1.0.6":
version: 1.0.6
resolution: "side-channel@npm:1.0.6"
Expand Down Expand Up @@ -10409,20 +10460,22 @@ __metadata:
languageName: node
linkType: hard

"ts-patch@npm:^3.1.2":
version: 3.1.2
resolution: "ts-patch@npm:3.1.2"
"ts-patch@npm:^2.1.0":
version: 2.1.0
resolution: "ts-patch@npm:2.1.0"
dependencies:
chalk: ^4.1.2
glob: ^8.0.3
global-prefix: ^3.0.0
minimist: ^1.2.8
resolve: ^1.22.2
semver: ^7.5.4
minimist: ^1.2.6
resolve: ^1.22.1
shelljs: ^0.8.5
strip-ansi: ^6.0.1
peerDependencies:
typescript: ">=4.0.0"
bin:
ts-patch: bin/ts-patch.js
tspc: bin/tspc.js
checksum: b6bf7a34280863b32f5c21d8367108046f1e0305d197e87ef871679c446a6fe29662d7e3d4de19bda8785b49bd628d58d9dc82d908f1a785638115a08c6b01ea
ts-patch: bin/cli.js
checksum: 05ab14bb3552b0264c61751009f6a78f5d95b6c695e4bfd8183e7666a617e6ec9653e12a0453a0abc623591a56fd0c0f0c9c590b87be5b177332429db97cbfd1
languageName: node
linkType: hard

Expand Down

0 comments on commit e02cc1b

Please sign in to comment.