@primate/vue 0.13.1 → 0.14.0
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/lib/private/Default.js +3 -6
- package/package.json +4 -4
package/lib/private/Default.js
CHANGED
|
@@ -10,12 +10,9 @@ export default class Default extends Runtime {
|
|
|
10
10
|
create: create_root,
|
|
11
11
|
};
|
|
12
12
|
async build(app, next) {
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const path = app.runpath("server", filename);
|
|
17
|
-
await path.write(rootCode);
|
|
18
|
-
app.addRoot(path);
|
|
13
|
+
this.prebuild(app);
|
|
14
|
+
const source = this.root.create(app.depth(), app.i18n_active);
|
|
15
|
+
app.addRoot(this.rootname, source);
|
|
19
16
|
this.publish(app);
|
|
20
17
|
return next(app);
|
|
21
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primate/vue",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Primate Vue frontend",
|
|
5
5
|
"homepage": "https://primate.run/docs/frontend/vue",
|
|
6
6
|
"bugs": "https://github.com/primate-run/primate/issues",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
"directory": "packages/vue"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@rcompat/build": "^0.
|
|
20
|
-
"@primate/core": "^0.
|
|
19
|
+
"@rcompat/build": "^0.15.0",
|
|
20
|
+
"@primate/core": "^0.4.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": "3",
|
|
24
|
-
"primate": "^0.
|
|
24
|
+
"primate": "^0.35.0"
|
|
25
25
|
},
|
|
26
26
|
"type": "module",
|
|
27
27
|
"imports": {
|