create-sv-router 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sv-router",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Modern Svelte Routing",
5
5
  "keywords": [
6
6
  "svelte",
@@ -31,6 +31,6 @@
31
31
  },
32
32
  "scripts": {
33
33
  "dev": "node src",
34
- "build": "ncc build src/index.js"
34
+ "build": "ncc build src/index.js -m"
35
35
  }
36
36
  }
@@ -0,0 +1,24 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ *.local
14
+
15
+ # Editor directories and files
16
+ .vscode/*
17
+ !.vscode/extensions.json
18
+ .idea
19
+ .DS_Store
20
+ *.suo
21
+ *.ntvs*
22
+ *.njsproj
23
+ *.sln
24
+ *.sw?
@@ -13,7 +13,6 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
16
- "@tsconfig/svelte": "^5.0.4",
17
16
  "svelte": "^5.20.2",
18
17
  "svelte-check": "^4.1.4",
19
18
  "typescript": "~5.7.2",
@@ -1,5 +1,4 @@
1
1
  <script lang="ts">
2
- import './router.ts';
3
2
  import { Router } from 'sv-router';
4
3
  import { p } from './router';
5
4
  </script>
@@ -1,3 +1,5 @@
1
1
  <script lang="ts"></script>
2
2
 
3
3
  <h1>About</h1>
4
+
5
+ <p>This is another page</p>
@@ -1,3 +1,12 @@
1
1
  <script lang="ts"></script>
2
2
 
3
3
  <h1>Home</h1>
4
+
5
+ <p>
6
+ Check out the <a
7
+ href="https://sv-router.vercel.app/guide/code-based/routing-concepts"
8
+ target="_blank"
9
+ >
10
+ documentation
11
+ </a>
12
+ </p>
@@ -0,0 +1,26 @@
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ *.local
14
+
15
+ # Editor directories and files
16
+ .vscode/*
17
+ !.vscode/extensions.json
18
+ .idea
19
+ .DS_Store
20
+ *.suo
21
+ *.ntvs*
22
+ *.njsproj
23
+ *.sln
24
+ *.sw?
25
+
26
+ .router
@@ -14,7 +14,6 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
17
- "@tsconfig/svelte": "^5.0.4",
18
17
  "svelte": "^5.20.2",
19
18
  "svelte-check": "^4.1.4",
20
19
  "typescript": "~5.7.2",
@@ -1,3 +1,5 @@
1
1
  <script lang="ts"></script>
2
2
 
3
3
  <h1>About</h1>
4
+
5
+ <p>This is another page</p>
@@ -1,3 +1,12 @@
1
1
  <script lang="ts"></script>
2
2
 
3
3
  <h1>Home</h1>
4
+
5
+ <p>
6
+ Check out the <a
7
+ href="https://sv-router.vercel.app/guide/file-based/routing-concepts"
8
+ target="_blank"
9
+ >
10
+ documentation
11
+ </a>
12
+ </p>