@wix/origami-site-express 1.0.10 → 1.0.12
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 +3 -3
- package/src/adapter/index.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/origami-site-express",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"description": "Run an exported Wix origami site on Node with Express and Vite.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@vitejs/plugin-react": "^6.1.1",
|
|
35
35
|
"express": "^5.2.1",
|
|
36
36
|
"vite": "^8.1.0",
|
|
37
|
-
"@wix/origami-bi": "0.
|
|
37
|
+
"@wix/origami-bi": "0.14.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"@wix/origami-site": "^1.0.0"
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"falconPackageHash": "
|
|
70
|
+
"falconPackageHash": "71280df5874329951a4b389e03420b9bfd88704b76a504d751e6dc19"
|
|
71
71
|
}
|
package/src/adapter/index.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { readFileSync } from 'node:fs'
|
|
2
1
|
import { driver } from './driver.js'
|
|
3
2
|
import { project } from './project.js'
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
// A JSON import, so the CLI's bundle carries this package's name and version, not its own.
|
|
4
|
+
import pkg from '../../package.json' with { type: 'json' }
|
|
6
5
|
|
|
7
6
|
/** @type {import('@wix/origami-site/types').OrigamiAdapter} */
|
|
8
7
|
export default {
|