Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# N-Savant Routing Library
# Svelte Router Routing Library

## Library Architecture Overview

### Routing Universes Concept

The @wjfe/n-savant routing library supports simultaneous path and hash routing through "routing universes":
The @svelte-router/core routing library supports simultaneous path and hash routing through "routing universes":

- **Path Routing** (`hash: false`): Uses URL pathname
- **Single Hash Routing** (`hash: true`): Uses URL hash as a single path (e.g., `#/path/to/route`)
Expand Down Expand Up @@ -601,7 +601,7 @@ This pattern provides:
import { init, type Hash } from "$lib/index.js";
import { describe, test, expect, beforeAll, afterAll, beforeEach } from "vitest";
import { render } from "@testing-library/svelte";
import { RouterEngine } from "$lib/core/RouterEngine.svelte.js";
import { RouterEngine } from "$lib/kernel/RouterEngine.svelte.js";
import { getRouterContextKey } from "../Router/Router.svelte";
import { createRawSnippet } from "svelte";
import { flushSync } from "svelte"; // For Svelte 5 reactivity testing
Expand Down
184 changes: 82 additions & 102 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions demo/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @wjfe/n-savant Demo
# @svelte-router/core Demo

This folder contains the demo and tester the author uses while developing the library. It is a **Vite + Svelte + TS** project created with `npm create vite@latest`.

Expand All @@ -12,7 +12,7 @@ npm ci

Then, you can do one of 2 options:

1. Install the routing library: `npm i @wjfe/n-savant`
1. Install the routing library: `npm i @svelte-router/core`
2. Build the package and link it with NPM.

The first option simply pulls the latest version from `npmjs.org`. Not good for development of the library.
Expand All @@ -26,7 +26,7 @@ npm run prepack && npm link
Now move to the `/demo` folder and complete the link:

```bash
npm link @wjfe/n-savant
npm link @svelte-router/core
```

You are ready to run the development server:
Expand Down
Loading