Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
177 changes: 176 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion recipes/fs-access-mode-constants/codemod.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: "1.0"
name: "@nodejs/fs-access-mode-constants"
version: "1.0.2"
version: "1.0.3"
description: Handle DEP0176 via transforming imports of `fs.F_OK`, `fs.R_OK`, `fs.W_OK`, `fs.X_OK` from the root `fs` module to `fs.constants`.
author: nekojanai (Jana)
license: MIT
Expand Down
7 changes: 5 additions & 2 deletions recipes/fs-access-mode-constants/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "@nodejs/fs-access-mode-constants",
"version": "1.0.1",
"version": "1.0.3",
"description": "Handle DEP0176 via transforming imports of `fs.F_OK`, `fs.R_OK`, `fs.W_OK`, `fs.X_OK` from the root `fs` module to `fs.constants`.",
"type": "module",
"scripts": {
"test": "npx codemod jssg test -l typescript ./src/workflow.ts ./"
"test": "node --run test:jssg && node --run test:node",
"test:jssg": "npx codemod jssg test -l typescript ./src/workflow.ts ./",
"test:node": "node --test src/**.test.ts"
},
"repository": {
"type": "git",
Expand All @@ -19,6 +21,7 @@
"@nodejs/codemod-utils": "*"
},
"devDependencies": {
"@ast-grep/napi": "^0.41.0",
"@codemod.com/jssg-types": "^1.5.1"
}
}
Loading
Loading