├── .changeset ├── README.md └── config.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── publish-commit.yaml │ ├── publish.yaml │ └── pull-request.yaml ├── .gitignore ├── .vscode └── settings.json ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── SECURITY.MD ├── biome.json ├── lefthook.yml ├── package.json ├── packages └── react-directives-plugin │ ├── CHANGELOG.md │ ├── README.md │ ├── package.json │ ├── src │ ├── babel.ts │ ├── index.ts │ ├── transformer.test.ts │ └── transformer.ts │ ├── tests │ └── setup.ts │ ├── tsconfig.json │ ├── tsdown.config.ts │ └── vitest.config.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── src ├── index.test.ts └── index.ts └── test-apps └── react-router-esm ├── .eslintrc.cjs ├── .gitignore ├── README.md ├── app ├── entry.client.tsx ├── entry.server.tsx ├── root.tsx ├── routes.ts ├── routes │ └── _index.tsx ├── transform.client.ts ├── transform.server.ts └── transform.strict.ts ├── package.json ├── public └── favicon.ico ├── tsconfig.json └── vite.config.ts /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/workflows/publish-commit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.github/workflows/publish-commit.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.github/workflows/pull-request.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.github/workflows/pull-request.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/SECURITY.MD -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/biome.json -------------------------------------------------------------------------------- /lefthook.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/lefthook.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/package.json -------------------------------------------------------------------------------- /packages/react-directives-plugin/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/CHANGELOG.md -------------------------------------------------------------------------------- /packages/react-directives-plugin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/README.md -------------------------------------------------------------------------------- /packages/react-directives-plugin/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/package.json -------------------------------------------------------------------------------- /packages/react-directives-plugin/src/babel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/src/babel.ts -------------------------------------------------------------------------------- /packages/react-directives-plugin/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/src/index.ts -------------------------------------------------------------------------------- /packages/react-directives-plugin/src/transformer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/src/transformer.test.ts -------------------------------------------------------------------------------- /packages/react-directives-plugin/src/transformer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/src/transformer.ts -------------------------------------------------------------------------------- /packages/react-directives-plugin/tests/setup.ts: -------------------------------------------------------------------------------- 1 | // Setup your test environment here 2 | -------------------------------------------------------------------------------- /packages/react-directives-plugin/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/tsconfig.json -------------------------------------------------------------------------------- /packages/react-directives-plugin/tsdown.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/tsdown.config.ts -------------------------------------------------------------------------------- /packages/react-directives-plugin/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/packages/react-directives-plugin/vitest.config.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /src/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/src/index.test.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/src/index.ts -------------------------------------------------------------------------------- /test-apps/react-router-esm/.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/.eslintrc.cjs -------------------------------------------------------------------------------- /test-apps/react-router-esm/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | /.cache 4 | /build 5 | .env 6 | -------------------------------------------------------------------------------- /test-apps/react-router-esm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/README.md -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/entry.client.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/entry.client.tsx -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/entry.server.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/entry.server.tsx -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/root.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/root.tsx -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/routes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/routes.ts -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/routes/_index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/routes/_index.tsx -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/transform.client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/transform.client.ts -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/transform.server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/transform.server.ts -------------------------------------------------------------------------------- /test-apps/react-router-esm/app/transform.strict.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/app/transform.strict.ts -------------------------------------------------------------------------------- /test-apps/react-router-esm/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/package.json -------------------------------------------------------------------------------- /test-apps/react-router-esm/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/public/favicon.ico -------------------------------------------------------------------------------- /test-apps/react-router-esm/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/tsconfig.json -------------------------------------------------------------------------------- /test-apps/react-router-esm/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/forge-42/react-directives-plugin/HEAD/test-apps/react-router-esm/vite.config.ts --------------------------------------------------------------------------------