From dafb7ba831331cb5a219f3b296660372ff0b068e Mon Sep 17 00:00:00 2001 From: Ben Vinegar <2153+benvinegar@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:22:53 -0500 Subject: [PATCH] Rename workspaces to packages --- README.md | 2 +- package.json | 2 +- {workspaces => packages}/reporter/.gitignore | 0 {workspaces => packages}/reporter/global.d.ts | 0 .../reporter/integration/01_legacyInit/index.html | 0 .../integration/01_legacyInit/index.spec.ts | 0 .../reporter/integration/02_dataAttrs/index.html | 0 .../reporter/integration/02_dataAttrs/index.spec.ts | 0 .../reporter/integration/index.html | 0 .../reporter/integration/server.cjs | 0 {workspaces => packages}/reporter/package.json | 0 .../reporter/playwright.config.ts | 0 {workspaces => packages}/reporter/src/index.ts | 0 {workspaces => packages}/reporter/tsconfig.json | 0 {workspaces => packages}/reporter/vite.config.ts | 0 {workspaces => packages}/server/.dev.vars.example | 0 {workspaces => packages}/server/.eslintrc.cjs | 0 packages/server/.gitignore | 3 +++ .../server/app/__tests__/root.test.tsx | 0 .../server/app/analytics/__tests__/collect.test.ts | 0 .../server/app/analytics/__tests__/query.test.ts | 0 .../server/app/analytics/collect.ts | 0 .../server/app/analytics/query.ts | 0 .../server/app/analytics/schema.ts | 0 .../server/app/components/PaginatedTableCard.tsx | 0 .../server/app/components/PaginationButtons.tsx | 0 .../server/app/components/SearchFilterBadges.tsx | 0 .../server/app/components/TableCard.tsx | 0 .../server/app/components/TimeSeriesChart.tsx | 0 .../server/app/components/ui/button.tsx | 0 .../server/app/components/ui/card.tsx | 0 .../server/app/components/ui/select.tsx | 0 .../server/app/components/ui/table.tsx | 0 .../server/app/entry.client.tsx | 0 .../server/app/entry.server.tsx | 0 {workspaces => packages}/server/app/globals.css | 0 .../server/app/lib/__tests__/utils.test.ts | 0 {workspaces => packages}/server/app/lib/types.ts | 0 {workspaces => packages}/server/app/lib/utils.ts | 0 {workspaces => packages}/server/app/load-context.ts | 0 {workspaces => packages}/server/app/root.tsx | 0 {workspaces => packages}/server/app/routes.ts | 0 .../server/app/routes/__tests__/_index.test.tsx | 0 .../server/app/routes/__tests__/dashboard.test.tsx | 0 .../app/routes/__tests__/resources.browser.test.tsx | 0 .../app/routes/__tests__/resources.country.test.tsx | 0 .../app/routes/__tests__/resources.device.test.tsx | 0 .../app/routes/__tests__/resources.paths.test.tsx | 0 .../routes/__tests__/resources.referrer.test.tsx | 0 .../app/routes/__tests__/resources.stats.test.tsx | 0 .../routes/__tests__/resources.timeseries.test.tsx | 0 .../server/app/routes/__tests__/testutils.ts | 0 .../server/app/routes/_index.tsx | 0 .../server/app/routes/admin-redirect.tsx | 0 .../server/app/routes/collect.tsx | 0 .../server/app/routes/dashboard.tsx | 0 .../server/app/routes/resources.browser.tsx | 0 .../server/app/routes/resources.country.tsx | 0 .../server/app/routes/resources.device.tsx | 0 .../server/app/routes/resources.paths.tsx | 0 .../server/app/routes/resources.referrer.tsx | 0 .../server/app/routes/resources.stats.tsx | 0 .../server/app/routes/resources.timeseries.tsx | 0 {workspaces => packages}/server/codecov.yml | 0 {workspaces => packages}/server/components.json | 0 .../server/functions/[[page]].ts | 0 .../server/functions/collect.ts | 0 {workspaces => packages}/server/package-lock.json | 0 {workspaces => packages}/server/package.json | 0 {workspaces => packages}/server/public/_headers | 0 .../server/public/counterscale-logo-300x300.webp | Bin .../server/public/counterscale-logo.webp | Bin .../server/public/counterscale-og-large.webp | Bin {workspaces => packages}/server/public/favicon.ico | Bin {workspaces => packages}/server/public/favicon.png | Bin .../server/public/github-mark.svg | 0 .../server/public/img/arrow.svg | 0 {workspaces => packages}/server/tailwind.config.ts | 0 {workspaces => packages}/server/tsconfig.json | 0 {workspaces => packages}/server/vite.config.ts | 0 {workspaces => packages}/server/vitest.config.js | 0 .../server/worker-configuration.d.ts | 0 {workspaces => packages}/server/wrangler.toml | 0 workspaces/server/.gitignore | 3 --- 84 files changed, 5 insertions(+), 5 deletions(-) rename {workspaces => packages}/reporter/.gitignore (100%) rename {workspaces => packages}/reporter/global.d.ts (100%) rename {workspaces => packages}/reporter/integration/01_legacyInit/index.html (100%) rename {workspaces => packages}/reporter/integration/01_legacyInit/index.spec.ts (100%) rename {workspaces => packages}/reporter/integration/02_dataAttrs/index.html (100%) rename {workspaces => packages}/reporter/integration/02_dataAttrs/index.spec.ts (100%) rename {workspaces => packages}/reporter/integration/index.html (100%) rename {workspaces => packages}/reporter/integration/server.cjs (100%) rename {workspaces => packages}/reporter/package.json (100%) rename {workspaces => packages}/reporter/playwright.config.ts (100%) rename {workspaces => packages}/reporter/src/index.ts (100%) rename {workspaces => packages}/reporter/tsconfig.json (100%) rename {workspaces => packages}/reporter/vite.config.ts (100%) rename {workspaces => packages}/server/.dev.vars.example (100%) rename {workspaces => packages}/server/.eslintrc.cjs (100%) create mode 100644 packages/server/.gitignore rename {workspaces => packages}/server/app/__tests__/root.test.tsx (100%) rename {workspaces => packages}/server/app/analytics/__tests__/collect.test.ts (100%) rename {workspaces => packages}/server/app/analytics/__tests__/query.test.ts (100%) rename {workspaces => packages}/server/app/analytics/collect.ts (100%) rename {workspaces => packages}/server/app/analytics/query.ts (100%) rename {workspaces => packages}/server/app/analytics/schema.ts (100%) rename {workspaces => packages}/server/app/components/PaginatedTableCard.tsx (100%) rename {workspaces => packages}/server/app/components/PaginationButtons.tsx (100%) rename {workspaces => packages}/server/app/components/SearchFilterBadges.tsx (100%) rename {workspaces => packages}/server/app/components/TableCard.tsx (100%) rename {workspaces => packages}/server/app/components/TimeSeriesChart.tsx (100%) rename {workspaces => packages}/server/app/components/ui/button.tsx (100%) rename {workspaces => packages}/server/app/components/ui/card.tsx (100%) rename {workspaces => packages}/server/app/components/ui/select.tsx (100%) rename {workspaces => packages}/server/app/components/ui/table.tsx (100%) rename {workspaces => packages}/server/app/entry.client.tsx (100%) rename {workspaces => packages}/server/app/entry.server.tsx (100%) rename {workspaces => packages}/server/app/globals.css (100%) rename {workspaces => packages}/server/app/lib/__tests__/utils.test.ts (100%) rename {workspaces => packages}/server/app/lib/types.ts (100%) rename {workspaces => packages}/server/app/lib/utils.ts (100%) rename {workspaces => packages}/server/app/load-context.ts (100%) rename {workspaces => packages}/server/app/root.tsx (100%) rename {workspaces => packages}/server/app/routes.ts (100%) rename {workspaces => packages}/server/app/routes/__tests__/_index.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/dashboard.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/resources.browser.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/resources.country.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/resources.device.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/resources.paths.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/resources.referrer.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/resources.stats.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/resources.timeseries.test.tsx (100%) rename {workspaces => packages}/server/app/routes/__tests__/testutils.ts (100%) rename {workspaces => packages}/server/app/routes/_index.tsx (100%) rename {workspaces => packages}/server/app/routes/admin-redirect.tsx (100%) rename {workspaces => packages}/server/app/routes/collect.tsx (100%) rename {workspaces => packages}/server/app/routes/dashboard.tsx (100%) rename {workspaces => packages}/server/app/routes/resources.browser.tsx (100%) rename {workspaces => packages}/server/app/routes/resources.country.tsx (100%) rename {workspaces => packages}/server/app/routes/resources.device.tsx (100%) rename {workspaces => packages}/server/app/routes/resources.paths.tsx (100%) rename {workspaces => packages}/server/app/routes/resources.referrer.tsx (100%) rename {workspaces => packages}/server/app/routes/resources.stats.tsx (100%) rename {workspaces => packages}/server/app/routes/resources.timeseries.tsx (100%) rename {workspaces => packages}/server/codecov.yml (100%) rename {workspaces => packages}/server/components.json (100%) rename {workspaces => packages}/server/functions/[[page]].ts (100%) rename {workspaces => packages}/server/functions/collect.ts (100%) rename {workspaces => packages}/server/package-lock.json (100%) rename {workspaces => packages}/server/package.json (100%) rename {workspaces => packages}/server/public/_headers (100%) rename {workspaces => packages}/server/public/counterscale-logo-300x300.webp (100%) rename {workspaces => packages}/server/public/counterscale-logo.webp (100%) rename {workspaces => packages}/server/public/counterscale-og-large.webp (100%) rename {workspaces => packages}/server/public/favicon.ico (100%) rename {workspaces => packages}/server/public/favicon.png (100%) rename {workspaces => packages}/server/public/github-mark.svg (100%) rename {workspaces => packages}/server/public/img/arrow.svg (100%) rename {workspaces => packages}/server/tailwind.config.ts (100%) rename {workspaces => packages}/server/tsconfig.json (100%) rename {workspaces => packages}/server/vite.config.ts (100%) rename {workspaces => packages}/server/vitest.config.js (100%) rename {workspaces => packages}/server/worker-configuration.d.ts (100%) rename {workspaces => packages}/server/wrangler.toml (100%) delete mode 100644 workspaces/server/.gitignore diff --git a/README.md b/README.md index 3b844b17..0369196c 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ The deployment URL can always be changed to go behind a custom domain you own. [ ### Config -To get started, in the `workspaces/server` folder, copy `.dev.vars.example` to `.dev.vars`. +To get started, in the `packages/server` folder, copy `.dev.vars.example` to `.dev.vars`. Open `.dev.vars` and enter the same values for `CF_BEARER_TOKEN` and `CF_ACCOUNT_ID` you used earlier. diff --git a/package.json b/package.json index 1f16a5cc..7ab37b15 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "wrangler": "^3.61.0" }, "workspaces": [ - "workspaces/*", + "packages/*", "@counterscale/reporter" ], "packageManager": "npm@10.0.0", diff --git a/workspaces/reporter/.gitignore b/packages/reporter/.gitignore similarity index 100% rename from workspaces/reporter/.gitignore rename to packages/reporter/.gitignore diff --git a/workspaces/reporter/global.d.ts b/packages/reporter/global.d.ts similarity index 100% rename from workspaces/reporter/global.d.ts rename to packages/reporter/global.d.ts diff --git a/workspaces/reporter/integration/01_legacyInit/index.html b/packages/reporter/integration/01_legacyInit/index.html similarity index 100% rename from workspaces/reporter/integration/01_legacyInit/index.html rename to packages/reporter/integration/01_legacyInit/index.html diff --git a/workspaces/reporter/integration/01_legacyInit/index.spec.ts b/packages/reporter/integration/01_legacyInit/index.spec.ts similarity index 100% rename from workspaces/reporter/integration/01_legacyInit/index.spec.ts rename to packages/reporter/integration/01_legacyInit/index.spec.ts diff --git a/workspaces/reporter/integration/02_dataAttrs/index.html b/packages/reporter/integration/02_dataAttrs/index.html similarity index 100% rename from workspaces/reporter/integration/02_dataAttrs/index.html rename to packages/reporter/integration/02_dataAttrs/index.html diff --git a/workspaces/reporter/integration/02_dataAttrs/index.spec.ts b/packages/reporter/integration/02_dataAttrs/index.spec.ts similarity index 100% rename from workspaces/reporter/integration/02_dataAttrs/index.spec.ts rename to packages/reporter/integration/02_dataAttrs/index.spec.ts diff --git a/workspaces/reporter/integration/index.html b/packages/reporter/integration/index.html similarity index 100% rename from workspaces/reporter/integration/index.html rename to packages/reporter/integration/index.html diff --git a/workspaces/reporter/integration/server.cjs b/packages/reporter/integration/server.cjs similarity index 100% rename from workspaces/reporter/integration/server.cjs rename to packages/reporter/integration/server.cjs diff --git a/workspaces/reporter/package.json b/packages/reporter/package.json similarity index 100% rename from workspaces/reporter/package.json rename to packages/reporter/package.json diff --git a/workspaces/reporter/playwright.config.ts b/packages/reporter/playwright.config.ts similarity index 100% rename from workspaces/reporter/playwright.config.ts rename to packages/reporter/playwright.config.ts diff --git a/workspaces/reporter/src/index.ts b/packages/reporter/src/index.ts similarity index 100% rename from workspaces/reporter/src/index.ts rename to packages/reporter/src/index.ts diff --git a/workspaces/reporter/tsconfig.json b/packages/reporter/tsconfig.json similarity index 100% rename from workspaces/reporter/tsconfig.json rename to packages/reporter/tsconfig.json diff --git a/workspaces/reporter/vite.config.ts b/packages/reporter/vite.config.ts similarity index 100% rename from workspaces/reporter/vite.config.ts rename to packages/reporter/vite.config.ts diff --git a/workspaces/server/.dev.vars.example b/packages/server/.dev.vars.example similarity index 100% rename from workspaces/server/.dev.vars.example rename to packages/server/.dev.vars.example diff --git a/workspaces/server/.eslintrc.cjs b/packages/server/.eslintrc.cjs similarity index 100% rename from workspaces/server/.eslintrc.cjs rename to packages/server/.eslintrc.cjs diff --git a/packages/server/.gitignore b/packages/server/.gitignore new file mode 100644 index 00000000..ba94cb10 --- /dev/null +++ b/packages/server/.gitignore @@ -0,0 +1,3 @@ +# Copied from ../packages/reporter/dist (see package.json) +public/tracker.js +public/reporter.js diff --git a/workspaces/server/app/__tests__/root.test.tsx b/packages/server/app/__tests__/root.test.tsx similarity index 100% rename from workspaces/server/app/__tests__/root.test.tsx rename to packages/server/app/__tests__/root.test.tsx diff --git a/workspaces/server/app/analytics/__tests__/collect.test.ts b/packages/server/app/analytics/__tests__/collect.test.ts similarity index 100% rename from workspaces/server/app/analytics/__tests__/collect.test.ts rename to packages/server/app/analytics/__tests__/collect.test.ts diff --git a/workspaces/server/app/analytics/__tests__/query.test.ts b/packages/server/app/analytics/__tests__/query.test.ts similarity index 100% rename from workspaces/server/app/analytics/__tests__/query.test.ts rename to packages/server/app/analytics/__tests__/query.test.ts diff --git a/workspaces/server/app/analytics/collect.ts b/packages/server/app/analytics/collect.ts similarity index 100% rename from workspaces/server/app/analytics/collect.ts rename to packages/server/app/analytics/collect.ts diff --git a/workspaces/server/app/analytics/query.ts b/packages/server/app/analytics/query.ts similarity index 100% rename from workspaces/server/app/analytics/query.ts rename to packages/server/app/analytics/query.ts diff --git a/workspaces/server/app/analytics/schema.ts b/packages/server/app/analytics/schema.ts similarity index 100% rename from workspaces/server/app/analytics/schema.ts rename to packages/server/app/analytics/schema.ts diff --git a/workspaces/server/app/components/PaginatedTableCard.tsx b/packages/server/app/components/PaginatedTableCard.tsx similarity index 100% rename from workspaces/server/app/components/PaginatedTableCard.tsx rename to packages/server/app/components/PaginatedTableCard.tsx diff --git a/workspaces/server/app/components/PaginationButtons.tsx b/packages/server/app/components/PaginationButtons.tsx similarity index 100% rename from workspaces/server/app/components/PaginationButtons.tsx rename to packages/server/app/components/PaginationButtons.tsx diff --git a/workspaces/server/app/components/SearchFilterBadges.tsx b/packages/server/app/components/SearchFilterBadges.tsx similarity index 100% rename from workspaces/server/app/components/SearchFilterBadges.tsx rename to packages/server/app/components/SearchFilterBadges.tsx diff --git a/workspaces/server/app/components/TableCard.tsx b/packages/server/app/components/TableCard.tsx similarity index 100% rename from workspaces/server/app/components/TableCard.tsx rename to packages/server/app/components/TableCard.tsx diff --git a/workspaces/server/app/components/TimeSeriesChart.tsx b/packages/server/app/components/TimeSeriesChart.tsx similarity index 100% rename from workspaces/server/app/components/TimeSeriesChart.tsx rename to packages/server/app/components/TimeSeriesChart.tsx diff --git a/workspaces/server/app/components/ui/button.tsx b/packages/server/app/components/ui/button.tsx similarity index 100% rename from workspaces/server/app/components/ui/button.tsx rename to packages/server/app/components/ui/button.tsx diff --git a/workspaces/server/app/components/ui/card.tsx b/packages/server/app/components/ui/card.tsx similarity index 100% rename from workspaces/server/app/components/ui/card.tsx rename to packages/server/app/components/ui/card.tsx diff --git a/workspaces/server/app/components/ui/select.tsx b/packages/server/app/components/ui/select.tsx similarity index 100% rename from workspaces/server/app/components/ui/select.tsx rename to packages/server/app/components/ui/select.tsx diff --git a/workspaces/server/app/components/ui/table.tsx b/packages/server/app/components/ui/table.tsx similarity index 100% rename from workspaces/server/app/components/ui/table.tsx rename to packages/server/app/components/ui/table.tsx diff --git a/workspaces/server/app/entry.client.tsx b/packages/server/app/entry.client.tsx similarity index 100% rename from workspaces/server/app/entry.client.tsx rename to packages/server/app/entry.client.tsx diff --git a/workspaces/server/app/entry.server.tsx b/packages/server/app/entry.server.tsx similarity index 100% rename from workspaces/server/app/entry.server.tsx rename to packages/server/app/entry.server.tsx diff --git a/workspaces/server/app/globals.css b/packages/server/app/globals.css similarity index 100% rename from workspaces/server/app/globals.css rename to packages/server/app/globals.css diff --git a/workspaces/server/app/lib/__tests__/utils.test.ts b/packages/server/app/lib/__tests__/utils.test.ts similarity index 100% rename from workspaces/server/app/lib/__tests__/utils.test.ts rename to packages/server/app/lib/__tests__/utils.test.ts diff --git a/workspaces/server/app/lib/types.ts b/packages/server/app/lib/types.ts similarity index 100% rename from workspaces/server/app/lib/types.ts rename to packages/server/app/lib/types.ts diff --git a/workspaces/server/app/lib/utils.ts b/packages/server/app/lib/utils.ts similarity index 100% rename from workspaces/server/app/lib/utils.ts rename to packages/server/app/lib/utils.ts diff --git a/workspaces/server/app/load-context.ts b/packages/server/app/load-context.ts similarity index 100% rename from workspaces/server/app/load-context.ts rename to packages/server/app/load-context.ts diff --git a/workspaces/server/app/root.tsx b/packages/server/app/root.tsx similarity index 100% rename from workspaces/server/app/root.tsx rename to packages/server/app/root.tsx diff --git a/workspaces/server/app/routes.ts b/packages/server/app/routes.ts similarity index 100% rename from workspaces/server/app/routes.ts rename to packages/server/app/routes.ts diff --git a/workspaces/server/app/routes/__tests__/_index.test.tsx b/packages/server/app/routes/__tests__/_index.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/_index.test.tsx rename to packages/server/app/routes/__tests__/_index.test.tsx diff --git a/workspaces/server/app/routes/__tests__/dashboard.test.tsx b/packages/server/app/routes/__tests__/dashboard.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/dashboard.test.tsx rename to packages/server/app/routes/__tests__/dashboard.test.tsx diff --git a/workspaces/server/app/routes/__tests__/resources.browser.test.tsx b/packages/server/app/routes/__tests__/resources.browser.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/resources.browser.test.tsx rename to packages/server/app/routes/__tests__/resources.browser.test.tsx diff --git a/workspaces/server/app/routes/__tests__/resources.country.test.tsx b/packages/server/app/routes/__tests__/resources.country.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/resources.country.test.tsx rename to packages/server/app/routes/__tests__/resources.country.test.tsx diff --git a/workspaces/server/app/routes/__tests__/resources.device.test.tsx b/packages/server/app/routes/__tests__/resources.device.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/resources.device.test.tsx rename to packages/server/app/routes/__tests__/resources.device.test.tsx diff --git a/workspaces/server/app/routes/__tests__/resources.paths.test.tsx b/packages/server/app/routes/__tests__/resources.paths.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/resources.paths.test.tsx rename to packages/server/app/routes/__tests__/resources.paths.test.tsx diff --git a/workspaces/server/app/routes/__tests__/resources.referrer.test.tsx b/packages/server/app/routes/__tests__/resources.referrer.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/resources.referrer.test.tsx rename to packages/server/app/routes/__tests__/resources.referrer.test.tsx diff --git a/workspaces/server/app/routes/__tests__/resources.stats.test.tsx b/packages/server/app/routes/__tests__/resources.stats.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/resources.stats.test.tsx rename to packages/server/app/routes/__tests__/resources.stats.test.tsx diff --git a/workspaces/server/app/routes/__tests__/resources.timeseries.test.tsx b/packages/server/app/routes/__tests__/resources.timeseries.test.tsx similarity index 100% rename from workspaces/server/app/routes/__tests__/resources.timeseries.test.tsx rename to packages/server/app/routes/__tests__/resources.timeseries.test.tsx diff --git a/workspaces/server/app/routes/__tests__/testutils.ts b/packages/server/app/routes/__tests__/testutils.ts similarity index 100% rename from workspaces/server/app/routes/__tests__/testutils.ts rename to packages/server/app/routes/__tests__/testutils.ts diff --git a/workspaces/server/app/routes/_index.tsx b/packages/server/app/routes/_index.tsx similarity index 100% rename from workspaces/server/app/routes/_index.tsx rename to packages/server/app/routes/_index.tsx diff --git a/workspaces/server/app/routes/admin-redirect.tsx b/packages/server/app/routes/admin-redirect.tsx similarity index 100% rename from workspaces/server/app/routes/admin-redirect.tsx rename to packages/server/app/routes/admin-redirect.tsx diff --git a/workspaces/server/app/routes/collect.tsx b/packages/server/app/routes/collect.tsx similarity index 100% rename from workspaces/server/app/routes/collect.tsx rename to packages/server/app/routes/collect.tsx diff --git a/workspaces/server/app/routes/dashboard.tsx b/packages/server/app/routes/dashboard.tsx similarity index 100% rename from workspaces/server/app/routes/dashboard.tsx rename to packages/server/app/routes/dashboard.tsx diff --git a/workspaces/server/app/routes/resources.browser.tsx b/packages/server/app/routes/resources.browser.tsx similarity index 100% rename from workspaces/server/app/routes/resources.browser.tsx rename to packages/server/app/routes/resources.browser.tsx diff --git a/workspaces/server/app/routes/resources.country.tsx b/packages/server/app/routes/resources.country.tsx similarity index 100% rename from workspaces/server/app/routes/resources.country.tsx rename to packages/server/app/routes/resources.country.tsx diff --git a/workspaces/server/app/routes/resources.device.tsx b/packages/server/app/routes/resources.device.tsx similarity index 100% rename from workspaces/server/app/routes/resources.device.tsx rename to packages/server/app/routes/resources.device.tsx diff --git a/workspaces/server/app/routes/resources.paths.tsx b/packages/server/app/routes/resources.paths.tsx similarity index 100% rename from workspaces/server/app/routes/resources.paths.tsx rename to packages/server/app/routes/resources.paths.tsx diff --git a/workspaces/server/app/routes/resources.referrer.tsx b/packages/server/app/routes/resources.referrer.tsx similarity index 100% rename from workspaces/server/app/routes/resources.referrer.tsx rename to packages/server/app/routes/resources.referrer.tsx diff --git a/workspaces/server/app/routes/resources.stats.tsx b/packages/server/app/routes/resources.stats.tsx similarity index 100% rename from workspaces/server/app/routes/resources.stats.tsx rename to packages/server/app/routes/resources.stats.tsx diff --git a/workspaces/server/app/routes/resources.timeseries.tsx b/packages/server/app/routes/resources.timeseries.tsx similarity index 100% rename from workspaces/server/app/routes/resources.timeseries.tsx rename to packages/server/app/routes/resources.timeseries.tsx diff --git a/workspaces/server/codecov.yml b/packages/server/codecov.yml similarity index 100% rename from workspaces/server/codecov.yml rename to packages/server/codecov.yml diff --git a/workspaces/server/components.json b/packages/server/components.json similarity index 100% rename from workspaces/server/components.json rename to packages/server/components.json diff --git a/workspaces/server/functions/[[page]].ts b/packages/server/functions/[[page]].ts similarity index 100% rename from workspaces/server/functions/[[page]].ts rename to packages/server/functions/[[page]].ts diff --git a/workspaces/server/functions/collect.ts b/packages/server/functions/collect.ts similarity index 100% rename from workspaces/server/functions/collect.ts rename to packages/server/functions/collect.ts diff --git a/workspaces/server/package-lock.json b/packages/server/package-lock.json similarity index 100% rename from workspaces/server/package-lock.json rename to packages/server/package-lock.json diff --git a/workspaces/server/package.json b/packages/server/package.json similarity index 100% rename from workspaces/server/package.json rename to packages/server/package.json diff --git a/workspaces/server/public/_headers b/packages/server/public/_headers similarity index 100% rename from workspaces/server/public/_headers rename to packages/server/public/_headers diff --git a/workspaces/server/public/counterscale-logo-300x300.webp b/packages/server/public/counterscale-logo-300x300.webp similarity index 100% rename from workspaces/server/public/counterscale-logo-300x300.webp rename to packages/server/public/counterscale-logo-300x300.webp diff --git a/workspaces/server/public/counterscale-logo.webp b/packages/server/public/counterscale-logo.webp similarity index 100% rename from workspaces/server/public/counterscale-logo.webp rename to packages/server/public/counterscale-logo.webp diff --git a/workspaces/server/public/counterscale-og-large.webp b/packages/server/public/counterscale-og-large.webp similarity index 100% rename from workspaces/server/public/counterscale-og-large.webp rename to packages/server/public/counterscale-og-large.webp diff --git a/workspaces/server/public/favicon.ico b/packages/server/public/favicon.ico similarity index 100% rename from workspaces/server/public/favicon.ico rename to packages/server/public/favicon.ico diff --git a/workspaces/server/public/favicon.png b/packages/server/public/favicon.png similarity index 100% rename from workspaces/server/public/favicon.png rename to packages/server/public/favicon.png diff --git a/workspaces/server/public/github-mark.svg b/packages/server/public/github-mark.svg similarity index 100% rename from workspaces/server/public/github-mark.svg rename to packages/server/public/github-mark.svg diff --git a/workspaces/server/public/img/arrow.svg b/packages/server/public/img/arrow.svg similarity index 100% rename from workspaces/server/public/img/arrow.svg rename to packages/server/public/img/arrow.svg diff --git a/workspaces/server/tailwind.config.ts b/packages/server/tailwind.config.ts similarity index 100% rename from workspaces/server/tailwind.config.ts rename to packages/server/tailwind.config.ts diff --git a/workspaces/server/tsconfig.json b/packages/server/tsconfig.json similarity index 100% rename from workspaces/server/tsconfig.json rename to packages/server/tsconfig.json diff --git a/workspaces/server/vite.config.ts b/packages/server/vite.config.ts similarity index 100% rename from workspaces/server/vite.config.ts rename to packages/server/vite.config.ts diff --git a/workspaces/server/vitest.config.js b/packages/server/vitest.config.js similarity index 100% rename from workspaces/server/vitest.config.js rename to packages/server/vitest.config.js diff --git a/workspaces/server/worker-configuration.d.ts b/packages/server/worker-configuration.d.ts similarity index 100% rename from workspaces/server/worker-configuration.d.ts rename to packages/server/worker-configuration.d.ts diff --git a/workspaces/server/wrangler.toml b/packages/server/wrangler.toml similarity index 100% rename from workspaces/server/wrangler.toml rename to packages/server/wrangler.toml diff --git a/workspaces/server/.gitignore b/workspaces/server/.gitignore deleted file mode 100644 index 11358be1..00000000 --- a/workspaces/server/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Copied from ../workspaces/reporter/dist (see package.json) -public/tracker.js -public/reporter.js