@wix/origami-site-runtime 1.0.6 → 1.0.7
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 +2 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Wix import site runtime
|
|
2
2
|
|
|
3
|
+
Before local tests, run `pnpm -r run build` from the repository root to build workspace dependencies in order.
|
|
4
|
+
|
|
3
5
|
Static routes come from item folders under `src/pages`. The home page is the page folder in parentheses, e.g. `src/pages/(home)`; a folder in parentheses is left out of the URL. Each document loads its item's `_generated/index.jsx`; `pages/error404` supplies an optional custom 404 page.
|
|
4
6
|
|
|
5
7
|
## Routing roadmap
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/origami-site-runtime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Vite development and build helpers for wix-import static sites",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "rm -rf dist tsconfig.tsbuildinfo && tsc -b .",
|
|
11
11
|
"lint": "oxlint .",
|
|
12
|
-
"test": "
|
|
12
|
+
"test": "node --test test/*.spec.js",
|
|
13
13
|
"clean": "rm -rf dist tsconfig.tsbuildinfo",
|
|
14
14
|
"test:browser": "node test/spx.browser.mjs && node test/semanticContainer.browser.mjs"
|
|
15
15
|
},
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@babel/types": "^7.25.2",
|
|
20
20
|
"@wix/builder-error-pages": "^1.1.6",
|
|
21
21
|
"@wix/builder-piler-components": "^1.6.7",
|
|
22
|
-
"@wix/origami-runtime": "0.
|
|
22
|
+
"@wix/origami-runtime": "0.11.0",
|
|
23
23
|
"postcss": "^8.5.3",
|
|
24
24
|
"postcss-custom-media": "^12.0.1",
|
|
25
25
|
"react": "^18.3.1",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"./default-error-404": "./src/default-error-404.jsx"
|
|
65
65
|
},
|
|
66
66
|
"type": "module",
|
|
67
|
-
"falconPackageHash": "
|
|
67
|
+
"falconPackageHash": "e9e3b817c585e6457e3d38733cf7c652e682ac829c1f238836f89c53"
|
|
68
68
|
}
|