Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Major React Router v7 support #287

Merged
merged 36 commits into from
Mar 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
dd88a68
chore: added remix-dev-tools
ShafSpecs Nov 6, 2024
fac2684
chore: basic
ShafSpecs Nov 7, 2024
67cbd27
chore: absolutely reworking the sandbox
ShafSpecs Nov 7, 2024
96932e0
chore: updated lock file
ShafSpecs Nov 7, 2024
f9e4b40
chore: a lot of new changes made to SSR sandbox
ShafSpecs Nov 8, 2024
d08580a
chore: mini fixes made to demo
ShafSpecs Nov 8, 2024
035563c
fix(dev): added support for stable single fetch
ShafSpecs Dec 5, 2024
e7dab6e
fix(cli): changed manifest template to `@remix-pwa/manifest`
ShafSpecs Dec 19, 2024
15d6114
chore(playground): progress
ShafSpecs Dec 19, 2024
83df2bd
chore: re-working the entire sandbox system
ShafSpecs Jan 31, 2025
dafe7d5
feat(dev): adding basic framework for react router v7
ShafSpecs Feb 1, 2025
e0a5d41
chore: fixed react router app
ShafSpecs Feb 1, 2025
5bc078c
feat(dev): started react router plugin re-write
ShafSpecs Feb 1, 2025
77e45be
chore: hoping to remove react router app from global workspace
ShafSpecs Feb 1, 2025
7abafe5
fix(client): updated permissions
ShafSpecs Feb 1, 2025
c6cd423
chore(rr7): absolute rework of the react router app
ShafSpecs Feb 15, 2025
ceb63d3
feat(worker-runtime): added support for react-router v7
ShafSpecs Feb 15, 2025
a49e6f5
fix(worker-runtime): fixed react router SPA env
ShafSpecs Feb 15, 2025
17370aa
feat(dev): :fire: baseline working react router pwa plugin
ShafSpecs Feb 15, 2025
bd5d83e
chore: shortcut commands
ShafSpecs Feb 15, 2025
fe27f85
chore(rr7): renamed dir to rr7-spa
ShafSpecs Feb 15, 2025
b9c9cd6
chore(rr7-spa): an absolute work on sandbox
ShafSpecs Feb 16, 2025
297413b
chore: updated local `dev` commands
ShafSpecs Feb 16, 2025
c5b6b7b
feat(cli): new `init` command - plus extra fixes & tweaks
ShafSpecs Feb 16, 2025
bb2194c
chore: sandbox changes
ShafSpecs Feb 16, 2025
27dc467
fix(sw): removed `json` utilities
ShafSpecs Feb 16, 2025
05ac4a3
chore: updated lock file
ShafSpecs Feb 16, 2025
c199720
test(dev): fixed virtual assets plugin tests
ShafSpecs Feb 16, 2025
77221ef
chore: lock file update
ShafSpecs Feb 16, 2025
e450a2a
Merge pull request #288 from remix-pwa/dev
ShafSpecs Feb 17, 2025
9c8b41d
feat(sync): updated sync + bumping it
ShafSpecs Feb 17, 2025
87378c1
chore: another lock file update (is it too late to move to pnpm?)
ShafSpecs Feb 17, 2025
8e0d293
ci: fixed broken installation script
ShafSpecs Feb 17, 2025
93b93b2
fix(worker-runtime): fixed missing import
ShafSpecs Feb 17, 2025
38c1b09
test(worker-runtime): fixed broken imports again
ShafSpecs Feb 17, 2025
ece0d1e
fix(sw): fixed broken `PWAScripts` component
ShafSpecs Mar 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/pkg-pr-new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
node-version: 20

- name: Sync sandbox
run: npm run preinstall -w @remix-pwa/playground
run: npm run preinstall -w @remix-pwa/remix-sandbox

- name: Install dependencies
run: npm clean-install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
node-version: 20
- name: Sync sandbox
run: npm run preinstall -w @remix-pwa/playground
run: npm run preinstall -w @remix-pwa/remix-sandbox
- name: Install dependencies
run: npm clean-install
- name: Build packages
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
restore-keys: |
${{ runner.os }}-turbo-
- name: Sync sandbox
run: npm run preinstall -w @remix-pwa/playground
run: npm run preinstall -w @remix-pwa/remix-sandbox
- name: Install dependencies
run: npm clean-install
- name: Run Commitlint
Expand All @@ -56,7 +56,7 @@ jobs:
restore-keys: |
${{ runner.os }}-turbo-
- name: Sync sandbox
run: npm run preinstall -w @remix-pwa/playground
run: npm run preinstall -w @remix-pwa/remix-sandbox
- name: Install dependencies
run: npm clean-install
- name: Run ESLint
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
restore-keys: |
${{ runner.os }}-turbo-
- name: Sync sandbox
run: npm run preinstall -w @remix-pwa/playground
run: npm run preinstall -w @remix-pwa/remix-sandbox
- name: Install dependencies
run: npm clean-install
- name: Run test
Expand All @@ -109,7 +109,7 @@ jobs:
restore-keys: |
${{ runner.os }}-turbo-
- name: Sync sandbox
run: npm run preinstall -w @remix-pwa/playground
run: npm run preinstall -w @remix-pwa/remix-sandbox
- name: Install dependencies
run: npm clean-install
- name: Run build scripts
Expand Down
13,261 changes: 6,632 additions & 6,629 deletions package-lock.json

Large diffs are not rendered by default.

20 changes: 15 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,29 @@
"packages/sw",
"packages/sync",
"packages/worker-runtime",
"playground"
"sandboxes/remix"
],
"type": "module",
"scripts": {
"build": "turbo build",
"build:cli": "npm run build --workspace @remix-pwa/cli",
"build:client": "npm run build --workspace @remix-pwa/client",
"build:dev": "npm run build --workspace @remix-pwa/dev",
"build:manifest": "npm run build --workspace @remix-pwa/manifest",
"build:push": "npm run build --workspace @remix-pwa/push",
"build:sw": "npm run build --workspace @remix-pwa/sw",
"build:sync": "npm run build --workspace @remix-pwa/sync",
"build:worker-runtime": "npm run build --workspace @remix-pwa/worker-runtime",
"commit": "commit",
"dev:ssr": "npm run dev:ssr --workspace @remix-pwa/playground",
"dev:spa": "npm run dev:spa --workspace @remix-pwa/playground",
"dev:remix:ssr": "npm run dev:ssr --workspace @remix-pwa/remix-sandbox",
"dev:remix:spa": "npm run dev:spa --workspace @remix-pwa/remix-sandbox",
"dev:rr:spa": "npm run dev --prefix sandboxes/rr7-spa",
"lint-staged": "lint-staged",
"lint": "turbo lint -- --fix",
"format": "turbo format -- --write",
"postclone": "npm run preinstall -w @remix-pwa/playground && npm install && npm run test && npm run build",
"postclone": "npm run preinstall -w @remix-pwa/remix-sandbox && npm install && npm run test && npm run build",
"publish:pr": "npx pkg-pr-new publish './packages/*'",
"sandbox": "npm run build && npm run preinstall -w @remix-pwa/playground",
"sandbox": "npm run build && npm run preinstall -w @remix-pwa/remix-sandbox",
"test": "turbo test -- --coverage"
},
"devDependencies": {
Expand All @@ -48,6 +57,7 @@
"pkg-pr-new": "^0.0.25",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"react-router-dom": "^7.1.4",
"semver": "^7.6.3",
"turbo": "^2.0.9",
"typescript": "^5.5.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
**/node_modules/**/*
cli.js
cli.d.ts
./cli.js
./cli.d.ts
Loading