diff --git a/package.json b/package.json index 259c3a7..d5af73d 100644 --- a/package.json +++ b/package.json @@ -25,13 +25,13 @@ "test:cov": "vitest run --coverage", "postbuild": "npm run check:exports", "build": "tsup src/index.ts --config tsup.config.ts", - "remix:dev": "npm run dev -w test-apps/react-router-vite", - "remix:cjs:dev": "npm run dev -w test-apps/react-router-cjs", + "react-router:esm:dev": "npm run dev -w test-apps/react-router-esm", + "react-router:cjs:dev": "npm run dev -w test-apps/react-router-cjs", "build:dev": "tsup src/index.ts --config tsup.dev.config.ts", "build:dev:watch": "npm run build:dev -- --watch", "build:dev:cjs:watch": "npm run build:dev -- --watch", - "dev": "npm-run-all -s build:dev -p remix:dev build:dev:watch", - "dev:cjs": "npm-run-all -s build:dev -p remix:cjs:dev build:dev:cjs:watch", + "dev": "npm-run-all -s build:dev -p react-router:esm:dev build:dev:watch", + "dev:cjs": "npm-run-all -s build:dev -p react-router:cjs:dev build:dev:cjs:watch", "prepublishOnly": "npm run build", "check": "biome check .", "check:fix": "biome check --fix .", diff --git a/test-apps/react-router-vite/.eslintrc.cjs b/test-apps/react-router-esm/.eslintrc.cjs similarity index 100% rename from test-apps/react-router-vite/.eslintrc.cjs rename to test-apps/react-router-esm/.eslintrc.cjs diff --git a/test-apps/react-router-vite/.gitignore b/test-apps/react-router-esm/.gitignore similarity index 100% rename from test-apps/react-router-vite/.gitignore rename to test-apps/react-router-esm/.gitignore diff --git a/test-apps/react-router-vite/.react-router/types/app/+types/root.ts b/test-apps/react-router-esm/.react-router/types/app/+types/root.ts similarity index 100% rename from test-apps/react-router-vite/.react-router/types/app/+types/root.ts rename to test-apps/react-router-esm/.react-router/types/app/+types/root.ts diff --git a/test-apps/react-router-vite/.react-router/types/app/routes/+types/_index.ts b/test-apps/react-router-esm/.react-router/types/app/routes/+types/_index.ts similarity index 100% rename from test-apps/react-router-vite/.react-router/types/app/routes/+types/_index.ts rename to test-apps/react-router-esm/.react-router/types/app/routes/+types/_index.ts diff --git a/test-apps/react-router-vite/README.md b/test-apps/react-router-esm/README.md similarity index 100% rename from test-apps/react-router-vite/README.md rename to test-apps/react-router-esm/README.md diff --git a/test-apps/react-router-vite/app/entry.client.tsx b/test-apps/react-router-esm/app/entry.client.tsx similarity index 100% rename from test-apps/react-router-vite/app/entry.client.tsx rename to test-apps/react-router-esm/app/entry.client.tsx diff --git a/test-apps/react-router-vite/app/entry.server.tsx b/test-apps/react-router-esm/app/entry.server.tsx similarity index 100% rename from test-apps/react-router-vite/app/entry.server.tsx rename to test-apps/react-router-esm/app/entry.server.tsx diff --git a/test-apps/react-router-vite/app/root.tsx b/test-apps/react-router-esm/app/root.tsx similarity index 100% rename from test-apps/react-router-vite/app/root.tsx rename to test-apps/react-router-esm/app/root.tsx diff --git a/test-apps/react-router-vite/app/routes.ts b/test-apps/react-router-esm/app/routes.ts similarity index 100% rename from test-apps/react-router-vite/app/routes.ts rename to test-apps/react-router-esm/app/routes.ts diff --git a/test-apps/react-router-vite/app/routes/_index.tsx b/test-apps/react-router-esm/app/routes/_index.tsx similarity index 100% rename from test-apps/react-router-vite/app/routes/_index.tsx rename to test-apps/react-router-esm/app/routes/_index.tsx diff --git a/test-apps/react-router-vite/package.json b/test-apps/react-router-esm/package.json similarity index 96% rename from test-apps/react-router-vite/package.json rename to test-apps/react-router-esm/package.json index 5fa5477..cdd1d95 100644 --- a/test-apps/react-router-vite/package.json +++ b/test-apps/react-router-esm/package.json @@ -1,5 +1,5 @@ { - "name": "react-router-vite", + "name": "react-router-esm", "private": true, "sideEffects": false, "type": "module", diff --git a/test-apps/react-router-vite/public/favicon.ico b/test-apps/react-router-esm/public/favicon.ico similarity index 100% rename from test-apps/react-router-vite/public/favicon.ico rename to test-apps/react-router-esm/public/favicon.ico diff --git a/test-apps/react-router-vite/tsconfig.json b/test-apps/react-router-esm/tsconfig.json similarity index 100% rename from test-apps/react-router-vite/tsconfig.json rename to test-apps/react-router-esm/tsconfig.json diff --git a/test-apps/react-router-vite/vite.config.ts b/test-apps/react-router-esm/vite.config.ts similarity index 100% rename from test-apps/react-router-vite/vite.config.ts rename to test-apps/react-router-esm/vite.config.ts