Skip to content

Commit

Permalink
Merge pull request #6 from kaliber5/update-cli
Browse files Browse the repository at this point in the history
Update codemod-cli
  • Loading branch information
simonihmig authored Aug 4, 2020
2 parents d0796bd + fb3e3ae commit 31a7b8e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
require('codemod-cli').runTransform(
__dirname,
process.argv[2] /* transform name */,
process.argv.slice(3) /* paths or globs */,
undefined,
'template'
process.argv.slice(3) /* paths or globs */
);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"codemod-cli"
],
"dependencies": {
"codemod-cli": "simonihmig/codemod-cli#template-support"
"codemod-cli": "rwjblue/codemod-cli#1e080835dd8ffecb1e0795a897e6b3b0d1da281d"
},
"devDependencies": {
"coveralls": "^3.0.6",
Expand Down
2 changes: 2 additions & 0 deletions transforms/deprecated-attribute-arguments/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,5 @@ module.exports = function ({ source /*, path*/ }, { parse, visit }) {

return visit(ast, visitor);
};

module.exports.type = 'hbs';
1 change: 0 additions & 1 deletion transforms/deprecated-attribute-arguments/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
const { runTransformTest } = require('codemod-cli');

runTransformTest({
type: 'template',
name: 'deprecated-attribute-arguments',
});
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1668,9 +1668,9 @@ co@^4.6.0:
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=

codemod-cli@simonihmig/codemod-cli#template-support:
codemod-cli@rwjblue/codemod-cli#1e080835dd8ffecb1e0795a897e6b3b0d1da281d:
version "2.1.0"
resolved "https://codeload.github.com/simonihmig/codemod-cli/tar.gz/954ad68d9033c1408421f9c7610586ac36088dbc"
resolved "https://codeload.github.com/rwjblue/codemod-cli/tar.gz/1e080835dd8ffecb1e0795a897e6b3b0d1da281d"
dependencies:
"@babel/parser" "^7.6.0"
chalk "^2.4.2"
Expand Down

0 comments on commit 31a7b8e

Please sign in to comment.