├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .prettierrc ├── CHANGELOG.md ├── README.md ├── RELEASE.md ├── bin └── ember-component-template-colocation-migrator ├── lib ├── migrator.js └── utils │ ├── file.js │ ├── js-parser.js │ ├── rewrite-imports.js │ └── templates.js ├── package.json ├── test ├── fixtures │ ├── addon │ │ ├── example-js │ │ │ ├── classic-to-flat.js │ │ │ ├── classic-to-nested.js │ │ │ └── input.js │ │ └── example-ts │ │ │ ├── classic-to-flat.js │ │ │ ├── classic-to-nested.js │ │ │ └── input.js │ └── app │ │ ├── example-js │ │ ├── classic-to-flat.js │ │ ├── classic-to-nested.js │ │ └── input.js │ │ └── example-ts │ │ ├── classic-to-flat.js │ │ ├── classic-to-nested.js │ │ └── input.js ├── helpers.js └── lib │ └── migrator │ ├── classic-to-flat-test.js │ └── classic-to-nested-test.js └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /tmp 3 | 4 | .vscode -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/RELEASE.md -------------------------------------------------------------------------------- /bin/ember-component-template-colocation-migrator: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/bin/ember-component-template-colocation-migrator -------------------------------------------------------------------------------- /lib/migrator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/lib/migrator.js -------------------------------------------------------------------------------- /lib/utils/file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/lib/utils/file.js -------------------------------------------------------------------------------- /lib/utils/js-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/lib/utils/js-parser.js -------------------------------------------------------------------------------- /lib/utils/rewrite-imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/lib/utils/rewrite-imports.js -------------------------------------------------------------------------------- /lib/utils/templates.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/lib/utils/templates.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/package.json -------------------------------------------------------------------------------- /test/fixtures/addon/example-js/classic-to-flat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/addon/example-js/classic-to-flat.js -------------------------------------------------------------------------------- /test/fixtures/addon/example-js/classic-to-nested.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/addon/example-js/classic-to-nested.js -------------------------------------------------------------------------------- /test/fixtures/addon/example-js/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/addon/example-js/input.js -------------------------------------------------------------------------------- /test/fixtures/addon/example-ts/classic-to-flat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/addon/example-ts/classic-to-flat.js -------------------------------------------------------------------------------- /test/fixtures/addon/example-ts/classic-to-nested.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/addon/example-ts/classic-to-nested.js -------------------------------------------------------------------------------- /test/fixtures/addon/example-ts/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/addon/example-ts/input.js -------------------------------------------------------------------------------- /test/fixtures/app/example-js/classic-to-flat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/app/example-js/classic-to-flat.js -------------------------------------------------------------------------------- /test/fixtures/app/example-js/classic-to-nested.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/app/example-js/classic-to-nested.js -------------------------------------------------------------------------------- /test/fixtures/app/example-js/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/app/example-js/input.js -------------------------------------------------------------------------------- /test/fixtures/app/example-ts/classic-to-flat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/app/example-ts/classic-to-flat.js -------------------------------------------------------------------------------- /test/fixtures/app/example-ts/classic-to-nested.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/app/example-ts/classic-to-nested.js -------------------------------------------------------------------------------- /test/fixtures/app/example-ts/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/fixtures/app/example-ts/input.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/lib/migrator/classic-to-flat-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/lib/migrator/classic-to-flat-test.js -------------------------------------------------------------------------------- /test/lib/migrator/classic-to-nested-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/test/lib/migrator/classic-to-nested-test.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ember-codemods/ember-component-template-colocation-migrator/HEAD/yarn.lock --------------------------------------------------------------------------------