Skip to content

Commit 9415c0f

Browse files
author
Kelly Selden
committed
save default codemodsUrl
1 parent 730ef13 commit 9415c0f

32 files changed

Lines changed: 837 additions & 25 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ember-cli-update --run-codemods
7777
| --to | Update to a version that isn\'t latest | String | "2.14.1" "~2.15" "latest" "beta" | "*" |
7878
| --resolve-conflicts | Automatically run git mergetool if conflicts found | Boolean | | false |
7979
| --run-codemods | Run codemods to help update your code | Boolean | | false |
80-
| --codemods-url | Supply your own codemods manifest via URL | String | | "https://raw.githubusercontent.com/ember-cli/ember-cli-update-codemods-manifest/v4/manifest.json" |
80+
| --codemods-url | Supply your own codemods manifest via URL | String | "ember-app-codemods-manifest@*" "git+https://github.com/ember-cli/ember-app-codemods-manifest.git#semver:*" | |
8181
| --codemods-json | Supply your own codemods manifest via JSON | String | '{ /* json */ }' | |
8282
| --reset | Reset your code to the default blueprint at the new version | Boolean | | false |
8383
| --compare-only | Show the changes between different versions without updating | Boolean | | false |

bin/commands/init.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module.exports.builder = {
1111
blueprint: args['blueprint'],
1212
to: args['to'],
1313
resolveConflicts: args['resolve-conflicts'],
14+
codemodsUrl: args['codemods-url'],
1415
reset: args['reset']
1516
};
1617

bin/commands/save.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ module.exports.describe = 'save old blueprint state';
99

1010
module.exports.builder = {
1111
blueprint: args['blueprint'],
12-
from: args['from']
12+
from: args['from'],
13+
codemodsUrl: args['codemods-url']
1314
};
1415

1516
module.exports.handler = async function handler(argv) {

0 commit comments

Comments
 (0)