├── .circleci └── config.yml ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── integration-test ├── __snapshots__ │ └── index.ts.snap ├── index.ts └── test-fixtures │ ├── babel_root_import_prj │ ├── .babelrc │ ├── package.json │ └── src │ │ ├── common │ │ └── util.js │ │ └── feat-a │ │ └── index.js │ ├── babel_root_import_prj_flatten │ ├── package.json │ └── src │ │ ├── common │ │ └── util.js │ │ └── feat-a │ │ └── index.js │ ├── css_modules_prj │ ├── package.json │ └── src │ │ ├── app.jsx │ │ └── components │ │ └── Hoge │ │ ├── Hoge.css │ │ └── Hoge.jsx │ ├── prettier_prj │ ├── .prettierrc │ └── package.json │ ├── simple_babel_prj │ ├── package.json │ └── src │ │ └── core │ │ ├── dependee.js │ │ ├── index.js │ │ └── target.js │ └── simple_ts_prj │ ├── package.json │ ├── src │ └── core │ │ ├── dependee.ts │ │ ├── index.ts │ │ └── target.ts │ └── tsconfig.json ├── package.json ├── src ├── cli.ts ├── config-reader.ts ├── doc-entity │ ├── ast-document.ts │ ├── babylon-document.test.ts │ ├── babylon-document.ts │ ├── default-document.ts │ ├── index.ts │ ├── testing │ │ └── index.ts │ ├── typescript-document.test.ts │ └── typescript-document.ts ├── doc-ref.ts ├── file-util.ts ├── formatter │ ├── prettier.test.ts │ └── prettier.ts ├── functions.test.ts ├── functions.ts ├── logger.ts ├── project.ts ├── rename.ts └── types.ts ├── tsconfig.json ├── tslint.json ├── typings └── decl.d.ts └── yarn.lock /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/README.md -------------------------------------------------------------------------------- /integration-test/__snapshots__/index.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/__snapshots__/index.ts.snap -------------------------------------------------------------------------------- /integration-test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/index.ts -------------------------------------------------------------------------------- /integration-test/test-fixtures/babel_root_import_prj/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/babel_root_import_prj/.babelrc -------------------------------------------------------------------------------- /integration-test/test-fixtures/babel_root_import_prj/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/babel_root_import_prj/package.json -------------------------------------------------------------------------------- /integration-test/test-fixtures/babel_root_import_prj/src/common/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/babel_root_import_prj/src/common/util.js -------------------------------------------------------------------------------- /integration-test/test-fixtures/babel_root_import_prj/src/feat-a/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/babel_root_import_prj/src/feat-a/index.js -------------------------------------------------------------------------------- /integration-test/test-fixtures/babel_root_import_prj_flatten/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/babel_root_import_prj_flatten/package.json -------------------------------------------------------------------------------- /integration-test/test-fixtures/babel_root_import_prj_flatten/src/common/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/babel_root_import_prj_flatten/src/common/util.js -------------------------------------------------------------------------------- /integration-test/test-fixtures/babel_root_import_prj_flatten/src/feat-a/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/babel_root_import_prj_flatten/src/feat-a/index.js -------------------------------------------------------------------------------- /integration-test/test-fixtures/css_modules_prj/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/css_modules_prj/package.json -------------------------------------------------------------------------------- /integration-test/test-fixtures/css_modules_prj/src/app.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/css_modules_prj/src/app.jsx -------------------------------------------------------------------------------- /integration-test/test-fixtures/css_modules_prj/src/components/Hoge/Hoge.css: -------------------------------------------------------------------------------- 1 | .root { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /integration-test/test-fixtures/css_modules_prj/src/components/Hoge/Hoge.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/css_modules_prj/src/components/Hoge/Hoge.jsx -------------------------------------------------------------------------------- /integration-test/test-fixtures/prettier_prj/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/prettier_prj/.prettierrc -------------------------------------------------------------------------------- /integration-test/test-fixtures/prettier_prj/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/prettier_prj/package.json -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_babel_prj/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_babel_prj/package.json -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_babel_prj/src/core/dependee.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_babel_prj/src/core/dependee.js -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_babel_prj/src/core/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_babel_prj/src/core/index.js -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_babel_prj/src/core/target.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_babel_prj/src/core/target.js -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_ts_prj/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_ts_prj/package.json -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_ts_prj/src/core/dependee.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_ts_prj/src/core/dependee.ts -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_ts_prj/src/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_ts_prj/src/core/index.ts -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_ts_prj/src/core/target.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_ts_prj/src/core/target.ts -------------------------------------------------------------------------------- /integration-test/test-fixtures/simple_ts_prj/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/integration-test/test-fixtures/simple_ts_prj/tsconfig.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/package.json -------------------------------------------------------------------------------- /src/cli.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/cli.ts -------------------------------------------------------------------------------- /src/config-reader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/config-reader.ts -------------------------------------------------------------------------------- /src/doc-entity/ast-document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/ast-document.ts -------------------------------------------------------------------------------- /src/doc-entity/babylon-document.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/babylon-document.test.ts -------------------------------------------------------------------------------- /src/doc-entity/babylon-document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/babylon-document.ts -------------------------------------------------------------------------------- /src/doc-entity/default-document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/default-document.ts -------------------------------------------------------------------------------- /src/doc-entity/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/index.ts -------------------------------------------------------------------------------- /src/doc-entity/testing/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/testing/index.ts -------------------------------------------------------------------------------- /src/doc-entity/typescript-document.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/typescript-document.test.ts -------------------------------------------------------------------------------- /src/doc-entity/typescript-document.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-entity/typescript-document.ts -------------------------------------------------------------------------------- /src/doc-ref.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/doc-ref.ts -------------------------------------------------------------------------------- /src/file-util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/file-util.ts -------------------------------------------------------------------------------- /src/formatter/prettier.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/formatter/prettier.test.ts -------------------------------------------------------------------------------- /src/formatter/prettier.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/formatter/prettier.ts -------------------------------------------------------------------------------- /src/functions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/functions.test.ts -------------------------------------------------------------------------------- /src/functions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/functions.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/project.ts -------------------------------------------------------------------------------- /src/rename.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/rename.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/tslint.json -------------------------------------------------------------------------------- /typings/decl.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/typings/decl.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Quramy/better-name/HEAD/yarn.lock --------------------------------------------------------------------------------