Skip to content

Commit 93857b4

Browse files
authored
chore(deps-dev): bump prettier to 3.2.5 (#804)
1 parent 3e451d5 commit 93857b4

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
"scripts": {
3636
"build": "tsc",
3737
"lint": "eslint 'src/**/*.ts'",
38+
"prepare": "simple-git-hooks",
3839
"release": "yarn build && changeset publish",
3940
"test": "vitest"
4041
},
@@ -52,7 +53,7 @@
5253
"eslint": "^8.57.0",
5354
"eslint-plugin-import": "^2.29.1",
5455
"lint-staged": "^15.2.2",
55-
"prettier": "3.0.3",
56+
"prettier": "3.2.5",
5657
"simple-git-hooks": "^2.11.0",
5758
"tsx": "^4.7.1",
5859
"typescript": "~5.4.2",

simple-git-hooks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"pre-commit": "npx lint-staged"
2+
"pre-commit": "yarn lint-staged"
33
}

src/transforms/v2-to-v3/client-names/getClientNamesRecord.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export const getClientNamesRecord = (
1919
importType === ImportType.REQUIRE
2020
? requireModule
2121
: importType === ImportType.IMPORT_EQUALS
22-
? importEqualsModule
23-
: importModule;
22+
? importEqualsModule
23+
: importModule;
2424

2525
const specifiersFromNamedImport = getImportSpecifiers(j, source, PACKAGE_NAME).filter(
2626
(importSpecifier) => importSpecifier.importedName

src/transforms/v2-to-v3/modules/addNamedModule.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export const addNamedModule = (
1616
importType === ImportType.REQUIRE
1717
? requireModule
1818
: importType === ImportType.IMPORT_EQUALS
19-
? importEqualsModule
20-
: importModule;
19+
? importEqualsModule
20+
: importModule;
2121

2222
addNamedModule(j, source, addNamedModuleOptions);
2323
};

src/transforms/v2-to-v3/modules/getImportType.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const getImportType = (j: JSCodeshift, source: Collection<unknown>) =>
88
hasImport(j, source)
99
? ImportType.IMPORT
1010
: hasImportEquals(j, source)
11-
? ImportType.IMPORT_EQUALS
12-
: hasRequire(j, source)
13-
? ImportType.REQUIRE
14-
: null;
11+
? ImportType.IMPORT_EQUALS
12+
: hasRequire(j, source)
13+
? ImportType.REQUIRE
14+
: null;

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ __metadata:
17881788
eslint-plugin-import: "npm:^2.29.1"
17891789
jscodeshift: "npm:0.15.2"
17901790
lint-staged: "npm:^15.2.2"
1791-
prettier: "npm:3.0.3"
1791+
prettier: "npm:3.2.5"
17921792
simple-git-hooks: "npm:^2.11.0"
17931793
tsx: "npm:^4.7.1"
17941794
typescript: "npm:~5.4.2"
@@ -4996,12 +4996,12 @@ __metadata:
49964996
languageName: node
49974997
linkType: hard
49984998

4999-
"prettier@npm:3.0.3":
5000-
version: 3.0.3
5001-
resolution: "prettier@npm:3.0.3"
4999+
"prettier@npm:3.2.5":
5000+
version: 3.2.5
5001+
resolution: "prettier@npm:3.2.5"
50025002
bin:
50035003
prettier: bin/prettier.cjs
5004-
checksum: 10c0/f950887bc03c5b970d8c6dd129364acfbbc61e7b46aec5d5ce17f4adf6404e2ef43072c98b51c4786e0eaca949b307d362a773fd47502862d754b5a328fa2b26
5004+
checksum: 10c0/ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6
50055005
languageName: node
50065006
linkType: hard
50075007

0 commit comments

Comments
 (0)