miolo 2.0.0-beta.7 → 2.0.0-beta.9
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/bin/build-server.mjs
CHANGED
|
@@ -20,6 +20,7 @@ export async function _fixProdBuild(appName, filePath) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
export default async function({ appName, ssrEntry, ssrDest, entry, dest }) {
|
|
23
|
+
cleanFolder(dest)
|
|
23
24
|
|
|
24
25
|
console.log(`[${appName}][prod] Building first the SSR entry ${ssrEntry}`)
|
|
25
26
|
await build({
|
|
@@ -36,8 +37,6 @@ export default async function({ appName, ssrEntry, ssrDest, entry, dest }) {
|
|
|
36
37
|
})
|
|
37
38
|
|
|
38
39
|
console.log(`[${appName}][prod] Building server from entry ${entry}`)
|
|
39
|
-
cleanFolder(dest)
|
|
40
|
-
|
|
41
40
|
const serverExt = 'node.bundle.mjs'
|
|
42
41
|
await xeiraBundle({
|
|
43
42
|
source_index: entry,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "miolo",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.9",
|
|
4
4
|
"description": "all-in-one koa-based server",
|
|
5
5
|
"author": "Donato Lorenzo <donato@afialapis.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"@koa/cors": "^5.0.0",
|
|
74
74
|
"@koa/router": "^13.1.0",
|
|
75
75
|
"@maxmind/geoip2-node": "^6.0.0",
|
|
76
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
76
77
|
"cacheiro": "^0.4.0",
|
|
77
78
|
"calustra": "^0.15.0",
|
|
78
79
|
"cron": "^4.1.4",
|
|
@@ -97,25 +98,18 @@
|
|
|
97
98
|
"socket.io": "^4.8.1",
|
|
98
99
|
"socket.io-client": "^4.8.1",
|
|
99
100
|
"tinguir": "^0.0.7",
|
|
101
|
+
"vite": "^6.2.5",
|
|
100
102
|
"winston": "^3.17.0",
|
|
101
103
|
"winston-daily-rotate-file": "^5.0.0",
|
|
102
|
-
"yargs-parser": "^21.1.1"
|
|
104
|
+
"yargs-parser": "^21.1.1",
|
|
105
|
+
"xeira": "^1.1.9"
|
|
103
106
|
},
|
|
104
107
|
"peerDependencies": {
|
|
105
108
|
"react": "^18.3.1",
|
|
106
109
|
"react-dom": "^18.3.1"
|
|
107
110
|
},
|
|
108
111
|
"devDependencies": {
|
|
109
|
-
"
|
|
110
|
-
"@babel/preset-env": "7.26.9",
|
|
111
|
-
"@babel/preset-react": "7.26.3",
|
|
112
|
-
"@babel/register": "7.25.9",
|
|
113
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
114
|
-
"babel-plugin-transform-import-meta": "^2.3.2",
|
|
115
|
-
"esbuild": "^0.25.2",
|
|
116
|
-
"node-fetch": "^3.3.2",
|
|
117
|
-
"vite": "^6.2.5",
|
|
118
|
-
"xeira": "^1.1.9"
|
|
112
|
+
"node-fetch": "^3.3.2"
|
|
119
113
|
},
|
|
120
114
|
"eslintConfig": {
|
|
121
115
|
"extends": [
|