@evjs/create-app 0.3.5 → 0.3.7

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": "@evjs/create-app",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "Scaffold a new evjs project",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-api-routes",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-basic",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-complex-routing",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-custom-ws-transport",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -28,7 +28,7 @@ npm run build
28
28
  | `src/pages/page.config.ts` | Static title/meta and rendering config for `/` |
29
29
  | `src/pages/components/PageScopeNote.tsx` | Colocated root Page component without an `_` prefix |
30
30
  | `src/pages/about/page.tsx` | Page for `/about` |
31
- | `src/pages/about/page.config.ts` | Static title/meta and `about.html` Document alias for `/about` |
31
+ | `src/pages/about/page.config.ts` | Static title/meta for `/about` |
32
32
  | `src/pages/about/index.html` | Optional Page-specific HTML template baseline |
33
33
 
34
34
  ## What It Demonstrates
@@ -45,8 +45,8 @@ npm run build
45
45
  - `/about` omits `viewport`, so its colocated HTML viewport remains the
46
46
  Document baseline
47
47
  - A colocated `index.html` customizes one MPA Page without route configuration
48
- - `document.aliases` emits `/about.html` as an alias of `/about/index.html`
49
- - Stable `/` and `/about` URLs across SPA and MPA mode
48
+ - `/` and `/about` remain semantic routes while MPA emits their Documents at
49
+ `/index.html` and `/about.html`
50
50
  - No `@evjs/client`, `@evjs/server`, or generated `route-types.d.ts`
51
51
  dependency is needed for this router-free client output
52
52
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-mpa",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -6,7 +6,4 @@ export default definePageConfig({
6
6
  description: "The about Page in the canonical evjs MPA example.",
7
7
  "theme-color": "#f8fafc",
8
8
  },
9
- document: {
10
- aliases: ["about.html"],
11
- },
12
9
  });
@@ -9,7 +9,7 @@ export default function HomePage() {
9
9
  </p>
10
10
  <PageScopeNote />
11
11
  <p>
12
- <a href="/about">Go to About page</a>
12
+ <a href="/about.html">Go to About page</a>
13
13
  </p>
14
14
  </main>
15
15
  );
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-plugin-authoring",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-with-sqlite",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-with-tailwind",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-with-trpc",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",