@inglorious/ssx 2.1.17 → 2.1.18
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": "@inglorious/ssx",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.18",
|
|
4
4
|
"description": "Server-Side-X. Xecution? Xperience? Who knows.",
|
|
5
5
|
"author": "Matteo Antony Mistretta <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"bin",
|
|
41
41
|
"src",
|
|
42
42
|
"types",
|
|
43
|
-
"!src/**/
|
|
43
|
+
"!src/**/fixtures",
|
|
44
44
|
"!src/**/__snapshots__"
|
|
45
45
|
],
|
|
46
46
|
"publishConfig": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@inglorious/store": "11.3.0",
|
|
52
52
|
"@inglorious/utils": "5.0.0",
|
|
53
|
-
"@inglorious/web": "6.
|
|
53
|
+
"@inglorious/web": "6.8.0",
|
|
54
54
|
"@lit-labs/ssr": "^4.1.0",
|
|
55
55
|
"commander": "^15.0.0",
|
|
56
56
|
"connect": "^3.7.0",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@inglorious/eslint-config": "1.1.4",
|
|
72
|
-
"@inglorious/logo": "3.0.
|
|
72
|
+
"@inglorious/logo": "3.0.21",
|
|
73
73
|
"prettier": "^3.9.6",
|
|
74
74
|
"vitest": "^5.0.0"
|
|
75
75
|
},
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"lint": "eslint .",
|
|
82
82
|
"test:watch": "vitest",
|
|
83
83
|
"test": "vitest run",
|
|
84
|
-
"dev": "node ./bin/ssx.js dev -r ./src/
|
|
85
|
-
"build": "node ./bin/ssx.js build -r ./src/
|
|
86
|
-
"preview": "node ./bin/ssx.js serve -r ./src/
|
|
87
|
-
"ssr": "node ./bin/ssx.js ssr -r ./src/
|
|
84
|
+
"dev": "node ./bin/ssx.js dev -r ./src/fixtures",
|
|
85
|
+
"build": "node ./bin/ssx.js build -r ./src/fixtures",
|
|
86
|
+
"preview": "node ./bin/ssx.js serve -r ./src/fixtures",
|
|
87
|
+
"ssr": "node ./bin/ssx.js ssr -r ./src/fixtures"
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -6,7 +6,7 @@ import { describe, expect, it } from "vitest"
|
|
|
6
6
|
|
|
7
7
|
import { renderPage } from "."
|
|
8
8
|
|
|
9
|
-
const ROOT_DIR = path.join(import.meta.dirname, "..", "
|
|
9
|
+
const ROOT_DIR = path.join(import.meta.dirname, "..", "fixtures")
|
|
10
10
|
const PAGES_DIR = path.join(ROOT_DIR, "src", "pages")
|
|
11
11
|
|
|
12
12
|
const DEFAULT_OPTIONS = { stripLitMarkers: true }
|
|
@@ -4,7 +4,7 @@ import { afterEach, describe, expect, it, vi } from "vitest"
|
|
|
4
4
|
|
|
5
5
|
import { getPages, getRoutes, matchRoute } from "./index.js"
|
|
6
6
|
|
|
7
|
-
const ROOT_DIR = path.join(import.meta.dirname, "..", "
|
|
7
|
+
const ROOT_DIR = path.join(import.meta.dirname, "..", "fixtures")
|
|
8
8
|
const PAGES_DIR = path.join(ROOT_DIR, "src", "pages")
|
|
9
9
|
|
|
10
10
|
describe("router", () => {
|
package/src/scripts/app.test.js
CHANGED
|
@@ -4,7 +4,7 @@ import { describe, expect, it } from "vitest"
|
|
|
4
4
|
|
|
5
5
|
import { generateApp } from "./app"
|
|
6
6
|
|
|
7
|
-
const ROOT_DIR = path.join(import.meta.dirname, "..", "
|
|
7
|
+
const ROOT_DIR = path.join(import.meta.dirname, "..", "fixtures")
|
|
8
8
|
const PAGES_DIR = path.join(ROOT_DIR, "src", "pages")
|
|
9
9
|
|
|
10
10
|
describe("generateApp", () => {
|
package/src/store/store.test.js
CHANGED
|
@@ -19,7 +19,7 @@ vi.mock("node:fs", async (importOriginal) => {
|
|
|
19
19
|
}
|
|
20
20
|
})
|
|
21
21
|
|
|
22
|
-
const ROOT_DIR = path.join(import.meta.dirname, "..", "
|
|
22
|
+
const ROOT_DIR = path.join(import.meta.dirname, "..", "fixtures")
|
|
23
23
|
const PAGES_DIR = path.join(ROOT_DIR, "src", "pages")
|
|
24
24
|
|
|
25
25
|
describe("generateStore", () => {
|