-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade to prettier v3 (#362)
- Loading branch information
Showing
10 changed files
with
1,200 additions
and
930 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"node": "18", | ||
"installCommand": "codesandbox:install", | ||
"packages": [ | ||
"packages/*" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/node_modules/cliui/build/index.cjs b/node_modules/cliui/build/index.cjs | ||
index 82126b6..73f29ae 100644 | ||
--- a/node_modules/cliui/build/index.cjs | ||
+++ b/node_modules/cliui/build/index.cjs | ||
@@ -288,9 +288,9 @@ function cliui(opts, _mixin) { | ||
} | ||
|
||
// Bootstrap cliui with CommonJS dependencies: | ||
-const stringWidth = require('string-width'); | ||
-const stripAnsi = require('strip-ansi'); | ||
-const wrap = require('wrap-ansi'); | ||
+const stringWidth = require('string-width-cjs'); | ||
+const stripAnsi = require('strip-ansi-cjs'); | ||
+const wrap = require('wrap-ansi-cjs'); | ||
function ui(opts) { | ||
return cliui(opts, { | ||
stringWidth, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff --git a/node_modules/string-length/index.js b/node_modules/string-length/index.js | ||
index c2589a2..3040f0a 100644 | ||
--- a/node_modules/string-length/index.js | ||
+++ b/node_modules/string-length/index.js | ||
@@ -1,5 +1,5 @@ | ||
'use strict'; | ||
-const stripAnsi = require('strip-ansi'); | ||
+const stripAnsi = require('strip-ansi-cjs'); | ||
const charRegex = require('char-regex'); | ||
|
||
const stringLength = string => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff --git a/node_modules/string-width-cjs/index.js b/node_modules/string-width-cjs/index.js | ||
index f4d261a..7ea642a 100644 | ||
--- a/node_modules/string-width-cjs/index.js | ||
+++ b/node_modules/string-width-cjs/index.js | ||
@@ -1,5 +1,5 @@ | ||
'use strict'; | ||
-const stripAnsi = require('strip-ansi'); | ||
+const stripAnsi = require('strip-ansi-cjs'); | ||
const isFullwidthCodePoint = require('is-fullwidth-code-point'); | ||
const emojiRegex = require('emoji-regex'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/wrap-ansi-cjs/index.js b/node_modules/wrap-ansi-cjs/index.js | ||
index d502255..c33a23a 100755 | ||
--- a/node_modules/wrap-ansi-cjs/index.js | ||
+++ b/node_modules/wrap-ansi-cjs/index.js | ||
@@ -1,6 +1,6 @@ | ||
'use strict'; | ||
-const stringWidth = require('string-width'); | ||
-const stripAnsi = require('strip-ansi'); | ||
+const stringWidth = require('string-width-cjs'); | ||
+const stripAnsi = require('strip-ansi-cjs'); | ||
const ansiStyles = require('ansi-styles'); | ||
|
||
const ESCAPES = new Set([ |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.