@primate/svelte 0.8.0 → 0.9.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/package.json +4 -4
- package/src/module.js +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primate/svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Primate Svelte module",
|
|
5
5
|
"homepage": "https://primatejs.com/modules/svelte",
|
|
6
6
|
"bugs": "https://github.com/primatejs/primate/issues",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"directory": "packages/svelte"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"runtime-compat": "^0.
|
|
19
|
-
"svelte": "^3.
|
|
18
|
+
"runtime-compat": "^0.17.0",
|
|
19
|
+
"svelte": "^3.59.1"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"primate": "0.
|
|
22
|
+
"primate": "0.18"
|
|
23
23
|
},
|
|
24
24
|
"type": "module",
|
|
25
25
|
"exports": "./src/exports.js"
|
package/src/module.js
CHANGED
|
@@ -60,8 +60,7 @@ export default ({directory, entryPoints} = {}) => ({
|
|
|
60
60
|
},
|
|
61
61
|
async publish(app, next) {
|
|
62
62
|
const _path = ["node_modules", "svelte", "package.json"];
|
|
63
|
-
|
|
64
|
-
app.resolve(j, "svelte");
|
|
63
|
+
app.resolve(await Path.resolve().join(..._path).join(), "svelte");
|
|
65
64
|
|
|
66
65
|
const path = directory ?? app.paths.components;
|
|
67
66
|
const options = {
|