wildpig 1.0.13 → 1.1.1

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/README.md CHANGED
@@ -10,8 +10,8 @@
10
10
 
11
11
  * 前后端同构,一套代码,函数复用。
12
12
 
13
- * SEO友好,支持服务端渲染meta信息。
13
+ * 【超级重要】SEO友好,支持服务端渲染meta信息。
14
14
 
15
- * 服务端路由自动生成。
15
+ * 服务端路由根据文件路径自动生成。
16
16
 
17
- * 前端开发热重载(和vite一样)。
17
+ * 前端开发热重载。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wildpig",
3
- "version": "1.0.13",
3
+ "version": "1.1.1",
4
4
  "author": "eriktse",
5
5
  "main": "index.ts",
6
6
  "dependencies": {
@@ -11,7 +11,7 @@
11
11
  "react": "^19.2.3",
12
12
  "react-dom": "^19.2.3"
13
13
  },
14
- "description": "A strong and fast fullstack framework base Bun.",
14
+ "description": "A strong and fast fullstack framework base on Bun, react, react-router, typescript, tailwindcss.",
15
15
  "keywords": [
16
16
  "fullstack",
17
17
  "web",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "license": "ISC",
21
21
  "scripts": {
22
- "dev": "export NODE_ENV=development && bun run test.ts",
22
+ "dev": "export NODE_ENV=development && bun run --hot test.ts",
23
23
  "prebuild": "bun run scripts/run-prebuild.ts",
24
24
  "build": "export NODE_ENV=production && bun run prebuild && bun build --compile ./test.ts --outfile dist/wildpig",
25
25
  "build-linux-musl": "export NODE_ENV=production && bun build --compile --target=bun-linux-x64-musl ./test.ts --outfile dist/wildpig",
package/public/index.html CHANGED
@@ -3,8 +3,13 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <script src="/render.js" type="module"></script>
6
+ <meta name="wildpig-environment" content="production">
7
+
7
8
  <title>{{TITLE}}</title>
9
+ <meta name="description" content="{{DESCRIPTION}}">
10
+ <meta name="keywords" content="{{KEYWORDS}}">
11
+
12
+ <script src="/render.js" type="module"></script>
8
13
  </head>
9
14
  <body>
10
15
  <div id="root"></div>