From 920772661daed2c2defd57bad9c39e853126024c Mon Sep 17 00:00:00 2001 From: Buck Doyle Date: Fri, 19 Sep 2025 14:07:01 +0200 Subject: [PATCH] Fix self-links to issues and documentation --- transforms/ember-object/README.md | 6 +++--- .../__testfixtures__/decorators-invalid-7.output.js | 2 +- .../ember-object/__testfixtures__/decorators.output.js | 2 +- transforms/ember-object/__testfixtures__/runtime.output.js | 2 +- transforms/helpers/eo-prop/private/actions/index.ts | 4 ++-- transforms/helpers/eo-prop/private/actions/method.ts | 2 +- transforms/helpers/transform-helper.ts | 2 +- transforms/helpers/util/index.ts | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/transforms/ember-object/README.md b/transforms/ember-object/README.md index 061c0738..88a26de9 100644 --- a/transforms/ember-object/README.md +++ b/transforms/ember-object/README.md @@ -722,7 +722,7 @@ const Foo7 = EmberObject.extend({ /* Expect error: ValidationError: Validation errors for class 'Foo7': - [actions]: Transform not supported - [click]: action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/scalvert/ember-native-class-codemod/issues/34 for more details + [actions]: Transform not supported - [click]: action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/ember-codemods/ember-native-class-codemod/issues/34 for more details */ // Do not transform as action name matches lifecycle hook @@ -1012,7 +1012,7 @@ class Foo1 extends EmberObject { // class's actions to be safe. This should be refactored to call a normal method // on the parent class. If the parent class has not been converted to native // classes, it may need to be refactored as well. See - // https://github.com/scalvert/ember-native-class-codemod/blob/master/README.md + // https://github.com/ember-codemods/ember-native-class-codemod/blob/master/README.md // for more details. super.actions.baz.call(this, ...arguments); } @@ -2071,7 +2071,7 @@ export default class _Runtime extends Runtime.extend(MyMixin) { // class's actions to be safe. This should be refactored to call a normal method // on the parent class. If the parent class has not been converted to native // classes, it may need to be refactored as well. See - // https://github.com/scalvert/ember-native-class-codemod/blob/master/README.md + // https://github.com/ember-codemods/ember-native-class-codemod/blob/master/README.md // for more details. super.actions.overriddenActionMethod.call(this, ...arguments) && this.boolProp; } diff --git a/transforms/ember-object/__testfixtures__/decorators-invalid-7.output.js b/transforms/ember-object/__testfixtures__/decorators-invalid-7.output.js index 33e4a15d..e3015631 100644 --- a/transforms/ember-object/__testfixtures__/decorators-invalid-7.output.js +++ b/transforms/ember-object/__testfixtures__/decorators-invalid-7.output.js @@ -1,7 +1,7 @@ /* Expect error: ValidationError: Validation errors for class 'Foo7': - [actions]: Transform not supported - [click]: action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/scalvert/ember-native-class-codemod/issues/34 for more details + [actions]: Transform not supported - [click]: action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/ember-codemods/ember-native-class-codemod/issues/34 for more details */ // Do not transform as action name matches lifecycle hook diff --git a/transforms/ember-object/__testfixtures__/decorators.output.js b/transforms/ember-object/__testfixtures__/decorators.output.js index f5030eea..a22feba1 100644 --- a/transforms/ember-object/__testfixtures__/decorators.output.js +++ b/transforms/ember-object/__testfixtures__/decorators.output.js @@ -83,7 +83,7 @@ class Foo1 extends EmberObject { // class's actions to be safe. This should be refactored to call a normal method // on the parent class. If the parent class has not been converted to native // classes, it may need to be refactored as well. See - // https://github.com/scalvert/ember-native-class-codemod/blob/master/README.md + // https://github.com/ember-codemods/ember-native-class-codemod/blob/master/README.md // for more details. super.actions.baz.call(this, ...arguments); } diff --git a/transforms/ember-object/__testfixtures__/runtime.output.js b/transforms/ember-object/__testfixtures__/runtime.output.js index 1489e55a..d70f0d8a 100644 --- a/transforms/ember-object/__testfixtures__/runtime.output.js +++ b/transforms/ember-object/__testfixtures__/runtime.output.js @@ -89,7 +89,7 @@ export default class _Runtime extends Runtime.extend(MyMixin) { // class's actions to be safe. This should be refactored to call a normal method // on the parent class. If the parent class has not been converted to native // classes, it may need to be refactored as well. See - // https://github.com/scalvert/ember-native-class-codemod/blob/master/README.md + // https://github.com/ember-codemods/ember-native-class-codemod/blob/master/README.md // for more details. super.actions.overriddenActionMethod.call(this, ...arguments) && this.boolProp; } diff --git a/transforms/helpers/eo-prop/private/actions/index.ts b/transforms/helpers/eo-prop/private/actions/index.ts index ca067f4f..ff727730 100644 --- a/transforms/helpers/eo-prop/private/actions/index.ts +++ b/transforms/helpers/eo-prop/private/actions/index.ts @@ -88,7 +88,7 @@ export default class EOActionsProp extends AbstractEOProp< /** * Iterate over actions and verify that the action name does not match the lifecycle hooks * The transformation is not supported if an action has the same name as lifecycle hook - * Reference: https://github.com/scalvert/ember-native-class-codemod/issues/34 + * Reference: https://github.com/ember-codemods/ember-native-class-codemod/issues/34 */ private get lifecycleHookErrors(): string[] { const { actions } = this; @@ -99,7 +99,7 @@ export default class EOActionsProp extends AbstractEOProp< errors.push( this.makeActionError( name, - 'action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/scalvert/ember-native-class-codemod/issues/34 for more details' + 'action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/ember-codemods/ember-native-class-codemod/issues/34 for more details' ) ); } diff --git a/transforms/helpers/eo-prop/private/actions/method.ts b/transforms/helpers/eo-prop/private/actions/method.ts index 7f97f8e3..ad8eb5a1 100644 --- a/transforms/helpers/eo-prop/private/actions/method.ts +++ b/transforms/helpers/eo-prop/private/actions/method.ts @@ -40,7 +40,7 @@ import type { Action } from './index'; * // class's actions to be safe. This should be refactored to call a normal method * // on the parent class. If the parent class has not been converted to native * // classes, it may need to be refactored as well. See - * // https://github.com/scalvert/ember-native-class-codemod/blob/master/README.md + * // https://github.com/ember-codemods/ember-native-class-codemod/blob/master/README.md * // for more details. * super.actions.baz.call(this, ...arguments); * } diff --git a/transforms/helpers/transform-helper.ts b/transforms/helpers/transform-helper.ts index d479960e..5d081387 100644 --- a/transforms/helpers/transform-helper.ts +++ b/transforms/helpers/transform-helper.ts @@ -70,7 +70,7 @@ function replaceSuperExpressions( * // class's actions to be safe. This should be refactored to call a normal method * // on the parent class. If the parent class has not been converted to native * // classes, it may need to be refactored as well. See - * // https://github.com/scalvert/ember-native-class-codemod/blob/master/README.md + * // https://github.com/ember-codemods/ember-native-class-codemod/blob/master/README.md * // for more details. * super.actions.baz.call(this, ...arguments); * ``` diff --git a/transforms/helpers/util/index.ts b/transforms/helpers/util/index.ts index 6af81018..28ae4443 100644 --- a/transforms/helpers/util/index.ts +++ b/transforms/helpers/util/index.ts @@ -149,7 +149,7 @@ export const ACTION_SUPER_EXPRESSION_COMMENT = [ " class's actions to be safe. This should be refactored to call a normal method", ' on the parent class. If the parent class has not been converted to native', ' classes, it may need to be refactored as well. See', - ' https://github.com/scalvert/ember-native-class-codemod/blob/master/README.md', + ' https://github.com/ember-codemods/ember-native-class-codemod/blob/master/README.md', ' for more details.', ];