Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
fix: move @heroku/linewrap to @oclif/linewrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Apr 9, 2018
1 parent bd97b3c commit d3136fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Jeff Dickey @jdxcode",
"bugs": "https://github.com/oclif/parser/issues",
"dependencies": {
"@heroku/linewrap": "^1.0.0",
"@oclif/linewrap": "^1.0.0",
"chalk": "^2.3.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {stdtermwidth} from './screen'
import {maxBy} from './util'

function linewrap(length: number, s: string): string {
const lw = require('@heroku/linewrap')
const lw = require('@oclif/linewrap')
return lw(length, stdtermwidth, {
skipScheme: 'ansi-color',
})(s).trim()
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# yarn lockfile v1


"@heroku/linewrap@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@heroku/linewrap/-/linewrap-1.0.0.tgz#a9d4e99f0a3e423a899b775f5f3d6747a1ff15c6"

"@oclif/errors@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.0.4.tgz#8e34386ede530484ae3c98bc21d818c416214c66"
Expand All @@ -16,6 +12,10 @@
strip-ansi "^4.0.0"
wrap-ansi "^3.0.1"

"@oclif/linewrap@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91"

"@oclif/tslint@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@oclif/tslint/-/tslint-1.1.0.tgz#a2d494a61afa882a685fe5f4d866dafd18990728"
Expand Down

0 comments on commit d3136fd

Please sign in to comment.