jeasx 2.10.0 → 2.10.2
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/build.js +4 -4
- package/cli.js +0 -2
- package/package.json +5 -5
package/build.js
CHANGED
|
@@ -9,7 +9,7 @@ const CWD = process.cwd();
|
|
|
9
9
|
const CONFIG = (await import(`file://${join(CWD, "jeasx.config.js")}`)).default;
|
|
10
10
|
const NODE_ENV_IS_DEVELOPMENT = process.env.NODE_ENV === "development";
|
|
11
11
|
|
|
12
|
-
/** @type esbuild.BuildOptions */
|
|
12
|
+
/** @type {esbuild.BuildOptions} */
|
|
13
13
|
const SERVER_OPTIONS = {
|
|
14
14
|
entryPoints: ["src/**/[*].*"],
|
|
15
15
|
minify: !NODE_ENV_IS_DEVELOPMENT,
|
|
@@ -25,7 +25,7 @@ const SERVER_OPTIONS = {
|
|
|
25
25
|
...CONFIG.ESBUILD_SERVER_OPTIONS?.(),
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
/** @type esbuild.BuildOptions */
|
|
28
|
+
/** @type {esbuild.BuildOptions} */
|
|
29
29
|
const BROWSER_OPTIONS = {
|
|
30
30
|
entryPoints: ["src/**/index.*"],
|
|
31
31
|
minify: !NODE_ENV_IS_DEVELOPMENT,
|
|
@@ -51,9 +51,9 @@ for (const options of [SERVER_OPTIONS, BROWSER_OPTIONS]) {
|
|
|
51
51
|
|
|
52
52
|
// Export path mappings for routes and files
|
|
53
53
|
if (!NODE_ENV_IS_DEVELOPMENT) {
|
|
54
|
-
/** @type Record<string,string> */
|
|
54
|
+
/** @type {Record<string,string>} */
|
|
55
55
|
const routes = {};
|
|
56
|
-
/** @type Record<string,string> */
|
|
56
|
+
/** @type {Record<string,string>} */
|
|
57
57
|
const files = {};
|
|
58
58
|
|
|
59
59
|
for await (const entry of glob("{dist,public}/**/*")) {
|
package/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jeasx",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"description": "Jeasx - the ease of JSX with the power of SSR",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"async",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"build": "esbuild --platform=node --format=esm --sourcemap=linked --outdir=. serverless.ts"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@fastify/send": "4.1.
|
|
33
|
-
"@types/node": "26.
|
|
34
|
-
"esbuild": "0.28.
|
|
35
|
-
"fastify": "5.
|
|
32
|
+
"@fastify/send": "4.1.1",
|
|
33
|
+
"@types/node": "26.2.0",
|
|
34
|
+
"esbuild": "0.28.2",
|
|
35
|
+
"fastify": "5.12.1",
|
|
36
36
|
"jsx-async-runtime": "2.2.0"
|
|
37
37
|
},
|
|
38
38
|
"allowScripts": {
|