Skip to content

Commit a118500

Browse files
committed
rename codemod
1 parent 52402f7 commit a118500

File tree

7 files changed

+4
-4
lines changed

7 files changed

+4
-4
lines changed

codemods/sendfile-to-sendFile/codemod.yaml renamed to codemods/camelcase-sendfile/codemod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
schema_version: "1.0"
2-
name: "@expressjs/sendfile-to-sendFile"
2+
name: "@expressjs/camelcase-sendfile"
33
version: "1.0.0"
44
description: Migrates usage of the legacy API `res.sendfile(file)` to `res.sendFile(file)`
55
author: bjohansebas (Sebastian Beltran)

codemods/sendfile-to-sendFile/package.json renamed to codemods/camelcase-sendfile/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@expressjs/sendfile-to-sendfile",
2+
"name": "@expressjs/camelcase-sendfile",
33
"private": true,
44
"version": "1.0.0",
55
"description": "Migrates usage of the legacy API `res.sendfile(file)` to `res.sendFile(file)`.",
@@ -10,12 +10,12 @@
1010
"repository": {
1111
"type": "git",
1212
"url": "git+https://github.com/expressjs/codemod.git",
13-
"directory": "codemods/sendfile-to-sendFile",
13+
"directory": "codemods/camelcase-sendfile",
1414
"bugs": "https://github.com/expressjs/codemod/issues"
1515
},
1616
"author": "bjohansebas (Sebastian Beltran)",
1717
"license": "MIT",
18-
"homepage": "https://github.com/expressjs/codemod/blob/main/codemods/sendfile-to-sendFile/README.md",
18+
"homepage": "https://github.com/expressjs/codemod/blob/main/codemods/camelcase-sendfile/README.md",
1919
"devDependencies": {
2020
"@codemod.com/jssg-types": "^1.3.1"
2121
}
File renamed without changes.

codemods/sendfile-to-sendFile/tests/expected/send-file.ts renamed to codemods/camelcase-sendfile/tests/expected/send-file.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)