From 4dbb243d2c226fba2fb52a245306d1258ad650e2 Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Mon, 9 Dec 2024 18:41:47 +0000 Subject: [PATCH] Rename linearlite example to linearlite-read-only --- .github/workflows/deploy_examples.yml | 12 ++++++------ .../.env.prod | 0 .../.eslintrc.cjs | 0 .../.gitignore | 0 .../.prettierrc | 0 .../.sst/platform/config.d.ts | 0 .../README.md | 4 ++-- .../db/generate_data.js | 0 .../db/load_data.js | 0 .../db/migrations/01-create_tables.sql | 0 .../index.html | 0 .../package.json | 6 +++--- .../postcss.config.mjs | 0 .../public/electric-icon.png | Bin .../public/favicon.ico | Bin .../public/logo192.png | Bin .../public/logo512.png | Bin .../public/netlify.toml | 0 .../public/robots.txt | 0 .../src/App.tsx | 0 .../src/assets/fonts/27237475-28043385 | Bin .../src/assets/fonts/Inter-UI-ExtraBold.woff | Bin .../src/assets/fonts/Inter-UI-ExtraBold.woff2 | Bin .../src/assets/fonts/Inter-UI-Medium.woff | Bin .../src/assets/fonts/Inter-UI-Medium.woff2 | Bin .../src/assets/fonts/Inter-UI-Regular.woff | Bin .../src/assets/fonts/Inter-UI-Regular.woff2 | Bin .../src/assets/fonts/Inter-UI-SemiBold.woff | Bin .../src/assets/fonts/Inter-UI-SemiBold.woff2 | Bin .../src/assets/icons/add-subissue.svg | 0 .../src/assets/icons/add.svg | 0 .../src/assets/icons/archive.svg | 0 .../src/assets/icons/assignee.svg | 0 .../src/assets/icons/attachment.svg | 0 .../src/assets/icons/avatar.svg | 0 .../src/assets/icons/cancel.svg | 0 .../src/assets/icons/chat.svg | 0 .../src/assets/icons/circle-dot.svg | 0 .../src/assets/icons/circle.svg | 0 .../src/assets/icons/claim.svg | 0 .../src/assets/icons/close.svg | 0 .../src/assets/icons/delete.svg | 0 .../src/assets/icons/done.svg | 0 .../src/assets/icons/dots.svg | 0 .../src/assets/icons/due-date.svg | 0 .../src/assets/icons/dupplication.svg | 0 .../src/assets/icons/filter.svg | 0 .../src/assets/icons/git-issue.svg | 0 .../src/assets/icons/guide.svg | 0 .../src/assets/icons/half-circle.svg | 0 .../src/assets/icons/help.svg | 0 .../src/assets/icons/inbox.svg | 0 .../src/assets/icons/issue.svg | 0 .../src/assets/icons/label.svg | 0 .../src/assets/icons/menu.svg | 0 .../src/assets/icons/parent-issue.svg | 0 .../src/assets/icons/plus.svg | 0 .../src/assets/icons/project.svg | 0 .../src/assets/icons/question.svg | 0 .../src/assets/icons/relationship.svg | 0 .../src/assets/icons/rounded-claim.svg | 0 .../src/assets/icons/search.svg | 0 .../src/assets/icons/signal-medium.svg | 0 .../src/assets/icons/signal-strong.svg | 0 .../src/assets/icons/signal-strong.xsd | 0 .../src/assets/icons/signal-weak.svg | 0 .../src/assets/icons/slack.svg | 0 .../src/assets/icons/view.svg | 0 .../src/assets/icons/zoom.svg | 0 .../src/assets/images/icon.inverse.svg | 0 .../src/assets/images/logo.svg | 0 .../src/components/AboutModal.tsx | 0 .../src/components/Avatar.tsx | 0 .../src/components/IssueModal.tsx | 0 .../src/components/ItemGroup.tsx | 0 .../src/components/LeftMenu.tsx | 0 .../src/components/Modal.tsx | 0 .../src/components/Portal.tsx | 0 .../src/components/PriorityIcon.tsx | 0 .../src/components/ProfileMenu.tsx | 0 .../src/components/Select.tsx | 0 .../src/components/StatusIcon.tsx | 0 .../src/components/Toggle.tsx | 0 .../src/components/TopFilter.tsx | 0 .../src/components/ViewOptionMenu.tsx | 0 .../src/components/contextmenu/FilterMenu.tsx | 0 .../src/components/contextmenu/PriorityMenu.tsx | 0 .../src/components/contextmenu/StatusMenu.tsx | 0 .../src/components/contextmenu/menu.tsx | 0 .../src/components/editor/Editor.tsx | 0 .../src/components/editor/EditorMenu.tsx | 0 .../src/electric.tsx | 0 .../src/hooks/useClickOutside.ts | 0 .../src/hooks/useLockBodyScroll.ts | 0 .../src/main.tsx | 0 .../src/pages/Board/IssueBoard.tsx | 0 .../src/pages/Board/IssueCol.tsx | 0 .../src/pages/Board/IssueItem.tsx | 0 .../src/pages/Board/index.tsx | 0 .../src/pages/Issue/Comments.tsx | 0 .../src/pages/Issue/DeleteModal.tsx | 0 .../src/pages/Issue/index.tsx | 0 .../src/pages/List/IssueList.tsx | 0 .../src/pages/List/IssueRow.tsx | 0 .../src/pages/List/index.tsx | 0 .../src/pages/root.tsx | 0 .../src/shapes.ts | 0 .../src/shims/react-contextmenu.d.ts | 0 .../src/sst-env.d.ts | 0 .../src/style.css | 0 .../src/types/types.ts | 0 .../src/utils/date.ts | 0 .../src/utils/filterState.ts | 0 .../src/utils/notification.tsx | 0 .../src/vite-env.d.ts | 0 .../sst-env.d.ts | 0 .../sst.config.ts | 16 ++++++++-------- .../tailwind.config.js | 0 .../tsconfig.json | 0 .../vite.config.ts | 0 pnpm-lock.yaml | 12 ++++++------ 121 files changed, 25 insertions(+), 25 deletions(-) rename examples/{linearlite => linearlite-read-only}/.env.prod (100%) rename examples/{linearlite => linearlite-read-only}/.eslintrc.cjs (100%) rename examples/{linearlite => linearlite-read-only}/.gitignore (100%) rename examples/{linearlite => linearlite-read-only}/.prettierrc (100%) rename examples/{linearlite => linearlite-read-only}/.sst/platform/config.d.ts (100%) rename examples/{linearlite => linearlite-read-only}/README.md (94%) rename examples/{linearlite => linearlite-read-only}/db/generate_data.js (100%) rename examples/{linearlite => linearlite-read-only}/db/load_data.js (100%) rename examples/{linearlite => linearlite-read-only}/db/migrations/01-create_tables.sql (100%) rename examples/{linearlite => linearlite-read-only}/index.html (100%) rename examples/{linearlite => linearlite-read-only}/package.json (90%) rename examples/{linearlite => linearlite-read-only}/postcss.config.mjs (100%) rename examples/{linearlite => linearlite-read-only}/public/electric-icon.png (100%) rename examples/{linearlite => linearlite-read-only}/public/favicon.ico (100%) rename examples/{linearlite => linearlite-read-only}/public/logo192.png (100%) rename examples/{linearlite => linearlite-read-only}/public/logo512.png (100%) rename examples/{linearlite => linearlite-read-only}/public/netlify.toml (100%) rename examples/{linearlite => linearlite-read-only}/public/robots.txt (100%) rename examples/{linearlite => linearlite-read-only}/src/App.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/27237475-28043385 (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-ExtraBold.woff (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-ExtraBold.woff2 (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-Medium.woff (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-Medium.woff2 (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-Regular.woff (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-Regular.woff2 (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-SemiBold.woff (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/fonts/Inter-UI-SemiBold.woff2 (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/add-subissue.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/add.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/archive.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/assignee.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/attachment.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/avatar.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/cancel.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/chat.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/circle-dot.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/circle.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/claim.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/close.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/delete.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/done.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/dots.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/due-date.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/dupplication.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/filter.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/git-issue.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/guide.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/half-circle.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/help.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/inbox.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/issue.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/label.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/menu.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/parent-issue.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/plus.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/project.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/question.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/relationship.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/rounded-claim.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/search.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/signal-medium.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/signal-strong.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/signal-strong.xsd (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/signal-weak.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/slack.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/view.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/icons/zoom.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/images/icon.inverse.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/assets/images/logo.svg (100%) rename examples/{linearlite => linearlite-read-only}/src/components/AboutModal.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/Avatar.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/IssueModal.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/ItemGroup.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/LeftMenu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/Modal.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/Portal.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/PriorityIcon.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/ProfileMenu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/Select.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/StatusIcon.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/Toggle.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/TopFilter.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/ViewOptionMenu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/contextmenu/FilterMenu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/contextmenu/PriorityMenu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/contextmenu/StatusMenu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/contextmenu/menu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/editor/Editor.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/components/editor/EditorMenu.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/electric.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/hooks/useClickOutside.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/hooks/useLockBodyScroll.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/main.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/Board/IssueBoard.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/Board/IssueCol.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/Board/IssueItem.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/Board/index.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/Issue/Comments.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/Issue/DeleteModal.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/Issue/index.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/List/IssueList.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/List/IssueRow.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/List/index.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/pages/root.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/shapes.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/shims/react-contextmenu.d.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/sst-env.d.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/style.css (100%) rename examples/{linearlite => linearlite-read-only}/src/types/types.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/utils/date.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/utils/filterState.ts (100%) rename examples/{linearlite => linearlite-read-only}/src/utils/notification.tsx (100%) rename examples/{linearlite => linearlite-read-only}/src/vite-env.d.ts (100%) rename examples/{linearlite => linearlite-read-only}/sst-env.d.ts (100%) rename examples/{linearlite => linearlite-read-only}/sst.config.ts (85%) rename examples/{linearlite => linearlite-read-only}/tailwind.config.js (100%) rename examples/{linearlite => linearlite-read-only}/tsconfig.json (100%) rename examples/{linearlite => linearlite-read-only}/vite.config.ts (100%) diff --git a/.github/workflows/deploy_examples.yml b/.github/workflows/deploy_examples.yml index 307be25b1e..358c8abf84 100644 --- a/.github/workflows/deploy_examples.yml +++ b/.github/workflows/deploy_examples.yml @@ -48,13 +48,13 @@ jobs: restore-keys: | sst-cache-main-${{ runner.os }} - - name: Deploy Linearlite - working-directory: examples/linearlite + - name: Deploy Linearlite Read Only + working-directory: examples/linearlite-read-only run: | pnpm sst deploy --stage ${{ env.DEPLOY_ENV }} if [ -f ".sst/outputs.json" ]; then - linearlite=$(jq -r '.website' .sst/outputs.json) - echo "linearlite=$linearlite" >> $GITHUB_ENV + linearlite_read_only=$(jq -r '.website' .sst/outputs.json) + echo "linearlite_read_only=$linearlite_read_only" >> $GITHUB_ENV else echo "sst outputs file not found. Exiting." exit 1 @@ -79,12 +79,12 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | - const linearlite = process.env.linearlite; + const linearlite_read_only = process.env.linearlite_read_only; const nextjs = process.env.nextjs; const prNumber = context.issue.number; const commentBody = `## Examples - - linearlite: ${linearlite} + - linearlite-read-only: ${linearlite_read_only} - nextjs: ${nextjs} `; diff --git a/examples/linearlite/.env.prod b/examples/linearlite-read-only/.env.prod similarity index 100% rename from examples/linearlite/.env.prod rename to examples/linearlite-read-only/.env.prod diff --git a/examples/linearlite/.eslintrc.cjs b/examples/linearlite-read-only/.eslintrc.cjs similarity index 100% rename from examples/linearlite/.eslintrc.cjs rename to examples/linearlite-read-only/.eslintrc.cjs diff --git a/examples/linearlite/.gitignore b/examples/linearlite-read-only/.gitignore similarity index 100% rename from examples/linearlite/.gitignore rename to examples/linearlite-read-only/.gitignore diff --git a/examples/linearlite/.prettierrc b/examples/linearlite-read-only/.prettierrc similarity index 100% rename from examples/linearlite/.prettierrc rename to examples/linearlite-read-only/.prettierrc diff --git a/examples/linearlite/.sst/platform/config.d.ts b/examples/linearlite-read-only/.sst/platform/config.d.ts similarity index 100% rename from examples/linearlite/.sst/platform/config.d.ts rename to examples/linearlite-read-only/.sst/platform/config.d.ts diff --git a/examples/linearlite/README.md b/examples/linearlite-read-only/README.md similarity index 94% rename from examples/linearlite/README.md rename to examples/linearlite-read-only/README.md index 04c7cb12b8..697990d39f 100644 --- a/examples/linearlite/README.md +++ b/examples/linearlite-read-only/README.md @@ -1,4 +1,4 @@ -# Linearlite +# Linearlite Read Only This is an example Linear clone developed using ElectricSQL. @@ -22,7 +22,7 @@ pnpm run -r build Navigate back to this directory: ```shell -cd examples/linearlite +cd examples/linearlite-read-only ``` Start the example backend services using [Docker Compose](https://docs.docker.com/compose/): diff --git a/examples/linearlite/db/generate_data.js b/examples/linearlite-read-only/db/generate_data.js similarity index 100% rename from examples/linearlite/db/generate_data.js rename to examples/linearlite-read-only/db/generate_data.js diff --git a/examples/linearlite/db/load_data.js b/examples/linearlite-read-only/db/load_data.js similarity index 100% rename from examples/linearlite/db/load_data.js rename to examples/linearlite-read-only/db/load_data.js diff --git a/examples/linearlite/db/migrations/01-create_tables.sql b/examples/linearlite-read-only/db/migrations/01-create_tables.sql similarity index 100% rename from examples/linearlite/db/migrations/01-create_tables.sql rename to examples/linearlite-read-only/db/migrations/01-create_tables.sql diff --git a/examples/linearlite/index.html b/examples/linearlite-read-only/index.html similarity index 100% rename from examples/linearlite/index.html rename to examples/linearlite-read-only/index.html diff --git a/examples/linearlite/package.json b/examples/linearlite-read-only/package.json similarity index 90% rename from examples/linearlite/package.json rename to examples/linearlite-read-only/package.json index 3fafde9178..701952e295 100644 --- a/examples/linearlite/package.json +++ b/examples/linearlite-read-only/package.json @@ -1,12 +1,12 @@ { - "name": "@electric-examples/linearlite", + "name": "@electric-examples/linearlite-read-only", "version": "0.0.1", "license": "Apache-2.0", "private": true, "type": "module", "scripts": { - "backend:down": "PROJECT_NAME=linearlite pnpm -C ../../ run example-backend:down", - "backend:up": "PROJECT_NAME=linearlite pnpm -C ../../ run example-backend:up && pnpm db:migrate && pnpm db:load-data", + "backend:down": "PROJECT_NAME=linearlite-read-only pnpm -C ../../ run example-backend:down", + "backend:up": "PROJECT_NAME=linearlite-read-only pnpm -C ../../ run example-backend:up && pnpm db:migrate && pnpm db:load-data", "build": "vite build", "db:load-data": "dotenv -e ../../.env.dev -- node ./db/load_data.js", "db:migrate": "dotenv -e ../../.env.dev -- pnpm exec pg-migrations apply --directory ./db/migrations", diff --git a/examples/linearlite/postcss.config.mjs b/examples/linearlite-read-only/postcss.config.mjs similarity index 100% rename from examples/linearlite/postcss.config.mjs rename to examples/linearlite-read-only/postcss.config.mjs diff --git a/examples/linearlite/public/electric-icon.png b/examples/linearlite-read-only/public/electric-icon.png similarity index 100% rename from examples/linearlite/public/electric-icon.png rename to examples/linearlite-read-only/public/electric-icon.png diff --git a/examples/linearlite/public/favicon.ico b/examples/linearlite-read-only/public/favicon.ico similarity index 100% rename from examples/linearlite/public/favicon.ico rename to examples/linearlite-read-only/public/favicon.ico diff --git a/examples/linearlite/public/logo192.png b/examples/linearlite-read-only/public/logo192.png similarity index 100% rename from examples/linearlite/public/logo192.png rename to examples/linearlite-read-only/public/logo192.png diff --git a/examples/linearlite/public/logo512.png b/examples/linearlite-read-only/public/logo512.png similarity index 100% rename from examples/linearlite/public/logo512.png rename to examples/linearlite-read-only/public/logo512.png diff --git a/examples/linearlite/public/netlify.toml b/examples/linearlite-read-only/public/netlify.toml similarity index 100% rename from examples/linearlite/public/netlify.toml rename to examples/linearlite-read-only/public/netlify.toml diff --git a/examples/linearlite/public/robots.txt b/examples/linearlite-read-only/public/robots.txt similarity index 100% rename from examples/linearlite/public/robots.txt rename to examples/linearlite-read-only/public/robots.txt diff --git a/examples/linearlite/src/App.tsx b/examples/linearlite-read-only/src/App.tsx similarity index 100% rename from examples/linearlite/src/App.tsx rename to examples/linearlite-read-only/src/App.tsx diff --git a/examples/linearlite/src/assets/fonts/27237475-28043385 b/examples/linearlite-read-only/src/assets/fonts/27237475-28043385 similarity index 100% rename from examples/linearlite/src/assets/fonts/27237475-28043385 rename to examples/linearlite-read-only/src/assets/fonts/27237475-28043385 diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-ExtraBold.woff b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-ExtraBold.woff similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-ExtraBold.woff rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-ExtraBold.woff diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-ExtraBold.woff2 b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-ExtraBold.woff2 similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-ExtraBold.woff2 rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-ExtraBold.woff2 diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-Medium.woff b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-Medium.woff similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-Medium.woff rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-Medium.woff diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-Medium.woff2 b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-Medium.woff2 similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-Medium.woff2 rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-Medium.woff2 diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-Regular.woff b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-Regular.woff similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-Regular.woff rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-Regular.woff diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-Regular.woff2 b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-Regular.woff2 similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-Regular.woff2 rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-Regular.woff2 diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-SemiBold.woff b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-SemiBold.woff similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-SemiBold.woff rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-SemiBold.woff diff --git a/examples/linearlite/src/assets/fonts/Inter-UI-SemiBold.woff2 b/examples/linearlite-read-only/src/assets/fonts/Inter-UI-SemiBold.woff2 similarity index 100% rename from examples/linearlite/src/assets/fonts/Inter-UI-SemiBold.woff2 rename to examples/linearlite-read-only/src/assets/fonts/Inter-UI-SemiBold.woff2 diff --git a/examples/linearlite/src/assets/icons/add-subissue.svg b/examples/linearlite-read-only/src/assets/icons/add-subissue.svg similarity index 100% rename from examples/linearlite/src/assets/icons/add-subissue.svg rename to examples/linearlite-read-only/src/assets/icons/add-subissue.svg diff --git a/examples/linearlite/src/assets/icons/add.svg b/examples/linearlite-read-only/src/assets/icons/add.svg similarity index 100% rename from examples/linearlite/src/assets/icons/add.svg rename to examples/linearlite-read-only/src/assets/icons/add.svg diff --git a/examples/linearlite/src/assets/icons/archive.svg b/examples/linearlite-read-only/src/assets/icons/archive.svg similarity index 100% rename from examples/linearlite/src/assets/icons/archive.svg rename to examples/linearlite-read-only/src/assets/icons/archive.svg diff --git a/examples/linearlite/src/assets/icons/assignee.svg b/examples/linearlite-read-only/src/assets/icons/assignee.svg similarity index 100% rename from examples/linearlite/src/assets/icons/assignee.svg rename to examples/linearlite-read-only/src/assets/icons/assignee.svg diff --git a/examples/linearlite/src/assets/icons/attachment.svg b/examples/linearlite-read-only/src/assets/icons/attachment.svg similarity index 100% rename from examples/linearlite/src/assets/icons/attachment.svg rename to examples/linearlite-read-only/src/assets/icons/attachment.svg diff --git a/examples/linearlite/src/assets/icons/avatar.svg b/examples/linearlite-read-only/src/assets/icons/avatar.svg similarity index 100% rename from examples/linearlite/src/assets/icons/avatar.svg rename to examples/linearlite-read-only/src/assets/icons/avatar.svg diff --git a/examples/linearlite/src/assets/icons/cancel.svg b/examples/linearlite-read-only/src/assets/icons/cancel.svg similarity index 100% rename from examples/linearlite/src/assets/icons/cancel.svg rename to examples/linearlite-read-only/src/assets/icons/cancel.svg diff --git a/examples/linearlite/src/assets/icons/chat.svg b/examples/linearlite-read-only/src/assets/icons/chat.svg similarity index 100% rename from examples/linearlite/src/assets/icons/chat.svg rename to examples/linearlite-read-only/src/assets/icons/chat.svg diff --git a/examples/linearlite/src/assets/icons/circle-dot.svg b/examples/linearlite-read-only/src/assets/icons/circle-dot.svg similarity index 100% rename from examples/linearlite/src/assets/icons/circle-dot.svg rename to examples/linearlite-read-only/src/assets/icons/circle-dot.svg diff --git a/examples/linearlite/src/assets/icons/circle.svg b/examples/linearlite-read-only/src/assets/icons/circle.svg similarity index 100% rename from examples/linearlite/src/assets/icons/circle.svg rename to examples/linearlite-read-only/src/assets/icons/circle.svg diff --git a/examples/linearlite/src/assets/icons/claim.svg b/examples/linearlite-read-only/src/assets/icons/claim.svg similarity index 100% rename from examples/linearlite/src/assets/icons/claim.svg rename to examples/linearlite-read-only/src/assets/icons/claim.svg diff --git a/examples/linearlite/src/assets/icons/close.svg b/examples/linearlite-read-only/src/assets/icons/close.svg similarity index 100% rename from examples/linearlite/src/assets/icons/close.svg rename to examples/linearlite-read-only/src/assets/icons/close.svg diff --git a/examples/linearlite/src/assets/icons/delete.svg b/examples/linearlite-read-only/src/assets/icons/delete.svg similarity index 100% rename from examples/linearlite/src/assets/icons/delete.svg rename to examples/linearlite-read-only/src/assets/icons/delete.svg diff --git a/examples/linearlite/src/assets/icons/done.svg b/examples/linearlite-read-only/src/assets/icons/done.svg similarity index 100% rename from examples/linearlite/src/assets/icons/done.svg rename to examples/linearlite-read-only/src/assets/icons/done.svg diff --git a/examples/linearlite/src/assets/icons/dots.svg b/examples/linearlite-read-only/src/assets/icons/dots.svg similarity index 100% rename from examples/linearlite/src/assets/icons/dots.svg rename to examples/linearlite-read-only/src/assets/icons/dots.svg diff --git a/examples/linearlite/src/assets/icons/due-date.svg b/examples/linearlite-read-only/src/assets/icons/due-date.svg similarity index 100% rename from examples/linearlite/src/assets/icons/due-date.svg rename to examples/linearlite-read-only/src/assets/icons/due-date.svg diff --git a/examples/linearlite/src/assets/icons/dupplication.svg b/examples/linearlite-read-only/src/assets/icons/dupplication.svg similarity index 100% rename from examples/linearlite/src/assets/icons/dupplication.svg rename to examples/linearlite-read-only/src/assets/icons/dupplication.svg diff --git a/examples/linearlite/src/assets/icons/filter.svg b/examples/linearlite-read-only/src/assets/icons/filter.svg similarity index 100% rename from examples/linearlite/src/assets/icons/filter.svg rename to examples/linearlite-read-only/src/assets/icons/filter.svg diff --git a/examples/linearlite/src/assets/icons/git-issue.svg b/examples/linearlite-read-only/src/assets/icons/git-issue.svg similarity index 100% rename from examples/linearlite/src/assets/icons/git-issue.svg rename to examples/linearlite-read-only/src/assets/icons/git-issue.svg diff --git a/examples/linearlite/src/assets/icons/guide.svg b/examples/linearlite-read-only/src/assets/icons/guide.svg similarity index 100% rename from examples/linearlite/src/assets/icons/guide.svg rename to examples/linearlite-read-only/src/assets/icons/guide.svg diff --git a/examples/linearlite/src/assets/icons/half-circle.svg b/examples/linearlite-read-only/src/assets/icons/half-circle.svg similarity index 100% rename from examples/linearlite/src/assets/icons/half-circle.svg rename to examples/linearlite-read-only/src/assets/icons/half-circle.svg diff --git a/examples/linearlite/src/assets/icons/help.svg b/examples/linearlite-read-only/src/assets/icons/help.svg similarity index 100% rename from examples/linearlite/src/assets/icons/help.svg rename to examples/linearlite-read-only/src/assets/icons/help.svg diff --git a/examples/linearlite/src/assets/icons/inbox.svg b/examples/linearlite-read-only/src/assets/icons/inbox.svg similarity index 100% rename from examples/linearlite/src/assets/icons/inbox.svg rename to examples/linearlite-read-only/src/assets/icons/inbox.svg diff --git a/examples/linearlite/src/assets/icons/issue.svg b/examples/linearlite-read-only/src/assets/icons/issue.svg similarity index 100% rename from examples/linearlite/src/assets/icons/issue.svg rename to examples/linearlite-read-only/src/assets/icons/issue.svg diff --git a/examples/linearlite/src/assets/icons/label.svg b/examples/linearlite-read-only/src/assets/icons/label.svg similarity index 100% rename from examples/linearlite/src/assets/icons/label.svg rename to examples/linearlite-read-only/src/assets/icons/label.svg diff --git a/examples/linearlite/src/assets/icons/menu.svg b/examples/linearlite-read-only/src/assets/icons/menu.svg similarity index 100% rename from examples/linearlite/src/assets/icons/menu.svg rename to examples/linearlite-read-only/src/assets/icons/menu.svg diff --git a/examples/linearlite/src/assets/icons/parent-issue.svg b/examples/linearlite-read-only/src/assets/icons/parent-issue.svg similarity index 100% rename from examples/linearlite/src/assets/icons/parent-issue.svg rename to examples/linearlite-read-only/src/assets/icons/parent-issue.svg diff --git a/examples/linearlite/src/assets/icons/plus.svg b/examples/linearlite-read-only/src/assets/icons/plus.svg similarity index 100% rename from examples/linearlite/src/assets/icons/plus.svg rename to examples/linearlite-read-only/src/assets/icons/plus.svg diff --git a/examples/linearlite/src/assets/icons/project.svg b/examples/linearlite-read-only/src/assets/icons/project.svg similarity index 100% rename from examples/linearlite/src/assets/icons/project.svg rename to examples/linearlite-read-only/src/assets/icons/project.svg diff --git a/examples/linearlite/src/assets/icons/question.svg b/examples/linearlite-read-only/src/assets/icons/question.svg similarity index 100% rename from examples/linearlite/src/assets/icons/question.svg rename to examples/linearlite-read-only/src/assets/icons/question.svg diff --git a/examples/linearlite/src/assets/icons/relationship.svg b/examples/linearlite-read-only/src/assets/icons/relationship.svg similarity index 100% rename from examples/linearlite/src/assets/icons/relationship.svg rename to examples/linearlite-read-only/src/assets/icons/relationship.svg diff --git a/examples/linearlite/src/assets/icons/rounded-claim.svg b/examples/linearlite-read-only/src/assets/icons/rounded-claim.svg similarity index 100% rename from examples/linearlite/src/assets/icons/rounded-claim.svg rename to examples/linearlite-read-only/src/assets/icons/rounded-claim.svg diff --git a/examples/linearlite/src/assets/icons/search.svg b/examples/linearlite-read-only/src/assets/icons/search.svg similarity index 100% rename from examples/linearlite/src/assets/icons/search.svg rename to examples/linearlite-read-only/src/assets/icons/search.svg diff --git a/examples/linearlite/src/assets/icons/signal-medium.svg b/examples/linearlite-read-only/src/assets/icons/signal-medium.svg similarity index 100% rename from examples/linearlite/src/assets/icons/signal-medium.svg rename to examples/linearlite-read-only/src/assets/icons/signal-medium.svg diff --git a/examples/linearlite/src/assets/icons/signal-strong.svg b/examples/linearlite-read-only/src/assets/icons/signal-strong.svg similarity index 100% rename from examples/linearlite/src/assets/icons/signal-strong.svg rename to examples/linearlite-read-only/src/assets/icons/signal-strong.svg diff --git a/examples/linearlite/src/assets/icons/signal-strong.xsd b/examples/linearlite-read-only/src/assets/icons/signal-strong.xsd similarity index 100% rename from examples/linearlite/src/assets/icons/signal-strong.xsd rename to examples/linearlite-read-only/src/assets/icons/signal-strong.xsd diff --git a/examples/linearlite/src/assets/icons/signal-weak.svg b/examples/linearlite-read-only/src/assets/icons/signal-weak.svg similarity index 100% rename from examples/linearlite/src/assets/icons/signal-weak.svg rename to examples/linearlite-read-only/src/assets/icons/signal-weak.svg diff --git a/examples/linearlite/src/assets/icons/slack.svg b/examples/linearlite-read-only/src/assets/icons/slack.svg similarity index 100% rename from examples/linearlite/src/assets/icons/slack.svg rename to examples/linearlite-read-only/src/assets/icons/slack.svg diff --git a/examples/linearlite/src/assets/icons/view.svg b/examples/linearlite-read-only/src/assets/icons/view.svg similarity index 100% rename from examples/linearlite/src/assets/icons/view.svg rename to examples/linearlite-read-only/src/assets/icons/view.svg diff --git a/examples/linearlite/src/assets/icons/zoom.svg b/examples/linearlite-read-only/src/assets/icons/zoom.svg similarity index 100% rename from examples/linearlite/src/assets/icons/zoom.svg rename to examples/linearlite-read-only/src/assets/icons/zoom.svg diff --git a/examples/linearlite/src/assets/images/icon.inverse.svg b/examples/linearlite-read-only/src/assets/images/icon.inverse.svg similarity index 100% rename from examples/linearlite/src/assets/images/icon.inverse.svg rename to examples/linearlite-read-only/src/assets/images/icon.inverse.svg diff --git a/examples/linearlite/src/assets/images/logo.svg b/examples/linearlite-read-only/src/assets/images/logo.svg similarity index 100% rename from examples/linearlite/src/assets/images/logo.svg rename to examples/linearlite-read-only/src/assets/images/logo.svg diff --git a/examples/linearlite/src/components/AboutModal.tsx b/examples/linearlite-read-only/src/components/AboutModal.tsx similarity index 100% rename from examples/linearlite/src/components/AboutModal.tsx rename to examples/linearlite-read-only/src/components/AboutModal.tsx diff --git a/examples/linearlite/src/components/Avatar.tsx b/examples/linearlite-read-only/src/components/Avatar.tsx similarity index 100% rename from examples/linearlite/src/components/Avatar.tsx rename to examples/linearlite-read-only/src/components/Avatar.tsx diff --git a/examples/linearlite/src/components/IssueModal.tsx b/examples/linearlite-read-only/src/components/IssueModal.tsx similarity index 100% rename from examples/linearlite/src/components/IssueModal.tsx rename to examples/linearlite-read-only/src/components/IssueModal.tsx diff --git a/examples/linearlite/src/components/ItemGroup.tsx b/examples/linearlite-read-only/src/components/ItemGroup.tsx similarity index 100% rename from examples/linearlite/src/components/ItemGroup.tsx rename to examples/linearlite-read-only/src/components/ItemGroup.tsx diff --git a/examples/linearlite/src/components/LeftMenu.tsx b/examples/linearlite-read-only/src/components/LeftMenu.tsx similarity index 100% rename from examples/linearlite/src/components/LeftMenu.tsx rename to examples/linearlite-read-only/src/components/LeftMenu.tsx diff --git a/examples/linearlite/src/components/Modal.tsx b/examples/linearlite-read-only/src/components/Modal.tsx similarity index 100% rename from examples/linearlite/src/components/Modal.tsx rename to examples/linearlite-read-only/src/components/Modal.tsx diff --git a/examples/linearlite/src/components/Portal.tsx b/examples/linearlite-read-only/src/components/Portal.tsx similarity index 100% rename from examples/linearlite/src/components/Portal.tsx rename to examples/linearlite-read-only/src/components/Portal.tsx diff --git a/examples/linearlite/src/components/PriorityIcon.tsx b/examples/linearlite-read-only/src/components/PriorityIcon.tsx similarity index 100% rename from examples/linearlite/src/components/PriorityIcon.tsx rename to examples/linearlite-read-only/src/components/PriorityIcon.tsx diff --git a/examples/linearlite/src/components/ProfileMenu.tsx b/examples/linearlite-read-only/src/components/ProfileMenu.tsx similarity index 100% rename from examples/linearlite/src/components/ProfileMenu.tsx rename to examples/linearlite-read-only/src/components/ProfileMenu.tsx diff --git a/examples/linearlite/src/components/Select.tsx b/examples/linearlite-read-only/src/components/Select.tsx similarity index 100% rename from examples/linearlite/src/components/Select.tsx rename to examples/linearlite-read-only/src/components/Select.tsx diff --git a/examples/linearlite/src/components/StatusIcon.tsx b/examples/linearlite-read-only/src/components/StatusIcon.tsx similarity index 100% rename from examples/linearlite/src/components/StatusIcon.tsx rename to examples/linearlite-read-only/src/components/StatusIcon.tsx diff --git a/examples/linearlite/src/components/Toggle.tsx b/examples/linearlite-read-only/src/components/Toggle.tsx similarity index 100% rename from examples/linearlite/src/components/Toggle.tsx rename to examples/linearlite-read-only/src/components/Toggle.tsx diff --git a/examples/linearlite/src/components/TopFilter.tsx b/examples/linearlite-read-only/src/components/TopFilter.tsx similarity index 100% rename from examples/linearlite/src/components/TopFilter.tsx rename to examples/linearlite-read-only/src/components/TopFilter.tsx diff --git a/examples/linearlite/src/components/ViewOptionMenu.tsx b/examples/linearlite-read-only/src/components/ViewOptionMenu.tsx similarity index 100% rename from examples/linearlite/src/components/ViewOptionMenu.tsx rename to examples/linearlite-read-only/src/components/ViewOptionMenu.tsx diff --git a/examples/linearlite/src/components/contextmenu/FilterMenu.tsx b/examples/linearlite-read-only/src/components/contextmenu/FilterMenu.tsx similarity index 100% rename from examples/linearlite/src/components/contextmenu/FilterMenu.tsx rename to examples/linearlite-read-only/src/components/contextmenu/FilterMenu.tsx diff --git a/examples/linearlite/src/components/contextmenu/PriorityMenu.tsx b/examples/linearlite-read-only/src/components/contextmenu/PriorityMenu.tsx similarity index 100% rename from examples/linearlite/src/components/contextmenu/PriorityMenu.tsx rename to examples/linearlite-read-only/src/components/contextmenu/PriorityMenu.tsx diff --git a/examples/linearlite/src/components/contextmenu/StatusMenu.tsx b/examples/linearlite-read-only/src/components/contextmenu/StatusMenu.tsx similarity index 100% rename from examples/linearlite/src/components/contextmenu/StatusMenu.tsx rename to examples/linearlite-read-only/src/components/contextmenu/StatusMenu.tsx diff --git a/examples/linearlite/src/components/contextmenu/menu.tsx b/examples/linearlite-read-only/src/components/contextmenu/menu.tsx similarity index 100% rename from examples/linearlite/src/components/contextmenu/menu.tsx rename to examples/linearlite-read-only/src/components/contextmenu/menu.tsx diff --git a/examples/linearlite/src/components/editor/Editor.tsx b/examples/linearlite-read-only/src/components/editor/Editor.tsx similarity index 100% rename from examples/linearlite/src/components/editor/Editor.tsx rename to examples/linearlite-read-only/src/components/editor/Editor.tsx diff --git a/examples/linearlite/src/components/editor/EditorMenu.tsx b/examples/linearlite-read-only/src/components/editor/EditorMenu.tsx similarity index 100% rename from examples/linearlite/src/components/editor/EditorMenu.tsx rename to examples/linearlite-read-only/src/components/editor/EditorMenu.tsx diff --git a/examples/linearlite/src/electric.tsx b/examples/linearlite-read-only/src/electric.tsx similarity index 100% rename from examples/linearlite/src/electric.tsx rename to examples/linearlite-read-only/src/electric.tsx diff --git a/examples/linearlite/src/hooks/useClickOutside.ts b/examples/linearlite-read-only/src/hooks/useClickOutside.ts similarity index 100% rename from examples/linearlite/src/hooks/useClickOutside.ts rename to examples/linearlite-read-only/src/hooks/useClickOutside.ts diff --git a/examples/linearlite/src/hooks/useLockBodyScroll.ts b/examples/linearlite-read-only/src/hooks/useLockBodyScroll.ts similarity index 100% rename from examples/linearlite/src/hooks/useLockBodyScroll.ts rename to examples/linearlite-read-only/src/hooks/useLockBodyScroll.ts diff --git a/examples/linearlite/src/main.tsx b/examples/linearlite-read-only/src/main.tsx similarity index 100% rename from examples/linearlite/src/main.tsx rename to examples/linearlite-read-only/src/main.tsx diff --git a/examples/linearlite/src/pages/Board/IssueBoard.tsx b/examples/linearlite-read-only/src/pages/Board/IssueBoard.tsx similarity index 100% rename from examples/linearlite/src/pages/Board/IssueBoard.tsx rename to examples/linearlite-read-only/src/pages/Board/IssueBoard.tsx diff --git a/examples/linearlite/src/pages/Board/IssueCol.tsx b/examples/linearlite-read-only/src/pages/Board/IssueCol.tsx similarity index 100% rename from examples/linearlite/src/pages/Board/IssueCol.tsx rename to examples/linearlite-read-only/src/pages/Board/IssueCol.tsx diff --git a/examples/linearlite/src/pages/Board/IssueItem.tsx b/examples/linearlite-read-only/src/pages/Board/IssueItem.tsx similarity index 100% rename from examples/linearlite/src/pages/Board/IssueItem.tsx rename to examples/linearlite-read-only/src/pages/Board/IssueItem.tsx diff --git a/examples/linearlite/src/pages/Board/index.tsx b/examples/linearlite-read-only/src/pages/Board/index.tsx similarity index 100% rename from examples/linearlite/src/pages/Board/index.tsx rename to examples/linearlite-read-only/src/pages/Board/index.tsx diff --git a/examples/linearlite/src/pages/Issue/Comments.tsx b/examples/linearlite-read-only/src/pages/Issue/Comments.tsx similarity index 100% rename from examples/linearlite/src/pages/Issue/Comments.tsx rename to examples/linearlite-read-only/src/pages/Issue/Comments.tsx diff --git a/examples/linearlite/src/pages/Issue/DeleteModal.tsx b/examples/linearlite-read-only/src/pages/Issue/DeleteModal.tsx similarity index 100% rename from examples/linearlite/src/pages/Issue/DeleteModal.tsx rename to examples/linearlite-read-only/src/pages/Issue/DeleteModal.tsx diff --git a/examples/linearlite/src/pages/Issue/index.tsx b/examples/linearlite-read-only/src/pages/Issue/index.tsx similarity index 100% rename from examples/linearlite/src/pages/Issue/index.tsx rename to examples/linearlite-read-only/src/pages/Issue/index.tsx diff --git a/examples/linearlite/src/pages/List/IssueList.tsx b/examples/linearlite-read-only/src/pages/List/IssueList.tsx similarity index 100% rename from examples/linearlite/src/pages/List/IssueList.tsx rename to examples/linearlite-read-only/src/pages/List/IssueList.tsx diff --git a/examples/linearlite/src/pages/List/IssueRow.tsx b/examples/linearlite-read-only/src/pages/List/IssueRow.tsx similarity index 100% rename from examples/linearlite/src/pages/List/IssueRow.tsx rename to examples/linearlite-read-only/src/pages/List/IssueRow.tsx diff --git a/examples/linearlite/src/pages/List/index.tsx b/examples/linearlite-read-only/src/pages/List/index.tsx similarity index 100% rename from examples/linearlite/src/pages/List/index.tsx rename to examples/linearlite-read-only/src/pages/List/index.tsx diff --git a/examples/linearlite/src/pages/root.tsx b/examples/linearlite-read-only/src/pages/root.tsx similarity index 100% rename from examples/linearlite/src/pages/root.tsx rename to examples/linearlite-read-only/src/pages/root.tsx diff --git a/examples/linearlite/src/shapes.ts b/examples/linearlite-read-only/src/shapes.ts similarity index 100% rename from examples/linearlite/src/shapes.ts rename to examples/linearlite-read-only/src/shapes.ts diff --git a/examples/linearlite/src/shims/react-contextmenu.d.ts b/examples/linearlite-read-only/src/shims/react-contextmenu.d.ts similarity index 100% rename from examples/linearlite/src/shims/react-contextmenu.d.ts rename to examples/linearlite-read-only/src/shims/react-contextmenu.d.ts diff --git a/examples/linearlite/src/sst-env.d.ts b/examples/linearlite-read-only/src/sst-env.d.ts similarity index 100% rename from examples/linearlite/src/sst-env.d.ts rename to examples/linearlite-read-only/src/sst-env.d.ts diff --git a/examples/linearlite/src/style.css b/examples/linearlite-read-only/src/style.css similarity index 100% rename from examples/linearlite/src/style.css rename to examples/linearlite-read-only/src/style.css diff --git a/examples/linearlite/src/types/types.ts b/examples/linearlite-read-only/src/types/types.ts similarity index 100% rename from examples/linearlite/src/types/types.ts rename to examples/linearlite-read-only/src/types/types.ts diff --git a/examples/linearlite/src/utils/date.ts b/examples/linearlite-read-only/src/utils/date.ts similarity index 100% rename from examples/linearlite/src/utils/date.ts rename to examples/linearlite-read-only/src/utils/date.ts diff --git a/examples/linearlite/src/utils/filterState.ts b/examples/linearlite-read-only/src/utils/filterState.ts similarity index 100% rename from examples/linearlite/src/utils/filterState.ts rename to examples/linearlite-read-only/src/utils/filterState.ts diff --git a/examples/linearlite/src/utils/notification.tsx b/examples/linearlite-read-only/src/utils/notification.tsx similarity index 100% rename from examples/linearlite/src/utils/notification.tsx rename to examples/linearlite-read-only/src/utils/notification.tsx diff --git a/examples/linearlite/src/vite-env.d.ts b/examples/linearlite-read-only/src/vite-env.d.ts similarity index 100% rename from examples/linearlite/src/vite-env.d.ts rename to examples/linearlite-read-only/src/vite-env.d.ts diff --git a/examples/linearlite/sst-env.d.ts b/examples/linearlite-read-only/sst-env.d.ts similarity index 100% rename from examples/linearlite/sst-env.d.ts rename to examples/linearlite-read-only/sst-env.d.ts diff --git a/examples/linearlite/sst.config.ts b/examples/linearlite-read-only/sst.config.ts similarity index 85% rename from examples/linearlite/sst.config.ts rename to examples/linearlite-read-only/sst.config.ts index 22b6fbe292..58a4c1052b 100644 --- a/examples/linearlite/sst.config.ts +++ b/examples/linearlite-read-only/sst.config.ts @@ -6,7 +6,7 @@ import { execSync } from 'child_process' export default $config({ app(input) { return { - name: `linearlite`, + name: `linearlite-read-only`, removal: input?.stage === `production` ? `retain` : `remove`, home: `aws`, providers: { @@ -25,12 +25,12 @@ export default $config({ branchId: project.defaultBranchId, } - const db = new neon.Database(`linearlite`, { + const db = new neon.Database(`linearlite-read-only`, { ...base, name: $app.stage === `Production` - ? `linearlite-production` - : `linearlite-${$app.stage}`, + ? `linearlite-read-only-production` + : `linearlite-read-only-${$app.stage}`, ownerName: `neondb_owner`, }) @@ -51,7 +51,7 @@ export default $config({ website: website.url, } } catch (e) { - console.error(`Failed to deploy linearlite stack`, e) + console.error(`Failed to deploy linearlite-read-only stack`, e) } }, }) @@ -77,18 +77,18 @@ function loadData(uri: string) { function deployLinearLite( electricInfo: $util.Output<{ id: string; token: string }> ) { - return new sst.aws.StaticSite(`linearlite`, { + return new sst.aws.StaticSite(`linearlite-read-only`, { environment: { VITE_ELECTRIC_URL: process.env.ELECTRIC_API!, VITE_ELECTRIC_TOKEN: electricInfo.token, VITE_DATABASE_ID: electricInfo.id, }, build: { - command: `pnpm run --filter @electric-sql/client --filter @electric-sql/react --filter @electric-examples/linearlite build`, + command: `pnpm run --filter @electric-sql/client --filter @electric-sql/react --filter @electric-examples/linearlite-read-only build`, output: `dist`, }, domain: { - name: `linearlite${$app.stage === `production` ? `` : `-stage-${$app.stage}`}.electric-sql.com`, + name: `linearlite-read-only${$app.stage === `production` ? `` : `-stage-${$app.stage}`}.electric-sql.com`, dns: sst.cloudflare.dns(), }, }) diff --git a/examples/linearlite/tailwind.config.js b/examples/linearlite-read-only/tailwind.config.js similarity index 100% rename from examples/linearlite/tailwind.config.js rename to examples/linearlite-read-only/tailwind.config.js diff --git a/examples/linearlite/tsconfig.json b/examples/linearlite-read-only/tsconfig.json similarity index 100% rename from examples/linearlite/tsconfig.json rename to examples/linearlite-read-only/tsconfig.json diff --git a/examples/linearlite/vite.config.ts b/examples/linearlite-read-only/vite.config.ts similarity index 100% rename from examples/linearlite/vite.config.ts rename to examples/linearlite-read-only/vite.config.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 31fcf9ff79..bbdd7ab44b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -134,7 +134,7 @@ importers: specifier: ^5.6.3 version: 5.6.3 - examples/linearlite: + examples/linearlite-read-only: dependencies: '@electric-sql/client': specifier: workspace:* @@ -497,7 +497,7 @@ importers: version: 0.3.4 tsup: specifier: ^8.0.1 - version: 8.3.5(@swc/core@1.9.1)(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) + version: 8.3.5(@swc/core@1.9.1(@swc/helpers@0.5.5))(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) tsx: specifier: ^4.19.1 version: 4.19.2 @@ -950,7 +950,7 @@ importers: version: 0.3.4 tsup: specifier: ^8.0.1 - version: 8.3.5(@swc/core@1.9.1)(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) + version: 8.3.5(@swc/core@1.9.1(@swc/helpers@0.5.5))(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) typescript: specifier: ^5.5.2 version: 5.6.3 @@ -1026,7 +1026,7 @@ importers: version: 0.3.4 tsup: specifier: ^8.0.1 - version: 8.3.5(@swc/core@1.9.1)(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) + version: 8.3.5(@swc/core@1.9.1(@swc/helpers@0.5.5))(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) typescript: specifier: ^5.5.2 version: 5.6.3 @@ -1086,7 +1086,7 @@ importers: version: 0.3.4 tsup: specifier: ^8.0.1 - version: 8.3.5(@swc/core@1.9.1)(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) + version: 8.3.5(@swc/core@1.9.1(@swc/helpers@0.5.5))(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) typescript: specifier: ^5.5.2 version: 5.6.3 @@ -17875,7 +17875,7 @@ snapshots: tslib@2.8.1: {} - tsup@8.3.5(@swc/core@1.9.1)(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0): + tsup@8.3.5(@swc/core@1.9.1(@swc/helpers@0.5.5))(jiti@1.21.6)(postcss@8.4.47)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0): dependencies: bundle-require: 5.0.0(esbuild@0.24.0) cac: 6.7.14