wildpig 1.1.1 → 1.1.3
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/bun.lock +7 -0
- package/package.json +3 -2
- package/public/render.js +2 -16
- package/public/render.js.br +0 -0
package/bun.lock
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"chalk": "^5.6.2",
|
|
12
12
|
"react": "^19.2.3",
|
|
13
13
|
"react-dom": "^19.2.3",
|
|
14
|
+
"react-router": "^7.10.1",
|
|
14
15
|
},
|
|
15
16
|
},
|
|
16
17
|
},
|
|
@@ -27,14 +28,20 @@
|
|
|
27
28
|
|
|
28
29
|
"chalk": ["chalk@5.6.2", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="],
|
|
29
30
|
|
|
31
|
+
"cookie": ["cookie@1.1.1", "", {}, "sha512-ei8Aos7ja0weRpFzJnEA9UHJ/7XQmqglbRwnf2ATjcB9Wq874VKH9kfjjirM6UhU2/E5fFYadylyhFldcqSidQ=="],
|
|
32
|
+
|
|
30
33
|
"csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
|
|
31
34
|
|
|
32
35
|
"react": ["react@19.2.3", "", {}, "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA=="],
|
|
33
36
|
|
|
34
37
|
"react-dom": ["react-dom@19.2.3", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.3" } }, "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg=="],
|
|
35
38
|
|
|
39
|
+
"react-router": ["react-router@7.10.1", "", { "dependencies": { "cookie": "^1.0.1", "set-cookie-parser": "^2.6.0" }, "peerDependencies": { "react": ">=18", "react-dom": ">=18" }, "optionalPeers": ["react-dom"] }, "sha512-gHL89dRa3kwlUYtRQ+m8NmxGI6CgqN+k4XyGjwcFoQwwCWF6xXpOCUlDovkXClS0d0XJN/5q7kc5W3kiFEd0Yw=="],
|
|
40
|
+
|
|
36
41
|
"scheduler": ["scheduler@0.27.0", "", {}, "sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q=="],
|
|
37
42
|
|
|
43
|
+
"set-cookie-parser": ["set-cookie-parser@2.7.2", "", {}, "sha512-oeM1lpU/UvhTxw+g3cIfxXHyJRc/uidd3yK1P242gzHds0udQBYzs3y8j4gCCW+ZJ7ad0yctld8RYO+bdurlvw=="],
|
|
44
|
+
|
|
38
45
|
"undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="],
|
|
39
46
|
}
|
|
40
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wildpig",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"author": "eriktse",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"dependencies": {
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"@types/react-dom": "^19.2.3",
|
|
10
10
|
"chalk": "^5.6.2",
|
|
11
11
|
"react": "^19.2.3",
|
|
12
|
-
"react-dom": "^19.2.3"
|
|
12
|
+
"react-dom": "^19.2.3",
|
|
13
|
+
"react-router": "^7.10.1"
|
|
13
14
|
},
|
|
14
15
|
"description": "A strong and fast fullstack framework base on Bun, react, react-router, typescript, tailwindcss.",
|
|
15
16
|
"keywords": [
|
package/public/render.js
CHANGED
|
@@ -22344,26 +22344,12 @@ function useViewTransitionState(to, { relative } = {}) {
|
|
|
22344
22344
|
|
|
22345
22345
|
// node_modules/react-router/dist/development/index.mjs
|
|
22346
22346
|
"use client";
|
|
22347
|
-
|
|
22348
22347
|
// src/page/layout.tsx
|
|
22349
22348
|
var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
22350
22349
|
var MainLayout = () => {
|
|
22351
22350
|
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV("div", {
|
|
22352
|
-
children:
|
|
22353
|
-
|
|
22354
|
-
type: "text",
|
|
22355
|
-
placeholder: "Search"
|
|
22356
|
-
}, undefined, false, undefined, this),
|
|
22357
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV("button", {
|
|
22358
|
-
children: "Search"
|
|
22359
|
-
}, undefined, false, undefined, this),
|
|
22360
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV("div", {
|
|
22361
|
-
className: "text-red-500",
|
|
22362
|
-
children: "红红红"
|
|
22363
|
-
}, undefined, false, undefined, this),
|
|
22364
|
-
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Outlet, {}, undefined, false, undefined, this)
|
|
22365
|
-
]
|
|
22366
|
-
}, undefined, true, undefined, this);
|
|
22351
|
+
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Outlet, {}, undefined, false, undefined, this)
|
|
22352
|
+
}, undefined, false, undefined, this);
|
|
22367
22353
|
};
|
|
22368
22354
|
|
|
22369
22355
|
// src/router/index.tsx
|
package/public/render.js.br
CHANGED
|
Binary file
|