From 53e3c0c09d9b30cee0cdad4a9bc531abc300ec07 Mon Sep 17 00:00:00 2001 From: Alem Tuzlak Date: Wed, 5 Feb 2025 16:13:55 +0100 Subject: [PATCH] rename --- package.json | 8 ++++---- .../.eslintrc.cjs | 0 .../.gitignore | 0 .../.react-router/types/app/+types/root.ts | 0 .../.react-router/types/app/routes/+types/_index.ts | 0 .../README.md | 0 .../app/entry.client.tsx | 0 .../app/entry.server.tsx | 0 .../app/root.tsx | 0 .../app/routes.ts | 0 .../app/routes/_index.tsx | 0 .../package.json | 2 +- .../public/favicon.ico | Bin .../tsconfig.json | 0 .../vite.config.ts | 0 15 files changed, 5 insertions(+), 5 deletions(-) rename test-apps/{react-router-vite => react-router-esm}/.eslintrc.cjs (100%) rename test-apps/{react-router-vite => react-router-esm}/.gitignore (100%) rename test-apps/{react-router-vite => react-router-esm}/.react-router/types/app/+types/root.ts (100%) rename test-apps/{react-router-vite => react-router-esm}/.react-router/types/app/routes/+types/_index.ts (100%) rename test-apps/{react-router-vite => react-router-esm}/README.md (100%) rename test-apps/{react-router-vite => react-router-esm}/app/entry.client.tsx (100%) rename test-apps/{react-router-vite => react-router-esm}/app/entry.server.tsx (100%) rename test-apps/{react-router-vite => react-router-esm}/app/root.tsx (100%) rename test-apps/{react-router-vite => react-router-esm}/app/routes.ts (100%) rename test-apps/{react-router-vite => react-router-esm}/app/routes/_index.tsx (100%) rename test-apps/{react-router-vite => react-router-esm}/package.json (96%) rename test-apps/{react-router-vite => react-router-esm}/public/favicon.ico (100%) rename test-apps/{react-router-vite => react-router-esm}/tsconfig.json (100%) rename test-apps/{react-router-vite => react-router-esm}/vite.config.ts (100%) 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