Skip to content

Commit 86c40a4

Browse files
authored
deps(termi-link) Switch from terminal-link to termi-link (#138)
This change improves the usability of links in the terminal. It addresses issues with invisible spaces that affected link functionality. All credits to @king8fisher for this one! He started the work over at redwoodjs/graphql#12039 Fixes #50
1 parent be01c53 commit 86c40a4

File tree

72 files changed

+93
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+93
-79
lines changed

.changesets/138.md

Lines changed: 7 additions & 0 deletions

.github/renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"pretty-ms",
3333
"stdout-update",
3434
"tempy",
35-
"terminal-link",
35+
"termi-link",
3636
"title-case",
3737
"untildify",
3838
"/^@cedarjs//"

packages/auth-providers/dbAuth/setup/src/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import terminalLink from 'terminal-link'
1+
import { terminalLink } from 'termi-link'
22
import type yargs from 'yargs'
33

44
export const command = 'dbAuth'

packages/cli-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"prompts": "2.4.2",
7070
"semver": "7.6.3",
7171
"smol-toml": "1.3.4",
72-
"terminal-link": "2.1.1",
72+
"termi-link": "1.1.0",
7373
"yargs-parser": "21.1.1"
7474
},
7575
"devDependencies": {

packages/cli-helpers/src/auth/setupHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ListrTask } from 'listr2'
22
import { Listr } from 'listr2'
3-
import terminalLink from 'terminal-link'
3+
import { terminalLink } from 'termi-link'
44
import type { Argv } from 'yargs'
55

66
import { errorTelemetry } from '@cedarjs/telemetry'

packages/cli-packages/dataMigrate/e2eTest.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Options:
3434
[string] [default: "/Users/dom/projects/redwood/test-project/api/dist"]
3535
3636
Also see the Redwood CLI Reference
37-
(https://redwoodjs.com/docs/cli-commands#datamigrate-up)`
37+
(https://redwoodjs.com/docs/cli-commands#datamigrate-up)`
3838

3939
const expectedBinNoPendingDataMigrations = `\
4040
@@ -51,7 +51,7 @@ Options:
5151
--version Show version number [boolean]
5252
5353
Also see the Redwood CLI Reference
54-
(https://redwoodjs.com/docs/cli-commands#datamigrate-install)`
54+
(https://redwoodjs.com/docs/cli-commands#datamigrate-install)`
5555

5656
// ─── Tests ───────────────────────────────────────────────────────────────────
5757

packages/cli-packages/dataMigrate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"execa": "5.1.1",
3434
"fs-extra": "11.2.0",
3535
"listr2": "7.0.2",
36-
"terminal-link": "2.1.1",
36+
"termi-link": "1.1.0",
3737
"yargs": "17.7.2"
3838
},
3939
"devDependencies": {

packages/cli-packages/dataMigrate/src/commands/install.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import terminalLink from 'terminal-link'
1+
import { terminalLink } from 'termi-link'
22
import type { Argv } from 'yargs'
33

44
export const command = 'install'

packages/cli-packages/dataMigrate/src/commands/up.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import terminalLink from 'terminal-link'
1+
import { terminalLink } from 'termi-link'
22
import type { Argv } from 'yargs'
33

44
import { getPaths } from '@cedarjs/project-config'

packages/cli-packages/dataMigrate/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import terminalLink from 'terminal-link'
1+
import { terminalLink } from 'termi-link'
22
import type { Argv } from 'yargs'
33

44
import {

0 commit comments

Comments
 (0)