Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
b56477e
progress
benjavicente Jan 2, 2026
012f007
more progress
benjavicente Jan 3, 2026
229cea2
IT IS WORKING
benjavicente Jan 3, 2026
b7dcfbe
kitchen sink demo
benjavicente Jan 3, 2026
8488a23
use services in angular kitchen-sink
benjavicente Jan 3, 2026
04be2a6
fix transitiner timming issue with afterNextRender
benjavicente Jan 3, 2026
0a5e20a
fix styles
benjavicente Jan 3, 2026
4705a5b
add experimental entrypoint
benjavicente Jan 4, 2026
3e14121
fix how to provide optional error state to error compoentn
benjavicente Jan 4, 2026
d53aec1
passive events
benjavicente Jan 4, 2026
be06c6e
redirect on loader if posible on example
benjavicente Jan 4, 2026
d4ac594
prev signal and last stage on next renderer pipeline
benjavicente Jan 4, 2026
5a75a68
use linked signal in filter input
benjavicente Jan 4, 2026
bbfd9c2
do not change search result on the search middlewares
benjavicente Jan 5, 2026
bfb9a64
cleanup
benjavicente Jan 6, 2026
9df91cb
scroll restauration
benjavicente Jan 6, 2026
2bd861d
e2e test
benjavicente Jan 6, 2026
439ffd3
rename link and update basic example
benjavicente Jan 6, 2026
806cc6b
attempt to run the tests
benjavicente Jan 8, 2026
d31f0be
analog vite plugin 2
benjavicente Jan 8, 2026
9433eac
remove some files
benjavicente Jan 8, 2026
851e463
comment out angular plugin
benjavicente Jan 8, 2026
30b0ea8
change angular version specifier
benjavicente Jan 8, 2026
81589e7
tests progress
benjavicente Jan 9, 2026
c64340a
add some tests
benjavicente Jan 13, 2026
ca1a812
progress
benjavicente Feb 28, 2026
d26e763
bubbling error
benjavicente Feb 28, 2026
a0b7291
loading state in kitchen sink
benjavicente Feb 28, 2026
4542a1f
more test porting with ai
benjavicente Feb 28, 2026
92d27fd
other tests cleanup
benjavicente Feb 28, 2026
4eb71ed
rename to angular-router-experimental
benjavicente Mar 1, 2026
d2ce28c
fix devtools build
benjavicente Mar 1, 2026
c035442
file routing
benjavicente Mar 1, 2026
1c4f2f6
smooth scroll in demo
benjavicente Mar 1, 2026
6bdd723
last changes
benjavicente Mar 1, 2026
8a9e388
final tests cleanup
benjavicente Mar 1, 2026
8ec7d31
lint, example names and publish
benjavicente Mar 1, 2026
88100c8
update lock and package after rebase
benjavicente Mar 1, 2026
77b0d1b
i don't understand ng-packagr
benjavicente Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ artifacts
coverage
*.tgz
.wrangler
**/.angular/

# tests
packages/router-generator/tests/**/*.gen.ts
Expand Down
61 changes: 61 additions & 0 deletions e2e/angular-router-experimental/basic/angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"cli": {
"packageManager": "pnpm",
"analytics": false
},
"newProjectRoot": "projects",
"projects": {
"angular-router-basic": {
"projectType": "application",
"schematics": {},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"conditions": ["module", "style"],
"browser": "src/main.ts",
"tsConfig": "tsconfig.app.json",
"assets": [],
"styles": ["src/styles.css"]
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "1MB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "angular-router-basic:build:production"
},
"development": {
"buildTarget": "angular-router-basic:build:development"
}
},
"defaultConfiguration": "development"
}
}
}
}
}

32 changes: 32 additions & 0 deletions e2e/angular-router-experimental/basic/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "tanstack-router-e2e-angular-basic",
"private": true,
"type": "module",
"scripts": {
"dev": "ng serve",
"build": "ng build",
"preview": "ng serve --configuration production",
"test:e2e": "rm -rf port*.txt; playwright test --project=chromium"
},
"dependencies": {
"@angular/common": "^21.0.4",
"@angular/core": "^21.0.4",
"@angular/platform-browser": "^21.0.4",
"@tanstack/angular-router-experimental": "workspace:^",
"@tanstack/angular-router-devtools": "workspace:^",
"redaxios": "^0.5.1",
"zod": "^3.24.2"
},
"devDependencies": {
"@angular/build": "^21.0.4",
"@angular/cli": "^21.0.4",
"@angular/compiler-cli": "^21.0.4",
"@playwright/test": "^1.50.1",
"@tailwindcss/postcss": "^4.1.18",
"@tanstack/router-e2e-utils": "workspace:^",
"@types/node": "22.10.2",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.18",
"typescript": "~5.9.2"
}
}
43 changes: 43 additions & 0 deletions e2e/angular-router-experimental/basic/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import { defineConfig, devices } from '@playwright/test'
import {
getDummyServerPort,
getTestServerPort,
} from '@tanstack/router-e2e-utils'
import packageJson from './package.json' with { type: 'json' }

const PORT = await getTestServerPort(packageJson.name)
const EXTERNAL_PORT = await getDummyServerPort(packageJson.name)
const baseURL = `http://localhost:${PORT}`

/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: './tests',
workers: 1,

reporter: [['line']],

globalSetup: './tests/setup/global.setup.ts',
globalTeardown: './tests/setup/global.teardown.ts',

use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL,
},

webServer: {
command: `NODE_ENV=test SERVER_PORT=${PORT} EXTERNAL_PORT=${EXTERNAL_PORT} pnpm build && pnpm preview --port ${PORT}`,
url: baseURL,
reuseExistingServer: !process.env.CI,
stdout: 'pipe',
},

projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
})

13 changes: 13 additions & 0 deletions e2e/angular-router-experimental/basic/src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Angular Router E2E</title>
<base href="/" />
</head>
<body>
<app-root></app-root>
</body>
</html>

Loading
Loading