├── .github ├── FUNDING.yml └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE.md ├── README.md ├── docs ├── how-it-works.md └── migration.md ├── example ├── above-root-js │ └── src │ │ └── AboveRootJs.js ├── above-root-ts │ └── src │ │ └── AboveRootTs.tsx ├── above │ ├── .gitignore │ ├── README.md │ ├── craco.config.js │ ├── near-src │ │ └── src │ │ │ └── NearSrc.tsx │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.css │ │ ├── App.test.tsx │ │ ├── App.tsx │ │ ├── InternalEx │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── logo.svg │ │ ├── react-app-env.d.ts │ │ ├── reportWebVitals.ts │ │ └── setupTests.ts │ ├── tsconfig.json │ ├── tsconfig.paths.json │ └── yarn.lock ├── below │ ├── .gitignore │ ├── README.md │ ├── config-overrides.js │ ├── craco.config.js │ ├── package.json │ ├── public │ │ ├── favicon.ico │ │ ├── index.html │ │ ├── logo192.png │ │ ├── logo512.png │ │ ├── manifest.json │ │ └── robots.txt │ ├── src │ │ ├── App.css │ │ ├── App.test.tsx │ │ ├── App.tsx │ │ ├── Internal │ │ │ └── index.tsx │ │ ├── index.css │ │ ├── index.tsx │ │ ├── logo.svg │ │ ├── react-app-env.d.ts │ │ ├── reportWebVitals.ts │ │ └── setupTests.ts │ ├── tsconfig.json │ ├── tsconfig.paths.json │ └── yarn.lock └── main │ ├── .gitignore │ ├── README.md │ ├── config-overrides.js │ ├── craco.config.js │ ├── near-src │ └── src │ │ └── NearSrc.tsx │ ├── package.json │ ├── public │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt │ ├── src │ ├── App.css │ ├── App.test.tsx │ ├── App.tsx │ ├── Internal │ │ └── index.tsx │ ├── index.css │ ├── index.tsx │ ├── logo.svg │ ├── react-app-env.d.ts │ ├── reportWebVitals.ts │ └── setupTests.ts │ ├── tsconfig.json │ ├── tsconfig.paths.json │ └── yarn.lock ├── jest.config.js ├── lerna.json ├── lib-for-support ├── aliasDangerous.js └── index.js ├── package-for-support.json ├── package.json ├── packages ├── react-app-alias-ex │ ├── README.md │ ├── __tests__ │ │ └── react-app-alias-ex.test.js │ ├── package.json │ └── src │ │ └── index.js └── react-app-alias │ ├── README.md │ ├── __tests__ │ ├── 59-tsconfig.json │ ├── 59-tsconfig.paths.json │ └── react-app-alias.test.js │ ├── package.json │ └── src │ └── index.js ├── src-for-support ├── aliasDangerous.js └── index.js └── yarn.lock /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/README.md -------------------------------------------------------------------------------- /docs/how-it-works.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/docs/how-it-works.md -------------------------------------------------------------------------------- /docs/migration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/docs/migration.md -------------------------------------------------------------------------------- /example/above-root-js/src/AboveRootJs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above-root-js/src/AboveRootJs.js -------------------------------------------------------------------------------- /example/above-root-ts/src/AboveRootTs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above-root-ts/src/AboveRootTs.tsx -------------------------------------------------------------------------------- /example/above/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/.gitignore -------------------------------------------------------------------------------- /example/above/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/README.md -------------------------------------------------------------------------------- /example/above/craco.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/craco.config.js -------------------------------------------------------------------------------- /example/above/near-src/src/NearSrc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/near-src/src/NearSrc.tsx -------------------------------------------------------------------------------- /example/above/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/package.json -------------------------------------------------------------------------------- /example/above/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/public/favicon.ico -------------------------------------------------------------------------------- /example/above/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/public/index.html -------------------------------------------------------------------------------- /example/above/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/public/logo192.png -------------------------------------------------------------------------------- /example/above/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/public/logo512.png -------------------------------------------------------------------------------- /example/above/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/public/manifest.json -------------------------------------------------------------------------------- /example/above/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/public/robots.txt -------------------------------------------------------------------------------- /example/above/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/App.css -------------------------------------------------------------------------------- /example/above/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/App.test.tsx -------------------------------------------------------------------------------- /example/above/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/App.tsx -------------------------------------------------------------------------------- /example/above/src/InternalEx/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/InternalEx/index.tsx -------------------------------------------------------------------------------- /example/above/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/index.css -------------------------------------------------------------------------------- /example/above/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/index.tsx -------------------------------------------------------------------------------- /example/above/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/logo.svg -------------------------------------------------------------------------------- /example/above/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /example/above/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/reportWebVitals.ts -------------------------------------------------------------------------------- /example/above/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/src/setupTests.ts -------------------------------------------------------------------------------- /example/above/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/tsconfig.json -------------------------------------------------------------------------------- /example/above/tsconfig.paths.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/tsconfig.paths.json -------------------------------------------------------------------------------- /example/above/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/above/yarn.lock -------------------------------------------------------------------------------- /example/below/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/.gitignore -------------------------------------------------------------------------------- /example/below/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/README.md -------------------------------------------------------------------------------- /example/below/config-overrides.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/config-overrides.js -------------------------------------------------------------------------------- /example/below/craco.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/craco.config.js -------------------------------------------------------------------------------- /example/below/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/package.json -------------------------------------------------------------------------------- /example/below/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/public/favicon.ico -------------------------------------------------------------------------------- /example/below/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/public/index.html -------------------------------------------------------------------------------- /example/below/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/public/logo192.png -------------------------------------------------------------------------------- /example/below/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/public/logo512.png -------------------------------------------------------------------------------- /example/below/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/public/manifest.json -------------------------------------------------------------------------------- /example/below/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/public/robots.txt -------------------------------------------------------------------------------- /example/below/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/App.css -------------------------------------------------------------------------------- /example/below/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/App.test.tsx -------------------------------------------------------------------------------- /example/below/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/App.tsx -------------------------------------------------------------------------------- /example/below/src/Internal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/Internal/index.tsx -------------------------------------------------------------------------------- /example/below/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/index.css -------------------------------------------------------------------------------- /example/below/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/index.tsx -------------------------------------------------------------------------------- /example/below/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/logo.svg -------------------------------------------------------------------------------- /example/below/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /example/below/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/reportWebVitals.ts -------------------------------------------------------------------------------- /example/below/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/src/setupTests.ts -------------------------------------------------------------------------------- /example/below/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/tsconfig.json -------------------------------------------------------------------------------- /example/below/tsconfig.paths.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/tsconfig.paths.json -------------------------------------------------------------------------------- /example/below/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/below/yarn.lock -------------------------------------------------------------------------------- /example/main/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/.gitignore -------------------------------------------------------------------------------- /example/main/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/README.md -------------------------------------------------------------------------------- /example/main/config-overrides.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/config-overrides.js -------------------------------------------------------------------------------- /example/main/craco.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/craco.config.js -------------------------------------------------------------------------------- /example/main/near-src/src/NearSrc.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/near-src/src/NearSrc.tsx -------------------------------------------------------------------------------- /example/main/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/package.json -------------------------------------------------------------------------------- /example/main/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/public/favicon.ico -------------------------------------------------------------------------------- /example/main/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/public/index.html -------------------------------------------------------------------------------- /example/main/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/public/logo192.png -------------------------------------------------------------------------------- /example/main/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/public/logo512.png -------------------------------------------------------------------------------- /example/main/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/public/manifest.json -------------------------------------------------------------------------------- /example/main/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/public/robots.txt -------------------------------------------------------------------------------- /example/main/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/App.css -------------------------------------------------------------------------------- /example/main/src/App.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/App.test.tsx -------------------------------------------------------------------------------- /example/main/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/App.tsx -------------------------------------------------------------------------------- /example/main/src/Internal/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/Internal/index.tsx -------------------------------------------------------------------------------- /example/main/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/index.css -------------------------------------------------------------------------------- /example/main/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/index.tsx -------------------------------------------------------------------------------- /example/main/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/logo.svg -------------------------------------------------------------------------------- /example/main/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /example/main/src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/reportWebVitals.ts -------------------------------------------------------------------------------- /example/main/src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/src/setupTests.ts -------------------------------------------------------------------------------- /example/main/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/tsconfig.json -------------------------------------------------------------------------------- /example/main/tsconfig.paths.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/tsconfig.paths.json -------------------------------------------------------------------------------- /example/main/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/example/main/yarn.lock -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/jest.config.js -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/lerna.json -------------------------------------------------------------------------------- /lib-for-support/aliasDangerous.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../src/aliasDangerous') -------------------------------------------------------------------------------- /lib-for-support/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('../src/index') -------------------------------------------------------------------------------- /package-for-support.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/package-for-support.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/package.json -------------------------------------------------------------------------------- /packages/react-app-alias-ex/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias-ex/README.md -------------------------------------------------------------------------------- /packages/react-app-alias-ex/__tests__/react-app-alias-ex.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias-ex/__tests__/react-app-alias-ex.test.js -------------------------------------------------------------------------------- /packages/react-app-alias-ex/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias-ex/package.json -------------------------------------------------------------------------------- /packages/react-app-alias-ex/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias-ex/src/index.js -------------------------------------------------------------------------------- /packages/react-app-alias/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias/README.md -------------------------------------------------------------------------------- /packages/react-app-alias/__tests__/59-tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias/__tests__/59-tsconfig.json -------------------------------------------------------------------------------- /packages/react-app-alias/__tests__/59-tsconfig.paths.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias/__tests__/59-tsconfig.paths.json -------------------------------------------------------------------------------- /packages/react-app-alias/__tests__/react-app-alias.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias/__tests__/react-app-alias.test.js -------------------------------------------------------------------------------- /packages/react-app-alias/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias/package.json -------------------------------------------------------------------------------- /packages/react-app-alias/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/packages/react-app-alias/src/index.js -------------------------------------------------------------------------------- /src-for-support/aliasDangerous.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/src-for-support/aliasDangerous.js -------------------------------------------------------------------------------- /src-for-support/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/src-for-support/index.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oklas/react-app-alias/HEAD/yarn.lock --------------------------------------------------------------------------------