Skip to content

Commit

Permalink
fix: remove redundant polyfill ts-replace-all (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
rostislav-simonik authored Dec 3, 2024
1 parent a367ceb commit 5563256
Show file tree
Hide file tree
Showing 5 changed files with 2,602 additions and 57 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@
"pluralize": "^8.0.0",
"semver": "^7.6.3",
"setset": "^0.0.9",
"ts-replace-all": "^1.0.0",
"tslib": "^2.8.1"
},
"nodemonConfig": {
Expand Down
3 changes: 0 additions & 3 deletions src/lib/prisma-documentation/PrismaDocumentation.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Remove this dep once we stop supporting Node 14.x
import 'ts-replace-all'

export const format = (rawComment: string): string => {
const formattedComment = rawComment.replaceAll(/\n/g, ' ').replaceAll(/ +/g, ' ').trim()
return formattedComment
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/ts-node-import-error.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import dindist from 'dindist'
import { konn, providers } from 'konn'
import 'ts-replace-all'
import * as Path from 'path'
import { createPrismaSchema } from '../__helpers__/helpers'
import { project } from '../__providers__/project'
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/ts-node-unused.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as Path from 'path'
import dindist from 'dindist'
import { konn, providers } from 'konn'
import 'ts-replace-all'
import { project } from '../__providers__/project'
import { monitorAsyncMethod, run } from '../__providers__/run'
import { createPrismaSchema } from '../__helpers__/helpers'
Expand Down
Loading

0 comments on commit 5563256

Please sign in to comment.