create-aziz-app 3.0.5 → 3.0.6
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-aziz-app",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "Create Aziz.js apps — lightweight Next.js clone with file-based routing, React hooks, and API routes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aziz.js",
|
|
@@ -25,8 +25,6 @@
|
|
|
25
25
|
"create-aziz-app": "bin/create-aziz-app.js"
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
|
-
"preversion": "git add -A && (git diff --cached --quiet || git commit -m \"chore: pre-release changes\")",
|
|
29
|
-
"version": "git add -A",
|
|
30
28
|
"postversion": "git push && git push --tags",
|
|
31
29
|
"dev": "cd template && node scripts/dev-server.js"
|
|
32
30
|
}
|
|
@@ -209,9 +209,6 @@ export const router = {
|
|
|
209
209
|
// Find matching route
|
|
210
210
|
const match = resolveRoute(pathname);
|
|
211
211
|
|
|
212
|
-
// Find matching route
|
|
213
|
-
const match = resolveRoute(pathname);
|
|
214
|
-
|
|
215
212
|
if (!match) {
|
|
216
213
|
root.innerHTML = '';
|
|
217
214
|
const notFound = h('div', { style: { padding: '40px', textAlign: 'center' } },
|